2 * FILE : src/mac/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgridc
55 #define SWIG_name "gridc"
59 #include <wx/generic/gridctrl.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
90 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
91 static const wxString
wxPyEmptyString(wxT(""));
94 #define wxPyMake_TEMPLATE(TYPE) \
95 PyObject* wxPyMake_##TYPE(TYPE* source) { \
96 PyObject* target = NULL; \
98 /* Check if there is already a pointer to a Python object in the \
99 OOR data that we can use. */ \
100 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
102 target = data->m_obj; \
105 /* Otherwise make a new wrapper for it the old fashioned way and \
106 give it the OOR treatment */ \
108 target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \
110 source->SetClientObject(new wxPyOORClientData(target)); \
112 } else { /* source was NULL so return None. */ \
113 Py_INCREF(Py_None); target = Py_None; \
119 wxPyMake_TEMPLATE(wxGridCellRenderer)
120 wxPyMake_TEMPLATE(wxGridCellEditor
)
121 wxPyMake_TEMPLATE(wxGridCellAttr
)
122 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
123 wxPyMake_TEMPLATE(wxGridTableBase
)
126 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
127 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
128 wxGridCellAttr* rval = NULL; \
130 wxPyBeginBlockThreads(); \
131 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
133 wxGridCellAttr* ptr; \
134 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
136 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
141 wxPyEndBlockThreads(); \
143 rval = PCLASS::CBNAME(a, b, c); \
146 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
147 return PCLASS::CBNAME(a, b, c); \
152 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
154 wxPyBeginBlockThreads(); \
156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
157 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
158 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
161 wxPyEndBlockThreads(); \
163 PCLASS::CBNAME(attr, a, b); \
165 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
166 PCLASS::CBNAME(attr, a, b); \
171 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
172 void CBNAME(wxGridCellAttr *attr, int val) { \
173 wxPyBeginBlockThreads(); \
175 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
176 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
177 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
180 wxPyEndBlockThreads(); \
182 PCLASS::CBNAME(attr, val); \
184 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
185 PCLASS::CBNAME(attr, val); \
190 #define PYCALLBACK_INT__pure(CBNAME) \
192 wxPyBeginBlockThreads(); \
194 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
195 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
196 wxPyEndBlockThreads(); \
202 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
203 bool CBNAME(int a, int b) { \
204 wxPyBeginBlockThreads(); \
206 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
207 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
208 wxPyEndBlockThreads(); \
213 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
214 wxString CBNAME(int a, int b) { \
215 wxPyBeginBlockThreads(); \
217 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
219 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
221 rval = Py2wxString(ro); \
225 wxPyEndBlockThreads(); \
230 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
231 void CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
234 PyObject* s = wx2PyString(c); \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
238 wxPyEndBlockThreads(); \
242 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
243 wxString CBNAME(int a, int b) { \
245 wxPyBeginBlockThreads(); \
247 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
249 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
251 rval = Py2wxString(ro); \
255 wxPyEndBlockThreads(); \
257 rval = PCLASS::CBNAME(a, b); \
260 wxString base_##CBNAME(int a, int b) { \
261 return PCLASS::CBNAME(a, b); \
265 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b, const wxString& c) { \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
271 PyObject* s = wx2PyString(c); \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
275 wxPyEndBlockThreads(); \
277 rval = PCLASS::CBNAME(a,b,c); \
280 bool base_##CBNAME(int a, int b, const wxString& c) { \
281 return PCLASS::CBNAME(a,b,c); \
287 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
288 long CBNAME(int a, int b) { \
291 wxPyBeginBlockThreads(); \
292 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
293 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
294 wxPyEndBlockThreads(); \
296 rval = PCLASS::CBNAME(a,b); \
299 long base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a,b); \
305 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
306 bool CBNAME(int a, int b) { \
309 wxPyBeginBlockThreads(); \
310 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
311 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
312 wxPyEndBlockThreads(); \
314 rval = PCLASS::CBNAME(a,b); \
317 bool base_##CBNAME(int a, int b) { \
318 return PCLASS::CBNAME(a,b); \
323 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
324 double CBNAME(int a, int b) { \
326 wxPyBeginBlockThreads(); \
328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
330 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
332 PyObject* str = PyObject_Str(ro); \
333 rval = PyFloat_AsDouble(str); \
334 Py_DECREF(ro); Py_DECREF(str); \
337 wxPyEndBlockThreads(); \
339 rval = PCLASS::CBNAME(a, b); \
342 double base_##CBNAME(int a, int b) { \
343 return PCLASS::CBNAME(a, b); \
348 #define PYCALLBACK__(PCLASS, CBNAME) \
351 wxPyBeginBlockThreads(); \
352 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
354 wxPyEndBlockThreads(); \
358 void base_##CBNAME() { \
365 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
366 bool CBNAME(size_t a, size_t b) { \
369 wxPyBeginBlockThreads(); \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
371 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
372 wxPyEndBlockThreads(); \
374 rval = PCLASS::CBNAME(a,b); \
377 bool base_##CBNAME(size_t a, size_t b) { \
378 return PCLASS::CBNAME(a,b); \
383 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
384 bool CBNAME(size_t a) { \
387 wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
389 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
390 wxPyEndBlockThreads(); \
392 rval = PCLASS::CBNAME(a); \
395 bool base_##CBNAME(size_t a) { \
396 return PCLASS::CBNAME(a); \
400 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
401 wxString CBNAME(int a) { \
403 wxPyBeginBlockThreads(); \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
407 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
409 rval = Py2wxString(ro); \
413 wxPyEndBlockThreads(); \
415 rval = PCLASS::CBNAME(a); \
418 wxString base_##CBNAME(int a) { \
419 return PCLASS::CBNAME(a); \
423 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
424 void CBNAME(int a, const wxString& c) { \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
428 PyObject* s = wx2PyString(c); \
429 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
432 wxPyEndBlockThreads(); \
434 PCLASS::CBNAME(a,c); \
436 void base_##CBNAME(int a, const wxString& c) { \
437 PCLASS::CBNAME(a,c); \
443 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
447 wxPyBeginBlockThreads(); \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
449 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
450 wxPyEndBlockThreads(); \
452 rval = PCLASS::CBNAME(); \
455 bool base_##CBNAME() { \
456 return PCLASS::CBNAME(); \
461 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
462 void CBNAME(size_t a, int b) { \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
467 wxPyEndBlockThreads(); \
469 PCLASS::CBNAME(a,b); \
471 void base_##CBNAME(size_t a, int b) { \
472 PCLASS::CBNAME(a,b); \
478 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
479 void CBNAME(int a, int b, long c) { \
481 wxPyBeginBlockThreads(); \
482 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
483 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
484 wxPyEndBlockThreads(); \
486 PCLASS::CBNAME(a,b,c); \
488 void base_##CBNAME(int a, int b, long c) { \
489 PCLASS::CBNAME(a,b,c); \
495 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
496 void CBNAME(int a, int b, double c) { \
498 wxPyBeginBlockThreads(); \
499 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
501 wxPyEndBlockThreads(); \
503 PCLASS::CBNAME(a,b,c); \
505 void base_##CBNAME(int a, int b, double c) { \
506 PCLASS::CBNAME(a,b,c); \
511 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
512 void CBNAME(int a, int b, bool c) { \
514 wxPyBeginBlockThreads(); \
515 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
516 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
517 wxPyEndBlockThreads(); \
519 PCLASS::CBNAME(a,b,c); \
521 void base_##CBNAME(int a, int b, bool c) { \
522 PCLASS::CBNAME(a,b,c); \
529 class wxPyGridCellRenderer
: public wxGridCellRenderer
532 wxPyGridCellRenderer() : wxGridCellRenderer() {};
534 // Implement Python callback aware virtual methods
535 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
536 wxDC
& dc
, const wxRect
& rect
,
537 int row
, int col
, bool isSelected
) {
538 wxPyBeginBlockThreads();
539 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
540 PyObject
* go
= wxPyMake_wxObject(&grid
);
541 PyObject
* dco
= wxPyMake_wxObject(&dc
);
542 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
543 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
545 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
546 row
, col
, isSelected
));
552 wxPyEndBlockThreads();
555 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
558 wxPyBeginBlockThreads();
559 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
562 PyObject
* go
= wxPyMake_wxObject(&grid
);
563 PyObject
* dco
= wxPyMake_wxObject(&dc
);
564 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
566 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
574 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
575 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p")) {
578 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
579 PyObject
* o1
= PySequence_GetItem(ro
, 0);
580 PyObject
* o2
= PySequence_GetItem(ro
, 1);
581 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
582 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
584 PyErr_SetString(PyExc_TypeError
, errmsg
);
589 PyErr_SetString(PyExc_TypeError
, errmsg
);
594 wxPyEndBlockThreads();
599 wxGridCellRenderer
*Clone() const {
600 wxGridCellRenderer
* rval
= NULL
;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
604 wxGridCellRenderer
* ptr
;
605 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
607 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
612 wxPyEndBlockThreads();
616 DEC_PYCALLBACK__STRING(SetParameters
);
621 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
624 class wxPyGridCellEditor
: public wxGridCellEditor
627 wxPyGridCellEditor() : wxGridCellEditor() {}
629 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
630 wxPyBeginBlockThreads();
631 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
632 PyObject
* po
= wxPyMake_wxObject(parent
);
633 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
635 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
639 wxPyEndBlockThreads();
643 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
644 wxPyBeginBlockThreads();
645 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
646 PyObject
* go
= wxPyMake_wxObject(grid
);
647 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
650 wxPyEndBlockThreads();
654 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
656 wxPyBeginBlockThreads();
657 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
658 PyObject
* go
= wxPyMake_wxObject(grid
);
659 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
662 wxPyEndBlockThreads();
667 wxGridCellEditor
* Clone() const {
668 wxGridCellEditor
* rval
= NULL
;
669 wxPyBeginBlockThreads();
670 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
672 wxGridCellEditor
* ptr
;
673 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
675 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
680 wxPyEndBlockThreads();
685 void Show(bool show
, wxGridCellAttr
*attr
) {
687 wxPyBeginBlockThreads();
688 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
689 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
690 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
693 wxPyEndBlockThreads();
695 wxGridCellEditor::Show(show
, attr
);
697 void base_Show(bool show
, wxGridCellAttr
*attr
) {
698 wxGridCellEditor::Show(show
, attr
);
702 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
706 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
707 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
709 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
714 wxPyEndBlockThreads();
716 wxGridCellEditor::PaintBackground(rectCell
, attr
);
718 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
719 wxGridCellEditor::PaintBackground(rectCell
, attr
);
723 DEC_PYCALLBACK___pure(Reset
);
724 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
725 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
726 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
727 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
728 DEC_PYCALLBACK__(StartingClick
);
729 DEC_PYCALLBACK__(Destroy
);
730 DEC_PYCALLBACK__STRING(SetParameters
);
731 DEC_PYCALLBACK_STRING__const(GetValue
);
737 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
738 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
739 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
740 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
741 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
742 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
743 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
744 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
745 IMP_PYCALLBACK_STRING__const(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
748 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
751 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
753 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
754 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
756 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
761 class wxPyGridTableBase
: public wxGridTableBase
764 wxPyGridTableBase() : wxGridTableBase() {}
766 PYCALLBACK_INT__pure(GetNumberRows
);
767 PYCALLBACK_INT__pure(GetNumberCols
);
768 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
769 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
771 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
772 PYCALLBACK__(wxGridTableBase
, Clear
);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
776 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
778 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
779 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
780 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
781 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
782 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
783 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
784 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
785 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
786 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
787 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
790 wxString
GetValue(int row
, int col
) {
791 wxPyBeginBlockThreads();
793 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
795 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
797 rval
= Py2wxString(ro
);
801 wxPyEndBlockThreads();
805 void SetValue(int row
, int col
, const wxString
& val
) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
808 PyObject
* s
= wx2PyString(val
);
809 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
812 wxPyEndBlockThreads();
816 // Map the Get/Set methods for the standard non-string types to
817 // the GetValue and SetValue python methods.
818 long GetValueAsLong( int row
, int col
) {
820 wxPyBeginBlockThreads();
821 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
824 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
825 if (ro
&& PyNumber_Check(ro
)) {
826 num
= PyNumber_Int(ro
);
828 rval
= PyInt_AsLong(num
);
834 wxPyEndBlockThreads();
838 double GetValueAsDouble( int row
, int col
) {
840 wxPyBeginBlockThreads();
841 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
844 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
845 if (ro
&& PyNumber_Check(ro
)) {
846 num
= PyNumber_Float(ro
);
848 rval
= PyFloat_AsDouble(num
);
854 wxPyEndBlockThreads();
858 bool GetValueAsBool( int row
, int col
) {
859 return (bool)GetValueAsLong(row
, col
);
862 void SetValueAsLong( int row
, int col
, long value
) {
863 wxPyBeginBlockThreads();
864 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
865 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
867 wxPyEndBlockThreads();
870 void SetValueAsDouble( int row
, int col
, double value
) {
871 wxPyBeginBlockThreads();
872 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
873 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
875 wxPyEndBlockThreads();
878 void SetValueAsBool( int row
, int col
, bool value
) {
879 SetValueAsLong( row
, col
, (long)value
);
886 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
888 // If source is an object instance then it may already be the right type
889 if (PyInstance_Check(source
)) {
890 wxGridCellCoords
* ptr
;
891 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
896 // otherwise a 2-tuple of integers is expected
897 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
898 PyObject
* o1
= PySequence_GetItem(source
, 0);
899 PyObject
* o2
= PySequence_GetItem(source
, 1);
900 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
905 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
909 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
* source
)
911 PyObject
* list
= PyList_New(0);
913 for (idx
= 0; idx
< source
->GetCount(); idx
+= 1) {
914 wxGridCellCoords
& coord
= source
->Item(idx
);
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
917 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
918 PyList_Append(list
, tup
);
924 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
928 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
930 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
934 static PyObject
*_wrap_wxGridNoCellCoords_get() {
938 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
939 pyobj
= PyString_FromString(ptemp
);
943 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
945 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
949 static PyObject
*_wrap_wxGridNoCellRect_get() {
953 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
954 pyobj
= PyString_FromString(ptemp
);
958 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
* _self
) {
959 self
->SetClientObject(new wxPyOORClientData(_self
));
961 static PyObject
*_wrap_wxGridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
963 wxGridCellRenderer
* _arg0
;
965 PyObject
* _argo0
= 0;
966 PyObject
* _obj1
= 0;
967 char *_kwnames
[] = { "self","_self", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 wxGridCellRenderer__setOORInfo(_arg0
,_arg1
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) return NULL
;
988 } Py_INCREF(Py_None
);
989 _resultobj
= Py_None
;
993 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
994 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
996 wxGridCellRenderer
* _arg0
;
998 PyObject
* _argo0
= 0;
999 PyObject
* _obj1
= 0;
1000 char *_kwnames
[] = { "self","params", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
1013 _arg1
= wxString_in_helper(_obj1
);
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1023 } Py_INCREF(Py_None
);
1024 _resultobj
= Py_None
;
1032 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1033 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1035 wxGridCellRenderer
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 wxGridCellRenderer_IncRef(_arg0
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1060 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1061 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1063 wxGridCellRenderer
* _arg0
;
1064 PyObject
* _argo0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 wxGridCellRenderer_DecRef(_arg0
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) return NULL
;
1083 } Py_INCREF(Py_None
);
1084 _resultobj
= Py_None
;
1088 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1089 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1091 wxGridCellRenderer
* _arg0
;
1093 wxGridCellAttr
* _arg2
;
1099 PyObject
* _argo0
= 0;
1100 PyObject
* _argo1
= 0;
1101 PyObject
* _argo2
= 0;
1102 PyObject
* _argo3
= 0;
1104 PyObject
* _obj4
= 0;
1106 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1119 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1125 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1131 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1138 if (! wxRect_helper(_obj4
, &_arg4
))
1141 _arg7
= (bool ) tempbool7
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1154 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1157 wxGridCellRenderer
* _arg0
;
1159 wxGridCellAttr
* _arg2
;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _argo1
= 0;
1165 PyObject
* _argo2
= 0;
1166 PyObject
* _argo3
= 0;
1167 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1181 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1187 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1193 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1210 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxGridCellRenderer
* _result
;
1213 wxGridCellRenderer
* _arg0
;
1214 PyObject
* _argo0
= 0;
1215 char *_kwnames
[] = { "self", NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) return NULL
;
1233 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
1237 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1238 wxPyGridCellRenderer
*src
;
1239 wxGridCellRenderer
*dest
;
1240 src
= (wxPyGridCellRenderer
*) ptr
;
1241 dest
= (wxGridCellRenderer
*) src
;
1242 return (void *) dest
;
1245 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1246 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxPyGridCellRenderer
* _result
;
1249 char *_kwnames
[] = { NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1263 _resultobj
= Py_BuildValue("s",_ptemp
);
1266 _resultobj
= Py_None
;
1271 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1272 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxPyGridCellRenderer
* _arg0
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _obj1
= 0;
1279 PyObject
* _obj2
= 0;
1280 char *_kwnames
[] = { "self","self","_class", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) return NULL
;
1304 } Py_INCREF(Py_None
);
1305 _resultobj
= Py_None
;
1309 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1310 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxPyGridCellRenderer
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _obj1
= 0;
1316 char *_kwnames
[] = { "self","params", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1329 _arg1
= wxString_in_helper(_obj1
);
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1348 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1349 wxGridCellStringRenderer
*src
;
1350 wxGridCellRenderer
*dest
;
1351 src
= (wxGridCellStringRenderer
*) ptr
;
1352 dest
= (wxGridCellRenderer
*) src
;
1353 return (void *) dest
;
1356 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1357 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxGridCellStringRenderer
* _result
;
1360 char *_kwnames
[] = { NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) return NULL
;
1373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1374 _resultobj
= Py_BuildValue("s",_ptemp
);
1377 _resultobj
= Py_None
;
1382 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1383 wxGridCellNumberRenderer
*src
;
1384 wxGridCellStringRenderer
*dest
;
1385 src
= (wxGridCellNumberRenderer
*) ptr
;
1386 dest
= (wxGridCellStringRenderer
*) src
;
1387 return (void *) dest
;
1390 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1391 wxGridCellNumberRenderer
*src
;
1392 wxGridCellRenderer
*dest
;
1393 src
= (wxGridCellNumberRenderer
*) ptr
;
1394 dest
= (wxGridCellRenderer
*) src
;
1395 return (void *) dest
;
1398 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1399 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxGridCellNumberRenderer
* _result
;
1402 char *_kwnames
[] = { NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) return NULL
;
1415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1416 _resultobj
= Py_BuildValue("s",_ptemp
);
1419 _resultobj
= Py_None
;
1424 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1425 wxGridCellFloatRenderer
*src
;
1426 wxGridCellStringRenderer
*dest
;
1427 src
= (wxGridCellFloatRenderer
*) ptr
;
1428 dest
= (wxGridCellStringRenderer
*) src
;
1429 return (void *) dest
;
1432 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1433 wxGridCellFloatRenderer
*src
;
1434 wxGridCellRenderer
*dest
;
1435 src
= (wxGridCellFloatRenderer
*) ptr
;
1436 dest
= (wxGridCellRenderer
*) src
;
1437 return (void *) dest
;
1440 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1441 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxGridCellFloatRenderer
* _result
;
1444 int _arg0
= (int ) -1;
1445 int _arg1
= (int ) -1;
1446 char *_kwnames
[] = { "width","precision", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1460 _resultobj
= Py_BuildValue("s",_ptemp
);
1463 _resultobj
= Py_None
;
1468 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1469 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1472 wxGridCellFloatRenderer
* _arg0
;
1473 PyObject
* _argo0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1497 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxGridCellFloatRenderer
* _arg0
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self","width", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) return NULL
;
1520 } Py_INCREF(Py_None
);
1521 _resultobj
= Py_None
;
1525 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1526 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxGridCellFloatRenderer
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } _resultobj
= Py_BuildValue("i",_result
);
1553 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1554 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxGridCellFloatRenderer
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self","precision", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } Py_INCREF(Py_None
);
1578 _resultobj
= Py_None
;
1582 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1583 wxGridCellBoolRenderer
*src
;
1584 wxGridCellRenderer
*dest
;
1585 src
= (wxGridCellBoolRenderer
*) ptr
;
1586 dest
= (wxGridCellRenderer
*) src
;
1587 return (void *) dest
;
1590 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1591 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1593 wxGridCellBoolRenderer
* _result
;
1594 char *_kwnames
[] = { NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1616 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1617 wxGridCellDateTimeRenderer
*src
;
1618 wxGridCellStringRenderer
*dest
;
1619 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1620 dest
= (wxGridCellStringRenderer
*) src
;
1621 return (void *) dest
;
1624 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1625 wxGridCellDateTimeRenderer
*src
;
1626 wxGridCellRenderer
*dest
;
1627 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1628 dest
= (wxGridCellRenderer
*) src
;
1629 return (void *) dest
;
1632 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1633 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxGridCellDateTimeRenderer
* _result
;
1636 wxString
* _arg0
= (wxString
*) &wxPyDateTimeFormatStr
;
1637 wxString
* _arg1
= (wxString
*) &wxPyDateTimeFormatStr
;
1638 PyObject
* _obj0
= 0;
1639 PyObject
* _obj1
= 0;
1640 char *_kwnames
[] = { "outformat","informat", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1648 _arg0
= wxString_in_helper(_obj0
);
1654 _arg1
= wxString_in_helper(_obj1
);
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 _resultobj
= Py_None
;
1682 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1683 wxGridCellEnumRenderer
*src
;
1684 wxGridCellStringRenderer
*dest
;
1685 src
= (wxGridCellEnumRenderer
*) ptr
;
1686 dest
= (wxGridCellStringRenderer
*) src
;
1687 return (void *) dest
;
1690 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1691 wxGridCellEnumRenderer
*src
;
1692 wxGridCellRenderer
*dest
;
1693 src
= (wxGridCellEnumRenderer
*) ptr
;
1694 dest
= (wxGridCellRenderer
*) src
;
1695 return (void *) dest
;
1698 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1699 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1701 wxGridCellEnumRenderer
* _result
;
1702 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1703 PyObject
* _obj0
= 0;
1704 char *_kwnames
[] = { "choices", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1712 _arg0
= wxString_LIST_helper(_obj0
);
1713 if (_arg0
== NULL
) {
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1725 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 _resultobj
= Py_None
;
1736 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1737 wxGridCellAutoWrapStringRenderer
*src
;
1738 wxGridCellStringRenderer
*dest
;
1739 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1740 dest
= (wxGridCellStringRenderer
*) src
;
1741 return (void *) dest
;
1744 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1745 wxGridCellAutoWrapStringRenderer
*src
;
1746 wxGridCellRenderer
*dest
;
1747 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1748 dest
= (wxGridCellRenderer
*) src
;
1749 return (void *) dest
;
1752 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1753 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1755 wxGridCellAutoWrapStringRenderer
* _result
;
1756 char *_kwnames
[] = { NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1770 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 _resultobj
= Py_None
;
1778 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
* _self
) {
1779 self
->SetClientObject(new wxPyOORClientData(_self
));
1781 static PyObject
*_wrap_wxGridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxGridCellEditor
* _arg0
;
1785 PyObject
* _argo0
= 0;
1786 PyObject
* _obj1
= 0;
1787 char *_kwnames
[] = { "self","_self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 wxGridCellEditor__setOORInfo(_arg0
,_arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1813 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1814 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1817 wxGridCellEditor
* _arg0
;
1818 PyObject
* _argo0
= 0;
1819 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1842 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1844 wxControl
* _result
;
1845 wxGridCellEditor
* _arg0
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_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_GetControl. Expected _wxGridCellEditor_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1869 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1870 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1872 wxGridCellEditor
* _arg0
;
1874 PyObject
* _argo0
= 0;
1875 PyObject
* _argo1
= 0;
1876 char *_kwnames
[] = { "self","control", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
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_SetControl. Expected _wxGridCellEditor_p.");
1889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1906 #define wxGridCellEditor_GetCellAttr(_swigobj) (_swigobj->GetCellAttr())
1907 static PyObject
*_wrap_wxGridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxGridCellAttr
* _result
;
1910 wxGridCellEditor
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetCellAttr",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetCellAttr. Expected _wxGridCellEditor_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 _result
= (wxGridCellAttr
*)wxGridCellEditor_GetCellAttr(_arg0
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
1934 #define wxGridCellEditor_SetCellAttr(_swigobj,_swigarg0) (_swigobj->SetCellAttr(_swigarg0))
1935 static PyObject
*_wrap_wxGridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxGridCellEditor
* _arg0
;
1938 wxGridCellAttr
* _arg1
;
1939 PyObject
* _argo0
= 0;
1940 PyObject
* _argo1
= 0;
1941 char *_kwnames
[] = { "self","attr", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetCellAttr",_kwnames
,&_argo0
,&_argo1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellEditor_p.");
1954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellAttr_p.");
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 wxGridCellEditor_SetCellAttr(_arg0
,_arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) return NULL
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1972 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1974 wxGridCellEditor
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 PyObject
* _obj1
= 0;
1978 char *_kwnames
[] = { "self","params", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1991 _arg1
= wxString_in_helper(_obj1
);
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2010 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
2011 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2013 wxGridCellEditor
* _arg0
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 wxGridCellEditor_IncRef(_arg0
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
2039 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2041 wxGridCellEditor
* _arg0
;
2042 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "self", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 wxGridCellEditor_DecRef(_arg0
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) return NULL
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
2067 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2069 wxGridCellEditor
* _arg0
;
2072 wxEvtHandler
* _arg3
;
2073 PyObject
* _argo0
= 0;
2074 PyObject
* _argo1
= 0;
2075 PyObject
* _argo3
= 0;
2076 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2096 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2113 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2114 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxGridCellEditor
* _arg0
;
2120 PyObject
* _argo0
= 0;
2121 PyObject
* _argo3
= 0;
2122 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2135 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2152 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2153 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 wxGridCellEditor
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo3
= 0;
2162 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2175 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2192 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2194 wxGridCellEditor
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxGridCellEditor_Reset(_arg0
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2220 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxGridCellEditor
* _result
;
2223 wxGridCellEditor
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
2247 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2248 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxGridCellEditor
* _arg0
;
2252 PyObject
* _argo0
= 0;
2254 PyObject
* _obj1
= 0;
2255 char *_kwnames
[] = { "self","rect", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2269 if (! wxRect_helper(_obj1
, &_arg1
))
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } Py_INCREF(Py_None
);
2279 _resultobj
= Py_None
;
2283 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2284 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxGridCellEditor
* _arg0
;
2288 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2289 PyObject
* _argo0
= 0;
2291 PyObject
* _argo2
= 0;
2292 char *_kwnames
[] = { "self","show","attr", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2304 _arg1
= (bool ) tempbool1
;
2306 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2324 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2326 wxGridCellEditor
* _arg0
;
2328 wxGridCellAttr
* _arg2
;
2329 PyObject
* _argo0
= 0;
2331 PyObject
* _obj1
= 0;
2332 PyObject
* _argo2
= 0;
2333 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2347 if (! wxRect_helper(_obj1
, &_arg1
))
2351 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2369 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2372 wxGridCellEditor
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","event", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2389 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } _resultobj
= Py_BuildValue("i",_result
);
2404 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2405 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxGridCellEditor
* _arg0
;
2409 PyObject
* _argo0
= 0;
2410 PyObject
* _argo1
= 0;
2411 char *_kwnames
[] = { "self","event", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2424 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2441 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2443 wxGridCellEditor
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxGridCellEditor_StartingClick(_arg0
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2469 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxGridCellEditor
* _arg0
;
2473 PyObject
* _argo0
= 0;
2474 PyObject
* _argo1
= 0;
2475 char *_kwnames
[] = { "self","event", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2488 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2504 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2505 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2507 wxGridCellEditor
* _arg0
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 wxGridCellEditor_Destroy(_arg0
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxGridCellEditor_GetValue(_swigobj) (_swigobj->GetValue())
2533 static PyObject
*_wrap_wxGridCellEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2536 wxGridCellEditor
* _arg0
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "self", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetValue",_kwnames
,&_argo0
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetValue. Expected _wxGridCellEditor_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= new wxString (wxGridCellEditor_GetValue(_arg0
));
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2558 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2560 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2569 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2570 wxPyGridCellEditor
*src
;
2571 wxGridCellEditor
*dest
;
2572 src
= (wxPyGridCellEditor
*) ptr
;
2573 dest
= (wxGridCellEditor
*) src
;
2574 return (void *) dest
;
2577 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2578 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2580 wxPyGridCellEditor
* _result
;
2581 char *_kwnames
[] = { NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2595 _resultobj
= Py_BuildValue("s",_ptemp
);
2598 _resultobj
= Py_None
;
2603 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2604 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2606 wxPyGridCellEditor
* _arg0
;
2609 PyObject
* _argo0
= 0;
2610 PyObject
* _obj1
= 0;
2611 PyObject
* _obj2
= 0;
2612 char *_kwnames
[] = { "self","self","_class", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2642 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2644 wxPyGridCellEditor
* _arg0
;
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _obj1
= 0;
2649 char *_kwnames
[] = { "self","rect", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2663 if (! wxRect_helper(_obj1
, &_arg1
))
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2677 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2678 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2680 wxPyGridCellEditor
* _arg0
;
2682 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2683 PyObject
* _argo0
= 0;
2685 PyObject
* _argo2
= 0;
2686 char *_kwnames
[] = { "self","show","attr", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2698 _arg1
= (bool ) tempbool1
;
2700 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } Py_INCREF(Py_None
);
2713 _resultobj
= Py_None
;
2717 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2718 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2720 wxPyGridCellEditor
* _arg0
;
2722 wxGridCellAttr
* _arg2
;
2723 PyObject
* _argo0
= 0;
2725 PyObject
* _obj1
= 0;
2726 PyObject
* _argo2
= 0;
2727 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2741 if (! wxRect_helper(_obj1
, &_arg1
))
2745 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } Py_INCREF(Py_None
);
2758 _resultobj
= Py_None
;
2762 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2763 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2765 wxPyGridCellEditor
* _arg0
;
2767 PyObject
* _argo0
= 0;
2768 PyObject
* _argo1
= 0;
2769 char *_kwnames
[] = { "self","event", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2782 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2793 } Py_INCREF(Py_None
);
2794 _resultobj
= Py_None
;
2798 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2799 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxPyGridCellEditor
* _arg0
;
2803 PyObject
* _argo0
= 0;
2804 PyObject
* _argo1
= 0;
2805 char *_kwnames
[] = { "self","event", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2818 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2835 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2837 wxPyGridCellEditor
* _arg0
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 wxPyGridCellEditor_base_StartingClick(_arg0
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2863 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2865 wxPyGridCellEditor
* _arg0
;
2867 PyObject
* _argo0
= 0;
2868 PyObject
* _argo1
= 0;
2869 char *_kwnames
[] = { "self","event", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2882 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) return NULL
;
2893 } Py_INCREF(Py_None
);
2894 _resultobj
= Py_None
;
2898 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2899 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2901 wxPyGridCellEditor
* _arg0
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 wxPyGridCellEditor_base_Destroy(_arg0
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) return NULL
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2926 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2927 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2929 wxPyGridCellEditor
* _arg0
;
2931 PyObject
* _argo0
= 0;
2932 PyObject
* _obj1
= 0;
2933 char *_kwnames
[] = { "self","params", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2946 _arg1
= wxString_in_helper(_obj1
);
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2956 } Py_INCREF(Py_None
);
2957 _resultobj
= Py_None
;
2965 #define wxPyGridCellEditor_base_GetValue(_swigobj) (_swigobj->base_GetValue())
2966 static PyObject
*_wrap_wxPyGridCellEditor_base_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2969 wxPyGridCellEditor
* _arg0
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_GetValue",_kwnames
,&_argo0
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_GetValue. Expected _wxPyGridCellEditor_p.");
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 _result
= new wxString (wxPyGridCellEditor_base_GetValue(_arg0
));
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) return NULL
;
2991 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2993 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3002 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
3003 wxGridCellTextEditor
*src
;
3004 wxGridCellEditor
*dest
;
3005 src
= (wxGridCellTextEditor
*) ptr
;
3006 dest
= (wxGridCellEditor
*) src
;
3007 return (void *) dest
;
3010 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
3011 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3013 wxGridCellTextEditor
* _result
;
3014 char *_kwnames
[] = { NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
3028 _resultobj
= Py_BuildValue("s",_ptemp
);
3031 _resultobj
= Py_None
;
3036 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
3037 wxGridCellNumberEditor
*src
;
3038 wxGridCellTextEditor
*dest
;
3039 src
= (wxGridCellNumberEditor
*) ptr
;
3040 dest
= (wxGridCellTextEditor
*) src
;
3041 return (void *) dest
;
3044 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
3045 wxGridCellNumberEditor
*src
;
3046 wxGridCellEditor
*dest
;
3047 src
= (wxGridCellNumberEditor
*) ptr
;
3048 dest
= (wxGridCellEditor
*) src
;
3049 return (void *) dest
;
3052 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
3053 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3055 wxGridCellNumberEditor
* _result
;
3056 int _arg0
= (int ) -1;
3057 int _arg1
= (int ) -1;
3058 char *_kwnames
[] = { "min","max", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3080 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
3081 wxGridCellFloatEditor
*src
;
3082 wxGridCellTextEditor
*dest
;
3083 src
= (wxGridCellFloatEditor
*) ptr
;
3084 dest
= (wxGridCellTextEditor
*) src
;
3085 return (void *) dest
;
3088 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
3089 wxGridCellFloatEditor
*src
;
3090 wxGridCellEditor
*dest
;
3091 src
= (wxGridCellFloatEditor
*) ptr
;
3092 dest
= (wxGridCellEditor
*) src
;
3093 return (void *) dest
;
3096 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
3097 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxGridCellFloatEditor
* _result
;
3100 char *_kwnames
[] = { NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
3114 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 _resultobj
= Py_None
;
3122 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
3123 wxGridCellBoolEditor
*src
;
3124 wxGridCellEditor
*dest
;
3125 src
= (wxGridCellBoolEditor
*) ptr
;
3126 dest
= (wxGridCellEditor
*) src
;
3127 return (void *) dest
;
3130 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
3131 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3133 wxGridCellBoolEditor
* _result
;
3134 char *_kwnames
[] = { NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3147 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
3148 _resultobj
= Py_BuildValue("s",_ptemp
);
3151 _resultobj
= Py_None
;
3156 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
3157 wxGridCellChoiceEditor
*src
;
3158 wxGridCellEditor
*dest
;
3159 src
= (wxGridCellChoiceEditor
*) ptr
;
3160 dest
= (wxGridCellEditor
*) src
;
3161 return (void *) dest
;
3164 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3165 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxGridCellChoiceEditor
* _result
;
3168 int _arg0
= (int ) 0;
3169 wxString
* _arg1
= (wxString
*) NULL
;
3170 bool _arg2
= (bool ) FALSE
;
3171 PyObject
* _obj1
= 0;
3172 int tempbool2
= (int) FALSE
;
3173 char *_kwnames
[] = { "choices","allowOthers", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
3181 _arg1
= wxString_LIST_helper(_obj1
);
3182 if (_arg1
== NULL
) {
3186 _arg2
= (bool ) tempbool2
;
3189 _arg0
= PyList_Size(_obj1
);
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3206 _resultobj
= Py_None
;
3214 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3215 wxGridCellEnumEditor
*src
;
3216 wxGridCellChoiceEditor
*dest
;
3217 src
= (wxGridCellEnumEditor
*) ptr
;
3218 dest
= (wxGridCellChoiceEditor
*) src
;
3219 return (void *) dest
;
3222 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3223 wxGridCellEnumEditor
*src
;
3224 wxGridCellEditor
*dest
;
3225 src
= (wxGridCellEnumEditor
*) ptr
;
3226 dest
= (wxGridCellEditor
*) src
;
3227 return (void *) dest
;
3230 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3231 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxGridCellEnumEditor
* _result
;
3234 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
3235 PyObject
* _obj0
= 0;
3236 char *_kwnames
[] = { "choices", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3244 _arg0
= wxString_LIST_helper(_obj0
);
3245 if (_arg0
== NULL
) {
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3257 _resultobj
= Py_BuildValue("s",_ptemp
);
3260 _resultobj
= Py_None
;
3268 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3269 wxGridCellAutoWrapStringEditor
*src
;
3270 wxGridCellTextEditor
*dest
;
3271 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3272 dest
= (wxGridCellTextEditor
*) src
;
3273 return (void *) dest
;
3276 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3277 wxGridCellAutoWrapStringEditor
*src
;
3278 wxGridCellEditor
*dest
;
3279 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3280 dest
= (wxGridCellEditor
*) src
;
3281 return (void *) dest
;
3284 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3285 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3287 wxGridCellAutoWrapStringEditor
* _result
;
3288 char *_kwnames
[] = { NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3302 _resultobj
= Py_BuildValue("s",_ptemp
);
3305 _resultobj
= Py_None
;
3310 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
* _self
) {
3311 self
->SetClientObject(new wxPyOORClientData(_self
));
3313 static PyObject
*_wrap_wxGridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3315 wxGridCellAttr
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 PyObject
* _obj1
= 0;
3319 char *_kwnames
[] = { "self","_self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 wxGridCellAttr__setOORInfo(_arg0
,_arg1
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) return NULL
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3346 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxGridCellAttr
* _result
;
3349 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "attrDefault", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) return NULL
;
3371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3372 _resultobj
= Py_BuildValue("s",_ptemp
);
3375 _resultobj
= Py_None
;
3380 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3381 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxGridCellAttr
* _result
;
3384 wxGridCellAttr
* _arg0
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) return NULL
;
3404 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
3408 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3409 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxGridCellAttr
* _arg0
;
3412 wxGridCellAttr
* _arg1
;
3413 PyObject
* _argo0
= 0;
3414 PyObject
* _argo1
= 0;
3415 char *_kwnames
[] = { "self","mergefrom", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3440 } Py_INCREF(Py_None
);
3441 _resultobj
= Py_None
;
3445 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3446 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3448 wxGridCellAttr
* _arg0
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 wxGridCellAttr_IncRef(_arg0
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3474 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3476 wxGridCellAttr
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 wxGridCellAttr_DecRef(_arg0
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) return NULL
;
3496 } Py_INCREF(Py_None
);
3497 _resultobj
= Py_None
;
3501 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3502 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3504 wxGridCellAttr
* _arg0
;
3506 PyObject
* _argo0
= 0;
3508 PyObject
* _obj1
= 0;
3509 char *_kwnames
[] = { "self","colText", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3523 if (! wxColour_helper(_obj1
, &_arg1
))
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) return NULL
;
3532 } Py_INCREF(Py_None
);
3533 _resultobj
= Py_None
;
3537 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3538 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3540 wxGridCellAttr
* _arg0
;
3542 PyObject
* _argo0
= 0;
3544 PyObject
* _obj1
= 0;
3545 char *_kwnames
[] = { "self","colBack", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3559 if (! wxColour_helper(_obj1
, &_arg1
))
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3568 } Py_INCREF(Py_None
);
3569 _resultobj
= Py_None
;
3573 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3574 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 wxGridCellAttr
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 PyObject
* _argo1
= 0;
3580 char *_kwnames
[] = { "self","font", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3593 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3604 } Py_INCREF(Py_None
);
3605 _resultobj
= Py_None
;
3609 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3610 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3612 wxGridCellAttr
* _arg0
;
3615 PyObject
* _argo0
= 0;
3616 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) return NULL
;
3634 } Py_INCREF(Py_None
);
3635 _resultobj
= Py_None
;
3639 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3640 static PyObject
*_wrap_wxGridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3642 wxGridCellAttr
* _arg0
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p.");
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 wxGridCellAttr_SetSize(_arg0
,_arg1
,_arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) return NULL
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3669 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3670 static PyObject
*_wrap_wxGridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxGridCellAttr
* _arg0
;
3674 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self","allow", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetOverflow",_kwnames
,&_argo0
,&tempbool1
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3688 _arg1
= (bool ) tempbool1
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 wxGridCellAttr_SetOverflow(_arg0
,_arg1
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) return NULL
;
3695 } Py_INCREF(Py_None
);
3696 _resultobj
= Py_None
;
3700 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3701 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3703 wxGridCellAttr
* _arg0
;
3704 bool _arg1
= (bool ) TRUE
;
3705 PyObject
* _argo0
= 0;
3706 int tempbool1
= (int) TRUE
;
3707 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3719 _arg1
= (bool ) tempbool1
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) return NULL
;
3726 } Py_INCREF(Py_None
);
3727 _resultobj
= Py_None
;
3731 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3732 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3734 wxGridCellAttr
* _arg0
;
3735 wxGridCellRenderer
* _arg1
;
3736 PyObject
* _argo0
= 0;
3737 PyObject
* _argo1
= 0;
3738 char *_kwnames
[] = { "self","renderer", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3763 } Py_INCREF(Py_None
);
3764 _resultobj
= Py_None
;
3768 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3769 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3771 wxGridCellAttr
* _arg0
;
3772 wxGridCellEditor
* _arg1
;
3773 PyObject
* _argo0
= 0;
3774 PyObject
* _argo1
= 0;
3775 char *_kwnames
[] = { "self","editor", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3800 } Py_INCREF(Py_None
);
3801 _resultobj
= Py_None
;
3805 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3806 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxGridCellAttr
* _arg0
;
3809 wxGridCellAttr::wxAttrKind _arg1
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "self","kind", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3829 } Py_INCREF(Py_None
);
3830 _resultobj
= Py_None
;
3834 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3835 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3838 wxGridCellAttr
* _arg0
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } _resultobj
= Py_BuildValue("i",_result
);
3862 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3863 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
* _resultobj
;
3866 wxGridCellAttr
* _arg0
;
3867 PyObject
* _argo0
= 0;
3868 char *_kwnames
[] = { "self", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) return NULL
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3891 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxGridCellAttr
* _arg0
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) return NULL
;
3914 } _resultobj
= Py_BuildValue("i",_result
);
3918 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3919 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3922 wxGridCellAttr
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } _resultobj
= Py_BuildValue("i",_result
);
3946 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3947 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxGridCellAttr
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } _resultobj
= Py_BuildValue("i",_result
);
3974 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3975 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3978 wxGridCellAttr
* _arg0
;
3979 PyObject
* _argo0
= 0;
3980 char *_kwnames
[] = { "self", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) return NULL
;
3998 } _resultobj
= Py_BuildValue("i",_result
);
4002 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
4003 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4006 wxGridCellAttr
* _arg0
;
4007 PyObject
* _argo0
= 0;
4008 char *_kwnames
[] = { "self", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) return NULL
;
4026 } _resultobj
= Py_BuildValue("i",_result
);
4030 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4031 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
* _resultobj
;
4034 wxGridCellAttr
* _arg0
;
4035 PyObject
* _argo0
= 0;
4036 char *_kwnames
[] = { "self", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4056 _resultobj
= Py_BuildValue("s",_ptemp
);
4060 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4061 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4064 wxGridCellAttr
* _arg0
;
4065 PyObject
* _argo0
= 0;
4066 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4086 _resultobj
= Py_BuildValue("s",_ptemp
);
4090 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4091 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4094 wxGridCellAttr
* _arg0
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
4116 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4121 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxGridCellAttr
* _arg0
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } Py_INCREF(Py_None
);
4154 _resultobj
= Py_None
;
4157 o
= PyInt_FromLong((long) (*_arg1
));
4158 _resultobj
= t_output_helper(_resultobj
, o
);
4162 o
= PyInt_FromLong((long) (*_arg2
));
4163 _resultobj
= t_output_helper(_resultobj
, o
);
4168 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4169 static PyObject
*_wrap_wxGridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4171 wxGridCellAttr
* _arg0
;
4174 PyObject
* _argo0
= 0;
4175 PyObject
* _argo1
= 0;
4176 PyObject
* _argo2
= 0;
4177 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellAttr_GetSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
4197 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 wxGridCellAttr_GetSize(_arg0
,_arg1
,_arg2
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) return NULL
;
4209 } Py_INCREF(Py_None
);
4210 _resultobj
= Py_None
;
4214 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4215 static PyObject
*_wrap_wxGridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4218 wxGridCellAttr
* _arg0
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetOverflow",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 _result
= (bool )wxGridCellAttr_GetOverflow(_arg0
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } _resultobj
= Py_BuildValue("i",_result
);
4242 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4243 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4245 wxGridCellRenderer
* _result
;
4246 wxGridCellAttr
* _arg0
;
4250 PyObject
* _argo0
= 0;
4251 PyObject
* _argo1
= 0;
4252 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4281 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4282 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4284 wxGridCellEditor
* _result
;
4285 wxGridCellAttr
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 PyObject
* _argo1
= 0;
4291 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4320 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4321 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4324 wxGridCellAttr
* _arg0
;
4325 PyObject
* _argo0
= 0;
4326 char *_kwnames
[] = { "self", NULL
};
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4344 } _resultobj
= Py_BuildValue("i",_result
);
4348 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4349 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4351 wxGridCellAttr
* _arg0
;
4352 wxGridCellAttr
* _arg1
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _argo1
= 0;
4355 char *_kwnames
[] = { "self","defAttr", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4386 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxGridCellAttrProvider
* _result
;
4389 char *_kwnames
[] = { NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) return NULL
;
4402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4403 _resultobj
= Py_BuildValue("s",_ptemp
);
4406 _resultobj
= Py_None
;
4411 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4412 self
->SetClientObject(new wxPyOORClientData(_self
));
4414 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4416 wxGridCellAttrProvider
* _arg0
;
4418 PyObject
* _argo0
= 0;
4419 PyObject
* _obj1
= 0;
4420 char *_kwnames
[] = { "self","_self", NULL
};
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) return NULL
;
4441 } Py_INCREF(Py_None
);
4442 _resultobj
= Py_None
;
4446 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4447 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
* _resultobj
;
4449 wxGridCellAttr
* _result
;
4450 wxGridCellAttrProvider
* _arg0
;
4453 wxGridCellAttr::wxAttrKind _arg3
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) return NULL
;
4473 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4477 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4478 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4480 wxGridCellAttrProvider
* _arg0
;
4481 wxGridCellAttr
* _arg1
;
4484 PyObject
* _argo0
= 0;
4485 PyObject
* _argo1
= 0;
4486 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 } Py_INCREF(Py_None
);
4512 _resultobj
= Py_None
;
4516 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4517 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4519 wxGridCellAttrProvider
* _arg0
;
4520 wxGridCellAttr
* _arg1
;
4522 PyObject
* _argo0
= 0;
4523 PyObject
* _argo1
= 0;
4524 char *_kwnames
[] = { "self","attr","row", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) return NULL
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4555 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4557 wxGridCellAttrProvider
* _arg0
;
4558 wxGridCellAttr
* _arg1
;
4560 PyObject
* _argo0
= 0;
4561 PyObject
* _argo1
= 0;
4562 char *_kwnames
[] = { "self","attr","col", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4592 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4593 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4595 wxGridCellAttrProvider
* _arg0
;
4598 PyObject
* _argo0
= 0;
4599 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) return NULL
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4623 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxGridCellAttrProvider
* _arg0
;
4628 PyObject
* _argo0
= 0;
4629 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) return NULL
;
4647 } Py_INCREF(Py_None
);
4648 _resultobj
= Py_None
;
4652 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4653 wxPyGridCellAttrProvider
*src
;
4654 wxGridCellAttrProvider
*dest
;
4655 src
= (wxPyGridCellAttrProvider
*) ptr
;
4656 dest
= (wxGridCellAttrProvider
*) src
;
4657 return (void *) dest
;
4660 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4661 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxPyGridCellAttrProvider
* _result
;
4664 char *_kwnames
[] = { NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) return NULL
;
4677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4678 _resultobj
= Py_BuildValue("s",_ptemp
);
4681 _resultobj
= Py_None
;
4686 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4687 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxPyGridCellAttrProvider
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 PyObject
* _obj1
= 0;
4694 PyObject
* _obj2
= 0;
4695 char *_kwnames
[] = { "self","self","_class", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4724 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4725 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4727 wxGridCellAttr
* _result
;
4728 wxPyGridCellAttrProvider
* _arg0
;
4731 wxGridCellAttr::wxAttrKind _arg3
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4751 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4755 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4756 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4758 wxPyGridCellAttrProvider
* _arg0
;
4759 wxGridCellAttr
* _arg1
;
4762 PyObject
* _argo0
= 0;
4763 PyObject
* _argo1
= 0;
4764 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) return NULL
;
4789 } Py_INCREF(Py_None
);
4790 _resultobj
= Py_None
;
4794 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4795 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4797 wxPyGridCellAttrProvider
* _arg0
;
4798 wxGridCellAttr
* _arg1
;
4800 PyObject
* _argo0
= 0;
4801 PyObject
* _argo1
= 0;
4802 char *_kwnames
[] = { "self","attr","row", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4833 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4835 wxPyGridCellAttrProvider
* _arg0
;
4836 wxGridCellAttr
* _arg1
;
4838 PyObject
* _argo0
= 0;
4839 PyObject
* _argo1
= 0;
4840 char *_kwnames
[] = { "self","attr","col", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4865 } Py_INCREF(Py_None
);
4866 _resultobj
= Py_None
;
4870 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4871 wxGridTableBase
*src
;
4873 src
= (wxGridTableBase
*) ptr
;
4874 dest
= (wxObject
*) src
;
4875 return (void *) dest
;
4878 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
4879 self
->SetClientObject(new wxPyOORClientData(_self
));
4881 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4883 wxGridTableBase
* _arg0
;
4885 PyObject
* _argo0
= 0;
4886 PyObject
* _obj1
= 0;
4887 char *_kwnames
[] = { "self","_self", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4913 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4914 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxGridTableBase
* _arg0
;
4917 wxGridCellAttrProvider
* _arg1
;
4918 PyObject
* _argo0
= 0;
4919 PyObject
* _argo1
= 0;
4920 char *_kwnames
[] = { "self","attrProvider", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) return NULL
;
4945 } Py_INCREF(Py_None
);
4946 _resultobj
= Py_None
;
4950 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4951 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4953 wxGridCellAttrProvider
* _result
;
4954 wxGridTableBase
* _arg0
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
4978 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4979 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4981 wxGridTableBase
* _arg0
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _argo1
= 0;
4985 char *_kwnames
[] = { "self","grid", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxGridTableBase_SetView(_arg0
,_arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5016 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5019 wxGridTableBase
* _arg0
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5043 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5044 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 wxGridTableBase
* _arg0
;
5048 PyObject
* _argo0
= 0;
5049 char *_kwnames
[] = { "self", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) return NULL
;
5067 } _resultobj
= Py_BuildValue("i",_result
);
5071 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5072 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5075 wxGridTableBase
* _arg0
;
5076 PyObject
* _argo0
= 0;
5077 char *_kwnames
[] = { "self", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
5083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) return NULL
;
5095 } _resultobj
= Py_BuildValue("i",_result
);
5099 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5100 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
* _resultobj
;
5103 wxGridTableBase
* _arg0
;
5106 PyObject
* _argo0
= 0;
5107 char *_kwnames
[] = { "self","row","col", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) return NULL
;
5125 } _resultobj
= Py_BuildValue("i",_result
);
5129 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5130 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5133 wxGridTableBase
* _arg0
;
5136 PyObject
* _argo0
= 0;
5137 char *_kwnames
[] = { "self","row","col", NULL
};
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5157 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5159 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5168 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5169 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5171 wxGridTableBase
* _arg0
;
5175 PyObject
* _argo0
= 0;
5176 PyObject
* _obj3
= 0;
5177 char *_kwnames
[] = { "self","row","col","value", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5190 _arg3
= wxString_in_helper(_obj3
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) return NULL
;
5200 } Py_INCREF(Py_None
);
5201 _resultobj
= Py_None
;
5209 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5210 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5213 wxGridTableBase
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self","row","col", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) return NULL
;
5237 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5239 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5248 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5249 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5252 wxGridTableBase
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 PyObject
* _obj3
= 0;
5258 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5271 _arg3
= wxString_in_helper(_obj3
);
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) return NULL
;
5281 } _resultobj
= Py_BuildValue("i",_result
);
5289 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5290 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5293 wxGridTableBase
* _arg0
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _obj3
= 0;
5299 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5312 _arg3
= wxString_in_helper(_obj3
);
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) return NULL
;
5322 } _resultobj
= Py_BuildValue("i",_result
);
5330 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5331 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
* _resultobj
;
5334 wxGridTableBase
* _arg0
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self","row","col", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) return NULL
;
5356 } _resultobj
= Py_BuildValue("l",_result
);
5360 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5361 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5364 wxGridTableBase
* _arg0
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self","row","col", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } _resultobj
= Py_BuildValue("d",_result
);
5390 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5391 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5394 wxGridTableBase
* _arg0
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self","row","col", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } _resultobj
= Py_BuildValue("i",_result
);
5420 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5421 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5423 wxGridTableBase
* _arg0
;
5427 PyObject
* _argo0
= 0;
5428 char *_kwnames
[] = { "self","row","col","value", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) return NULL
;
5446 } Py_INCREF(Py_None
);
5447 _resultobj
= Py_None
;
5451 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5452 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5454 wxGridTableBase
* _arg0
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","row","col","value", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5483 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5485 wxGridTableBase
* _arg0
;
5489 PyObject
* _argo0
= 0;
5491 char *_kwnames
[] = { "self","row","col","value", NULL
};
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5503 _arg3
= (bool ) tempbool3
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } Py_INCREF(Py_None
);
5511 _resultobj
= Py_None
;
5515 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5516 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5518 wxGridTableBase
* _arg0
;
5519 PyObject
* _argo0
= 0;
5520 char *_kwnames
[] = { "self", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 wxGridTableBase_Clear(_arg0
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) return NULL
;
5538 } Py_INCREF(Py_None
);
5539 _resultobj
= Py_None
;
5543 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5544 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5547 wxGridTableBase
* _arg0
;
5548 size_t _arg1
= (size_t ) 0;
5549 size_t _arg2
= (size_t ) 1;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) return NULL
;
5569 } _resultobj
= Py_BuildValue("i",_result
);
5573 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5574 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
* _resultobj
;
5577 wxGridTableBase
* _arg0
;
5578 size_t _arg1
= (size_t ) 1;
5579 PyObject
* _argo0
= 0;
5580 char *_kwnames
[] = { "self","numRows", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } _resultobj
= Py_BuildValue("i",_result
);
5602 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5603 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5606 wxGridTableBase
* _arg0
;
5607 size_t _arg1
= (size_t ) 0;
5608 size_t _arg2
= (size_t ) 1;
5609 PyObject
* _argo0
= 0;
5610 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) return NULL
;
5628 } _resultobj
= Py_BuildValue("i",_result
);
5632 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5633 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5636 wxGridTableBase
* _arg0
;
5637 size_t _arg1
= (size_t ) 0;
5638 size_t _arg2
= (size_t ) 1;
5639 PyObject
* _argo0
= 0;
5640 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } _resultobj
= Py_BuildValue("i",_result
);
5662 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5663 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5666 wxGridTableBase
* _arg0
;
5667 size_t _arg1
= (size_t ) 1;
5668 PyObject
* _argo0
= 0;
5669 char *_kwnames
[] = { "self","numCols", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) return NULL
;
5687 } _resultobj
= Py_BuildValue("i",_result
);
5691 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5692 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxGridTableBase
* _arg0
;
5696 size_t _arg1
= (size_t ) 0;
5697 size_t _arg2
= (size_t ) 1;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) return NULL
;
5717 } _resultobj
= Py_BuildValue("i",_result
);
5721 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5722 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5725 wxGridTableBase
* _arg0
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self","row", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) return NULL
;
5748 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5759 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5760 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5763 wxGridTableBase
* _arg0
;
5765 PyObject
* _argo0
= 0;
5766 char *_kwnames
[] = { "self","col", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) return NULL
;
5786 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5788 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5797 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5798 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5800 wxGridTableBase
* _arg0
;
5803 PyObject
* _argo0
= 0;
5804 PyObject
* _obj2
= 0;
5805 char *_kwnames
[] = { "self","row","value", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5818 _arg2
= wxString_in_helper(_obj2
);
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5837 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5838 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5840 wxGridTableBase
* _arg0
;
5843 PyObject
* _argo0
= 0;
5844 PyObject
* _obj2
= 0;
5845 char *_kwnames
[] = { "self","col","value", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5858 _arg2
= wxString_in_helper(_obj2
);
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) return NULL
;
5868 } Py_INCREF(Py_None
);
5869 _resultobj
= Py_None
;
5877 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5878 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5881 wxGridTableBase
* _arg0
;
5882 PyObject
* _argo0
= 0;
5883 char *_kwnames
[] = { "self", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) return NULL
;
5901 } _resultobj
= Py_BuildValue("i",_result
);
5905 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5906 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
* _resultobj
;
5908 wxGridCellAttr
* _result
;
5909 wxGridTableBase
* _arg0
;
5912 wxGridCellAttr::wxAttrKind _arg3
;
5913 PyObject
* _argo0
= 0;
5914 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) return NULL
;
5932 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
5936 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5937 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5939 wxGridTableBase
* _arg0
;
5940 wxGridCellAttr
* _arg1
;
5943 PyObject
* _argo0
= 0;
5944 PyObject
* _argo1
= 0;
5945 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_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 wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5975 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5976 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
* _resultobj
;
5978 wxGridTableBase
* _arg0
;
5979 wxGridCellAttr
* _arg1
;
5981 PyObject
* _argo0
= 0;
5982 PyObject
* _argo1
= 0;
5983 char *_kwnames
[] = { "self","attr","row", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) return NULL
;
6008 } Py_INCREF(Py_None
);
6009 _resultobj
= Py_None
;
6013 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6014 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6016 wxGridTableBase
* _arg0
;
6017 wxGridCellAttr
* _arg1
;
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _argo1
= 0;
6021 char *_kwnames
[] = { "self","attr","col", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) return NULL
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6051 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
6052 wxPyGridTableBase
*src
;
6053 wxGridTableBase
*dest
;
6054 src
= (wxPyGridTableBase
*) ptr
;
6055 dest
= (wxGridTableBase
*) src
;
6056 return (void *) dest
;
6059 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
6060 wxPyGridTableBase
*src
;
6062 src
= (wxPyGridTableBase
*) ptr
;
6063 dest
= (wxObject
*) src
;
6064 return (void *) dest
;
6067 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6068 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6070 wxPyGridTableBase
* _result
;
6071 char *_kwnames
[] = { NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
6085 _resultobj
= Py_BuildValue("s",_ptemp
);
6088 _resultobj
= Py_None
;
6093 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6094 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6096 wxPyGridTableBase
* _arg0
;
6099 PyObject
* _argo0
= 0;
6100 PyObject
* _obj1
= 0;
6101 PyObject
* _obj2
= 0;
6102 char *_kwnames
[] = { "self","self","_class", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 } Py_INCREF(Py_None
);
6127 _resultobj
= Py_None
;
6131 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
6132 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxPyGridTableBase
* _arg0
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxPyGridTableBase_Destroy(_arg0
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6159 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6160 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6163 wxPyGridTableBase
* _arg0
;
6166 PyObject
* _argo0
= 0;
6167 char *_kwnames
[] = { "self","row","col", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6187 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6189 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6198 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6199 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6202 wxPyGridTableBase
* _arg0
;
6206 PyObject
* _argo0
= 0;
6207 PyObject
* _obj3
= 0;
6208 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6221 _arg3
= wxString_in_helper(_obj3
);
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) return NULL
;
6231 } _resultobj
= Py_BuildValue("i",_result
);
6239 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6240 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
* _resultobj
;
6243 wxPyGridTableBase
* _arg0
;
6247 PyObject
* _argo0
= 0;
6248 PyObject
* _obj3
= 0;
6249 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6262 _arg3
= wxString_in_helper(_obj3
);
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6272 } _resultobj
= Py_BuildValue("i",_result
);
6280 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6281 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6283 wxPyGridTableBase
* _arg0
;
6284 PyObject
* _argo0
= 0;
6285 char *_kwnames
[] = { "self", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 wxPyGridTableBase_base_Clear(_arg0
);
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) return NULL
;
6303 } Py_INCREF(Py_None
);
6304 _resultobj
= Py_None
;
6308 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6309 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6312 wxPyGridTableBase
* _arg0
;
6313 size_t _arg1
= (size_t ) 0;
6314 size_t _arg2
= (size_t ) 1;
6315 PyObject
* _argo0
= 0;
6316 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) return NULL
;
6334 } _resultobj
= Py_BuildValue("i",_result
);
6338 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6339 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6342 wxPyGridTableBase
* _arg0
;
6343 size_t _arg1
= (size_t ) 1;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self","numRows", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6368 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6371 wxPyGridTableBase
* _arg0
;
6372 size_t _arg1
= (size_t ) 0;
6373 size_t _arg2
= (size_t ) 1;
6374 PyObject
* _argo0
= 0;
6375 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) return NULL
;
6393 } _resultobj
= Py_BuildValue("i",_result
);
6397 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6398 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6401 wxPyGridTableBase
* _arg0
;
6402 size_t _arg1
= (size_t ) 0;
6403 size_t _arg2
= (size_t ) 1;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } _resultobj
= Py_BuildValue("i",_result
);
6427 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6428 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6431 wxPyGridTableBase
* _arg0
;
6432 size_t _arg1
= (size_t ) 1;
6433 PyObject
* _argo0
= 0;
6434 char *_kwnames
[] = { "self","numCols", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) return NULL
;
6452 } _resultobj
= Py_BuildValue("i",_result
);
6456 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6457 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6460 wxPyGridTableBase
* _arg0
;
6461 size_t _arg1
= (size_t ) 0;
6462 size_t _arg2
= (size_t ) 1;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) return NULL
;
6482 } _resultobj
= Py_BuildValue("i",_result
);
6486 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6487 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6490 wxPyGridTableBase
* _arg0
;
6492 PyObject
* _argo0
= 0;
6493 char *_kwnames
[] = { "self","row", NULL
};
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) return NULL
;
6513 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6515 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6524 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6525 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6528 wxPyGridTableBase
* _arg0
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self","col", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6551 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6553 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6562 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6563 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6565 wxPyGridTableBase
* _arg0
;
6568 PyObject
* _argo0
= 0;
6569 PyObject
* _obj2
= 0;
6570 char *_kwnames
[] = { "self","row","value", NULL
};
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6583 _arg2
= wxString_in_helper(_obj2
);
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) return NULL
;
6593 } Py_INCREF(Py_None
);
6594 _resultobj
= Py_None
;
6602 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6603 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6605 wxPyGridTableBase
* _arg0
;
6608 PyObject
* _argo0
= 0;
6609 PyObject
* _obj2
= 0;
6610 char *_kwnames
[] = { "self","col","value", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6623 _arg2
= wxString_in_helper(_obj2
);
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) return NULL
;
6633 } Py_INCREF(Py_None
);
6634 _resultobj
= Py_None
;
6642 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6643 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6646 wxPyGridTableBase
* _arg0
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6671 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6673 wxGridCellAttr
* _result
;
6674 wxPyGridTableBase
* _arg0
;
6677 wxGridCellAttr::wxAttrKind _arg3
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6701 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6702 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6704 wxPyGridTableBase
* _arg0
;
6705 wxGridCellAttr
* _arg1
;
6708 PyObject
* _argo0
= 0;
6709 PyObject
* _argo1
= 0;
6710 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) return NULL
;
6735 } Py_INCREF(Py_None
);
6736 _resultobj
= Py_None
;
6740 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6741 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6743 wxPyGridTableBase
* _arg0
;
6744 wxGridCellAttr
* _arg1
;
6746 PyObject
* _argo0
= 0;
6747 PyObject
* _argo1
= 0;
6748 char *_kwnames
[] = { "self","attr","row", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } Py_INCREF(Py_None
);
6774 _resultobj
= Py_None
;
6778 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6779 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6781 wxPyGridTableBase
* _arg0
;
6782 wxGridCellAttr
* _arg1
;
6784 PyObject
* _argo0
= 0;
6785 PyObject
* _argo1
= 0;
6786 char *_kwnames
[] = { "self","attr","col", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) return NULL
;
6811 } Py_INCREF(Py_None
);
6812 _resultobj
= Py_None
;
6816 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6817 wxGridStringTable
*src
;
6818 wxGridTableBase
*dest
;
6819 src
= (wxGridStringTable
*) ptr
;
6820 dest
= (wxGridTableBase
*) src
;
6821 return (void *) dest
;
6824 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6825 wxGridStringTable
*src
;
6827 src
= (wxGridStringTable
*) ptr
;
6828 dest
= (wxObject
*) src
;
6829 return (void *) dest
;
6832 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6833 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6835 wxGridStringTable
* _result
;
6836 int _arg0
= (int ) 0;
6837 int _arg1
= (int ) 0;
6838 char *_kwnames
[] = { "numRows","numCols", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6852 _resultobj
= Py_BuildValue("s",_ptemp
);
6855 _resultobj
= Py_None
;
6860 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6861 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6863 wxGridTableMessage
* _result
;
6864 wxGridTableBase
* _arg0
;
6866 int _arg2
= (int ) -1;
6867 int _arg3
= (int ) -1;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) return NULL
;
6889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6890 _resultobj
= Py_BuildValue("s",_ptemp
);
6893 _resultobj
= Py_None
;
6898 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6899 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6901 wxGridTableMessage
* _arg0
;
6902 PyObject
* _argo0
= 0;
6903 char *_kwnames
[] = { "self", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 delete_wxGridTableMessage(_arg0
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) return NULL
;
6921 } Py_INCREF(Py_None
);
6922 _resultobj
= Py_None
;
6926 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6927 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6929 wxGridTableMessage
* _arg0
;
6930 wxGridTableBase
* _arg1
;
6931 PyObject
* _argo0
= 0;
6932 PyObject
* _argo1
= 0;
6933 char *_kwnames
[] = { "self","table", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } Py_INCREF(Py_None
);
6959 _resultobj
= Py_None
;
6963 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6964 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxGridTableBase
* _result
;
6967 wxGridTableMessage
* _arg0
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) return NULL
;
6987 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
6991 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6992 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6994 wxGridTableMessage
* _arg0
;
6996 PyObject
* _argo0
= 0;
6997 char *_kwnames
[] = { "self","id", NULL
};
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
7003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxGridTableMessage_SetId(_arg0
,_arg1
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } Py_INCREF(Py_None
);
7016 _resultobj
= Py_None
;
7020 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7021 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7024 wxGridTableMessage
* _arg0
;
7025 PyObject
* _argo0
= 0;
7026 char *_kwnames
[] = { "self", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 _result
= (int )wxGridTableMessage_GetId(_arg0
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } _resultobj
= Py_BuildValue("i",_result
);
7048 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7049 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7051 wxGridTableMessage
* _arg0
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","comInt1", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7078 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7081 wxGridTableMessage
* _arg0
;
7082 PyObject
* _argo0
= 0;
7083 char *_kwnames
[] = { "self", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) return NULL
;
7101 } _resultobj
= Py_BuildValue("i",_result
);
7105 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7106 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7108 wxGridTableMessage
* _arg0
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self","comInt2", NULL
};
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
7117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) return NULL
;
7129 } Py_INCREF(Py_None
);
7130 _resultobj
= Py_None
;
7134 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7135 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7138 wxGridTableMessage
* _arg0
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) return NULL
;
7158 } _resultobj
= Py_BuildValue("i",_result
);
7162 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7163 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7165 wxGridCellCoords
* _result
;
7166 int _arg0
= (int ) -1;
7167 int _arg1
= (int ) -1;
7168 char *_kwnames
[] = { "r","c", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) return NULL
;
7181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7182 _resultobj
= Py_BuildValue("s",_ptemp
);
7185 _resultobj
= Py_None
;
7190 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7191 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7193 wxGridCellCoords
* _arg0
;
7194 PyObject
* _argo0
= 0;
7195 char *_kwnames
[] = { "self", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 delete_wxGridCellCoords(_arg0
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) return NULL
;
7213 } Py_INCREF(Py_None
);
7214 _resultobj
= Py_None
;
7218 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7219 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
* _resultobj
;
7222 wxGridCellCoords
* _arg0
;
7223 PyObject
* _argo0
= 0;
7224 char *_kwnames
[] = { "self", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) return NULL
;
7242 } _resultobj
= Py_BuildValue("i",_result
);
7246 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7247 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7249 wxGridCellCoords
* _arg0
;
7251 PyObject
* _argo0
= 0;
7252 char *_kwnames
[] = { "self","n", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 wxGridCellCoords_SetRow(_arg0
,_arg1
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) return NULL
;
7270 } Py_INCREF(Py_None
);
7271 _resultobj
= Py_None
;
7275 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7276 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7279 wxGridCellCoords
* _arg0
;
7280 PyObject
* _argo0
= 0;
7281 char *_kwnames
[] = { "self", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) return NULL
;
7299 } _resultobj
= Py_BuildValue("i",_result
);
7303 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7304 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
* _resultobj
;
7306 wxGridCellCoords
* _arg0
;
7308 PyObject
* _argo0
= 0;
7309 char *_kwnames
[] = { "self","n", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) return NULL
;
7327 } Py_INCREF(Py_None
);
7328 _resultobj
= Py_None
;
7332 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7333 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7335 wxGridCellCoords
* _arg0
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self","row","col", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7362 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7363 PyObject
* tup
= PyTuple_New(2);
7364 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7365 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7368 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
* _resultobj
;
7371 wxGridCellCoords
* _arg0
;
7372 PyObject
* _argo0
= 0;
7373 char *_kwnames
[] = { "self", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) return NULL
;
7392 _resultobj
= _result
;
7397 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7398 return *self
!= other
;
7400 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7403 wxGridCellCoords
* _arg0
;
7404 wxGridCellCoords
* _arg1
;
7405 PyObject
* _argo0
= 0;
7406 PyObject
* _argo1
= 0;
7407 char *_kwnames
[] = { "self","other", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7420 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) return NULL
;
7431 } _resultobj
= Py_BuildValue("i",_result
);
7435 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7437 wxScrolledWindow
*dest
;
7438 src
= (wxGrid
*) ptr
;
7439 dest
= (wxScrolledWindow
*) src
;
7440 return (void *) dest
;
7443 static void *SwigwxGridTowxPanel(void *ptr
) {
7446 src
= (wxGrid
*) ptr
;
7447 dest
= (wxPanel
*) src
;
7448 return (void *) dest
;
7451 static void *SwigwxGridTowxWindow(void *ptr
) {
7454 src
= (wxGrid
*) ptr
;
7455 dest
= (wxWindow
*) src
;
7456 return (void *) dest
;
7459 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7462 src
= (wxGrid
*) ptr
;
7463 dest
= (wxEvtHandler
*) src
;
7464 return (void *) dest
;
7467 static void *SwigwxGridTowxObject(void *ptr
) {
7470 src
= (wxGrid
*) ptr
;
7471 dest
= (wxObject
*) src
;
7472 return (void *) dest
;
7475 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7476 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7481 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7482 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7483 long _arg4
= (long ) wxWANTS_CHARS
;
7484 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7485 PyObject
* _argo0
= 0;
7487 PyObject
* _obj2
= 0;
7489 PyObject
* _obj3
= 0;
7490 PyObject
* _obj5
= 0;
7491 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7507 if (! wxPoint_helper(_obj2
, &_arg2
))
7513 if (! wxSize_helper(_obj3
, &_arg3
))
7518 _arg5
= wxString_in_helper(_obj5
);
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7530 _resultobj
= Py_BuildValue("s",_ptemp
);
7533 _resultobj
= Py_None
;
7542 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7543 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
* _resultobj
;
7549 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7569 } _resultobj
= Py_BuildValue("i",_result
);
7573 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7574 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7577 WXGRIDSELECTIONMODES _arg1
;
7578 PyObject
* _argo0
= 0;
7579 char *_kwnames
[] = { "self","selmode", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) return NULL
;
7597 } Py_INCREF(Py_None
);
7598 _resultobj
= Py_None
;
7602 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7603 static PyObject
*_wrap_wxGrid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7605 WXGRIDSELECTIONMODES _result
;
7607 PyObject
* _argo0
= 0;
7608 char *_kwnames
[] = { "self", NULL
};
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionMode",_kwnames
,&_argo0
))
7614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 _result
= (WXGRIDSELECTIONMODES
)wxGrid_GetSelectionMode(_arg0
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) return NULL
;
7626 } _resultobj
= Py_BuildValue("i",_result
);
7630 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7631 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) return NULL
;
7654 } _resultobj
= Py_BuildValue("i",_result
);
7658 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7659 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } _resultobj
= Py_BuildValue("i",_result
);
7686 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7687 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7691 wxGridTableMessage
* _arg1
;
7692 PyObject
* _argo0
= 0;
7693 PyObject
* _argo1
= 0;
7694 char *_kwnames
[] = { "self","arg2", NULL
};
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7707 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) return NULL
;
7718 } _resultobj
= Py_BuildValue("i",_result
);
7722 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7723 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
* _resultobj
;
7725 wxGridTableBase
* _result
;
7727 PyObject
* _argo0
= 0;
7728 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7750 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7751 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7755 wxGridTableBase
* _arg1
;
7756 bool _arg2
= (bool ) FALSE
;
7757 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7758 PyObject
* _argo0
= 0;
7759 PyObject
* _argo1
= 0;
7760 int tempbool2
= (int) FALSE
;
7761 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7780 _arg2
= (bool ) tempbool2
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) return NULL
;
7787 } _resultobj
= Py_BuildValue("i",_result
);
7791 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7792 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7795 PyObject
* _argo0
= 0;
7796 char *_kwnames
[] = { "self", NULL
};
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 wxGrid_ClearGrid(_arg0
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) return NULL
;
7814 } Py_INCREF(Py_None
);
7815 _resultobj
= Py_None
;
7819 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7820 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
* _resultobj
;
7824 int _arg1
= (int ) 0;
7825 int _arg2
= (int ) 1;
7826 bool _arg3
= (bool ) TRUE
;
7827 PyObject
* _argo0
= 0;
7828 int tempbool3
= (int) TRUE
;
7829 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7841 _arg3
= (bool ) tempbool3
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) return NULL
;
7848 } _resultobj
= Py_BuildValue("i",_result
);
7852 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7853 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7857 int _arg1
= (int ) 1;
7858 bool _arg2
= (bool ) TRUE
;
7859 PyObject
* _argo0
= 0;
7860 int tempbool2
= (int) TRUE
;
7861 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7873 _arg2
= (bool ) tempbool2
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7880 } _resultobj
= Py_BuildValue("i",_result
);
7884 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7885 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
* _resultobj
;
7889 int _arg1
= (int ) 0;
7890 int _arg2
= (int ) 1;
7891 bool _arg3
= (bool ) TRUE
;
7892 PyObject
* _argo0
= 0;
7893 int tempbool3
= (int) TRUE
;
7894 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7906 _arg3
= (bool ) tempbool3
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) return NULL
;
7913 } _resultobj
= Py_BuildValue("i",_result
);
7917 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7918 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7922 int _arg1
= (int ) 0;
7923 int _arg2
= (int ) 1;
7924 bool _arg3
= (bool ) TRUE
;
7925 PyObject
* _argo0
= 0;
7926 int tempbool3
= (int) TRUE
;
7927 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7939 _arg3
= (bool ) tempbool3
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) return NULL
;
7946 } _resultobj
= Py_BuildValue("i",_result
);
7950 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7951 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7955 int _arg1
= (int ) 1;
7956 bool _arg2
= (bool ) TRUE
;
7957 PyObject
* _argo0
= 0;
7958 int tempbool2
= (int) TRUE
;
7959 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7971 _arg2
= (bool ) tempbool2
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) return NULL
;
7978 } _resultobj
= Py_BuildValue("i",_result
);
7982 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7983 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
* _resultobj
;
7987 int _arg1
= (int ) 0;
7988 int _arg2
= (int ) 1;
7989 bool _arg3
= (bool ) TRUE
;
7990 PyObject
* _argo0
= 0;
7991 int tempbool3
= (int) TRUE
;
7992 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8004 _arg3
= (bool ) tempbool3
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) return NULL
;
8011 } _resultobj
= Py_BuildValue("i",_result
);
8015 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8016 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
* _resultobj
;
8020 wxGridCellAttr
* _arg2
;
8021 PyObject
* _argo0
= 0;
8022 PyObject
* _argo1
= 0;
8023 PyObject
* _argo2
= 0;
8024 char *_kwnames
[] = { "self","dc","attr", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8037 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8043 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) return NULL
;
8055 } Py_INCREF(Py_None
);
8056 _resultobj
= Py_None
;
8060 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8061 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8067 int _arg4
= (int ) wxLEFT
;
8068 int _arg5
= (int ) wxTOP
;
8069 int _arg6
= (int ) wxHORIZONTAL
;
8070 PyObject
* _argo0
= 0;
8071 PyObject
* _argo1
= 0;
8072 PyObject
* _obj2
= 0;
8074 PyObject
* _obj3
= 0;
8075 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
,&_arg6
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8088 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8094 _arg2
= wxString_in_helper(_obj2
);
8100 if (! wxRect_helper(_obj3
, &_arg3
))
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) return NULL
;
8109 } Py_INCREF(Py_None
);
8110 _resultobj
= Py_None
;
8118 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8119 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
* _resultobj
;
8123 wxArrayString
* _arg2
;
8128 PyObject
* _argo0
= 0;
8129 PyObject
* _argo1
= 0;
8130 PyObject
* _obj2
= 0;
8131 char *_kwnames
[] = { "self","dc","lines", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8150 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8156 if (! PySequence_Check(_obj2
)) {
8157 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8160 _arg2
= new wxArrayString
;
8161 int i
, len
=PySequence_Length(_obj2
);
8162 for (i
=0; i
<len
; i
++) {
8163 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
8165 PyObject
* str
= PyObject_Unicode(item
);
8167 PyObject
* str
= PyObject_Str(item
);
8169 _arg2
->Add(Py2wxString(str
));
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8180 } Py_INCREF(Py_None
);
8181 _resultobj
= Py_None
;
8184 o
= PyInt_FromLong((long) (*_arg3
));
8185 _resultobj
= t_output_helper(_resultobj
, o
);
8189 o
= PyInt_FromLong((long) (*_arg4
));
8190 _resultobj
= t_output_helper(_resultobj
, o
);
8199 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8200 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8203 PyObject
* _argo0
= 0;
8204 char *_kwnames
[] = { "self", NULL
};
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
8210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 wxGrid_BeginBatch(_arg0
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) return NULL
;
8222 } Py_INCREF(Py_None
);
8223 _resultobj
= Py_None
;
8227 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8228 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 char *_kwnames
[] = { "self", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxGrid_EndBatch(_arg0
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } Py_INCREF(Py_None
);
8251 _resultobj
= Py_None
;
8255 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8256 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
* _resultobj
;
8260 PyObject
* _argo0
= 0;
8261 char *_kwnames
[] = { "self", NULL
};
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) return NULL
;
8279 } _resultobj
= Py_BuildValue("i",_result
);
8283 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8284 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
* _resultobj
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 wxGrid_ForceRefresh(_arg0
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) return NULL
;
8306 } Py_INCREF(Py_None
);
8307 _resultobj
= Py_None
;
8311 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8312 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
* _resultobj
;
8315 bool _arg1
= (bool ) TRUE
;
8316 wxRect
* _arg2
= (wxRect
*) NULL
;
8317 PyObject
* _argo0
= 0;
8318 int tempbool1
= (int) TRUE
;
8320 PyObject
* _obj2
= 0;
8321 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8333 _arg1
= (bool ) tempbool1
;
8337 if (! wxRect_helper(_obj2
, &_arg2
))
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) return NULL
;
8346 } Py_INCREF(Py_None
);
8347 _resultobj
= Py_None
;
8351 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8352 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
* _resultobj
;
8356 PyObject
* _argo0
= 0;
8357 char *_kwnames
[] = { "self", NULL
};
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 _result
= (bool )wxGrid_IsEditable(_arg0
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) return NULL
;
8375 } _resultobj
= Py_BuildValue("i",_result
);
8379 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8380 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
* _resultobj
;
8384 PyObject
* _argo0
= 0;
8386 char *_kwnames
[] = { "self","edit", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8398 _arg1
= (bool ) tempbool1
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 wxGrid_EnableEditing(_arg0
,_arg1
);
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) return NULL
;
8405 } Py_INCREF(Py_None
);
8406 _resultobj
= Py_None
;
8410 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8411 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
* _resultobj
;
8414 bool _arg1
= (bool ) TRUE
;
8415 PyObject
* _argo0
= 0;
8416 int tempbool1
= (int) TRUE
;
8417 char *_kwnames
[] = { "self","enable", NULL
};
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8429 _arg1
= (bool ) tempbool1
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) return NULL
;
8436 } Py_INCREF(Py_None
);
8437 _resultobj
= Py_None
;
8441 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8442 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
* _resultobj
;
8445 PyObject
* _argo0
= 0;
8446 char *_kwnames
[] = { "self", NULL
};
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 wxGrid_DisableCellEditControl(_arg0
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) return NULL
;
8464 } Py_INCREF(Py_None
);
8465 _resultobj
= Py_None
;
8469 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8470 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8493 } _resultobj
= Py_BuildValue("i",_result
);
8497 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8498 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
* _resultobj
;
8502 PyObject
* _argo0
= 0;
8503 char *_kwnames
[] = { "self", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) return NULL
;
8521 } _resultobj
= Py_BuildValue("i",_result
);
8525 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8526 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
* _resultobj
;
8530 PyObject
* _argo0
= 0;
8531 char *_kwnames
[] = { "self", NULL
};
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) return NULL
;
8549 } _resultobj
= Py_BuildValue("i",_result
);
8553 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8554 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
* _resultobj
;
8558 PyObject
* _argo0
= 0;
8559 char *_kwnames
[] = { "self", NULL
};
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) return NULL
;
8577 } _resultobj
= Py_BuildValue("i",_result
);
8581 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8582 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
* _resultobj
;
8585 PyObject
* _argo0
= 0;
8586 char *_kwnames
[] = { "self", NULL
};
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 wxGrid_ShowCellEditControl(_arg0
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) return NULL
;
8604 } Py_INCREF(Py_None
);
8605 _resultobj
= Py_None
;
8609 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8610 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
* _resultobj
;
8613 PyObject
* _argo0
= 0;
8614 char *_kwnames
[] = { "self", NULL
};
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxGrid_HideCellEditControl(_arg0
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) return NULL
;
8632 } Py_INCREF(Py_None
);
8633 _resultobj
= Py_None
;
8637 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8638 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
* _resultobj
;
8641 PyObject
* _argo0
= 0;
8642 char *_kwnames
[] = { "self", NULL
};
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxGrid_SaveEditControlValue(_arg0
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) return NULL
;
8660 } Py_INCREF(Py_None
);
8661 _resultobj
= Py_None
;
8665 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8666 wxGridCellCoords rv
;
8667 self
->XYToCell(x
, y
, rv
);
8668 return new wxGridCellCoords(rv
);
8670 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
* _resultobj
;
8672 wxGridCellCoords
* _result
;
8676 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self","x","y", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) return NULL
;
8697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8698 _resultobj
= Py_BuildValue("s",_ptemp
);
8701 _resultobj
= Py_None
;
8706 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8707 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
* _resultobj
;
8712 PyObject
* _argo0
= 0;
8713 char *_kwnames
[] = { "self","y", NULL
};
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) return NULL
;
8731 } _resultobj
= Py_BuildValue("i",_result
);
8735 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8736 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
* _resultobj
;
8741 PyObject
* _argo0
= 0;
8742 char *_kwnames
[] = { "self","x", NULL
};
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) return NULL
;
8760 } _resultobj
= Py_BuildValue("i",_result
);
8764 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8765 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8770 PyObject
* _argo0
= 0;
8771 char *_kwnames
[] = { "self","y", NULL
};
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) return NULL
;
8789 } _resultobj
= Py_BuildValue("i",_result
);
8793 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8794 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
* _resultobj
;
8799 PyObject
* _argo0
= 0;
8800 char *_kwnames
[] = { "self","x", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_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_XToEdgeOfCol. Expected _wxGrid_p.");
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) return NULL
;
8818 } _resultobj
= Py_BuildValue("i",_result
);
8822 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8823 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8829 PyObject
* _argo0
= 0;
8830 char *_kwnames
[] = { "self","row","col", NULL
};
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) return NULL
;
8849 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8850 _resultobj
= Py_BuildValue("s",_ptemp
);
8854 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8855 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8859 PyObject
* _argo0
= 0;
8860 char *_kwnames
[] = { "self", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) return NULL
;
8878 } _resultobj
= Py_BuildValue("i",_result
);
8882 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8883 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
* _resultobj
;
8887 PyObject
* _argo0
= 0;
8888 char *_kwnames
[] = { "self", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 } _resultobj
= Py_BuildValue("i",_result
);
8910 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8911 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
* _resultobj
;
8917 bool _arg3
= (bool ) TRUE
;
8918 PyObject
* _argo0
= 0;
8919 int tempbool3
= (int) TRUE
;
8920 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8932 _arg3
= (bool ) tempbool3
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) return NULL
;
8939 } _resultobj
= Py_BuildValue("i",_result
);
8943 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8944 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
* _resultobj
;
8949 PyObject
* _argo0
= 0;
8950 char *_kwnames
[] = { "self","row","col", NULL
};
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8968 } Py_INCREF(Py_None
);
8969 _resultobj
= Py_None
;
8973 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8974 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
* _resultobj
;
8979 PyObject
* _argo0
= 0;
8980 char *_kwnames
[] = { "self","row","col", NULL
};
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) return NULL
;
8998 } Py_INCREF(Py_None
);
8999 _resultobj
= Py_None
;
9003 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9004 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9009 PyObject
* _argo0
= 0;
9011 char *_kwnames
[] = { "self","expandSelection", NULL
};
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
9017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9023 _arg1
= (bool ) tempbool1
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) return NULL
;
9030 } _resultobj
= Py_BuildValue("i",_result
);
9034 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9035 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9040 PyObject
* _argo0
= 0;
9042 char *_kwnames
[] = { "self","expandSelection", NULL
};
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
9048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9054 _arg1
= (bool ) tempbool1
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) return NULL
;
9061 } _resultobj
= Py_BuildValue("i",_result
);
9065 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9066 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
* _resultobj
;
9071 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self","expandSelection", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9085 _arg1
= (bool ) tempbool1
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) return NULL
;
9092 } _resultobj
= Py_BuildValue("i",_result
);
9096 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9097 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
* _resultobj
;
9102 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self","expandSelection", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9116 _arg1
= (bool ) tempbool1
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } _resultobj
= Py_BuildValue("i",_result
);
9127 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9128 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
* _resultobj
;
9132 PyObject
* _argo0
= 0;
9133 char *_kwnames
[] = { "self", NULL
};
9136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
9139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 _result
= (bool )wxGrid_MovePageDown(_arg0
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) return NULL
;
9151 } _resultobj
= Py_BuildValue("i",_result
);
9155 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9156 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9160 PyObject
* _argo0
= 0;
9161 char *_kwnames
[] = { "self", NULL
};
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
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_MovePageUp. Expected _wxGrid_p.");
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) return NULL
;
9179 } _resultobj
= Py_BuildValue("i",_result
);
9183 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9184 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9189 PyObject
* _argo0
= 0;
9191 char *_kwnames
[] = { "self","expandSelection", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9203 _arg1
= (bool ) tempbool1
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) return NULL
;
9210 } _resultobj
= Py_BuildValue("i",_result
);
9214 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9215 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9220 PyObject
* _argo0
= 0;
9222 char *_kwnames
[] = { "self","expandSelection", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9234 _arg1
= (bool ) tempbool1
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) return NULL
;
9241 } _resultobj
= Py_BuildValue("i",_result
);
9245 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9246 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
* _resultobj
;
9251 PyObject
* _argo0
= 0;
9253 char *_kwnames
[] = { "self","expandSelection", NULL
};
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9265 _arg1
= (bool ) tempbool1
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) return NULL
;
9272 } _resultobj
= Py_BuildValue("i",_result
);
9276 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9277 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9282 PyObject
* _argo0
= 0;
9284 char *_kwnames
[] = { "self","expandSelection", NULL
};
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9296 _arg1
= (bool ) tempbool1
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) return NULL
;
9303 } _resultobj
= Py_BuildValue("i",_result
);
9307 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9308 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
* _resultobj
;
9312 PyObject
* _argo0
= 0;
9313 char *_kwnames
[] = { "self", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) return NULL
;
9331 } _resultobj
= Py_BuildValue("i",_result
);
9335 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9336 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
* _resultobj
;
9340 PyObject
* _argo0
= 0;
9341 char *_kwnames
[] = { "self", NULL
};
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) return NULL
;
9359 } _resultobj
= Py_BuildValue("i",_result
);
9363 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9364 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9368 PyObject
* _argo0
= 0;
9369 char *_kwnames
[] = { "self", NULL
};
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) return NULL
;
9387 } _resultobj
= Py_BuildValue("i",_result
);
9391 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9392 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
* _resultobj
;
9396 PyObject
* _argo0
= 0;
9397 char *_kwnames
[] = { "self", NULL
};
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) return NULL
;
9415 } _resultobj
= Py_BuildValue("i",_result
);
9419 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9420 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9424 PyObject
* _argo0
= 0;
9425 char *_kwnames
[] = { "self", NULL
};
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9445 _resultobj
= Py_BuildValue("s",_ptemp
);
9449 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9450 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self", NULL
};
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) return NULL
;
9474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9475 _resultobj
= Py_BuildValue("s",_ptemp
);
9479 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9480 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
* _resultobj
;
9484 PyObject
* _argo0
= 0;
9485 char *_kwnames
[] = { "self", NULL
};
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) return NULL
;
9504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9505 _resultobj
= Py_BuildValue("s",_ptemp
);
9509 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9510 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
* _resultobj
;
9517 PyObject
* _argo0
= 0;
9518 char *_kwnames
[] = { "self", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) return NULL
;
9542 } Py_INCREF(Py_None
);
9543 _resultobj
= Py_None
;
9546 o
= PyInt_FromLong((long) (*_arg1
));
9547 _resultobj
= t_output_helper(_resultobj
, o
);
9551 o
= PyInt_FromLong((long) (*_arg2
));
9552 _resultobj
= t_output_helper(_resultobj
, o
);
9557 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9558 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
* _resultobj
;
9565 PyObject
* _argo0
= 0;
9566 char *_kwnames
[] = { "self", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) return NULL
;
9590 } Py_INCREF(Py_None
);
9591 _resultobj
= Py_None
;
9594 o
= PyInt_FromLong((long) (*_arg1
));
9595 _resultobj
= t_output_helper(_resultobj
, o
);
9599 o
= PyInt_FromLong((long) (*_arg2
));
9600 _resultobj
= t_output_helper(_resultobj
, o
);
9605 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9606 static PyObject
*_wrap_wxGrid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
* _resultobj
;
9610 PyObject
* _argo0
= 0;
9611 char *_kwnames
[] = { "self", NULL
};
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelTextOrientation",_kwnames
,&_argo0
))
9617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 _result
= (int )wxGrid_GetColLabelTextOrientation(_arg0
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } _resultobj
= Py_BuildValue("i",_result
);
9633 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9634 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
* _resultobj
;
9639 PyObject
* _argo0
= 0;
9640 char *_kwnames
[] = { "self","row", NULL
};
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) return NULL
;
9660 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9662 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9671 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9672 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
* _resultobj
;
9677 PyObject
* _argo0
= 0;
9678 char *_kwnames
[] = { "self","col", NULL
};
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9698 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9709 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9710 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
* _resultobj
;
9714 PyObject
* _argo0
= 0;
9715 char *_kwnames
[] = { "self", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9735 _resultobj
= Py_BuildValue("s",_ptemp
);
9739 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9740 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9744 PyObject
* _argo0
= 0;
9745 char *_kwnames
[] = { "self", NULL
};
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) return NULL
;
9764 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9765 _resultobj
= Py_BuildValue("s",_ptemp
);
9769 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9770 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
* _resultobj
;
9774 PyObject
* _argo0
= 0;
9775 char *_kwnames
[] = { "self", NULL
};
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) return NULL
;
9793 } _resultobj
= Py_BuildValue("i",_result
);
9797 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9798 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
* _resultobj
;
9802 PyObject
* _argo0
= 0;
9803 char *_kwnames
[] = { "self", NULL
};
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) return NULL
;
9821 } _resultobj
= Py_BuildValue("i",_result
);
9825 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9826 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
* _resultobj
;
9830 PyObject
* _argo0
= 0;
9831 char *_kwnames
[] = { "self","width", NULL
};
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) return NULL
;
9849 } Py_INCREF(Py_None
);
9850 _resultobj
= Py_None
;
9854 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9855 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9859 PyObject
* _argo0
= 0;
9860 char *_kwnames
[] = { "self","height", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9878 } Py_INCREF(Py_None
);
9879 _resultobj
= Py_None
;
9883 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9884 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
* _resultobj
;
9888 PyObject
* _argo0
= 0;
9890 PyObject
* _obj1
= 0;
9891 char *_kwnames
[] = { "self","arg2", NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9905 if (! wxColour_helper(_obj1
, &_arg1
))
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) return NULL
;
9914 } Py_INCREF(Py_None
);
9915 _resultobj
= Py_None
;
9919 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9920 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
* _resultobj
;
9924 PyObject
* _argo0
= 0;
9926 PyObject
* _obj1
= 0;
9927 char *_kwnames
[] = { "self","arg2", NULL
};
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9941 if (! wxColour_helper(_obj1
, &_arg1
))
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9950 } Py_INCREF(Py_None
);
9951 _resultobj
= Py_None
;
9955 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9956 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
* _resultobj
;
9960 PyObject
* _argo0
= 0;
9961 PyObject
* _argo1
= 0;
9962 char *_kwnames
[] = { "self","arg2", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9975 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) return NULL
;
9986 } Py_INCREF(Py_None
);
9987 _resultobj
= Py_None
;
9991 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9992 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9997 PyObject
* _argo0
= 0;
9998 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) return NULL
;
10016 } Py_INCREF(Py_None
);
10017 _resultobj
= Py_None
;
10021 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10022 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
* _resultobj
;
10027 PyObject
* _argo0
= 0;
10028 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) return NULL
;
10046 } Py_INCREF(Py_None
);
10047 _resultobj
= Py_None
;
10051 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10052 static PyObject
*_wrap_wxGrid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10056 PyObject
* _argo0
= 0;
10057 char *_kwnames
[] = { "self","textOrientation", NULL
};
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames
,&_argo0
,&_arg1
))
10063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 wxGrid_SetColLabelTextOrientation(_arg0
,_arg1
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) return NULL
;
10075 } Py_INCREF(Py_None
);
10076 _resultobj
= Py_None
;
10080 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10081 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10086 PyObject
* _argo0
= 0;
10087 PyObject
* _obj2
= 0;
10088 char *_kwnames
[] = { "self","row","arg3", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10101 _arg2
= wxString_in_helper(_obj2
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) return NULL
;
10111 } Py_INCREF(Py_None
);
10112 _resultobj
= Py_None
;
10120 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10121 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
* _resultobj
;
10126 PyObject
* _argo0
= 0;
10127 PyObject
* _obj2
= 0;
10128 char *_kwnames
[] = { "self","col","arg3", NULL
};
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10141 _arg2
= wxString_in_helper(_obj2
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 } Py_INCREF(Py_None
);
10152 _resultobj
= Py_None
;
10160 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10161 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
* _resultobj
;
10165 PyObject
* _argo0
= 0;
10167 PyObject
* _obj1
= 0;
10168 char *_kwnames
[] = { "self","arg2", NULL
};
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
10174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10182 if (! wxColour_helper(_obj1
, &_arg1
))
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) return NULL
;
10191 } Py_INCREF(Py_None
);
10192 _resultobj
= Py_None
;
10196 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10197 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
* _resultobj
;
10201 PyObject
* _argo0
= 0;
10203 PyObject
* _obj1
= 0;
10204 char *_kwnames
[] = { "self","arg2", NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10218 if (! wxColour_helper(_obj1
, &_arg1
))
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) return NULL
;
10227 } Py_INCREF(Py_None
);
10228 _resultobj
= Py_None
;
10232 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10233 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
* _resultobj
;
10237 PyObject
* _argo0
= 0;
10238 char *_kwnames
[] = { "self","width", NULL
};
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) return NULL
;
10256 } Py_INCREF(Py_None
);
10257 _resultobj
= Py_None
;
10261 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10262 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
* _resultobj
;
10266 PyObject
* _argo0
= 0;
10267 char *_kwnames
[] = { "self","width", NULL
};
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
10273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) return NULL
;
10285 } Py_INCREF(Py_None
);
10286 _resultobj
= Py_None
;
10290 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10291 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
* _resultobj
;
10294 bool _arg1
= (bool ) TRUE
;
10295 PyObject
* _argo0
= 0;
10296 int tempbool1
= (int) TRUE
;
10297 char *_kwnames
[] = { "self","enable", NULL
};
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10309 _arg1
= (bool ) tempbool1
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) return NULL
;
10316 } Py_INCREF(Py_None
);
10317 _resultobj
= Py_None
;
10321 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10322 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10325 PyObject
* _argo0
= 0;
10326 char *_kwnames
[] = { "self", NULL
};
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 wxGrid_DisableDragRowSize(_arg0
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) return NULL
;
10344 } Py_INCREF(Py_None
);
10345 _resultobj
= Py_None
;
10349 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10350 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
* _resultobj
;
10354 PyObject
* _argo0
= 0;
10355 char *_kwnames
[] = { "self", NULL
};
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) return NULL
;
10373 } _resultobj
= Py_BuildValue("i",_result
);
10377 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10378 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
* _resultobj
;
10381 bool _arg1
= (bool ) TRUE
;
10382 PyObject
* _argo0
= 0;
10383 int tempbool1
= (int) TRUE
;
10384 char *_kwnames
[] = { "self","enable", NULL
};
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10396 _arg1
= (bool ) tempbool1
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) return NULL
;
10403 } Py_INCREF(Py_None
);
10404 _resultobj
= Py_None
;
10408 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10409 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10412 PyObject
* _argo0
= 0;
10413 char *_kwnames
[] = { "self", NULL
};
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 wxGrid_DisableDragColSize(_arg0
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) return NULL
;
10431 } Py_INCREF(Py_None
);
10432 _resultobj
= Py_None
;
10436 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10437 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
* _resultobj
;
10441 PyObject
* _argo0
= 0;
10442 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 } _resultobj
= Py_BuildValue("i",_result
);
10464 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10465 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10468 bool _arg1
= (bool ) TRUE
;
10469 PyObject
* _argo0
= 0;
10470 int tempbool1
= (int) TRUE
;
10471 char *_kwnames
[] = { "self","enable", NULL
};
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10483 _arg1
= (bool ) tempbool1
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) return NULL
;
10490 } Py_INCREF(Py_None
);
10491 _resultobj
= Py_None
;
10495 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10496 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
* _resultobj
;
10499 PyObject
* _argo0
= 0;
10500 char *_kwnames
[] = { "self", NULL
};
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 wxGrid_DisableDragGridSize(_arg0
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) return NULL
;
10518 } Py_INCREF(Py_None
);
10519 _resultobj
= Py_None
;
10523 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10524 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
* _resultobj
;
10528 PyObject
* _argo0
= 0;
10529 char *_kwnames
[] = { "self", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) return NULL
;
10547 } _resultobj
= Py_BuildValue("i",_result
);
10551 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10552 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
* _resultobj
;
10557 wxGridCellAttr
* _arg3
;
10558 PyObject
* _argo0
= 0;
10559 PyObject
* _argo3
= 0;
10560 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10573 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10574 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) return NULL
;
10585 } Py_INCREF(Py_None
);
10586 _resultobj
= Py_None
;
10590 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10591 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
* _resultobj
;
10595 wxGridCellAttr
* _arg2
;
10596 PyObject
* _argo0
= 0;
10597 PyObject
* _argo2
= 0;
10598 char *_kwnames
[] = { "self","row","attr", NULL
};
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10611 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10612 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) return NULL
;
10623 } Py_INCREF(Py_None
);
10624 _resultobj
= Py_None
;
10628 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10629 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
* _resultobj
;
10633 wxGridCellAttr
* _arg2
;
10634 PyObject
* _argo0
= 0;
10635 PyObject
* _argo2
= 0;
10636 char *_kwnames
[] = { "self","col","attr", NULL
};
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10649 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10650 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) return NULL
;
10661 } Py_INCREF(Py_None
);
10662 _resultobj
= Py_None
;
10666 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10667 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
* _resultobj
;
10671 PyObject
* _argo0
= 0;
10672 char *_kwnames
[] = { "self","col", NULL
};
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) return NULL
;
10690 } Py_INCREF(Py_None
);
10691 _resultobj
= Py_None
;
10695 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10696 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
* _resultobj
;
10700 PyObject
* _argo0
= 0;
10701 char *_kwnames
[] = { "self","col", NULL
};
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) return NULL
;
10719 } Py_INCREF(Py_None
);
10720 _resultobj
= Py_None
;
10724 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10725 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
* _resultobj
;
10729 int _arg2
= (int ) -1;
10730 int _arg3
= (int ) -1;
10731 PyObject
* _argo0
= 0;
10732 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) return NULL
;
10750 } Py_INCREF(Py_None
);
10751 _resultobj
= Py_None
;
10755 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10756 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
* _resultobj
;
10761 PyObject
* _argo0
= 0;
10762 PyObject
* _obj2
= 0;
10763 char *_kwnames
[] = { "self","col","typeName", NULL
};
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10776 _arg2
= wxString_in_helper(_obj2
);
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) return NULL
;
10786 } Py_INCREF(Py_None
);
10787 _resultobj
= Py_None
;
10795 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10796 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
* _resultobj
;
10799 bool _arg1
= (bool ) TRUE
;
10800 PyObject
* _argo0
= 0;
10801 int tempbool1
= (int) TRUE
;
10802 char *_kwnames
[] = { "self","enable", NULL
};
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10814 _arg1
= (bool ) tempbool1
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 wxGrid_EnableGridLines(_arg0
,_arg1
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) return NULL
;
10821 } Py_INCREF(Py_None
);
10822 _resultobj
= Py_None
;
10826 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10827 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
* _resultobj
;
10831 PyObject
* _argo0
= 0;
10832 char *_kwnames
[] = { "self", NULL
};
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) return NULL
;
10850 } _resultobj
= Py_BuildValue("i",_result
);
10854 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10855 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
* _resultobj
;
10859 PyObject
* _argo0
= 0;
10860 char *_kwnames
[] = { "self", NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) return NULL
;
10878 } _resultobj
= Py_BuildValue("i",_result
);
10882 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10883 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
* _resultobj
;
10888 PyObject
* _argo0
= 0;
10889 char *_kwnames
[] = { "self","row", NULL
};
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) return NULL
;
10907 } _resultobj
= Py_BuildValue("i",_result
);
10911 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10912 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
* _resultobj
;
10916 PyObject
* _argo0
= 0;
10917 char *_kwnames
[] = { "self", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) return NULL
;
10935 } _resultobj
= Py_BuildValue("i",_result
);
10939 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10940 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
* _resultobj
;
10945 PyObject
* _argo0
= 0;
10946 char *_kwnames
[] = { "self","col", NULL
};
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) return NULL
;
10964 } _resultobj
= Py_BuildValue("i",_result
);
10968 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10969 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
* _resultobj
;
10971 wxColour
* _result
;
10973 PyObject
* _argo0
= 0;
10974 char *_kwnames
[] = { "self", NULL
};
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) return NULL
;
10993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10994 _resultobj
= Py_BuildValue("s",_ptemp
);
10998 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10999 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
* _resultobj
;
11001 wxColour
* _result
;
11005 PyObject
* _argo0
= 0;
11006 char *_kwnames
[] = { "self","row","col", NULL
};
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) return NULL
;
11025 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11026 _resultobj
= Py_BuildValue("s",_ptemp
);
11030 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11031 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
* _resultobj
;
11033 wxColour
* _result
;
11035 PyObject
* _argo0
= 0;
11036 char *_kwnames
[] = { "self", NULL
};
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
11043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) return NULL
;
11055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11056 _resultobj
= Py_BuildValue("s",_ptemp
);
11060 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11061 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
* _resultobj
;
11063 wxColour
* _result
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self","row","col", NULL
};
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) return NULL
;
11087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11088 _resultobj
= Py_BuildValue("s",_ptemp
);
11092 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11093 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
* _resultobj
;
11097 PyObject
* _argo0
= 0;
11098 char *_kwnames
[] = { "self", NULL
};
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
11105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) return NULL
;
11117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11118 _resultobj
= Py_BuildValue("s",_ptemp
);
11122 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11123 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
* _resultobj
;
11129 PyObject
* _argo0
= 0;
11130 char *_kwnames
[] = { "self","row","col", NULL
};
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) return NULL
;
11149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11150 _resultobj
= Py_BuildValue("s",_ptemp
);
11154 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11155 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
* _resultobj
;
11160 PyObject
* _argo0
= 0;
11161 PyObject
* _argo1
= 0;
11162 PyObject
* _argo2
= 0;
11163 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
11178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11183 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11184 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
11185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) return NULL
;
11195 } Py_INCREF(Py_None
);
11196 _resultobj
= Py_None
;
11200 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11201 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
* _resultobj
;
11208 PyObject
* _argo0
= 0;
11209 PyObject
* _argo3
= 0;
11210 PyObject
* _argo4
= 0;
11211 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
11217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11224 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11225 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
11226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11231 if (_argo4
== Py_None
) { _arg4
= NULL
; }
11232 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
11233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) return NULL
;
11243 } Py_INCREF(Py_None
);
11244 _resultobj
= Py_None
;
11248 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11249 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
* _resultobj
;
11253 PyObject
* _argo0
= 0;
11254 char *_kwnames
[] = { "self", NULL
};
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) return NULL
;
11272 } _resultobj
= Py_BuildValue("i",_result
);
11276 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11277 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
* _resultobj
;
11283 PyObject
* _argo0
= 0;
11284 char *_kwnames
[] = { "self","row","col", NULL
};
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) return NULL
;
11302 } _resultobj
= Py_BuildValue("i",_result
);
11306 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11307 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
* _resultobj
;
11316 PyObject
* _argo0
= 0;
11317 char *_kwnames
[] = { "self","row","col", NULL
};
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) return NULL
;
11341 } Py_INCREF(Py_None
);
11342 _resultobj
= Py_None
;
11345 o
= PyInt_FromLong((long) (*_arg3
));
11346 _resultobj
= t_output_helper(_resultobj
, o
);
11350 o
= PyInt_FromLong((long) (*_arg4
));
11351 _resultobj
= t_output_helper(_resultobj
, o
);
11356 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11357 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
* _resultobj
;
11361 bool _arg2
= (bool ) FALSE
;
11362 PyObject
* _argo0
= 0;
11363 int tempbool2
= (int) FALSE
;
11364 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11376 _arg2
= (bool ) tempbool2
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) return NULL
;
11383 } Py_INCREF(Py_None
);
11384 _resultobj
= Py_None
;
11388 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11389 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
* _resultobj
;
11394 PyObject
* _argo0
= 0;
11395 char *_kwnames
[] = { "self","row","height", NULL
};
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) return NULL
;
11413 } Py_INCREF(Py_None
);
11414 _resultobj
= Py_None
;
11418 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11419 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
* _resultobj
;
11423 bool _arg2
= (bool ) FALSE
;
11424 PyObject
* _argo0
= 0;
11425 int tempbool2
= (int) FALSE
;
11426 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11438 _arg2
= (bool ) tempbool2
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) return NULL
;
11445 } Py_INCREF(Py_None
);
11446 _resultobj
= Py_None
;
11450 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11451 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
* _resultobj
;
11456 PyObject
* _argo0
= 0;
11457 char *_kwnames
[] = { "self","col","width", NULL
};
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) return NULL
;
11475 } Py_INCREF(Py_None
);
11476 _resultobj
= Py_None
;
11480 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11481 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
* _resultobj
;
11485 bool _arg2
= (bool ) TRUE
;
11486 PyObject
* _argo0
= 0;
11487 int tempbool2
= (int) TRUE
;
11488 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11500 _arg2
= (bool ) tempbool2
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) return NULL
;
11507 } Py_INCREF(Py_None
);
11508 _resultobj
= Py_None
;
11512 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11513 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
* _resultobj
;
11517 bool _arg2
= (bool ) TRUE
;
11518 PyObject
* _argo0
= 0;
11519 int tempbool2
= (int) TRUE
;
11520 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11532 _arg2
= (bool ) tempbool2
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) return NULL
;
11539 } Py_INCREF(Py_None
);
11540 _resultobj
= Py_None
;
11544 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11545 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
* _resultobj
;
11548 bool _arg1
= (bool ) TRUE
;
11549 PyObject
* _argo0
= 0;
11550 int tempbool1
= (int) TRUE
;
11551 char *_kwnames
[] = { "self","setAsMin", NULL
};
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11563 _arg1
= (bool ) tempbool1
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) return NULL
;
11570 } Py_INCREF(Py_None
);
11571 _resultobj
= Py_None
;
11575 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11576 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
* _resultobj
;
11579 bool _arg1
= (bool ) TRUE
;
11580 PyObject
* _argo0
= 0;
11581 int tempbool1
= (int) TRUE
;
11582 char *_kwnames
[] = { "self","setAsMin", NULL
};
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11594 _arg1
= (bool ) tempbool1
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) return NULL
;
11601 } Py_INCREF(Py_None
);
11602 _resultobj
= Py_None
;
11606 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11607 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
* _resultobj
;
11610 PyObject
* _argo0
= 0;
11611 char *_kwnames
[] = { "self", NULL
};
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 wxGrid_AutoSize(_arg0
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) return NULL
;
11629 } Py_INCREF(Py_None
);
11630 _resultobj
= Py_None
;
11634 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11635 static PyObject
*_wrap_wxGrid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
* _resultobj
;
11639 PyObject
* _argo0
= 0;
11640 char *_kwnames
[] = { "self","row", NULL
};
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
11646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 wxGrid_AutoSizeRowLabelSize(_arg0
,_arg1
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) return NULL
;
11658 } Py_INCREF(Py_None
);
11659 _resultobj
= Py_None
;
11663 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11664 static PyObject
*_wrap_wxGrid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
* _resultobj
;
11668 PyObject
* _argo0
= 0;
11669 char *_kwnames
[] = { "self","col", NULL
};
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames
,&_argo0
,&_arg1
))
11675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 wxGrid_AutoSizeColLabelSize(_arg0
,_arg1
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) return NULL
;
11687 } Py_INCREF(Py_None
);
11688 _resultobj
= Py_None
;
11692 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11693 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
* _resultobj
;
11698 PyObject
* _argo0
= 0;
11699 char *_kwnames
[] = { "self","col","width", NULL
};
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) return NULL
;
11717 } Py_INCREF(Py_None
);
11718 _resultobj
= Py_None
;
11722 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11723 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
* _resultobj
;
11728 PyObject
* _argo0
= 0;
11729 char *_kwnames
[] = { "self","row","width", NULL
};
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) return NULL
;
11747 } Py_INCREF(Py_None
);
11748 _resultobj
= Py_None
;
11752 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11753 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
* _resultobj
;
11757 PyObject
* _argo0
= 0;
11759 PyObject
* _obj1
= 0;
11760 char *_kwnames
[] = { "self","arg2", NULL
};
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11774 if (! wxColour_helper(_obj1
, &_arg1
))
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) return NULL
;
11783 } Py_INCREF(Py_None
);
11784 _resultobj
= Py_None
;
11788 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11789 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
* _resultobj
;
11795 PyObject
* _argo0
= 0;
11797 PyObject
* _obj3
= 0;
11798 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11812 if (! wxColour_helper(_obj3
, &_arg3
))
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) return NULL
;
11821 } Py_INCREF(Py_None
);
11822 _resultobj
= Py_None
;
11826 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11827 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
* _resultobj
;
11831 PyObject
* _argo0
= 0;
11833 PyObject
* _obj1
= 0;
11834 char *_kwnames
[] = { "self","arg2", NULL
};
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11848 if (! wxColour_helper(_obj1
, &_arg1
))
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) return NULL
;
11857 } Py_INCREF(Py_None
);
11858 _resultobj
= Py_None
;
11862 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11863 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
* _resultobj
;
11869 PyObject
* _argo0
= 0;
11871 PyObject
* _obj3
= 0;
11872 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11886 if (! wxColour_helper(_obj3
, &_arg3
))
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) return NULL
;
11895 } Py_INCREF(Py_None
);
11896 _resultobj
= Py_None
;
11900 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11901 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
* _resultobj
;
11905 PyObject
* _argo0
= 0;
11906 PyObject
* _argo1
= 0;
11907 char *_kwnames
[] = { "self","arg2", NULL
};
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11920 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) return NULL
;
11931 } Py_INCREF(Py_None
);
11932 _resultobj
= Py_None
;
11936 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11937 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
* _resultobj
;
11943 PyObject
* _argo0
= 0;
11944 PyObject
* _argo3
= 0;
11945 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11958 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) return NULL
;
11969 } Py_INCREF(Py_None
);
11970 _resultobj
= Py_None
;
11974 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11975 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
* _resultobj
;
11980 PyObject
* _argo0
= 0;
11981 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) return NULL
;
11999 } Py_INCREF(Py_None
);
12000 _resultobj
= Py_None
;
12004 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12005 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
* _resultobj
;
12012 PyObject
* _argo0
= 0;
12013 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) return NULL
;
12031 } Py_INCREF(Py_None
);
12032 _resultobj
= Py_None
;
12036 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12037 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
* _resultobj
;
12041 PyObject
* _argo0
= 0;
12043 char *_kwnames
[] = { "self","allow", NULL
};
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
12049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12055 _arg1
= (bool ) tempbool1
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) return NULL
;
12062 } Py_INCREF(Py_None
);
12063 _resultobj
= Py_None
;
12067 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12068 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
* _resultobj
;
12074 PyObject
* _argo0
= 0;
12076 char *_kwnames
[] = { "self","row","col","allow", NULL
};
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12088 _arg3
= (bool ) tempbool3
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) return NULL
;
12095 } Py_INCREF(Py_None
);
12096 _resultobj
= Py_None
;
12100 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12101 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
* _resultobj
;
12108 PyObject
* _argo0
= 0;
12109 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) return NULL
;
12127 } Py_INCREF(Py_None
);
12128 _resultobj
= Py_None
;
12132 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12133 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
* _resultobj
;
12136 wxGridCellRenderer
* _arg1
;
12137 PyObject
* _argo0
= 0;
12138 PyObject
* _argo1
= 0;
12139 char *_kwnames
[] = { "self","renderer", NULL
};
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
12145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
12154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) return NULL
;
12164 } Py_INCREF(Py_None
);
12165 _resultobj
= Py_None
;
12169 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12170 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
* _resultobj
;
12175 wxGridCellRenderer
* _arg3
;
12176 PyObject
* _argo0
= 0;
12177 PyObject
* _argo3
= 0;
12178 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12191 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12192 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
12193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) return NULL
;
12203 } Py_INCREF(Py_None
);
12204 _resultobj
= Py_None
;
12208 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12209 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
* _resultobj
;
12211 wxGridCellRenderer
* _result
;
12213 PyObject
* _argo0
= 0;
12214 char *_kwnames
[] = { "self", NULL
};
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
12220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) return NULL
;
12232 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12236 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12237 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
* _resultobj
;
12239 wxGridCellRenderer
* _result
;
12243 PyObject
* _argo0
= 0;
12244 char *_kwnames
[] = { "self","row","col", NULL
};
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) return NULL
;
12262 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12266 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12267 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
* _resultobj
;
12270 wxGridCellEditor
* _arg1
;
12271 PyObject
* _argo0
= 0;
12272 PyObject
* _argo1
= 0;
12273 char *_kwnames
[] = { "self","editor", NULL
};
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) return NULL
;
12298 } Py_INCREF(Py_None
);
12299 _resultobj
= Py_None
;
12303 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12304 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
* _resultobj
;
12309 wxGridCellEditor
* _arg3
;
12310 PyObject
* _argo0
= 0;
12311 PyObject
* _argo3
= 0;
12312 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12325 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12326 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) return NULL
;
12337 } Py_INCREF(Py_None
);
12338 _resultobj
= Py_None
;
12342 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12343 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
* _resultobj
;
12345 wxGridCellEditor
* _result
;
12347 PyObject
* _argo0
= 0;
12348 char *_kwnames
[] = { "self", NULL
};
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) return NULL
;
12366 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12370 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12371 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
* _resultobj
;
12373 wxGridCellEditor
* _result
;
12377 PyObject
* _argo0
= 0;
12378 char *_kwnames
[] = { "self","row","col", NULL
};
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) return NULL
;
12396 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12400 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12401 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12403 wxString
* _result
;
12407 PyObject
* _argo0
= 0;
12408 char *_kwnames
[] = { "self","row","col", NULL
};
12411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) return NULL
;
12428 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
12430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12439 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12440 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
* _resultobj
;
12446 PyObject
* _argo0
= 0;
12447 PyObject
* _obj3
= 0;
12448 char *_kwnames
[] = { "self","row","col","s", NULL
};
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12461 _arg3
= wxString_in_helper(_obj3
);
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) return NULL
;
12471 } Py_INCREF(Py_None
);
12472 _resultobj
= Py_None
;
12480 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12481 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
* _resultobj
;
12487 PyObject
* _argo0
= 0;
12488 char *_kwnames
[] = { "self","row","col", NULL
};
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) return NULL
;
12506 } _resultobj
= Py_BuildValue("i",_result
);
12510 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12511 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
* _resultobj
;
12516 bool _arg3
= (bool ) TRUE
;
12517 PyObject
* _argo0
= 0;
12518 int tempbool3
= (int) TRUE
;
12519 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12531 _arg3
= (bool ) tempbool3
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) return NULL
;
12538 } Py_INCREF(Py_None
);
12539 _resultobj
= Py_None
;
12543 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12544 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
* _resultobj
;
12548 bool _arg2
= (bool ) FALSE
;
12549 PyObject
* _argo0
= 0;
12550 int tempbool2
= (int) FALSE
;
12551 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12563 _arg2
= (bool ) tempbool2
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) return NULL
;
12570 } Py_INCREF(Py_None
);
12571 _resultobj
= Py_None
;
12575 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12576 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
* _resultobj
;
12580 bool _arg2
= (bool ) FALSE
;
12581 PyObject
* _argo0
= 0;
12582 int tempbool2
= (int) FALSE
;
12583 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12595 _arg2
= (bool ) tempbool2
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) return NULL
;
12602 } Py_INCREF(Py_None
);
12603 _resultobj
= Py_None
;
12607 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12608 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
* _resultobj
;
12615 bool _arg5
= (bool ) FALSE
;
12616 PyObject
* _argo0
= 0;
12617 int tempbool5
= (int) FALSE
;
12618 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12630 _arg5
= (bool ) tempbool5
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) return NULL
;
12637 } Py_INCREF(Py_None
);
12638 _resultobj
= Py_None
;
12642 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12643 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
* _resultobj
;
12646 PyObject
* _argo0
= 0;
12647 char *_kwnames
[] = { "self", NULL
};
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 wxGrid_SelectAll(_arg0
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) return NULL
;
12665 } Py_INCREF(Py_None
);
12666 _resultobj
= Py_None
;
12670 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12671 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
* _resultobj
;
12675 PyObject
* _argo0
= 0;
12676 char *_kwnames
[] = { "self", NULL
};
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 _result
= (bool )wxGrid_IsSelection(_arg0
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) return NULL
;
12694 } _resultobj
= Py_BuildValue("i",_result
);
12698 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12699 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
* _resultobj
;
12702 PyObject
* _argo0
= 0;
12703 char *_kwnames
[] = { "self", NULL
};
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 wxGrid_ClearSelection(_arg0
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) return NULL
;
12721 } Py_INCREF(Py_None
);
12722 _resultobj
= Py_None
;
12726 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12727 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
* _resultobj
;
12733 PyObject
* _argo0
= 0;
12734 char *_kwnames
[] = { "self","row","col", NULL
};
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) return NULL
;
12752 } _resultobj
= Py_BuildValue("i",_result
);
12756 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
12757 static PyObject
*_wrap_wxGrid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
* _resultobj
;
12759 wxGridCellCoordsArray
* _result
;
12761 PyObject
* _argo0
= 0;
12762 char *_kwnames
[] = { "self", NULL
};
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCells",_kwnames
,&_argo0
))
12768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0
));
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) return NULL
;
12781 _resultobj
= wxGridCellCoordsArray_helper(_result
);
12789 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
12790 static PyObject
*_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
* _resultobj
;
12792 wxGridCellCoordsArray
* _result
;
12794 PyObject
* _argo0
= 0;
12795 char *_kwnames
[] = { "self", NULL
};
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames
,&_argo0
))
12801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0
));
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) return NULL
;
12814 _resultobj
= wxGridCellCoordsArray_helper(_result
);
12822 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
12823 static PyObject
*_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
* _resultobj
;
12825 wxGridCellCoordsArray
* _result
;
12827 PyObject
* _argo0
= 0;
12828 char *_kwnames
[] = { "self", NULL
};
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames
,&_argo0
))
12834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0
));
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) return NULL
;
12847 _resultobj
= wxGridCellCoordsArray_helper(_result
);
12855 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
12856 static PyObject
*_wrap_wxGrid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
* _resultobj
;
12858 wxArrayInt
* _result
;
12860 PyObject
* _argo0
= 0;
12861 char *_kwnames
[] = { "self", NULL
};
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedRows",_kwnames
,&_argo0
))
12867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 _result
= new wxArrayInt (wxGrid_GetSelectedRows(_arg0
));
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) return NULL
;
12880 _resultobj
= PyList_New(0);
12882 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
12883 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
12884 PyList_Append(_resultobj
, val
);
12892 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
12893 static PyObject
*_wrap_wxGrid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
* _resultobj
;
12895 wxArrayInt
* _result
;
12897 PyObject
* _argo0
= 0;
12898 char *_kwnames
[] = { "self", NULL
};
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCols",_kwnames
,&_argo0
))
12904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 _result
= new wxArrayInt (wxGrid_GetSelectedCols(_arg0
));
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) return NULL
;
12917 _resultobj
= PyList_New(0);
12919 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
12920 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
12921 PyList_Append(_resultobj
, val
);
12929 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
12930 static PyObject
*_wrap_wxGrid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
* _resultobj
;
12934 PyObject
* _argo0
= 0;
12935 char *_kwnames
[] = { "self","row", NULL
};
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectRow",_kwnames
,&_argo0
,&_arg1
))
12941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 wxGrid_DeselectRow(_arg0
,_arg1
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) return NULL
;
12953 } Py_INCREF(Py_None
);
12954 _resultobj
= Py_None
;
12958 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
12959 static PyObject
*_wrap_wxGrid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
* _resultobj
;
12963 PyObject
* _argo0
= 0;
12964 char *_kwnames
[] = { "self","col", NULL
};
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectCol",_kwnames
,&_argo0
,&_arg1
))
12970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 wxGrid_DeselectCol(_arg0
,_arg1
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) return NULL
;
12982 } Py_INCREF(Py_None
);
12983 _resultobj
= Py_None
;
12987 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
12988 static PyObject
*_wrap_wxGrid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
* _resultobj
;
12993 PyObject
* _argo0
= 0;
12994 char *_kwnames
[] = { "self","row","col", NULL
};
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_DeselectCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 wxGrid_DeselectCell(_arg0
,_arg1
,_arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) return NULL
;
13012 } Py_INCREF(Py_None
);
13013 _resultobj
= Py_None
;
13017 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13018 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
* _resultobj
;
13022 wxGridCellCoords
* _arg1
;
13023 wxGridCellCoords
* _arg2
;
13024 PyObject
* _argo0
= 0;
13025 wxGridCellCoords temp
;
13026 PyObject
* _obj1
= 0;
13027 wxGridCellCoords temp0
;
13028 PyObject
* _obj2
= 0;
13029 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
13036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13044 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
13049 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) return NULL
;
13058 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
13059 _resultobj
= Py_BuildValue("s",_ptemp
);
13063 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13064 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
* _resultobj
;
13066 wxColour
* _result
;
13068 PyObject
* _argo0
= 0;
13069 char *_kwnames
[] = { "self", NULL
};
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
13076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) return NULL
;
13088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13089 _resultobj
= Py_BuildValue("s",_ptemp
);
13093 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13094 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
* _resultobj
;
13096 wxColour
* _result
;
13098 PyObject
* _argo0
= 0;
13099 char *_kwnames
[] = { "self", NULL
};
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
13106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) return NULL
;
13118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13119 _resultobj
= Py_BuildValue("s",_ptemp
);
13123 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13124 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
* _resultobj
;
13128 PyObject
* _argo0
= 0;
13130 PyObject
* _obj1
= 0;
13131 char *_kwnames
[] = { "self","c", NULL
};
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
13137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13145 if (! wxColour_helper(_obj1
, &_arg1
))
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) return NULL
;
13154 } Py_INCREF(Py_None
);
13155 _resultobj
= Py_None
;
13159 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13160 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
* _resultobj
;
13164 PyObject
* _argo0
= 0;
13166 PyObject
* _obj1
= 0;
13167 char *_kwnames
[] = { "self","c", NULL
};
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
13173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13181 if (! wxColour_helper(_obj1
, &_arg1
))
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) return NULL
;
13190 } Py_INCREF(Py_None
);
13191 _resultobj
= Py_None
;
13195 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13196 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
* _resultobj
;
13200 wxGridCellRenderer
* _arg2
;
13201 wxGridCellEditor
* _arg3
;
13202 PyObject
* _argo0
= 0;
13203 PyObject
* _obj1
= 0;
13204 PyObject
* _argo2
= 0;
13205 PyObject
* _argo3
= 0;
13206 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
13212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13219 _arg1
= wxString_in_helper(_obj1
);
13224 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13225 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
13226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13231 if (_argo3
== Py_None
) { _arg3
= NULL
; }
13232 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
13233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) return NULL
;
13243 } Py_INCREF(Py_None
);
13244 _resultobj
= Py_None
;
13252 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13253 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
* _resultobj
;
13255 wxGridCellEditor
* _result
;
13259 PyObject
* _argo0
= 0;
13260 char *_kwnames
[] = { "self","row","col", NULL
};
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) return NULL
;
13278 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13282 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13283 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
* _resultobj
;
13285 wxGridCellRenderer
* _result
;
13289 PyObject
* _argo0
= 0;
13290 char *_kwnames
[] = { "self","row","col", NULL
};
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) return NULL
;
13308 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13312 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13313 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
* _resultobj
;
13315 wxGridCellEditor
* _result
;
13318 PyObject
* _argo0
= 0;
13319 PyObject
* _obj1
= 0;
13320 char *_kwnames
[] = { "self","typeName", NULL
};
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
13326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13333 _arg1
= wxString_in_helper(_obj1
);
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) return NULL
;
13343 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13351 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13352 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
* _resultobj
;
13354 wxGridCellRenderer
* _result
;
13357 PyObject
* _argo0
= 0;
13358 PyObject
* _obj1
= 0;
13359 char *_kwnames
[] = { "self","typeName", NULL
};
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
13365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13372 _arg1
= wxString_in_helper(_obj1
);
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) return NULL
;
13382 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13390 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13391 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
* _resultobj
;
13396 PyObject
* _argo0
= 0;
13397 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) return NULL
;
13415 } Py_INCREF(Py_None
);
13416 _resultobj
= Py_None
;
13420 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13421 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
* _resultobj
;
13423 wxWindow
* _result
;
13425 PyObject
* _argo0
= 0;
13426 char *_kwnames
[] = { "self", NULL
};
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
13432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) return NULL
;
13444 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13448 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13449 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
* _resultobj
;
13451 wxWindow
* _result
;
13453 PyObject
* _argo0
= 0;
13454 char *_kwnames
[] = { "self", NULL
};
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
13460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) return NULL
;
13472 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13476 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13477 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
* _resultobj
;
13479 wxWindow
* _result
;
13481 PyObject
* _argo0
= 0;
13482 char *_kwnames
[] = { "self", NULL
};
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
13488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) return NULL
;
13500 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13504 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13505 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
* _resultobj
;
13507 wxWindow
* _result
;
13509 PyObject
* _argo0
= 0;
13510 char *_kwnames
[] = { "self", NULL
};
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
13516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) return NULL
;
13528 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13532 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
13534 wxNotifyEvent
*dest
;
13535 src
= (wxGridEvent
*) ptr
;
13536 dest
= (wxNotifyEvent
*) src
;
13537 return (void *) dest
;
13540 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13542 wxCommandEvent
*dest
;
13543 src
= (wxGridEvent
*) ptr
;
13544 dest
= (wxCommandEvent
*) src
;
13545 return (void *) dest
;
13548 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13551 src
= (wxGridEvent
*) ptr
;
13552 dest
= (wxEvent
*) src
;
13553 return (void *) dest
;
13556 static void *SwigwxGridEventTowxObject(void *ptr
) {
13559 src
= (wxGridEvent
*) ptr
;
13560 dest
= (wxObject
*) src
;
13561 return (void *) dest
;
13564 #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))
13565 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
* _resultobj
;
13567 wxGridEvent
* _result
;
13571 int _arg3
= (int ) -1;
13572 int _arg4
= (int ) -1;
13573 int _arg5
= (int ) -1;
13574 int _arg6
= (int ) -1;
13575 bool _arg7
= (bool ) TRUE
;
13576 bool _arg8
= (bool ) FALSE
;
13577 bool _arg9
= (bool ) FALSE
;
13578 bool _arg10
= (bool ) FALSE
;
13579 bool _arg11
= (bool ) FALSE
;
13580 PyObject
* _argo2
= 0;
13581 int tempbool7
= (int) TRUE
;
13582 int tempbool8
= (int) FALSE
;
13583 int tempbool9
= (int) FALSE
;
13584 int tempbool10
= (int) FALSE
;
13585 int tempbool11
= (int) FALSE
;
13586 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13593 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13594 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13599 _arg7
= (bool ) tempbool7
;
13600 _arg8
= (bool ) tempbool8
;
13601 _arg9
= (bool ) tempbool9
;
13602 _arg10
= (bool ) tempbool10
;
13603 _arg11
= (bool ) tempbool11
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) return NULL
;
13611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13612 _resultobj
= Py_BuildValue("s",_ptemp
);
13614 Py_INCREF(Py_None
);
13615 _resultobj
= Py_None
;
13620 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13621 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
* _resultobj
;
13624 wxGridEvent
* _arg0
;
13625 PyObject
* _argo0
= 0;
13626 char *_kwnames
[] = { "self", NULL
};
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
13632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 _result
= (int )wxGridEvent_GetRow(_arg0
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) return NULL
;
13644 } _resultobj
= Py_BuildValue("i",_result
);
13648 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13649 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
* _resultobj
;
13652 wxGridEvent
* _arg0
;
13653 PyObject
* _argo0
= 0;
13654 char *_kwnames
[] = { "self", NULL
};
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 _result
= (int )wxGridEvent_GetCol(_arg0
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) return NULL
;
13672 } _resultobj
= Py_BuildValue("i",_result
);
13676 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13677 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
* _resultobj
;
13680 wxGridEvent
* _arg0
;
13681 PyObject
* _argo0
= 0;
13682 char *_kwnames
[] = { "self", NULL
};
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
13689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) return NULL
;
13701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13702 _resultobj
= Py_BuildValue("s",_ptemp
);
13706 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13707 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
* _resultobj
;
13710 wxGridEvent
* _arg0
;
13711 PyObject
* _argo0
= 0;
13712 char *_kwnames
[] = { "self", NULL
};
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
13718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 _result
= (bool )wxGridEvent_Selecting(_arg0
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) return NULL
;
13730 } _resultobj
= Py_BuildValue("i",_result
);
13734 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13735 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
* _resultobj
;
13738 wxGridEvent
* _arg0
;
13739 PyObject
* _argo0
= 0;
13740 char *_kwnames
[] = { "self", NULL
};
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
13746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) return NULL
;
13758 } _resultobj
= Py_BuildValue("i",_result
);
13762 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13763 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
* _resultobj
;
13766 wxGridEvent
* _arg0
;
13767 PyObject
* _argo0
= 0;
13768 char *_kwnames
[] = { "self", NULL
};
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
13774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) return NULL
;
13786 } _resultobj
= Py_BuildValue("i",_result
);
13790 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13791 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
* _resultobj
;
13794 wxGridEvent
* _arg0
;
13795 PyObject
* _argo0
= 0;
13796 char *_kwnames
[] = { "self", NULL
};
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
13802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) return NULL
;
13814 } _resultobj
= Py_BuildValue("i",_result
);
13818 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13819 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
* _resultobj
;
13822 wxGridEvent
* _arg0
;
13823 PyObject
* _argo0
= 0;
13824 char *_kwnames
[] = { "self", NULL
};
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
13830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) return NULL
;
13842 } _resultobj
= Py_BuildValue("i",_result
);
13846 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13847 wxGridSizeEvent
*src
;
13848 wxNotifyEvent
*dest
;
13849 src
= (wxGridSizeEvent
*) ptr
;
13850 dest
= (wxNotifyEvent
*) src
;
13851 return (void *) dest
;
13854 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13855 wxGridSizeEvent
*src
;
13856 wxCommandEvent
*dest
;
13857 src
= (wxGridSizeEvent
*) ptr
;
13858 dest
= (wxCommandEvent
*) src
;
13859 return (void *) dest
;
13862 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13863 wxGridSizeEvent
*src
;
13865 src
= (wxGridSizeEvent
*) ptr
;
13866 dest
= (wxEvent
*) src
;
13867 return (void *) dest
;
13870 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13871 wxGridSizeEvent
*src
;
13873 src
= (wxGridSizeEvent
*) ptr
;
13874 dest
= (wxObject
*) src
;
13875 return (void *) dest
;
13878 #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))
13879 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
* _resultobj
;
13881 wxGridSizeEvent
* _result
;
13885 int _arg3
= (int ) -1;
13886 int _arg4
= (int ) -1;
13887 int _arg5
= (int ) -1;
13888 bool _arg6
= (bool ) FALSE
;
13889 bool _arg7
= (bool ) FALSE
;
13890 bool _arg8
= (bool ) FALSE
;
13891 bool _arg9
= (bool ) FALSE
;
13892 PyObject
* _argo2
= 0;
13893 int tempbool6
= (int) FALSE
;
13894 int tempbool7
= (int) FALSE
;
13895 int tempbool8
= (int) FALSE
;
13896 int tempbool9
= (int) FALSE
;
13897 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13910 _arg6
= (bool ) tempbool6
;
13911 _arg7
= (bool ) tempbool7
;
13912 _arg8
= (bool ) tempbool8
;
13913 _arg9
= (bool ) tempbool9
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) return NULL
;
13921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13922 _resultobj
= Py_BuildValue("s",_ptemp
);
13924 Py_INCREF(Py_None
);
13925 _resultobj
= Py_None
;
13930 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13931 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
* _resultobj
;
13934 wxGridSizeEvent
* _arg0
;
13935 PyObject
* _argo0
= 0;
13936 char *_kwnames
[] = { "self", NULL
};
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) return NULL
;
13954 } _resultobj
= Py_BuildValue("i",_result
);
13958 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13959 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
* _resultobj
;
13962 wxGridSizeEvent
* _arg0
;
13963 PyObject
* _argo0
= 0;
13964 char *_kwnames
[] = { "self", NULL
};
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) return NULL
;
13983 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13984 _resultobj
= Py_BuildValue("s",_ptemp
);
13988 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13989 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
* _resultobj
;
13992 wxGridSizeEvent
* _arg0
;
13993 PyObject
* _argo0
= 0;
13994 char *_kwnames
[] = { "self", NULL
};
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
14000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) return NULL
;
14012 } _resultobj
= Py_BuildValue("i",_result
);
14016 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14017 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
* _resultobj
;
14020 wxGridSizeEvent
* _arg0
;
14021 PyObject
* _argo0
= 0;
14022 char *_kwnames
[] = { "self", NULL
};
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
14028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) return NULL
;
14040 } _resultobj
= Py_BuildValue("i",_result
);
14044 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14045 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
* _resultobj
;
14048 wxGridSizeEvent
* _arg0
;
14049 PyObject
* _argo0
= 0;
14050 char *_kwnames
[] = { "self", NULL
};
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
14056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) return NULL
;
14068 } _resultobj
= Py_BuildValue("i",_result
);
14072 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14073 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
* _resultobj
;
14076 wxGridSizeEvent
* _arg0
;
14077 PyObject
* _argo0
= 0;
14078 char *_kwnames
[] = { "self", NULL
};
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
14084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) return NULL
;
14096 } _resultobj
= Py_BuildValue("i",_result
);
14100 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
14101 wxGridRangeSelectEvent
*src
;
14102 wxNotifyEvent
*dest
;
14103 src
= (wxGridRangeSelectEvent
*) ptr
;
14104 dest
= (wxNotifyEvent
*) src
;
14105 return (void *) dest
;
14108 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
14109 wxGridRangeSelectEvent
*src
;
14110 wxCommandEvent
*dest
;
14111 src
= (wxGridRangeSelectEvent
*) ptr
;
14112 dest
= (wxCommandEvent
*) src
;
14113 return (void *) dest
;
14116 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
14117 wxGridRangeSelectEvent
*src
;
14119 src
= (wxGridRangeSelectEvent
*) ptr
;
14120 dest
= (wxEvent
*) src
;
14121 return (void *) dest
;
14124 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
14125 wxGridRangeSelectEvent
*src
;
14127 src
= (wxGridRangeSelectEvent
*) ptr
;
14128 dest
= (wxObject
*) src
;
14129 return (void *) dest
;
14132 #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))
14133 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
* _resultobj
;
14135 wxGridRangeSelectEvent
* _result
;
14139 wxGridCellCoords
* _arg3
;
14140 wxGridCellCoords
* _arg4
;
14141 bool _arg5
= (bool ) TRUE
;
14142 bool _arg6
= (bool ) FALSE
;
14143 bool _arg7
= (bool ) FALSE
;
14144 bool _arg8
= (bool ) FALSE
;
14145 bool _arg9
= (bool ) FALSE
;
14146 PyObject
* _argo2
= 0;
14147 wxGridCellCoords temp
;
14148 PyObject
* _obj3
= 0;
14149 wxGridCellCoords temp0
;
14150 PyObject
* _obj4
= 0;
14151 int tempbool5
= (int) TRUE
;
14152 int tempbool6
= (int) FALSE
;
14153 int tempbool7
= (int) FALSE
;
14154 int tempbool8
= (int) FALSE
;
14155 int tempbool9
= (int) FALSE
;
14156 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14163 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14164 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14171 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
14176 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
14179 _arg5
= (bool ) tempbool5
;
14180 _arg6
= (bool ) tempbool6
;
14181 _arg7
= (bool ) tempbool7
;
14182 _arg8
= (bool ) tempbool8
;
14183 _arg9
= (bool ) tempbool9
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) return NULL
;
14191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
14192 _resultobj
= Py_BuildValue("s",_ptemp
);
14194 Py_INCREF(Py_None
);
14195 _resultobj
= Py_None
;
14200 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14201 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
* _resultobj
;
14203 wxGridCellCoords
* _result
;
14204 wxGridRangeSelectEvent
* _arg0
;
14205 PyObject
* _argo0
= 0;
14206 char *_kwnames
[] = { "self", NULL
};
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
14213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) return NULL
;
14225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14226 _resultobj
= Py_BuildValue("s",_ptemp
);
14230 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14231 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
* _resultobj
;
14233 wxGridCellCoords
* _result
;
14234 wxGridRangeSelectEvent
* _arg0
;
14235 PyObject
* _argo0
= 0;
14236 char *_kwnames
[] = { "self", NULL
};
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
14243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) return NULL
;
14255 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14256 _resultobj
= Py_BuildValue("s",_ptemp
);
14260 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14261 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
* _resultobj
;
14264 wxGridRangeSelectEvent
* _arg0
;
14265 PyObject
* _argo0
= 0;
14266 char *_kwnames
[] = { "self", NULL
};
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
14272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) return NULL
;
14284 } _resultobj
= Py_BuildValue("i",_result
);
14288 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14289 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
* _resultobj
;
14292 wxGridRangeSelectEvent
* _arg0
;
14293 PyObject
* _argo0
= 0;
14294 char *_kwnames
[] = { "self", NULL
};
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
14300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) return NULL
;
14312 } _resultobj
= Py_BuildValue("i",_result
);
14316 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14317 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
* _resultobj
;
14320 wxGridRangeSelectEvent
* _arg0
;
14321 PyObject
* _argo0
= 0;
14322 char *_kwnames
[] = { "self", NULL
};
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
14328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) return NULL
;
14340 } _resultobj
= Py_BuildValue("i",_result
);
14344 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14345 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
* _resultobj
;
14348 wxGridRangeSelectEvent
* _arg0
;
14349 PyObject
* _argo0
= 0;
14350 char *_kwnames
[] = { "self", NULL
};
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
14356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) return NULL
;
14368 } _resultobj
= Py_BuildValue("i",_result
);
14372 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14373 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
* _resultobj
;
14376 wxGridRangeSelectEvent
* _arg0
;
14377 PyObject
* _argo0
= 0;
14378 char *_kwnames
[] = { "self", NULL
};
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
14384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) return NULL
;
14396 } _resultobj
= Py_BuildValue("i",_result
);
14400 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14401 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
* _resultobj
;
14404 wxGridRangeSelectEvent
* _arg0
;
14405 PyObject
* _argo0
= 0;
14406 char *_kwnames
[] = { "self", NULL
};
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
14412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) return NULL
;
14424 } _resultobj
= Py_BuildValue("i",_result
);
14428 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14429 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
* _resultobj
;
14432 wxGridRangeSelectEvent
* _arg0
;
14433 PyObject
* _argo0
= 0;
14434 char *_kwnames
[] = { "self", NULL
};
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
14440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) return NULL
;
14452 } _resultobj
= Py_BuildValue("i",_result
);
14456 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14457 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
* _resultobj
;
14460 wxGridRangeSelectEvent
* _arg0
;
14461 PyObject
* _argo0
= 0;
14462 char *_kwnames
[] = { "self", NULL
};
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
14468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) return NULL
;
14480 } _resultobj
= Py_BuildValue("i",_result
);
14484 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14485 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
* _resultobj
;
14488 wxGridRangeSelectEvent
* _arg0
;
14489 PyObject
* _argo0
= 0;
14490 char *_kwnames
[] = { "self", NULL
};
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
14496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) return NULL
;
14508 } _resultobj
= Py_BuildValue("i",_result
);
14512 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
14513 wxGridEditorCreatedEvent
*src
;
14514 wxCommandEvent
*dest
;
14515 src
= (wxGridEditorCreatedEvent
*) ptr
;
14516 dest
= (wxCommandEvent
*) src
;
14517 return (void *) dest
;
14520 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
14521 wxGridEditorCreatedEvent
*src
;
14523 src
= (wxGridEditorCreatedEvent
*) ptr
;
14524 dest
= (wxEvent
*) src
;
14525 return (void *) dest
;
14528 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
14529 wxGridEditorCreatedEvent
*src
;
14531 src
= (wxGridEditorCreatedEvent
*) ptr
;
14532 dest
= (wxObject
*) src
;
14533 return (void *) dest
;
14536 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14537 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
* _resultobj
;
14539 wxGridEditorCreatedEvent
* _result
;
14546 PyObject
* _argo2
= 0;
14547 PyObject
* _argo5
= 0;
14548 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14555 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14556 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14562 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14563 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) return NULL
;
14575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14576 _resultobj
= Py_BuildValue("s",_ptemp
);
14578 Py_INCREF(Py_None
);
14579 _resultobj
= Py_None
;
14584 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14585 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14586 PyObject
* _resultobj
;
14588 wxGridEditorCreatedEvent
* _arg0
;
14589 PyObject
* _argo0
= 0;
14590 char *_kwnames
[] = { "self", NULL
};
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
14596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) return NULL
;
14608 } _resultobj
= Py_BuildValue("i",_result
);
14612 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14613 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
* _resultobj
;
14616 wxGridEditorCreatedEvent
* _arg0
;
14617 PyObject
* _argo0
= 0;
14618 char *_kwnames
[] = { "self", NULL
};
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
14624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) return NULL
;
14636 } _resultobj
= Py_BuildValue("i",_result
);
14640 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14641 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
* _resultobj
;
14643 wxControl
* _result
;
14644 wxGridEditorCreatedEvent
* _arg0
;
14645 PyObject
* _argo0
= 0;
14646 char *_kwnames
[] = { "self", NULL
};
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
14652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) return NULL
;
14664 }{ _resultobj
= wxPyMake_wxObject(_result
); }
14668 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14669 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
* _resultobj
;
14671 wxGridEditorCreatedEvent
* _arg0
;
14673 PyObject
* _argo0
= 0;
14674 char *_kwnames
[] = { "self","row", NULL
};
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
14680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) return NULL
;
14692 } Py_INCREF(Py_None
);
14693 _resultobj
= Py_None
;
14697 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14698 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
* _resultobj
;
14700 wxGridEditorCreatedEvent
* _arg0
;
14702 PyObject
* _argo0
= 0;
14703 char *_kwnames
[] = { "self","col", NULL
};
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
14709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) return NULL
;
14721 } Py_INCREF(Py_None
);
14722 _resultobj
= Py_None
;
14726 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14727 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
* _resultobj
;
14729 wxGridEditorCreatedEvent
* _arg0
;
14731 PyObject
* _argo0
= 0;
14732 PyObject
* _argo1
= 0;
14733 char *_kwnames
[] = { "self","ctrl", NULL
};
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
14739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14746 if (_argo1
== Py_None
) { _arg1
= NULL
; }
14747 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
14748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) return NULL
;
14758 } Py_INCREF(Py_None
);
14759 _resultobj
= Py_None
;
14763 static PyMethodDef gridcMethods
[] = {
14764 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14765 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14766 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14767 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14768 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14769 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14770 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14771 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14772 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14773 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14774 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14775 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14776 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14777 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14778 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14779 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14780 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14781 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14782 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14783 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14784 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14785 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14786 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14787 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14788 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14789 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14790 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14791 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14792 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14793 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14794 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14795 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14796 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14797 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14798 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14799 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14800 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14801 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14802 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14803 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14804 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14805 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14806 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14807 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14808 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14809 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14810 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14811 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14812 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14813 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14814 { "wxGrid_DeselectCell", (PyCFunction
) _wrap_wxGrid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
14815 { "wxGrid_DeselectCol", (PyCFunction
) _wrap_wxGrid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
14816 { "wxGrid_DeselectRow", (PyCFunction
) _wrap_wxGrid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
14817 { "wxGrid_GetSelectedCols", (PyCFunction
) _wrap_wxGrid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
14818 { "wxGrid_GetSelectedRows", (PyCFunction
) _wrap_wxGrid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
14819 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
14820 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
14821 { "wxGrid_GetSelectedCells", (PyCFunction
) _wrap_wxGrid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
14822 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14823 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14824 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14825 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14826 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14827 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14828 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14829 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14830 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14831 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14832 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14833 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14834 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14835 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14836 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14837 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14838 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14839 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14840 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14841 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14842 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14843 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14844 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14845 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14846 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14847 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14848 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14849 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14850 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14851 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14852 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14853 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14854 { "wxGrid_AutoSizeColLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14855 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14856 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14857 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14858 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14859 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14860 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14861 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14862 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14863 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14864 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14865 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14866 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14867 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14868 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14869 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14870 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14871 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14872 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14873 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14874 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14875 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14876 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14877 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14878 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14879 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14880 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14881 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14882 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14883 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14884 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14885 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14886 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14887 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14888 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14889 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14890 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14891 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14892 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14893 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14894 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14895 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14896 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14897 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14898 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14899 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14900 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14901 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14902 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14903 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14904 { "wxGrid_SetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
14905 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14906 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14907 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14908 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14909 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14910 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14911 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14912 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14913 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14914 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14915 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14916 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14917 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14918 { "wxGrid_GetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
14919 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14920 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14921 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14922 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14923 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14924 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14925 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14926 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14927 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14928 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14929 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14930 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14931 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14932 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14933 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14934 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14935 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14936 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14937 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14938 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14939 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14940 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14941 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14942 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14943 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14944 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14945 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14946 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14947 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14948 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14949 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14950 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14951 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14952 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14953 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14954 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14955 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14956 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14957 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14958 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14959 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14960 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
14961 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14962 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14963 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14964 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14965 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14966 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14967 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14968 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14969 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14970 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14971 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14972 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14973 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14974 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14975 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14976 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14977 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14978 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14979 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14980 { "wxGrid_GetSelectionMode", (PyCFunction
) _wrap_wxGrid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14981 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14982 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14983 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14984 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14985 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14986 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14987 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14988 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14989 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14990 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14991 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14992 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14993 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14994 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14995 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14996 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14997 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14998 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14999 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15000 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15001 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15002 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15003 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15004 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15005 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15006 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15007 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15008 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15009 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15010 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15011 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15012 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15013 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15014 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15015 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15016 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15017 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15018 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15019 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15020 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15021 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15022 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15023 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15024 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15025 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15026 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15027 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15028 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15029 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15030 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15031 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15032 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15033 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15034 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15035 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15036 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15037 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15038 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15039 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15040 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15041 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15042 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15043 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15044 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15045 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15046 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15047 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15048 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15049 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15050 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15051 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15052 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15053 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15054 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15055 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15056 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15057 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15058 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15059 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15060 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15061 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15062 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15063 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15064 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15065 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15066 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15067 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15068 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15069 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15070 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15071 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15072 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15073 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15074 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15075 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15076 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15077 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15078 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15079 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15080 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15081 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15082 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15083 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15084 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15085 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15086 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15087 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15088 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15089 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15090 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15091 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15092 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15093 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15094 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15095 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15096 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15097 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15098 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15099 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15100 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15101 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15102 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15103 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15104 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15105 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15106 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15107 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15108 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15109 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15110 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15111 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15112 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15113 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15114 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15115 { "wxPyGridCellEditor_base_GetValue", (PyCFunction
) _wrap_wxPyGridCellEditor_base_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15116 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15117 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15118 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15119 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15120 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15121 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15122 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15123 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15124 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15125 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15126 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15127 { "wxGridCellEditor_GetValue", (PyCFunction
) _wrap_wxGridCellEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15128 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15129 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15130 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15131 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15132 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15133 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15134 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15135 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15136 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15137 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15138 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15139 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15140 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15141 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15142 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15143 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15144 { "wxGridCellEditor_SetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15145 { "wxGridCellEditor_GetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15146 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15147 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15148 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15149 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15150 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15151 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15152 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15153 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15154 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15155 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15156 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15157 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15158 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15159 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15160 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15161 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15162 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15163 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15164 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15165 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15166 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15167 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15168 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15169 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15170 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15177 * This table is used by the pointer type-checker
15179 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
15180 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
15181 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
15182 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
15183 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
15184 { "_signed_long","_long",0},
15185 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
15186 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15187 { "_wxPrintQuality","_wxCoord",0},
15188 { "_wxPrintQuality","_int",0},
15189 { "_wxPrintQuality","_signed_int",0},
15190 { "_wxPrintQuality","_unsigned_int",0},
15191 { "_wxPrintQuality","_wxWindowID",0},
15192 { "_wxPrintQuality","_uint",0},
15193 { "_wxPrintQuality","_EBool",0},
15194 { "_wxPrintQuality","_size_t",0},
15195 { "_wxPrintQuality","_time_t",0},
15196 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
15197 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
15198 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
15199 { "_byte","_unsigned_char",0},
15200 { "_long","_unsigned_long",0},
15201 { "_long","_signed_long",0},
15202 { "_size_t","_WXGRIDSELECTIONMODES",0},
15203 { "_size_t","_wxCoord",0},
15204 { "_size_t","_wxPrintQuality",0},
15205 { "_size_t","_time_t",0},
15206 { "_size_t","_unsigned_int",0},
15207 { "_size_t","_int",0},
15208 { "_size_t","_wxWindowID",0},
15209 { "_size_t","_uint",0},
15210 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
15211 { "_uint","_WXGRIDSELECTIONMODES",0},
15212 { "_uint","_wxCoord",0},
15213 { "_uint","_wxPrintQuality",0},
15214 { "_uint","_time_t",0},
15215 { "_uint","_size_t",0},
15216 { "_uint","_unsigned_int",0},
15217 { "_uint","_int",0},
15218 { "_uint","_wxWindowID",0},
15219 { "_wxChar","_char",0},
15220 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
15221 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
15222 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
15223 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
15224 { "_char","_wxChar",0},
15225 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
15226 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
15227 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
15228 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
15229 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
15230 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15231 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
15232 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
15233 { "_EBool","_WXGRIDSELECTIONMODES",0},
15234 { "_EBool","_wxCoord",0},
15235 { "_EBool","_wxPrintQuality",0},
15236 { "_EBool","_signed_int",0},
15237 { "_EBool","_int",0},
15238 { "_EBool","_wxWindowID",0},
15239 { "_unsigned_long","_long",0},
15240 { "_WXGRIDSELECTIONMODES","_int",0},
15241 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15242 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15243 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15244 { "_WXGRIDSELECTIONMODES","_uint",0},
15245 { "_WXGRIDSELECTIONMODES","_EBool",0},
15246 { "_WXGRIDSELECTIONMODES","_size_t",0},
15247 { "_WXGRIDSELECTIONMODES","_time_t",0},
15248 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15249 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15250 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15251 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15252 { "_signed_int","_wxCoord",0},
15253 { "_signed_int","_wxPrintQuality",0},
15254 { "_signed_int","_EBool",0},
15255 { "_signed_int","_wxWindowID",0},
15256 { "_signed_int","_int",0},
15257 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
15258 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
15259 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
15260 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
15261 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
15262 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
15263 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
15264 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
15265 { "_WXTYPE","_short",0},
15266 { "_WXTYPE","_signed_short",0},
15267 { "_WXTYPE","_unsigned_short",0},
15268 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
15269 { "_unsigned_short","_WXTYPE",0},
15270 { "_unsigned_short","_short",0},
15271 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
15272 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
15273 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
15274 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
15275 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
15276 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
15277 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
15278 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
15279 { "_signed_short","_WXTYPE",0},
15280 { "_signed_short","_short",0},
15281 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
15282 { "_unsigned_char","_byte",0},
15283 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15284 { "_unsigned_int","_wxCoord",0},
15285 { "_unsigned_int","_wxPrintQuality",0},
15286 { "_unsigned_int","_time_t",0},
15287 { "_unsigned_int","_size_t",0},
15288 { "_unsigned_int","_uint",0},
15289 { "_unsigned_int","_wxWindowID",0},
15290 { "_unsigned_int","_int",0},
15291 { "_short","_WXTYPE",0},
15292 { "_short","_unsigned_short",0},
15293 { "_short","_signed_short",0},
15294 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15295 { "_wxWindowID","_wxCoord",0},
15296 { "_wxWindowID","_wxPrintQuality",0},
15297 { "_wxWindowID","_time_t",0},
15298 { "_wxWindowID","_size_t",0},
15299 { "_wxWindowID","_EBool",0},
15300 { "_wxWindowID","_uint",0},
15301 { "_wxWindowID","_int",0},
15302 { "_wxWindowID","_signed_int",0},
15303 { "_wxWindowID","_unsigned_int",0},
15304 { "_int","_WXGRIDSELECTIONMODES",0},
15305 { "_int","_wxCoord",0},
15306 { "_int","_wxPrintQuality",0},
15307 { "_int","_time_t",0},
15308 { "_int","_size_t",0},
15309 { "_int","_EBool",0},
15310 { "_int","_uint",0},
15311 { "_int","_wxWindowID",0},
15312 { "_int","_unsigned_int",0},
15313 { "_int","_signed_int",0},
15314 { "_time_t","_WXGRIDSELECTIONMODES",0},
15315 { "_time_t","_wxCoord",0},
15316 { "_time_t","_wxPrintQuality",0},
15317 { "_time_t","_unsigned_int",0},
15318 { "_time_t","_int",0},
15319 { "_time_t","_wxWindowID",0},
15320 { "_time_t","_uint",0},
15321 { "_time_t","_size_t",0},
15322 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15323 { "_wxCoord","_int",0},
15324 { "_wxCoord","_signed_int",0},
15325 { "_wxCoord","_unsigned_int",0},
15326 { "_wxCoord","_wxWindowID",0},
15327 { "_wxCoord","_uint",0},
15328 { "_wxCoord","_EBool",0},
15329 { "_wxCoord","_size_t",0},
15330 { "_wxCoord","_time_t",0},
15331 { "_wxCoord","_wxPrintQuality",0},
15332 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
15333 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
15334 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
15335 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
15336 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
15337 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
15338 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
15339 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
15340 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
15341 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
15342 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
15343 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
15344 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
15347 static PyObject
*SWIG_globals
;
15351 SWIGEXPORT(void) initgridc() {
15353 SWIG_globals
= SWIG_newvarlink();
15354 m
= Py_InitModule("gridc", gridcMethods
);
15355 d
= PyModule_GetDict(m
);
15356 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15357 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15358 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15359 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15360 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15361 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15362 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15363 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15364 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15365 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
15366 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
15367 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
15368 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
15369 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
15370 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
15371 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
15372 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
15373 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
15374 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
15375 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
15376 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
15377 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
15378 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
15379 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
15380 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
15381 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
15382 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
15383 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15384 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
15385 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
15386 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
15387 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
15388 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
15389 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
15390 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
15391 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
15393 wxClassInfo::CleanUpClasses();
15394 wxClassInfo::InitializeClasses();
15395 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
15396 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
15397 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
15398 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
15399 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
15400 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
15401 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
15402 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
15403 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
15406 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
15407 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);