2 * FILE : src/gtk/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__constpure(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__constpure(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 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2533 wxPyGridCellEditor
*src
;
2534 wxGridCellEditor
*dest
;
2535 src
= (wxPyGridCellEditor
*) ptr
;
2536 dest
= (wxGridCellEditor
*) src
;
2537 return (void *) dest
;
2540 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2541 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxPyGridCellEditor
* _result
;
2544 char *_kwnames
[] = { NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2567 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxPyGridCellEditor
* _arg0
;
2572 PyObject
* _argo0
= 0;
2573 PyObject
* _obj1
= 0;
2574 PyObject
* _obj2
= 0;
2575 char *_kwnames
[] = { "self","self","_class", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) return NULL
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2605 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2607 wxPyGridCellEditor
* _arg0
;
2609 PyObject
* _argo0
= 0;
2611 PyObject
* _obj1
= 0;
2612 char *_kwnames
[] = { "self","rect", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
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_base_SetSize. Expected _wxPyGridCellEditor_p.");
2626 if (! wxRect_helper(_obj1
, &_arg1
))
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2643 wxPyGridCellEditor
* _arg0
;
2645 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _argo2
= 0;
2649 char *_kwnames
[] = { "self","show","attr", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
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_Show. Expected _wxPyGridCellEditor_p.");
2661 _arg1
= (bool ) tempbool1
;
2663 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2681 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxPyGridCellEditor
* _arg0
;
2685 wxGridCellAttr
* _arg2
;
2686 PyObject
* _argo0
= 0;
2688 PyObject
* _obj1
= 0;
2689 PyObject
* _argo2
= 0;
2690 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2704 if (! wxRect_helper(_obj1
, &_arg1
))
2708 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2726 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxPyGridCellEditor
* _arg0
;
2730 PyObject
* _argo0
= 0;
2731 PyObject
* _argo1
= 0;
2732 char *_kwnames
[] = { "self","event", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2745 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2762 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxPyGridCellEditor
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 PyObject
* _argo1
= 0;
2768 char *_kwnames
[] = { "self","event", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2781 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } Py_INCREF(Py_None
);
2793 _resultobj
= Py_None
;
2797 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2798 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2800 wxPyGridCellEditor
* _arg0
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyGridCellEditor_base_StartingClick(_arg0
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } Py_INCREF(Py_None
);
2821 _resultobj
= Py_None
;
2825 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2826 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxPyGridCellEditor
* _arg0
;
2830 PyObject
* _argo0
= 0;
2831 PyObject
* _argo1
= 0;
2832 char *_kwnames
[] = { "self","event", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2845 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } Py_INCREF(Py_None
);
2857 _resultobj
= Py_None
;
2861 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2862 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2864 wxPyGridCellEditor
* _arg0
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 wxPyGridCellEditor_base_Destroy(_arg0
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } Py_INCREF(Py_None
);
2885 _resultobj
= Py_None
;
2889 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2890 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxPyGridCellEditor
* _arg0
;
2894 PyObject
* _argo0
= 0;
2895 PyObject
* _obj1
= 0;
2896 char *_kwnames
[] = { "self","params", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2909 _arg1
= wxString_in_helper(_obj1
);
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) return NULL
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2928 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2929 wxGridCellTextEditor
*src
;
2930 wxGridCellEditor
*dest
;
2931 src
= (wxGridCellTextEditor
*) ptr
;
2932 dest
= (wxGridCellEditor
*) src
;
2933 return (void *) dest
;
2936 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2937 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxGridCellTextEditor
* _result
;
2940 char *_kwnames
[] = { NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) return NULL
;
2953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2954 _resultobj
= Py_BuildValue("s",_ptemp
);
2957 _resultobj
= Py_None
;
2962 #define wxGridCellTextEditor_GetValue(_swigobj) (_swigobj->GetValue())
2963 static PyObject
*_wrap_wxGridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2966 wxGridCellTextEditor
* _arg0
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellTextEditor_GetValue",_kwnames
,&_argo0
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellTextEditor_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellTextEditor_GetValue. Expected _wxGridCellTextEditor_p.");
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= new wxString (wxGridCellTextEditor_GetValue(_arg0
));
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2988 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2990 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2999 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
3000 wxGridCellNumberEditor
*src
;
3001 wxGridCellTextEditor
*dest
;
3002 src
= (wxGridCellNumberEditor
*) ptr
;
3003 dest
= (wxGridCellTextEditor
*) src
;
3004 return (void *) dest
;
3007 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
3008 wxGridCellNumberEditor
*src
;
3009 wxGridCellEditor
*dest
;
3010 src
= (wxGridCellNumberEditor
*) ptr
;
3011 dest
= (wxGridCellEditor
*) src
;
3012 return (void *) dest
;
3015 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
3016 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3018 wxGridCellNumberEditor
* _result
;
3019 int _arg0
= (int ) -1;
3020 int _arg1
= (int ) -1;
3021 char *_kwnames
[] = { "min","max", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
3035 _resultobj
= Py_BuildValue("s",_ptemp
);
3038 _resultobj
= Py_None
;
3043 #define wxGridCellNumberEditor_GetValue(_swigobj) (_swigobj->GetValue())
3044 static PyObject
*_wrap_wxGridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3047 wxGridCellNumberEditor
* _arg0
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellNumberEditor_GetValue",_kwnames
,&_argo0
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellNumberEditor_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellNumberEditor_GetValue. Expected _wxGridCellNumberEditor_p.");
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 _result
= new wxString (wxGridCellNumberEditor_GetValue(_arg0
));
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) return NULL
;
3069 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3071 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
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 #define wxGridCellFloatEditor_GetValue(_swigobj) (_swigobj->GetValue())
3123 static PyObject
*_wrap_wxGridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3126 wxGridCellFloatEditor
* _arg0
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatEditor_GetValue",_kwnames
,&_argo0
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatEditor_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatEditor_GetValue. Expected _wxGridCellFloatEditor_p.");
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 _result
= new wxString (wxGridCellFloatEditor_GetValue(_arg0
));
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3148 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3159 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
3160 wxGridCellBoolEditor
*src
;
3161 wxGridCellEditor
*dest
;
3162 src
= (wxGridCellBoolEditor
*) ptr
;
3163 dest
= (wxGridCellEditor
*) src
;
3164 return (void *) dest
;
3167 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
3168 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxGridCellBoolEditor
* _result
;
3171 char *_kwnames
[] = { NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3193 #define wxGridCellBoolEditor_GetValue(_swigobj) (_swigobj->GetValue())
3194 static PyObject
*_wrap_wxGridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 wxGridCellBoolEditor
* _arg0
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellBoolEditor_GetValue",_kwnames
,&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellBoolEditor_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellBoolEditor_GetValue. Expected _wxGridCellBoolEditor_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 _result
= new wxString (wxGridCellBoolEditor_GetValue(_arg0
));
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3219 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3221 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3230 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
3231 wxGridCellChoiceEditor
*src
;
3232 wxGridCellEditor
*dest
;
3233 src
= (wxGridCellChoiceEditor
*) ptr
;
3234 dest
= (wxGridCellEditor
*) src
;
3235 return (void *) dest
;
3238 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3239 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3241 wxGridCellChoiceEditor
* _result
;
3242 int _arg0
= (int ) 0;
3243 wxString
* _arg1
= (wxString
*) NULL
;
3244 bool _arg2
= (bool ) FALSE
;
3245 PyObject
* _obj1
= 0;
3246 int tempbool2
= (int) FALSE
;
3247 char *_kwnames
[] = { "choices","allowOthers", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
3255 _arg1
= wxString_LIST_helper(_obj1
);
3256 if (_arg1
== NULL
) {
3260 _arg2
= (bool ) tempbool2
;
3263 _arg0
= PyList_Size(_obj1
);
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3288 #define wxGridCellChoiceEditor_GetValue(_swigobj) (_swigobj->GetValue())
3289 static PyObject
*_wrap_wxGridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 wxGridCellChoiceEditor
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellChoiceEditor_GetValue",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellChoiceEditor_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellChoiceEditor_GetValue. Expected _wxGridCellChoiceEditor_p.");
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 _result
= new wxString (wxGridCellChoiceEditor_GetValue(_arg0
));
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3314 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3325 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3326 wxGridCellEnumEditor
*src
;
3327 wxGridCellChoiceEditor
*dest
;
3328 src
= (wxGridCellEnumEditor
*) ptr
;
3329 dest
= (wxGridCellChoiceEditor
*) src
;
3330 return (void *) dest
;
3333 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3334 wxGridCellEnumEditor
*src
;
3335 wxGridCellEditor
*dest
;
3336 src
= (wxGridCellEnumEditor
*) ptr
;
3337 dest
= (wxGridCellEditor
*) src
;
3338 return (void *) dest
;
3341 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3342 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxGridCellEnumEditor
* _result
;
3345 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
3346 PyObject
* _obj0
= 0;
3347 char *_kwnames
[] = { "choices", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3355 _arg0
= wxString_LIST_helper(_obj0
);
3356 if (_arg0
== NULL
) {
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) return NULL
;
3367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3368 _resultobj
= Py_BuildValue("s",_ptemp
);
3371 _resultobj
= Py_None
;
3379 #define wxGridCellEnumEditor_GetValue(_swigobj) (_swigobj->GetValue())
3380 static PyObject
*_wrap_wxGridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 wxGridCellEnumEditor
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEnumEditor_GetValue",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEnumEditor_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEnumEditor_GetValue. Expected _wxGridCellEnumEditor_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 _result
= new wxString (wxGridCellEnumEditor_GetValue(_arg0
));
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3405 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3407 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3416 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3417 wxGridCellAutoWrapStringEditor
*src
;
3418 wxGridCellTextEditor
*dest
;
3419 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3420 dest
= (wxGridCellTextEditor
*) src
;
3421 return (void *) dest
;
3424 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3425 wxGridCellAutoWrapStringEditor
*src
;
3426 wxGridCellEditor
*dest
;
3427 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3428 dest
= (wxGridCellEditor
*) src
;
3429 return (void *) dest
;
3432 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3433 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3435 wxGridCellAutoWrapStringEditor
* _result
;
3436 char *_kwnames
[] = { NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3450 _resultobj
= Py_BuildValue("s",_ptemp
);
3453 _resultobj
= Py_None
;
3458 #define wxGridCellAutoWrapStringEditor_GetValue(_swigobj) (_swigobj->GetValue())
3459 static PyObject
*_wrap_wxGridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3462 wxGridCellAutoWrapStringEditor
* _arg0
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAutoWrapStringEditor_GetValue",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAutoWrapStringEditor_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAutoWrapStringEditor_GetValue. Expected _wxGridCellAutoWrapStringEditor_p.");
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 _result
= new wxString (wxGridCellAutoWrapStringEditor_GetValue(_arg0
));
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) return NULL
;
3484 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3486 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3495 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
* _self
) {
3496 self
->SetClientObject(new wxPyOORClientData(_self
));
3498 static PyObject
*_wrap_wxGridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxGridCellAttr
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _obj1
= 0;
3504 char *_kwnames
[] = { "self","_self", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxGridCellAttr__setOORInfo(_arg0
,_arg1
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3530 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3531 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3533 wxGridCellAttr
* _result
;
3534 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "attrDefault", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3557 _resultobj
= Py_BuildValue("s",_ptemp
);
3560 _resultobj
= Py_None
;
3565 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3566 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxGridCellAttr
* _result
;
3569 wxGridCellAttr
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3589 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
3593 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3594 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3596 wxGridCellAttr
* _arg0
;
3597 wxGridCellAttr
* _arg1
;
3598 PyObject
* _argo0
= 0;
3599 PyObject
* _argo1
= 0;
3600 char *_kwnames
[] = { "self","mergefrom", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } Py_INCREF(Py_None
);
3626 _resultobj
= Py_None
;
3630 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3631 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxGridCellAttr
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 wxGridCellAttr_IncRef(_arg0
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3659 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3661 wxGridCellAttr
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxGridCellAttr_DecRef(_arg0
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3687 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxGridCellAttr
* _arg0
;
3691 PyObject
* _argo0
= 0;
3693 PyObject
* _obj1
= 0;
3694 char *_kwnames
[] = { "self","colText", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3708 if (! wxColour_helper(_obj1
, &_arg1
))
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) return NULL
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3723 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3725 wxGridCellAttr
* _arg0
;
3727 PyObject
* _argo0
= 0;
3729 PyObject
* _obj1
= 0;
3730 char *_kwnames
[] = { "self","colBack", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3744 if (! wxColour_helper(_obj1
, &_arg1
))
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) return NULL
;
3753 } Py_INCREF(Py_None
);
3754 _resultobj
= Py_None
;
3758 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3759 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3761 wxGridCellAttr
* _arg0
;
3763 PyObject
* _argo0
= 0;
3764 PyObject
* _argo1
= 0;
3765 char *_kwnames
[] = { "self","font", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3778 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3789 } Py_INCREF(Py_None
);
3790 _resultobj
= Py_None
;
3794 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3795 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3797 wxGridCellAttr
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_wxGridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxGridCellAttr
* _arg0
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p.");
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 wxGridCellAttr_SetSize(_arg0
,_arg1
,_arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) return NULL
;
3849 } Py_INCREF(Py_None
);
3850 _resultobj
= Py_None
;
3854 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3855 static PyObject
*_wrap_wxGridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3857 wxGridCellAttr
* _arg0
;
3859 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self","allow", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetOverflow",_kwnames
,&_argo0
,&tempbool1
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3873 _arg1
= (bool ) tempbool1
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 wxGridCellAttr_SetOverflow(_arg0
,_arg1
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3886 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3888 wxGridCellAttr
* _arg0
;
3889 bool _arg1
= (bool ) TRUE
;
3890 PyObject
* _argo0
= 0;
3891 int tempbool1
= (int) TRUE
;
3892 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3904 _arg1
= (bool ) tempbool1
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } Py_INCREF(Py_None
);
3912 _resultobj
= Py_None
;
3916 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3917 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxGridCellAttr
* _arg0
;
3920 wxGridCellRenderer
* _arg1
;
3921 PyObject
* _argo0
= 0;
3922 PyObject
* _argo1
= 0;
3923 char *_kwnames
[] = { "self","renderer", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3948 } Py_INCREF(Py_None
);
3949 _resultobj
= Py_None
;
3953 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3954 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3956 wxGridCellAttr
* _arg0
;
3957 wxGridCellEditor
* _arg1
;
3958 PyObject
* _argo0
= 0;
3959 PyObject
* _argo1
= 0;
3960 char *_kwnames
[] = { "self","editor", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) return NULL
;
3985 } Py_INCREF(Py_None
);
3986 _resultobj
= Py_None
;
3990 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3991 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3993 wxGridCellAttr
* _arg0
;
3994 wxGridCellAttr::wxAttrKind _arg1
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self","kind", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 wxGridCellAttr_SetKind(_arg0
,_arg1
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) return NULL
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
4020 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4023 wxGridCellAttr
* _arg0
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) return NULL
;
4043 } _resultobj
= Py_BuildValue("i",_result
);
4047 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
4048 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4051 wxGridCellAttr
* _arg0
;
4052 PyObject
* _argo0
= 0;
4053 char *_kwnames
[] = { "self", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
4076 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4079 wxGridCellAttr
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
4104 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 wxGridCellAttr
* _arg0
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } _resultobj
= Py_BuildValue("i",_result
);
4131 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
4132 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 wxGridCellAttr
* _arg0
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } _resultobj
= Py_BuildValue("i",_result
);
4159 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
4160 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4163 wxGridCellAttr
* _arg0
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } _resultobj
= Py_BuildValue("i",_result
);
4187 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
4188 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxGridCellAttr
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } _resultobj
= Py_BuildValue("i",_result
);
4215 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4216 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 wxGridCellAttr
* _arg0
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4241 _resultobj
= Py_BuildValue("s",_ptemp
);
4245 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4246 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4249 wxGridCellAttr
* _arg0
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
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_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) return NULL
;
4270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4271 _resultobj
= Py_BuildValue("s",_ptemp
);
4275 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4276 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 wxGridCellAttr
* _arg0
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
4301 _resultobj
= Py_BuildValue("s",_ptemp
);
4305 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4306 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4308 wxGridCellAttr
* _arg0
;
4313 PyObject
* _argo0
= 0;
4314 char *_kwnames
[] = { "self", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) return NULL
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4342 o
= PyInt_FromLong((long) (*_arg1
));
4343 _resultobj
= t_output_helper(_resultobj
, o
);
4347 o
= PyInt_FromLong((long) (*_arg2
));
4348 _resultobj
= t_output_helper(_resultobj
, o
);
4353 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4354 static PyObject
*_wrap_wxGridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4356 wxGridCellAttr
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetSize",_kwnames
,&_argo0
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 wxGridCellAttr_GetSize(_arg0
,_arg1
,_arg2
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) return NULL
;
4386 } Py_INCREF(Py_None
);
4387 _resultobj
= Py_None
;
4390 o
= PyInt_FromLong((long) (*_arg1
));
4391 _resultobj
= t_output_helper(_resultobj
, o
);
4395 o
= PyInt_FromLong((long) (*_arg2
));
4396 _resultobj
= t_output_helper(_resultobj
, o
);
4401 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4402 static PyObject
*_wrap_wxGridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 wxGridCellAttr
* _arg0
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetOverflow",_kwnames
,&_argo0
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 _result
= (bool )wxGridCellAttr_GetOverflow(_arg0
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) return NULL
;
4425 } _resultobj
= Py_BuildValue("i",_result
);
4429 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4430 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxGridCellRenderer
* _result
;
4433 wxGridCellAttr
* _arg0
;
4437 PyObject
* _argo0
= 0;
4438 PyObject
* _argo1
= 0;
4439 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) return NULL
;
4464 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4468 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4469 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4471 wxGridCellEditor
* _result
;
4472 wxGridCellAttr
* _arg0
;
4476 PyObject
* _argo0
= 0;
4477 PyObject
* _argo1
= 0;
4478 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4507 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4508 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 wxGridCellAttr
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4531 } _resultobj
= Py_BuildValue("i",_result
);
4535 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4536 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxGridCellAttr
* _arg0
;
4539 wxGridCellAttr
* _arg1
;
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _argo1
= 0;
4542 char *_kwnames
[] = { "self","defAttr", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) return NULL
;
4567 } Py_INCREF(Py_None
);
4568 _resultobj
= Py_None
;
4572 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4573 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4575 wxGridCellAttrProvider
* _result
;
4576 char *_kwnames
[] = { NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4590 _resultobj
= Py_BuildValue("s",_ptemp
);
4593 _resultobj
= Py_None
;
4598 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4599 self
->SetClientObject(new wxPyOORClientData(_self
));
4601 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4603 wxGridCellAttrProvider
* _arg0
;
4605 PyObject
* _argo0
= 0;
4606 PyObject
* _obj1
= 0;
4607 char *_kwnames
[] = { "self","_self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) return NULL
;
4628 } Py_INCREF(Py_None
);
4629 _resultobj
= Py_None
;
4633 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4634 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4636 wxGridCellAttr
* _result
;
4637 wxGridCellAttrProvider
* _arg0
;
4640 wxGridCellAttr::wxAttrKind _arg3
;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4664 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4665 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4667 wxGridCellAttrProvider
* _arg0
;
4668 wxGridCellAttr
* _arg1
;
4671 PyObject
* _argo0
= 0;
4672 PyObject
* _argo1
= 0;
4673 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) return NULL
;
4698 } Py_INCREF(Py_None
);
4699 _resultobj
= Py_None
;
4703 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4704 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4706 wxGridCellAttrProvider
* _arg0
;
4707 wxGridCellAttr
* _arg1
;
4709 PyObject
* _argo0
= 0;
4710 PyObject
* _argo1
= 0;
4711 char *_kwnames
[] = { "self","attr","row", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) return NULL
;
4736 } Py_INCREF(Py_None
);
4737 _resultobj
= Py_None
;
4741 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4742 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4744 wxGridCellAttrProvider
* _arg0
;
4745 wxGridCellAttr
* _arg1
;
4747 PyObject
* _argo0
= 0;
4748 PyObject
* _argo1
= 0;
4749 char *_kwnames
[] = { "self","attr","col", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4762 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) return NULL
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4780 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4782 wxGridCellAttrProvider
* _arg0
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4810 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4812 wxGridCellAttrProvider
* _arg0
;
4815 PyObject
* _argo0
= 0;
4816 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4840 wxPyGridCellAttrProvider
*src
;
4841 wxGridCellAttrProvider
*dest
;
4842 src
= (wxPyGridCellAttrProvider
*) ptr
;
4843 dest
= (wxGridCellAttrProvider
*) src
;
4844 return (void *) dest
;
4847 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4848 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4850 wxPyGridCellAttrProvider
* _result
;
4851 char *_kwnames
[] = { NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4865 _resultobj
= Py_BuildValue("s",_ptemp
);
4868 _resultobj
= Py_None
;
4873 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4874 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4876 wxPyGridCellAttrProvider
* _arg0
;
4879 PyObject
* _argo0
= 0;
4880 PyObject
* _obj1
= 0;
4881 PyObject
* _obj2
= 0;
4882 char *_kwnames
[] = { "self","self","_class", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4911 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4912 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4914 wxGridCellAttr
* _result
;
4915 wxPyGridCellAttrProvider
* _arg0
;
4918 wxGridCellAttr::wxAttrKind _arg3
;
4919 PyObject
* _argo0
= 0;
4920 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) return NULL
;
4938 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4942 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4943 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4945 wxPyGridCellAttrProvider
* _arg0
;
4946 wxGridCellAttr
* _arg1
;
4949 PyObject
* _argo0
= 0;
4950 PyObject
* _argo1
= 0;
4951 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) return NULL
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4982 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4984 wxPyGridCellAttrProvider
* _arg0
;
4985 wxGridCellAttr
* _arg1
;
4987 PyObject
* _argo0
= 0;
4988 PyObject
* _argo1
= 0;
4989 char *_kwnames
[] = { "self","attr","row", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
5002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) return NULL
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5019 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5020 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5022 wxPyGridCellAttrProvider
* _arg0
;
5023 wxGridCellAttr
* _arg1
;
5025 PyObject
* _argo0
= 0;
5026 PyObject
* _argo1
= 0;
5027 char *_kwnames
[] = { "self","attr","col", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
5040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) return NULL
;
5052 } Py_INCREF(Py_None
);
5053 _resultobj
= Py_None
;
5057 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
5058 wxGridTableBase
*src
;
5060 src
= (wxGridTableBase
*) ptr
;
5061 dest
= (wxObject
*) src
;
5062 return (void *) dest
;
5065 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
5066 self
->SetClientObject(new wxPyOORClientData(_self
));
5068 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5070 wxGridTableBase
* _arg0
;
5072 PyObject
* _argo0
= 0;
5073 PyObject
* _obj1
= 0;
5074 char *_kwnames
[] = { "self","_self", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) return NULL
;
5095 } Py_INCREF(Py_None
);
5096 _resultobj
= Py_None
;
5100 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
5101 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5103 wxGridTableBase
* _arg0
;
5104 wxGridCellAttrProvider
* _arg1
;
5105 PyObject
* _argo0
= 0;
5106 PyObject
* _argo1
= 0;
5107 char *_kwnames
[] = { "self","attrProvider", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
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_SetAttrProvider. Expected _wxGridTableBase_p.");
5120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5137 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
5138 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5140 wxGridCellAttrProvider
* _result
;
5141 wxGridTableBase
* _arg0
;
5142 PyObject
* _argo0
= 0;
5143 char *_kwnames
[] = { "self", NULL
};
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
5149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5161 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
5165 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
5166 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5168 wxGridTableBase
* _arg0
;
5170 PyObject
* _argo0
= 0;
5171 PyObject
* _argo1
= 0;
5172 char *_kwnames
[] = { "self","grid", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
5185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
5187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 wxGridTableBase_SetView(_arg0
,_arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) return NULL
;
5197 } Py_INCREF(Py_None
);
5198 _resultobj
= Py_None
;
5202 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5203 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
* _resultobj
;
5206 wxGridTableBase
* _arg0
;
5207 PyObject
* _argo0
= 0;
5208 char *_kwnames
[] = { "self", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5226 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5230 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5231 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5234 wxGridTableBase
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) return NULL
;
5254 } _resultobj
= Py_BuildValue("i",_result
);
5258 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5259 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5262 wxGridTableBase
* _arg0
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) return NULL
;
5282 } _resultobj
= Py_BuildValue("i",_result
);
5286 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5287 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5290 wxGridTableBase
* _arg0
;
5293 PyObject
* _argo0
= 0;
5294 char *_kwnames
[] = { "self","row","col", NULL
};
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) return NULL
;
5312 } _resultobj
= Py_BuildValue("i",_result
);
5316 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5317 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
* _resultobj
;
5320 wxGridTableBase
* _arg0
;
5323 PyObject
* _argo0
= 0;
5324 char *_kwnames
[] = { "self","row","col", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) return NULL
;
5344 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5346 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5355 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5356 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5358 wxGridTableBase
* _arg0
;
5362 PyObject
* _argo0
= 0;
5363 PyObject
* _obj3
= 0;
5364 char *_kwnames
[] = { "self","row","col","value", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5377 _arg3
= wxString_in_helper(_obj3
);
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 } Py_INCREF(Py_None
);
5388 _resultobj
= Py_None
;
5396 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5397 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
* _resultobj
;
5400 wxGridTableBase
* _arg0
;
5403 PyObject
* _argo0
= 0;
5404 char *_kwnames
[] = { "self","row","col", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5424 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5426 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5435 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5436 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5439 wxGridTableBase
* _arg0
;
5443 PyObject
* _argo0
= 0;
5444 PyObject
* _obj3
= 0;
5445 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5458 _arg3
= wxString_in_helper(_obj3
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) return NULL
;
5468 } _resultobj
= Py_BuildValue("i",_result
);
5476 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5477 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5480 wxGridTableBase
* _arg0
;
5484 PyObject
* _argo0
= 0;
5485 PyObject
* _obj3
= 0;
5486 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5499 _arg3
= wxString_in_helper(_obj3
);
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) return NULL
;
5509 } _resultobj
= Py_BuildValue("i",_result
);
5517 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5518 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5521 wxGridTableBase
* _arg0
;
5524 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self","row","col", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) return NULL
;
5543 } _resultobj
= Py_BuildValue("l",_result
);
5547 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5548 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5551 wxGridTableBase
* _arg0
;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self","row","col", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } _resultobj
= Py_BuildValue("d",_result
);
5577 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5578 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
* _resultobj
;
5581 wxGridTableBase
* _arg0
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self","row","col", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } _resultobj
= Py_BuildValue("i",_result
);
5607 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5608 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5610 wxGridTableBase
* _arg0
;
5614 PyObject
* _argo0
= 0;
5615 char *_kwnames
[] = { "self","row","col","value", NULL
};
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5633 } Py_INCREF(Py_None
);
5634 _resultobj
= Py_None
;
5638 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5639 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5641 wxGridTableBase
* _arg0
;
5645 PyObject
* _argo0
= 0;
5646 char *_kwnames
[] = { "self","row","col","value", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5664 } Py_INCREF(Py_None
);
5665 _resultobj
= Py_None
;
5669 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5670 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5672 wxGridTableBase
* _arg0
;
5676 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self","row","col","value", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5690 _arg3
= (bool ) tempbool3
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) return NULL
;
5697 } Py_INCREF(Py_None
);
5698 _resultobj
= Py_None
;
5702 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5703 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5705 wxGridTableBase
* _arg0
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 wxGridTableBase_Clear(_arg0
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5731 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5734 wxGridTableBase
* _arg0
;
5735 size_t _arg1
= (size_t ) 0;
5736 size_t _arg2
= (size_t ) 1;
5737 PyObject
* _argo0
= 0;
5738 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) return NULL
;
5756 } _resultobj
= Py_BuildValue("i",_result
);
5760 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5761 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5764 wxGridTableBase
* _arg0
;
5765 size_t _arg1
= (size_t ) 1;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self","numRows", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) return NULL
;
5785 } _resultobj
= Py_BuildValue("i",_result
);
5789 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5790 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5793 wxGridTableBase
* _arg0
;
5794 size_t _arg1
= (size_t ) 0;
5795 size_t _arg2
= (size_t ) 1;
5796 PyObject
* _argo0
= 0;
5797 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) return NULL
;
5815 } _resultobj
= Py_BuildValue("i",_result
);
5819 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5820 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
* _resultobj
;
5823 wxGridTableBase
* _arg0
;
5824 size_t _arg1
= (size_t ) 0;
5825 size_t _arg2
= (size_t ) 1;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } _resultobj
= Py_BuildValue("i",_result
);
5849 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5850 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5853 wxGridTableBase
* _arg0
;
5854 size_t _arg1
= (size_t ) 1;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self","numCols", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) return NULL
;
5874 } _resultobj
= Py_BuildValue("i",_result
);
5878 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5879 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5882 wxGridTableBase
* _arg0
;
5883 size_t _arg1
= (size_t ) 0;
5884 size_t _arg2
= (size_t ) 1;
5885 PyObject
* _argo0
= 0;
5886 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) return NULL
;
5904 } _resultobj
= Py_BuildValue("i",_result
);
5908 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5909 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
* _resultobj
;
5912 wxGridTableBase
* _arg0
;
5914 PyObject
* _argo0
= 0;
5915 char *_kwnames
[] = { "self","row", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) return NULL
;
5935 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5937 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5946 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5947 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5950 wxGridTableBase
* _arg0
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self","col", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) return NULL
;
5973 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5975 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5984 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5985 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxGridTableBase
* _arg0
;
5990 PyObject
* _argo0
= 0;
5991 PyObject
* _obj2
= 0;
5992 char *_kwnames
[] = { "self","row","value", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
6005 _arg2
= wxString_in_helper(_obj2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) return NULL
;
6015 } Py_INCREF(Py_None
);
6016 _resultobj
= Py_None
;
6024 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
6025 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6027 wxGridTableBase
* _arg0
;
6030 PyObject
* _argo0
= 0;
6031 PyObject
* _obj2
= 0;
6032 char *_kwnames
[] = { "self","col","value", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
6045 _arg2
= wxString_in_helper(_obj2
);
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) return NULL
;
6055 } Py_INCREF(Py_None
);
6056 _resultobj
= Py_None
;
6064 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
6065 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6068 wxGridTableBase
* _arg0
;
6069 PyObject
* _argo0
= 0;
6070 char *_kwnames
[] = { "self", NULL
};
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
6076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) return NULL
;
6088 } _resultobj
= Py_BuildValue("i",_result
);
6092 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
6093 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6095 wxGridCellAttr
* _result
;
6096 wxGridTableBase
* _arg0
;
6099 wxGridCellAttr::wxAttrKind _arg3
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6123 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
6124 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6126 wxGridTableBase
* _arg0
;
6127 wxGridCellAttr
* _arg1
;
6130 PyObject
* _argo0
= 0;
6131 PyObject
* _argo1
= 0;
6132 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
6145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } Py_INCREF(Py_None
);
6158 _resultobj
= Py_None
;
6162 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
6163 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxGridTableBase
* _arg0
;
6166 wxGridCellAttr
* _arg1
;
6168 PyObject
* _argo0
= 0;
6169 PyObject
* _argo1
= 0;
6170 char *_kwnames
[] = { "self","attr","row", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
6183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) return NULL
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6200 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6201 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6203 wxGridTableBase
* _arg0
;
6204 wxGridCellAttr
* _arg1
;
6206 PyObject
* _argo0
= 0;
6207 PyObject
* _argo1
= 0;
6208 char *_kwnames
[] = { "self","attr","col", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6233 } Py_INCREF(Py_None
);
6234 _resultobj
= Py_None
;
6238 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
6239 wxPyGridTableBase
*src
;
6240 wxGridTableBase
*dest
;
6241 src
= (wxPyGridTableBase
*) ptr
;
6242 dest
= (wxGridTableBase
*) src
;
6243 return (void *) dest
;
6246 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
6247 wxPyGridTableBase
*src
;
6249 src
= (wxPyGridTableBase
*) ptr
;
6250 dest
= (wxObject
*) src
;
6251 return (void *) dest
;
6254 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6255 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxPyGridTableBase
* _result
;
6258 char *_kwnames
[] = { NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) return NULL
;
6271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
6272 _resultobj
= Py_BuildValue("s",_ptemp
);
6275 _resultobj
= Py_None
;
6280 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6281 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6283 wxPyGridTableBase
* _arg0
;
6286 PyObject
* _argo0
= 0;
6287 PyObject
* _obj1
= 0;
6288 PyObject
* _obj2
= 0;
6289 char *_kwnames
[] = { "self","self","_class", NULL
};
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) return NULL
;
6313 } Py_INCREF(Py_None
);
6314 _resultobj
= Py_None
;
6318 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
6319 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6321 wxPyGridTableBase
* _arg0
;
6322 PyObject
* _argo0
= 0;
6323 char *_kwnames
[] = { "self", NULL
};
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
6329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxPyGridTableBase_Destroy(_arg0
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) return NULL
;
6341 } Py_INCREF(Py_None
);
6342 _resultobj
= Py_None
;
6346 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6347 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6350 wxPyGridTableBase
* _arg0
;
6353 PyObject
* _argo0
= 0;
6354 char *_kwnames
[] = { "self","row","col", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6374 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6376 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6385 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6386 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6389 wxPyGridTableBase
* _arg0
;
6393 PyObject
* _argo0
= 0;
6394 PyObject
* _obj3
= 0;
6395 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6408 _arg3
= wxString_in_helper(_obj3
);
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6418 } _resultobj
= Py_BuildValue("i",_result
);
6426 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6427 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
* _resultobj
;
6430 wxPyGridTableBase
* _arg0
;
6434 PyObject
* _argo0
= 0;
6435 PyObject
* _obj3
= 0;
6436 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6449 _arg3
= wxString_in_helper(_obj3
);
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) return NULL
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6467 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6468 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6470 wxPyGridTableBase
* _arg0
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxPyGridTableBase_base_Clear(_arg0
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } Py_INCREF(Py_None
);
6491 _resultobj
= Py_None
;
6495 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6496 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6499 wxPyGridTableBase
* _arg0
;
6500 size_t _arg1
= (size_t ) 0;
6501 size_t _arg2
= (size_t ) 1;
6502 PyObject
* _argo0
= 0;
6503 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) return NULL
;
6521 } _resultobj
= Py_BuildValue("i",_result
);
6525 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6526 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6529 wxPyGridTableBase
* _arg0
;
6530 size_t _arg1
= (size_t ) 1;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self","numRows", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } _resultobj
= Py_BuildValue("i",_result
);
6554 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6555 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6558 wxPyGridTableBase
* _arg0
;
6559 size_t _arg1
= (size_t ) 0;
6560 size_t _arg2
= (size_t ) 1;
6561 PyObject
* _argo0
= 0;
6562 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) return NULL
;
6580 } _resultobj
= Py_BuildValue("i",_result
);
6584 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6585 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6588 wxPyGridTableBase
* _arg0
;
6589 size_t _arg1
= (size_t ) 0;
6590 size_t _arg2
= (size_t ) 1;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) return NULL
;
6610 } _resultobj
= Py_BuildValue("i",_result
);
6614 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6615 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6618 wxPyGridTableBase
* _arg0
;
6619 size_t _arg1
= (size_t ) 1;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self","numCols", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6644 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6647 wxPyGridTableBase
* _arg0
;
6648 size_t _arg1
= (size_t ) 0;
6649 size_t _arg2
= (size_t ) 1;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6674 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6677 wxPyGridTableBase
* _arg0
;
6679 PyObject
* _argo0
= 0;
6680 char *_kwnames
[] = { "self","row", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6700 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6702 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6711 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6712 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6715 wxPyGridTableBase
* _arg0
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self","col", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6738 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6749 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6750 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6752 wxPyGridTableBase
* _arg0
;
6755 PyObject
* _argo0
= 0;
6756 PyObject
* _obj2
= 0;
6757 char *_kwnames
[] = { "self","row","value", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6770 _arg2
= wxString_in_helper(_obj2
);
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 } Py_INCREF(Py_None
);
6781 _resultobj
= Py_None
;
6789 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6790 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6792 wxPyGridTableBase
* _arg0
;
6795 PyObject
* _argo0
= 0;
6796 PyObject
* _obj2
= 0;
6797 char *_kwnames
[] = { "self","col","value", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6810 _arg2
= wxString_in_helper(_obj2
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) return NULL
;
6820 } Py_INCREF(Py_None
);
6821 _resultobj
= Py_None
;
6829 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6830 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6833 wxPyGridTableBase
* _arg0
;
6834 PyObject
* _argo0
= 0;
6835 char *_kwnames
[] = { "self", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) return NULL
;
6853 } _resultobj
= Py_BuildValue("i",_result
);
6857 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6858 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6860 wxGridCellAttr
* _result
;
6861 wxPyGridTableBase
* _arg0
;
6864 wxGridCellAttr::wxAttrKind _arg3
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6888 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6889 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6891 wxPyGridTableBase
* _arg0
;
6892 wxGridCellAttr
* _arg1
;
6895 PyObject
* _argo0
= 0;
6896 PyObject
* _argo1
= 0;
6897 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } Py_INCREF(Py_None
);
6923 _resultobj
= Py_None
;
6927 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6928 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6930 wxPyGridTableBase
* _arg0
;
6931 wxGridCellAttr
* _arg1
;
6933 PyObject
* _argo0
= 0;
6934 PyObject
* _argo1
= 0;
6935 char *_kwnames
[] = { "self","attr","row", NULL
};
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) return NULL
;
6960 } Py_INCREF(Py_None
);
6961 _resultobj
= Py_None
;
6965 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6966 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6968 wxPyGridTableBase
* _arg0
;
6969 wxGridCellAttr
* _arg1
;
6971 PyObject
* _argo0
= 0;
6972 PyObject
* _argo1
= 0;
6973 char *_kwnames
[] = { "self","attr","col", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) return NULL
;
6998 } Py_INCREF(Py_None
);
6999 _resultobj
= Py_None
;
7003 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
7004 wxGridStringTable
*src
;
7005 wxGridTableBase
*dest
;
7006 src
= (wxGridStringTable
*) ptr
;
7007 dest
= (wxGridTableBase
*) src
;
7008 return (void *) dest
;
7011 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
7012 wxGridStringTable
*src
;
7014 src
= (wxGridStringTable
*) ptr
;
7015 dest
= (wxObject
*) src
;
7016 return (void *) dest
;
7019 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
7020 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7022 wxGridStringTable
* _result
;
7023 int _arg0
= (int ) 0;
7024 int _arg1
= (int ) 0;
7025 char *_kwnames
[] = { "numRows","numCols", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
7039 _resultobj
= Py_BuildValue("s",_ptemp
);
7042 _resultobj
= Py_None
;
7047 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7048 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7050 wxGridTableMessage
* _result
;
7051 wxGridTableBase
* _arg0
;
7053 int _arg2
= (int ) -1;
7054 int _arg3
= (int ) -1;
7055 PyObject
* _argo0
= 0;
7056 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) return NULL
;
7076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
7077 _resultobj
= Py_BuildValue("s",_ptemp
);
7080 _resultobj
= Py_None
;
7085 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
7086 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
* _resultobj
;
7088 wxGridTableMessage
* _arg0
;
7089 PyObject
* _argo0
= 0;
7090 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 delete_wxGridTableMessage(_arg0
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) return NULL
;
7108 } Py_INCREF(Py_None
);
7109 _resultobj
= Py_None
;
7113 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
7114 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7116 wxGridTableMessage
* _arg0
;
7117 wxGridTableBase
* _arg1
;
7118 PyObject
* _argo0
= 0;
7119 PyObject
* _argo1
= 0;
7120 char *_kwnames
[] = { "self","table", NULL
};
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
7126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
7133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) return NULL
;
7145 } Py_INCREF(Py_None
);
7146 _resultobj
= Py_None
;
7150 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
7151 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
* _resultobj
;
7153 wxGridTableBase
* _result
;
7154 wxGridTableMessage
* _arg0
;
7155 PyObject
* _argo0
= 0;
7156 char *_kwnames
[] = { "self", NULL
};
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
7162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) return NULL
;
7174 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7178 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7179 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7181 wxGridTableMessage
* _arg0
;
7183 PyObject
* _argo0
= 0;
7184 char *_kwnames
[] = { "self","id", NULL
};
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
7190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxGridTableMessage_SetId(_arg0
,_arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) return NULL
;
7202 } Py_INCREF(Py_None
);
7203 _resultobj
= Py_None
;
7207 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7208 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7211 wxGridTableMessage
* _arg0
;
7212 PyObject
* _argo0
= 0;
7213 char *_kwnames
[] = { "self", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 _result
= (int )wxGridTableMessage_GetId(_arg0
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) return NULL
;
7231 } _resultobj
= Py_BuildValue("i",_result
);
7235 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7236 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7238 wxGridTableMessage
* _arg0
;
7240 PyObject
* _argo0
= 0;
7241 char *_kwnames
[] = { "self","comInt1", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) return NULL
;
7259 } Py_INCREF(Py_None
);
7260 _resultobj
= Py_None
;
7264 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7265 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
* _resultobj
;
7268 wxGridTableMessage
* _arg0
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7288 } _resultobj
= Py_BuildValue("i",_result
);
7292 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7293 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7295 wxGridTableMessage
* _arg0
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self","comInt2", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } Py_INCREF(Py_None
);
7317 _resultobj
= Py_None
;
7321 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7322 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7325 wxGridTableMessage
* _arg0
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } _resultobj
= Py_BuildValue("i",_result
);
7349 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7350 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7352 wxGridCellCoords
* _result
;
7353 int _arg0
= (int ) -1;
7354 int _arg1
= (int ) -1;
7355 char *_kwnames
[] = { "r","c", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7369 _resultobj
= Py_BuildValue("s",_ptemp
);
7372 _resultobj
= Py_None
;
7377 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7378 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxGridCellCoords
* _arg0
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 delete_wxGridCellCoords(_arg0
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) return NULL
;
7400 } Py_INCREF(Py_None
);
7401 _resultobj
= Py_None
;
7405 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7406 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7409 wxGridCellCoords
* _arg0
;
7410 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "self", NULL
};
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
7417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } _resultobj
= Py_BuildValue("i",_result
);
7433 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7434 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7436 wxGridCellCoords
* _arg0
;
7438 PyObject
* _argo0
= 0;
7439 char *_kwnames
[] = { "self","n", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 wxGridCellCoords_SetRow(_arg0
,_arg1
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) return NULL
;
7457 } Py_INCREF(Py_None
);
7458 _resultobj
= Py_None
;
7462 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7463 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7466 wxGridCellCoords
* _arg0
;
7467 PyObject
* _argo0
= 0;
7468 char *_kwnames
[] = { "self", NULL
};
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) return NULL
;
7486 } _resultobj
= Py_BuildValue("i",_result
);
7490 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7491 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7493 wxGridCellCoords
* _arg0
;
7495 PyObject
* _argo0
= 0;
7496 char *_kwnames
[] = { "self","n", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) return NULL
;
7514 } Py_INCREF(Py_None
);
7515 _resultobj
= Py_None
;
7519 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7520 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7522 wxGridCellCoords
* _arg0
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self","row","col", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) return NULL
;
7544 } Py_INCREF(Py_None
);
7545 _resultobj
= Py_None
;
7549 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7550 PyObject
* tup
= PyTuple_New(2);
7551 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7552 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7555 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
* _resultobj
;
7558 wxGridCellCoords
* _arg0
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7579 _resultobj
= _result
;
7584 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7585 return *self
!= other
;
7587 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7590 wxGridCellCoords
* _arg0
;
7591 wxGridCellCoords
* _arg1
;
7592 PyObject
* _argo0
= 0;
7593 PyObject
* _argo1
= 0;
7594 char *_kwnames
[] = { "self","other", NULL
};
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7607 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) return NULL
;
7618 } _resultobj
= Py_BuildValue("i",_result
);
7622 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7624 wxScrolledWindow
*dest
;
7625 src
= (wxGrid
*) ptr
;
7626 dest
= (wxScrolledWindow
*) src
;
7627 return (void *) dest
;
7630 static void *SwigwxGridTowxPanel(void *ptr
) {
7633 src
= (wxGrid
*) ptr
;
7634 dest
= (wxPanel
*) src
;
7635 return (void *) dest
;
7638 static void *SwigwxGridTowxWindow(void *ptr
) {
7641 src
= (wxGrid
*) ptr
;
7642 dest
= (wxWindow
*) src
;
7643 return (void *) dest
;
7646 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7649 src
= (wxGrid
*) ptr
;
7650 dest
= (wxEvtHandler
*) src
;
7651 return (void *) dest
;
7654 static void *SwigwxGridTowxObject(void *ptr
) {
7657 src
= (wxGrid
*) ptr
;
7658 dest
= (wxObject
*) src
;
7659 return (void *) dest
;
7662 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7663 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
* _resultobj
;
7668 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7669 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7670 long _arg4
= (long ) wxWANTS_CHARS
;
7671 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7672 PyObject
* _argo0
= 0;
7674 PyObject
* _obj2
= 0;
7676 PyObject
* _obj3
= 0;
7677 PyObject
* _obj5
= 0;
7678 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7694 if (! wxPoint_helper(_obj2
, &_arg2
))
7700 if (! wxSize_helper(_obj3
, &_arg3
))
7705 _arg5
= wxString_in_helper(_obj5
);
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) return NULL
;
7716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7717 _resultobj
= Py_BuildValue("s",_ptemp
);
7720 _resultobj
= Py_None
;
7729 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7730 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
* _resultobj
;
7736 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7737 PyObject
* _argo0
= 0;
7738 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) return NULL
;
7756 } _resultobj
= Py_BuildValue("i",_result
);
7760 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7761 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
* _resultobj
;
7764 WXGRIDSELECTIONMODES _arg1
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self","selmode", NULL
};
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } Py_INCREF(Py_None
);
7785 _resultobj
= Py_None
;
7789 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7790 static PyObject
*_wrap_wxGrid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
* _resultobj
;
7792 WXGRIDSELECTIONMODES _result
;
7794 PyObject
* _argo0
= 0;
7795 char *_kwnames
[] = { "self", NULL
};
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionMode",_kwnames
,&_argo0
))
7801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 _result
= (WXGRIDSELECTIONMODES
)wxGrid_GetSelectionMode(_arg0
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) return NULL
;
7813 } _resultobj
= Py_BuildValue("i",_result
);
7817 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7818 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7822 PyObject
* _argo0
= 0;
7823 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } _resultobj
= Py_BuildValue("i",_result
);
7845 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7846 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7850 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) return NULL
;
7869 } _resultobj
= Py_BuildValue("i",_result
);
7873 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7874 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7878 wxGridTableMessage
* _arg1
;
7879 PyObject
* _argo0
= 0;
7880 PyObject
* _argo1
= 0;
7881 char *_kwnames
[] = { "self","arg2", NULL
};
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7894 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) return NULL
;
7905 } _resultobj
= Py_BuildValue("i",_result
);
7909 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7910 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7912 wxGridTableBase
* _result
;
7914 PyObject
* _argo0
= 0;
7915 char *_kwnames
[] = { "self", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7937 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7938 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7942 wxGridTableBase
* _arg1
;
7943 bool _arg2
= (bool ) FALSE
;
7944 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7945 PyObject
* _argo0
= 0;
7946 PyObject
* _argo1
= 0;
7947 int tempbool2
= (int) FALSE
;
7948 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7967 _arg2
= (bool ) tempbool2
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) return NULL
;
7974 } _resultobj
= Py_BuildValue("i",_result
);
7978 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7979 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7982 PyObject
* _argo0
= 0;
7983 char *_kwnames
[] = { "self", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 wxGrid_ClearGrid(_arg0
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) return NULL
;
8001 } Py_INCREF(Py_None
);
8002 _resultobj
= Py_None
;
8006 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
8007 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8011 int _arg1
= (int ) 0;
8012 int _arg2
= (int ) 1;
8013 bool _arg3
= (bool ) TRUE
;
8014 PyObject
* _argo0
= 0;
8015 int tempbool3
= (int) TRUE
;
8016 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
8028 _arg3
= (bool ) tempbool3
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) return NULL
;
8035 } _resultobj
= Py_BuildValue("i",_result
);
8039 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
8040 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8044 int _arg1
= (int ) 1;
8045 bool _arg2
= (bool ) TRUE
;
8046 PyObject
* _argo0
= 0;
8047 int tempbool2
= (int) TRUE
;
8048 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
8060 _arg2
= (bool ) tempbool2
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) return NULL
;
8067 } _resultobj
= Py_BuildValue("i",_result
);
8071 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
8072 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
* _resultobj
;
8076 int _arg1
= (int ) 0;
8077 int _arg2
= (int ) 1;
8078 bool _arg3
= (bool ) TRUE
;
8079 PyObject
* _argo0
= 0;
8080 int tempbool3
= (int) TRUE
;
8081 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
8093 _arg3
= (bool ) tempbool3
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) return NULL
;
8100 } _resultobj
= Py_BuildValue("i",_result
);
8104 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
8105 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8109 int _arg1
= (int ) 0;
8110 int _arg2
= (int ) 1;
8111 bool _arg3
= (bool ) TRUE
;
8112 PyObject
* _argo0
= 0;
8113 int tempbool3
= (int) TRUE
;
8114 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
8126 _arg3
= (bool ) tempbool3
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) return NULL
;
8133 } _resultobj
= Py_BuildValue("i",_result
);
8137 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
8138 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
* _resultobj
;
8142 int _arg1
= (int ) 1;
8143 bool _arg2
= (bool ) TRUE
;
8144 PyObject
* _argo0
= 0;
8145 int tempbool2
= (int) TRUE
;
8146 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
8158 _arg2
= (bool ) tempbool2
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) return NULL
;
8165 } _resultobj
= Py_BuildValue("i",_result
);
8169 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
8170 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
* _resultobj
;
8174 int _arg1
= (int ) 0;
8175 int _arg2
= (int ) 1;
8176 bool _arg3
= (bool ) TRUE
;
8177 PyObject
* _argo0
= 0;
8178 int tempbool3
= (int) TRUE
;
8179 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8191 _arg3
= (bool ) tempbool3
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8198 } _resultobj
= Py_BuildValue("i",_result
);
8202 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8203 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8207 wxGridCellAttr
* _arg2
;
8208 PyObject
* _argo0
= 0;
8209 PyObject
* _argo1
= 0;
8210 PyObject
* _argo2
= 0;
8211 char *_kwnames
[] = { "self","dc","attr", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8224 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8230 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) return NULL
;
8242 } Py_INCREF(Py_None
);
8243 _resultobj
= Py_None
;
8247 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8248 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8254 int _arg4
= (int ) wxLEFT
;
8255 int _arg5
= (int ) wxTOP
;
8256 int _arg6
= (int ) wxHORIZONTAL
;
8257 PyObject
* _argo0
= 0;
8258 PyObject
* _argo1
= 0;
8259 PyObject
* _obj2
= 0;
8261 PyObject
* _obj3
= 0;
8262 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL
};
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
,&_arg6
))
8268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8275 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8281 _arg2
= wxString_in_helper(_obj2
);
8287 if (! wxRect_helper(_obj3
, &_arg3
))
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) return NULL
;
8296 } Py_INCREF(Py_None
);
8297 _resultobj
= Py_None
;
8305 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8306 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
* _resultobj
;
8310 wxArrayString
* _arg2
;
8315 PyObject
* _argo0
= 0;
8316 PyObject
* _argo1
= 0;
8317 PyObject
* _obj2
= 0;
8318 char *_kwnames
[] = { "self","dc","lines", NULL
};
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8337 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8343 if (! PySequence_Check(_obj2
)) {
8344 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8347 _arg2
= new wxArrayString
;
8348 int i
, len
=PySequence_Length(_obj2
);
8349 for (i
=0; i
<len
; i
++) {
8350 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
8352 PyObject
* str
= PyObject_Unicode(item
);
8354 PyObject
* str
= PyObject_Str(item
);
8356 _arg2
->Add(Py2wxString(str
));
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) return NULL
;
8367 } Py_INCREF(Py_None
);
8368 _resultobj
= Py_None
;
8371 o
= PyInt_FromLong((long) (*_arg3
));
8372 _resultobj
= t_output_helper(_resultobj
, o
);
8376 o
= PyInt_FromLong((long) (*_arg4
));
8377 _resultobj
= t_output_helper(_resultobj
, o
);
8386 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8387 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8390 PyObject
* _argo0
= 0;
8391 char *_kwnames
[] = { "self", NULL
};
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
8397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 wxGrid_BeginBatch(_arg0
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) return NULL
;
8409 } Py_INCREF(Py_None
);
8410 _resultobj
= Py_None
;
8414 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8415 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8418 PyObject
* _argo0
= 0;
8419 char *_kwnames
[] = { "self", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 wxGrid_EndBatch(_arg0
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) return NULL
;
8437 } Py_INCREF(Py_None
);
8438 _resultobj
= Py_None
;
8442 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8443 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8447 PyObject
* _argo0
= 0;
8448 char *_kwnames
[] = { "self", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) return NULL
;
8466 } _resultobj
= Py_BuildValue("i",_result
);
8470 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8471 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_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_ForceRefresh. Expected _wxGrid_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 wxGrid_ForceRefresh(_arg0
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8493 } Py_INCREF(Py_None
);
8494 _resultobj
= Py_None
;
8498 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8499 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8502 bool _arg1
= (bool ) TRUE
;
8503 wxRect
* _arg2
= (wxRect
*) NULL
;
8504 PyObject
* _argo0
= 0;
8505 int tempbool1
= (int) TRUE
;
8507 PyObject
* _obj2
= 0;
8508 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8520 _arg1
= (bool ) tempbool1
;
8524 if (! wxRect_helper(_obj2
, &_arg2
))
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) return NULL
;
8533 } Py_INCREF(Py_None
);
8534 _resultobj
= Py_None
;
8538 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8539 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
* _resultobj
;
8543 PyObject
* _argo0
= 0;
8544 char *_kwnames
[] = { "self", NULL
};
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 _result
= (bool )wxGrid_IsEditable(_arg0
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) return NULL
;
8562 } _resultobj
= Py_BuildValue("i",_result
);
8566 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8567 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
* _resultobj
;
8571 PyObject
* _argo0
= 0;
8573 char *_kwnames
[] = { "self","edit", NULL
};
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8585 _arg1
= (bool ) tempbool1
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 wxGrid_EnableEditing(_arg0
,_arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) return NULL
;
8592 } Py_INCREF(Py_None
);
8593 _resultobj
= Py_None
;
8597 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8598 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
* _resultobj
;
8601 bool _arg1
= (bool ) TRUE
;
8602 PyObject
* _argo0
= 0;
8603 int tempbool1
= (int) TRUE
;
8604 char *_kwnames
[] = { "self","enable", NULL
};
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8616 _arg1
= (bool ) tempbool1
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8629 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 char *_kwnames
[] = { "self", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 wxGrid_DisableCellEditControl(_arg0
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) return NULL
;
8651 } Py_INCREF(Py_None
);
8652 _resultobj
= Py_None
;
8656 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8657 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8661 PyObject
* _argo0
= 0;
8662 char *_kwnames
[] = { "self", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) return NULL
;
8680 } _resultobj
= Py_BuildValue("i",_result
);
8684 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8685 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 char *_kwnames
[] = { "self", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) return NULL
;
8708 } _resultobj
= Py_BuildValue("i",_result
);
8712 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8713 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
* _resultobj
;
8717 PyObject
* _argo0
= 0;
8718 char *_kwnames
[] = { "self", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) return NULL
;
8736 } _resultobj
= Py_BuildValue("i",_result
);
8740 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8741 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8745 PyObject
* _argo0
= 0;
8746 char *_kwnames
[] = { "self", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) return NULL
;
8764 } _resultobj
= Py_BuildValue("i",_result
);
8768 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8769 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8772 PyObject
* _argo0
= 0;
8773 char *_kwnames
[] = { "self", NULL
};
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 wxGrid_ShowCellEditControl(_arg0
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) return NULL
;
8791 } Py_INCREF(Py_None
);
8792 _resultobj
= Py_None
;
8796 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8797 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8800 PyObject
* _argo0
= 0;
8801 char *_kwnames
[] = { "self", NULL
};
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 wxGrid_HideCellEditControl(_arg0
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) return NULL
;
8819 } Py_INCREF(Py_None
);
8820 _resultobj
= Py_None
;
8824 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8825 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
* _resultobj
;
8828 PyObject
* _argo0
= 0;
8829 char *_kwnames
[] = { "self", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 wxGrid_SaveEditControlValue(_arg0
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) return NULL
;
8847 } Py_INCREF(Py_None
);
8848 _resultobj
= Py_None
;
8852 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8853 wxGridCellCoords rv
;
8854 self
->XYToCell(x
, y
, rv
);
8855 return new wxGridCellCoords(rv
);
8857 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8859 wxGridCellCoords
* _result
;
8863 PyObject
* _argo0
= 0;
8864 char *_kwnames
[] = { "self","x","y", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8885 _resultobj
= Py_BuildValue("s",_ptemp
);
8888 _resultobj
= Py_None
;
8893 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8894 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8899 PyObject
* _argo0
= 0;
8900 char *_kwnames
[] = { "self","y", NULL
};
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) return NULL
;
8918 } _resultobj
= Py_BuildValue("i",_result
);
8922 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8923 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
* _resultobj
;
8928 PyObject
* _argo0
= 0;
8929 char *_kwnames
[] = { "self","x", NULL
};
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) return NULL
;
8947 } _resultobj
= Py_BuildValue("i",_result
);
8951 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8952 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
* _resultobj
;
8957 PyObject
* _argo0
= 0;
8958 char *_kwnames
[] = { "self","y", NULL
};
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) return NULL
;
8976 } _resultobj
= Py_BuildValue("i",_result
);
8980 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8981 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
* _resultobj
;
8986 PyObject
* _argo0
= 0;
8987 char *_kwnames
[] = { "self","x", NULL
};
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) return NULL
;
9005 } _resultobj
= Py_BuildValue("i",_result
);
9009 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
9010 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9017 char *_kwnames
[] = { "self","row","col", NULL
};
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) return NULL
;
9036 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9037 _resultobj
= Py_BuildValue("s",_ptemp
);
9041 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
9042 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9046 PyObject
* _argo0
= 0;
9047 char *_kwnames
[] = { "self", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) return NULL
;
9065 } _resultobj
= Py_BuildValue("i",_result
);
9069 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
9070 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9074 PyObject
* _argo0
= 0;
9075 char *_kwnames
[] = { "self", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } _resultobj
= Py_BuildValue("i",_result
);
9097 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
9098 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9104 bool _arg3
= (bool ) TRUE
;
9105 PyObject
* _argo0
= 0;
9106 int tempbool3
= (int) TRUE
;
9107 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
9113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
9119 _arg3
= (bool ) tempbool3
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) return NULL
;
9126 } _resultobj
= Py_BuildValue("i",_result
);
9130 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
9131 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
* _resultobj
;
9136 PyObject
* _argo0
= 0;
9137 char *_kwnames
[] = { "self","row","col", NULL
};
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) return NULL
;
9155 } Py_INCREF(Py_None
);
9156 _resultobj
= Py_None
;
9160 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
9161 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
* _resultobj
;
9166 PyObject
* _argo0
= 0;
9167 char *_kwnames
[] = { "self","row","col", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) return NULL
;
9185 } Py_INCREF(Py_None
);
9186 _resultobj
= Py_None
;
9190 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9191 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9196 PyObject
* _argo0
= 0;
9198 char *_kwnames
[] = { "self","expandSelection", NULL
};
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
9204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9210 _arg1
= (bool ) tempbool1
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) return NULL
;
9217 } _resultobj
= Py_BuildValue("i",_result
);
9221 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9222 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9227 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self","expandSelection", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9241 _arg1
= (bool ) tempbool1
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) return NULL
;
9248 } _resultobj
= Py_BuildValue("i",_result
);
9252 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9253 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9258 PyObject
* _argo0
= 0;
9260 char *_kwnames
[] = { "self","expandSelection", NULL
};
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
9266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9272 _arg1
= (bool ) tempbool1
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9279 } _resultobj
= Py_BuildValue("i",_result
);
9283 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9284 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9291 char *_kwnames
[] = { "self","expandSelection", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9303 _arg1
= (bool ) tempbool1
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9310 } _resultobj
= Py_BuildValue("i",_result
);
9314 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9315 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9319 PyObject
* _argo0
= 0;
9320 char *_kwnames
[] = { "self", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
9326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (bool )wxGrid_MovePageDown(_arg0
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } _resultobj
= Py_BuildValue("i",_result
);
9342 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9343 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9347 PyObject
* _argo0
= 0;
9348 char *_kwnames
[] = { "self", NULL
};
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
9354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } _resultobj
= Py_BuildValue("i",_result
);
9370 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9371 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9376 PyObject
* _argo0
= 0;
9378 char *_kwnames
[] = { "self","expandSelection", NULL
};
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9390 _arg1
= (bool ) tempbool1
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) return NULL
;
9397 } _resultobj
= Py_BuildValue("i",_result
);
9401 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9402 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9407 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self","expandSelection", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9421 _arg1
= (bool ) tempbool1
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) return NULL
;
9428 } _resultobj
= Py_BuildValue("i",_result
);
9432 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9433 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
* _resultobj
;
9438 PyObject
* _argo0
= 0;
9440 char *_kwnames
[] = { "self","expandSelection", NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9452 _arg1
= (bool ) tempbool1
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) return NULL
;
9459 } _resultobj
= Py_BuildValue("i",_result
);
9463 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9464 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
* _resultobj
;
9469 PyObject
* _argo0
= 0;
9471 char *_kwnames
[] = { "self","expandSelection", NULL
};
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9483 _arg1
= (bool ) tempbool1
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9490 } _resultobj
= Py_BuildValue("i",_result
);
9494 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9495 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
* _resultobj
;
9499 PyObject
* _argo0
= 0;
9500 char *_kwnames
[] = { "self", NULL
};
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) return NULL
;
9518 } _resultobj
= Py_BuildValue("i",_result
);
9522 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9523 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
* _resultobj
;
9527 PyObject
* _argo0
= 0;
9528 char *_kwnames
[] = { "self", NULL
};
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) return NULL
;
9546 } _resultobj
= Py_BuildValue("i",_result
);
9550 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9551 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
* _resultobj
;
9555 PyObject
* _argo0
= 0;
9556 char *_kwnames
[] = { "self", NULL
};
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) return NULL
;
9574 } _resultobj
= Py_BuildValue("i",_result
);
9578 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9579 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9583 PyObject
* _argo0
= 0;
9584 char *_kwnames
[] = { "self", NULL
};
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) return NULL
;
9602 } _resultobj
= Py_BuildValue("i",_result
);
9606 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9607 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9611 PyObject
* _argo0
= 0;
9612 char *_kwnames
[] = { "self", NULL
};
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) return NULL
;
9631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9632 _resultobj
= Py_BuildValue("s",_ptemp
);
9636 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9637 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
* _resultobj
;
9641 PyObject
* _argo0
= 0;
9642 char *_kwnames
[] = { "self", NULL
};
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) return NULL
;
9661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9662 _resultobj
= Py_BuildValue("s",_ptemp
);
9666 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9667 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
* _resultobj
;
9671 PyObject
* _argo0
= 0;
9672 char *_kwnames
[] = { "self", NULL
};
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9691 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9692 _resultobj
= Py_BuildValue("s",_ptemp
);
9696 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9697 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
* _resultobj
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self", NULL
};
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) return NULL
;
9729 } Py_INCREF(Py_None
);
9730 _resultobj
= Py_None
;
9733 o
= PyInt_FromLong((long) (*_arg1
));
9734 _resultobj
= t_output_helper(_resultobj
, o
);
9738 o
= PyInt_FromLong((long) (*_arg2
));
9739 _resultobj
= t_output_helper(_resultobj
, o
);
9744 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9745 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9752 PyObject
* _argo0
= 0;
9753 char *_kwnames
[] = { "self", NULL
};
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9777 } Py_INCREF(Py_None
);
9778 _resultobj
= Py_None
;
9781 o
= PyInt_FromLong((long) (*_arg1
));
9782 _resultobj
= t_output_helper(_resultobj
, o
);
9786 o
= PyInt_FromLong((long) (*_arg2
));
9787 _resultobj
= t_output_helper(_resultobj
, o
);
9792 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9793 static PyObject
*_wrap_wxGrid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
* _resultobj
;
9797 PyObject
* _argo0
= 0;
9798 char *_kwnames
[] = { "self", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelTextOrientation",_kwnames
,&_argo0
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 _result
= (int )wxGrid_GetColLabelTextOrientation(_arg0
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } _resultobj
= Py_BuildValue("i",_result
);
9820 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9821 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
* _resultobj
;
9826 PyObject
* _argo0
= 0;
9827 char *_kwnames
[] = { "self","row", NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) return NULL
;
9847 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9849 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9858 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9859 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
* _resultobj
;
9864 PyObject
* _argo0
= 0;
9865 char *_kwnames
[] = { "self","col", NULL
};
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) return NULL
;
9885 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9887 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9896 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9897 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
* _resultobj
;
9901 PyObject
* _argo0
= 0;
9902 char *_kwnames
[] = { "self", NULL
};
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9922 _resultobj
= Py_BuildValue("s",_ptemp
);
9926 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9927 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
* _resultobj
;
9931 PyObject
* _argo0
= 0;
9932 char *_kwnames
[] = { "self", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) return NULL
;
9951 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9952 _resultobj
= Py_BuildValue("s",_ptemp
);
9956 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9957 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
* _resultobj
;
9961 PyObject
* _argo0
= 0;
9962 char *_kwnames
[] = { "self", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) return NULL
;
9980 } _resultobj
= Py_BuildValue("i",_result
);
9984 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9985 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
* _resultobj
;
9989 PyObject
* _argo0
= 0;
9990 char *_kwnames
[] = { "self", NULL
};
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) return NULL
;
10008 } _resultobj
= Py_BuildValue("i",_result
);
10012 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
10013 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10017 PyObject
* _argo0
= 0;
10018 char *_kwnames
[] = { "self","width", NULL
};
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
10024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) return NULL
;
10036 } Py_INCREF(Py_None
);
10037 _resultobj
= Py_None
;
10041 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
10042 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
* _resultobj
;
10046 PyObject
* _argo0
= 0;
10047 char *_kwnames
[] = { "self","height", NULL
};
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
10053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 wxGrid_SetColLabelSize(_arg0
,_arg1
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) return NULL
;
10065 } Py_INCREF(Py_None
);
10066 _resultobj
= Py_None
;
10070 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
10071 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
* _resultobj
;
10075 PyObject
* _argo0
= 0;
10077 PyObject
* _obj1
= 0;
10078 char *_kwnames
[] = { "self","arg2", NULL
};
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
10092 if (! wxColour_helper(_obj1
, &_arg1
))
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) return NULL
;
10101 } Py_INCREF(Py_None
);
10102 _resultobj
= Py_None
;
10106 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
10107 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
* _resultobj
;
10111 PyObject
* _argo0
= 0;
10113 PyObject
* _obj1
= 0;
10114 char *_kwnames
[] = { "self","arg2", NULL
};
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
10120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
10128 if (! wxColour_helper(_obj1
, &_arg1
))
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) return NULL
;
10137 } Py_INCREF(Py_None
);
10138 _resultobj
= Py_None
;
10142 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
10143 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
* _resultobj
;
10147 PyObject
* _argo0
= 0;
10148 PyObject
* _argo1
= 0;
10149 char *_kwnames
[] = { "self","arg2", NULL
};
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
10155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
10162 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 wxGrid_SetLabelFont(_arg0
,*_arg1
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10173 } Py_INCREF(Py_None
);
10174 _resultobj
= Py_None
;
10178 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
10179 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
* _resultobj
;
10184 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) return NULL
;
10203 } Py_INCREF(Py_None
);
10204 _resultobj
= Py_None
;
10208 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10209 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
* _resultobj
;
10214 PyObject
* _argo0
= 0;
10215 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) return NULL
;
10233 } Py_INCREF(Py_None
);
10234 _resultobj
= Py_None
;
10238 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10239 static PyObject
*_wrap_wxGrid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
* _resultobj
;
10243 PyObject
* _argo0
= 0;
10244 char *_kwnames
[] = { "self","textOrientation", NULL
};
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames
,&_argo0
,&_arg1
))
10250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 wxGrid_SetColLabelTextOrientation(_arg0
,_arg1
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) return NULL
;
10262 } Py_INCREF(Py_None
);
10263 _resultobj
= Py_None
;
10267 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10268 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
* _resultobj
;
10273 PyObject
* _argo0
= 0;
10274 PyObject
* _obj2
= 0;
10275 char *_kwnames
[] = { "self","row","arg3", NULL
};
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10288 _arg2
= wxString_in_helper(_obj2
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) return NULL
;
10298 } Py_INCREF(Py_None
);
10299 _resultobj
= Py_None
;
10307 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10308 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
* _resultobj
;
10313 PyObject
* _argo0
= 0;
10314 PyObject
* _obj2
= 0;
10315 char *_kwnames
[] = { "self","col","arg3", NULL
};
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10328 _arg2
= wxString_in_helper(_obj2
);
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) return NULL
;
10338 } Py_INCREF(Py_None
);
10339 _resultobj
= Py_None
;
10347 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10348 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
* _resultobj
;
10352 PyObject
* _argo0
= 0;
10354 PyObject
* _obj1
= 0;
10355 char *_kwnames
[] = { "self","arg2", NULL
};
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
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_SetGridLineColour. Expected _wxGrid_p.");
10369 if (! wxColour_helper(_obj1
, &_arg1
))
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) return NULL
;
10378 } Py_INCREF(Py_None
);
10379 _resultobj
= Py_None
;
10383 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10384 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
* _resultobj
;
10388 PyObject
* _argo0
= 0;
10390 PyObject
* _obj1
= 0;
10391 char *_kwnames
[] = { "self","arg2", NULL
};
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10405 if (! wxColour_helper(_obj1
, &_arg1
))
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) return NULL
;
10414 } Py_INCREF(Py_None
);
10415 _resultobj
= Py_None
;
10419 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10420 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
* _resultobj
;
10424 PyObject
* _argo0
= 0;
10425 char *_kwnames
[] = { "self","width", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) return NULL
;
10443 } Py_INCREF(Py_None
);
10444 _resultobj
= Py_None
;
10448 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10449 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
* _resultobj
;
10453 PyObject
* _argo0
= 0;
10454 char *_kwnames
[] = { "self","width", NULL
};
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
10460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) return NULL
;
10472 } Py_INCREF(Py_None
);
10473 _resultobj
= Py_None
;
10477 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10478 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
* _resultobj
;
10481 bool _arg1
= (bool ) TRUE
;
10482 PyObject
* _argo0
= 0;
10483 int tempbool1
= (int) TRUE
;
10484 char *_kwnames
[] = { "self","enable", NULL
};
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10496 _arg1
= (bool ) tempbool1
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) return NULL
;
10503 } Py_INCREF(Py_None
);
10504 _resultobj
= Py_None
;
10508 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10509 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
* _resultobj
;
10512 PyObject
* _argo0
= 0;
10513 char *_kwnames
[] = { "self", NULL
};
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 wxGrid_DisableDragRowSize(_arg0
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) return NULL
;
10531 } Py_INCREF(Py_None
);
10532 _resultobj
= Py_None
;
10536 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10537 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
* _resultobj
;
10541 PyObject
* _argo0
= 0;
10542 char *_kwnames
[] = { "self", NULL
};
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) return NULL
;
10560 } _resultobj
= Py_BuildValue("i",_result
);
10564 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10565 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
* _resultobj
;
10568 bool _arg1
= (bool ) TRUE
;
10569 PyObject
* _argo0
= 0;
10570 int tempbool1
= (int) TRUE
;
10571 char *_kwnames
[] = { "self","enable", NULL
};
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10583 _arg1
= (bool ) tempbool1
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) return NULL
;
10590 } Py_INCREF(Py_None
);
10591 _resultobj
= Py_None
;
10595 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10596 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
* _resultobj
;
10599 PyObject
* _argo0
= 0;
10600 char *_kwnames
[] = { "self", NULL
};
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 wxGrid_DisableDragColSize(_arg0
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) return NULL
;
10618 } Py_INCREF(Py_None
);
10619 _resultobj
= Py_None
;
10623 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10624 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
* _resultobj
;
10628 PyObject
* _argo0
= 0;
10629 char *_kwnames
[] = { "self", NULL
};
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) return NULL
;
10647 } _resultobj
= Py_BuildValue("i",_result
);
10651 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10652 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10655 bool _arg1
= (bool ) TRUE
;
10656 PyObject
* _argo0
= 0;
10657 int tempbool1
= (int) TRUE
;
10658 char *_kwnames
[] = { "self","enable", NULL
};
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10670 _arg1
= (bool ) tempbool1
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) return NULL
;
10677 } Py_INCREF(Py_None
);
10678 _resultobj
= Py_None
;
10682 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10683 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
* _resultobj
;
10686 PyObject
* _argo0
= 0;
10687 char *_kwnames
[] = { "self", NULL
};
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 wxGrid_DisableDragGridSize(_arg0
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) return NULL
;
10705 } Py_INCREF(Py_None
);
10706 _resultobj
= Py_None
;
10710 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10711 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
* _resultobj
;
10715 PyObject
* _argo0
= 0;
10716 char *_kwnames
[] = { "self", NULL
};
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) return NULL
;
10734 } _resultobj
= Py_BuildValue("i",_result
);
10738 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10739 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
* _resultobj
;
10744 wxGridCellAttr
* _arg3
;
10745 PyObject
* _argo0
= 0;
10746 PyObject
* _argo3
= 0;
10747 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10760 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10761 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) return NULL
;
10772 } Py_INCREF(Py_None
);
10773 _resultobj
= Py_None
;
10777 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10778 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10782 wxGridCellAttr
* _arg2
;
10783 PyObject
* _argo0
= 0;
10784 PyObject
* _argo2
= 0;
10785 char *_kwnames
[] = { "self","row","attr", NULL
};
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10798 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10799 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) return NULL
;
10810 } Py_INCREF(Py_None
);
10811 _resultobj
= Py_None
;
10815 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10816 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
* _resultobj
;
10820 wxGridCellAttr
* _arg2
;
10821 PyObject
* _argo0
= 0;
10822 PyObject
* _argo2
= 0;
10823 char *_kwnames
[] = { "self","col","attr", NULL
};
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10836 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10837 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) return NULL
;
10848 } Py_INCREF(Py_None
);
10849 _resultobj
= Py_None
;
10853 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10854 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
* _resultobj
;
10858 PyObject
* _argo0
= 0;
10859 char *_kwnames
[] = { "self","col", NULL
};
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) return NULL
;
10877 } Py_INCREF(Py_None
);
10878 _resultobj
= Py_None
;
10882 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10883 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
* _resultobj
;
10887 PyObject
* _argo0
= 0;
10888 char *_kwnames
[] = { "self","col", NULL
};
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) return NULL
;
10906 } Py_INCREF(Py_None
);
10907 _resultobj
= Py_None
;
10911 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10912 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
* _resultobj
;
10916 int _arg2
= (int ) -1;
10917 int _arg3
= (int ) -1;
10918 PyObject
* _argo0
= 0;
10919 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) return NULL
;
10937 } Py_INCREF(Py_None
);
10938 _resultobj
= Py_None
;
10942 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10943 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
* _resultobj
;
10948 PyObject
* _argo0
= 0;
10949 PyObject
* _obj2
= 0;
10950 char *_kwnames
[] = { "self","col","typeName", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10963 _arg2
= wxString_in_helper(_obj2
);
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) return NULL
;
10973 } Py_INCREF(Py_None
);
10974 _resultobj
= Py_None
;
10982 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10983 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
* _resultobj
;
10986 bool _arg1
= (bool ) TRUE
;
10987 PyObject
* _argo0
= 0;
10988 int tempbool1
= (int) TRUE
;
10989 char *_kwnames
[] = { "self","enable", NULL
};
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
11001 _arg1
= (bool ) tempbool1
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 wxGrid_EnableGridLines(_arg0
,_arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) return NULL
;
11008 } Py_INCREF(Py_None
);
11009 _resultobj
= Py_None
;
11013 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
11014 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
* _resultobj
;
11018 PyObject
* _argo0
= 0;
11019 char *_kwnames
[] = { "self", NULL
};
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
11025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) return NULL
;
11037 } _resultobj
= Py_BuildValue("i",_result
);
11041 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
11042 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
* _resultobj
;
11046 PyObject
* _argo0
= 0;
11047 char *_kwnames
[] = { "self", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) return NULL
;
11065 } _resultobj
= Py_BuildValue("i",_result
);
11069 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
11070 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
* _resultobj
;
11075 PyObject
* _argo0
= 0;
11076 char *_kwnames
[] = { "self","row", NULL
};
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
11082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) return NULL
;
11094 } _resultobj
= Py_BuildValue("i",_result
);
11098 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
11099 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
* _resultobj
;
11103 PyObject
* _argo0
= 0;
11104 char *_kwnames
[] = { "self", NULL
};
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
11110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) return NULL
;
11122 } _resultobj
= Py_BuildValue("i",_result
);
11126 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
11127 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
* _resultobj
;
11132 PyObject
* _argo0
= 0;
11133 char *_kwnames
[] = { "self","col", NULL
};
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
11139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) return NULL
;
11151 } _resultobj
= Py_BuildValue("i",_result
);
11155 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
11156 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
* _resultobj
;
11158 wxColour
* _result
;
11160 PyObject
* _argo0
= 0;
11161 char *_kwnames
[] = { "self", NULL
};
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
11168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) return NULL
;
11180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11181 _resultobj
= Py_BuildValue("s",_ptemp
);
11185 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
11186 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
* _resultobj
;
11188 wxColour
* _result
;
11192 PyObject
* _argo0
= 0;
11193 char *_kwnames
[] = { "self","row","col", NULL
};
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) return NULL
;
11212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11213 _resultobj
= Py_BuildValue("s",_ptemp
);
11217 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11218 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
* _resultobj
;
11220 wxColour
* _result
;
11222 PyObject
* _argo0
= 0;
11223 char *_kwnames
[] = { "self", NULL
};
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
11230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) return NULL
;
11242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11243 _resultobj
= Py_BuildValue("s",_ptemp
);
11247 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11248 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
* _resultobj
;
11250 wxColour
* _result
;
11254 PyObject
* _argo0
= 0;
11255 char *_kwnames
[] = { "self","row","col", NULL
};
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) return NULL
;
11274 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11275 _resultobj
= Py_BuildValue("s",_ptemp
);
11279 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11280 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
* _resultobj
;
11284 PyObject
* _argo0
= 0;
11285 char *_kwnames
[] = { "self", NULL
};
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
11292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) return NULL
;
11304 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11305 _resultobj
= Py_BuildValue("s",_ptemp
);
11309 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11310 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
* _resultobj
;
11316 PyObject
* _argo0
= 0;
11317 char *_kwnames
[] = { "self","row","col", NULL
};
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) return NULL
;
11336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11337 _resultobj
= Py_BuildValue("s",_ptemp
);
11341 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11342 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
* _resultobj
;
11349 PyObject
* _argo0
= 0;
11350 char *_kwnames
[] = { "self", NULL
};
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
))
11362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) return NULL
;
11374 } Py_INCREF(Py_None
);
11375 _resultobj
= Py_None
;
11378 o
= PyInt_FromLong((long) (*_arg1
));
11379 _resultobj
= t_output_helper(_resultobj
, o
);
11383 o
= PyInt_FromLong((long) (*_arg2
));
11384 _resultobj
= t_output_helper(_resultobj
, o
);
11389 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11390 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
* _resultobj
;
11399 PyObject
* _argo0
= 0;
11400 char *_kwnames
[] = { "self","row","col", NULL
};
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) return NULL
;
11424 } Py_INCREF(Py_None
);
11425 _resultobj
= Py_None
;
11428 o
= PyInt_FromLong((long) (*_arg3
));
11429 _resultobj
= t_output_helper(_resultobj
, o
);
11433 o
= PyInt_FromLong((long) (*_arg4
));
11434 _resultobj
= t_output_helper(_resultobj
, o
);
11439 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11440 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
* _resultobj
;
11444 PyObject
* _argo0
= 0;
11445 char *_kwnames
[] = { "self", NULL
};
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) return NULL
;
11463 } _resultobj
= Py_BuildValue("i",_result
);
11467 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11468 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
* _resultobj
;
11474 PyObject
* _argo0
= 0;
11475 char *_kwnames
[] = { "self","row","col", NULL
};
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) return NULL
;
11493 } _resultobj
= Py_BuildValue("i",_result
);
11497 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11498 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11499 PyObject
* _resultobj
;
11507 PyObject
* _argo0
= 0;
11508 char *_kwnames
[] = { "self","row","col", NULL
};
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) return NULL
;
11532 } Py_INCREF(Py_None
);
11533 _resultobj
= Py_None
;
11536 o
= PyInt_FromLong((long) (*_arg3
));
11537 _resultobj
= t_output_helper(_resultobj
, o
);
11541 o
= PyInt_FromLong((long) (*_arg4
));
11542 _resultobj
= t_output_helper(_resultobj
, o
);
11547 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11548 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
* _resultobj
;
11552 bool _arg2
= (bool ) FALSE
;
11553 PyObject
* _argo0
= 0;
11554 int tempbool2
= (int) FALSE
;
11555 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11567 _arg2
= (bool ) tempbool2
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) return NULL
;
11574 } Py_INCREF(Py_None
);
11575 _resultobj
= Py_None
;
11579 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11580 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
* _resultobj
;
11585 PyObject
* _argo0
= 0;
11586 char *_kwnames
[] = { "self","row","height", NULL
};
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) return NULL
;
11604 } Py_INCREF(Py_None
);
11605 _resultobj
= Py_None
;
11609 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11610 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
* _resultobj
;
11614 bool _arg2
= (bool ) FALSE
;
11615 PyObject
* _argo0
= 0;
11616 int tempbool2
= (int) FALSE
;
11617 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11629 _arg2
= (bool ) tempbool2
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) return NULL
;
11636 } Py_INCREF(Py_None
);
11637 _resultobj
= Py_None
;
11641 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11642 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11643 PyObject
* _resultobj
;
11647 PyObject
* _argo0
= 0;
11648 char *_kwnames
[] = { "self","col","width", NULL
};
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) return NULL
;
11666 } Py_INCREF(Py_None
);
11667 _resultobj
= Py_None
;
11671 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11672 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
* _resultobj
;
11676 bool _arg2
= (bool ) TRUE
;
11677 PyObject
* _argo0
= 0;
11678 int tempbool2
= (int) TRUE
;
11679 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11691 _arg2
= (bool ) tempbool2
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) return NULL
;
11698 } Py_INCREF(Py_None
);
11699 _resultobj
= Py_None
;
11703 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11704 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
* _resultobj
;
11708 bool _arg2
= (bool ) TRUE
;
11709 PyObject
* _argo0
= 0;
11710 int tempbool2
= (int) TRUE
;
11711 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11723 _arg2
= (bool ) tempbool2
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) return NULL
;
11730 } Py_INCREF(Py_None
);
11731 _resultobj
= Py_None
;
11735 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11736 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
* _resultobj
;
11739 bool _arg1
= (bool ) TRUE
;
11740 PyObject
* _argo0
= 0;
11741 int tempbool1
= (int) TRUE
;
11742 char *_kwnames
[] = { "self","setAsMin", NULL
};
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11754 _arg1
= (bool ) tempbool1
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) return NULL
;
11761 } Py_INCREF(Py_None
);
11762 _resultobj
= Py_None
;
11766 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11767 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
* _resultobj
;
11770 bool _arg1
= (bool ) TRUE
;
11771 PyObject
* _argo0
= 0;
11772 int tempbool1
= (int) TRUE
;
11773 char *_kwnames
[] = { "self","setAsMin", NULL
};
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11785 _arg1
= (bool ) tempbool1
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) return NULL
;
11792 } Py_INCREF(Py_None
);
11793 _resultobj
= Py_None
;
11797 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11798 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
* _resultobj
;
11801 PyObject
* _argo0
= 0;
11802 char *_kwnames
[] = { "self", NULL
};
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 wxGrid_AutoSize(_arg0
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) return NULL
;
11820 } Py_INCREF(Py_None
);
11821 _resultobj
= Py_None
;
11825 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11826 static PyObject
*_wrap_wxGrid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
* _resultobj
;
11830 PyObject
* _argo0
= 0;
11831 char *_kwnames
[] = { "self","row", NULL
};
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
11837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 wxGrid_AutoSizeRowLabelSize(_arg0
,_arg1
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) return NULL
;
11849 } Py_INCREF(Py_None
);
11850 _resultobj
= Py_None
;
11854 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11855 static PyObject
*_wrap_wxGrid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
* _resultobj
;
11859 PyObject
* _argo0
= 0;
11860 char *_kwnames
[] = { "self","col", NULL
};
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames
,&_argo0
,&_arg1
))
11866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 wxGrid_AutoSizeColLabelSize(_arg0
,_arg1
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) return NULL
;
11878 } Py_INCREF(Py_None
);
11879 _resultobj
= Py_None
;
11883 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11884 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
* _resultobj
;
11889 PyObject
* _argo0
= 0;
11890 char *_kwnames
[] = { "self","col","width", NULL
};
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) return NULL
;
11908 } Py_INCREF(Py_None
);
11909 _resultobj
= Py_None
;
11913 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11914 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
* _resultobj
;
11919 PyObject
* _argo0
= 0;
11920 char *_kwnames
[] = { "self","row","width", NULL
};
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) return NULL
;
11938 } Py_INCREF(Py_None
);
11939 _resultobj
= Py_None
;
11943 #define wxGrid_SetColMinimalAcceptableWidth(_swigobj,_swigarg0) (_swigobj->SetColMinimalAcceptableWidth(_swigarg0))
11944 static PyObject
*_wrap_wxGrid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
* _resultobj
;
11948 PyObject
* _argo0
= 0;
11949 char *_kwnames
[] = { "self","width", NULL
};
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColMinimalAcceptableWidth",_kwnames
,&_argo0
,&_arg1
))
11955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalAcceptableWidth. Expected _wxGrid_p.");
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 wxGrid_SetColMinimalAcceptableWidth(_arg0
,_arg1
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) return NULL
;
11967 } Py_INCREF(Py_None
);
11968 _resultobj
= Py_None
;
11972 #define wxGrid_SetRowMinimalAcceptableHeight(_swigobj,_swigarg0) (_swigobj->SetRowMinimalAcceptableHeight(_swigarg0))
11973 static PyObject
*_wrap_wxGrid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
* _resultobj
;
11977 PyObject
* _argo0
= 0;
11978 char *_kwnames
[] = { "self","width", NULL
};
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowMinimalAcceptableHeight",_kwnames
,&_argo0
,&_arg1
))
11984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxGrid_SetRowMinimalAcceptableHeight(_arg0
,_arg1
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) return NULL
;
11996 } Py_INCREF(Py_None
);
11997 _resultobj
= Py_None
;
12001 #define wxGrid_GetColMinimalAcceptableWidth(_swigobj) (_swigobj->GetColMinimalAcceptableWidth())
12002 static PyObject
*_wrap_wxGrid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
* _resultobj
;
12006 PyObject
* _argo0
= 0;
12007 char *_kwnames
[] = { "self", NULL
};
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColMinimalAcceptableWidth",_kwnames
,&_argo0
))
12013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColMinimalAcceptableWidth. Expected _wxGrid_p.");
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 _result
= (int )wxGrid_GetColMinimalAcceptableWidth(_arg0
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) return NULL
;
12025 } _resultobj
= Py_BuildValue("i",_result
);
12029 #define wxGrid_GetRowMinimalAcceptableHeight(_swigobj) (_swigobj->GetRowMinimalAcceptableHeight())
12030 static PyObject
*_wrap_wxGrid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
* _resultobj
;
12034 PyObject
* _argo0
= 0;
12035 char *_kwnames
[] = { "self", NULL
};
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowMinimalAcceptableHeight",_kwnames
,&_argo0
))
12041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 _result
= (int )wxGrid_GetRowMinimalAcceptableHeight(_arg0
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) return NULL
;
12053 } _resultobj
= Py_BuildValue("i",_result
);
12057 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
12058 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
* _resultobj
;
12062 PyObject
* _argo0
= 0;
12064 PyObject
* _obj1
= 0;
12065 char *_kwnames
[] = { "self","arg2", NULL
};
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
12071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
12079 if (! wxColour_helper(_obj1
, &_arg1
))
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) return NULL
;
12088 } Py_INCREF(Py_None
);
12089 _resultobj
= Py_None
;
12093 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
12094 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
* _resultobj
;
12100 PyObject
* _argo0
= 0;
12102 PyObject
* _obj3
= 0;
12103 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
12117 if (! wxColour_helper(_obj3
, &_arg3
))
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) return NULL
;
12126 } Py_INCREF(Py_None
);
12127 _resultobj
= Py_None
;
12131 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
12132 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
* _resultobj
;
12136 PyObject
* _argo0
= 0;
12138 PyObject
* _obj1
= 0;
12139 char *_kwnames
[] = { "self","arg2", NULL
};
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
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_SetDefaultCellTextColour. Expected _wxGrid_p.");
12153 if (! wxColour_helper(_obj1
, &_arg1
))
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) return NULL
;
12162 } Py_INCREF(Py_None
);
12163 _resultobj
= Py_None
;
12167 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
12168 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
* _resultobj
;
12174 PyObject
* _argo0
= 0;
12176 PyObject
* _obj3
= 0;
12177 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
12191 if (! wxColour_helper(_obj3
, &_arg3
))
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) return NULL
;
12200 } Py_INCREF(Py_None
);
12201 _resultobj
= Py_None
;
12205 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
12206 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
* _resultobj
;
12210 PyObject
* _argo0
= 0;
12211 PyObject
* _argo1
= 0;
12212 char *_kwnames
[] = { "self","arg2", NULL
};
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
12218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
12225 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
12226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) return NULL
;
12236 } Py_INCREF(Py_None
);
12237 _resultobj
= Py_None
;
12241 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
12242 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
* _resultobj
;
12248 PyObject
* _argo0
= 0;
12249 PyObject
* _argo3
= 0;
12250 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
12263 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
12264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) return NULL
;
12274 } Py_INCREF(Py_None
);
12275 _resultobj
= Py_None
;
12279 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
12280 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
* _resultobj
;
12285 PyObject
* _argo0
= 0;
12286 char *_kwnames
[] = { "self","horiz","vert", NULL
};
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) return NULL
;
12304 } Py_INCREF(Py_None
);
12305 _resultobj
= Py_None
;
12309 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12310 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
* _resultobj
;
12317 PyObject
* _argo0
= 0;
12318 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) return NULL
;
12336 } Py_INCREF(Py_None
);
12337 _resultobj
= Py_None
;
12341 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12342 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
* _resultobj
;
12346 PyObject
* _argo0
= 0;
12348 char *_kwnames
[] = { "self","allow", NULL
};
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
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_SetDefaultCellOverflow. Expected _wxGrid_p.");
12360 _arg1
= (bool ) tempbool1
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) return NULL
;
12367 } Py_INCREF(Py_None
);
12368 _resultobj
= Py_None
;
12372 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12373 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
* _resultobj
;
12379 PyObject
* _argo0
= 0;
12381 char *_kwnames
[] = { "self","row","col","allow", NULL
};
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12393 _arg3
= (bool ) tempbool3
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) return NULL
;
12400 } Py_INCREF(Py_None
);
12401 _resultobj
= Py_None
;
12405 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12406 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
* _resultobj
;
12413 PyObject
* _argo0
= 0;
12414 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) return NULL
;
12432 } Py_INCREF(Py_None
);
12433 _resultobj
= Py_None
;
12437 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12438 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
* _resultobj
;
12441 wxGridCellRenderer
* _arg1
;
12442 PyObject
* _argo0
= 0;
12443 PyObject
* _argo1
= 0;
12444 char *_kwnames
[] = { "self","renderer", NULL
};
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
12450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
12459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) return NULL
;
12469 } Py_INCREF(Py_None
);
12470 _resultobj
= Py_None
;
12474 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12475 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
* _resultobj
;
12480 wxGridCellRenderer
* _arg3
;
12481 PyObject
* _argo0
= 0;
12482 PyObject
* _argo3
= 0;
12483 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12496 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12497 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
12498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) return NULL
;
12508 } Py_INCREF(Py_None
);
12509 _resultobj
= Py_None
;
12513 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12514 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
* _resultobj
;
12516 wxGridCellRenderer
* _result
;
12518 PyObject
* _argo0
= 0;
12519 char *_kwnames
[] = { "self", NULL
};
12522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
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_GetDefaultRenderer. Expected _wxGrid_p.");
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) return NULL
;
12537 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12541 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12542 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
* _resultobj
;
12544 wxGridCellRenderer
* _result
;
12548 PyObject
* _argo0
= 0;
12549 char *_kwnames
[] = { "self","row","col", NULL
};
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) return NULL
;
12567 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12571 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12572 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
* _resultobj
;
12575 wxGridCellEditor
* _arg1
;
12576 PyObject
* _argo0
= 0;
12577 PyObject
* _argo1
= 0;
12578 char *_kwnames
[] = { "self","editor", NULL
};
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) return NULL
;
12603 } Py_INCREF(Py_None
);
12604 _resultobj
= Py_None
;
12608 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12609 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
* _resultobj
;
12614 wxGridCellEditor
* _arg3
;
12615 PyObject
* _argo0
= 0;
12616 PyObject
* _argo3
= 0;
12617 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12630 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12631 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) return NULL
;
12642 } Py_INCREF(Py_None
);
12643 _resultobj
= Py_None
;
12647 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12648 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
* _resultobj
;
12650 wxGridCellEditor
* _result
;
12652 PyObject
* _argo0
= 0;
12653 char *_kwnames
[] = { "self", NULL
};
12656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) return NULL
;
12671 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12675 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12676 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
* _resultobj
;
12678 wxGridCellEditor
* _result
;
12682 PyObject
* _argo0
= 0;
12683 char *_kwnames
[] = { "self","row","col", NULL
};
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) return NULL
;
12701 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12705 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12706 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
* _resultobj
;
12708 wxString
* _result
;
12712 PyObject
* _argo0
= 0;
12713 char *_kwnames
[] = { "self","row","col", NULL
};
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) return NULL
;
12733 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
12735 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12744 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12745 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
* _resultobj
;
12751 PyObject
* _argo0
= 0;
12752 PyObject
* _obj3
= 0;
12753 char *_kwnames
[] = { "self","row","col","s", NULL
};
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12766 _arg3
= wxString_in_helper(_obj3
);
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) return NULL
;
12776 } Py_INCREF(Py_None
);
12777 _resultobj
= Py_None
;
12785 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12786 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
* _resultobj
;
12792 PyObject
* _argo0
= 0;
12793 char *_kwnames
[] = { "self","row","col", NULL
};
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) return NULL
;
12811 } _resultobj
= Py_BuildValue("i",_result
);
12815 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12816 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
* _resultobj
;
12821 bool _arg3
= (bool ) TRUE
;
12822 PyObject
* _argo0
= 0;
12823 int tempbool3
= (int) TRUE
;
12824 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12836 _arg3
= (bool ) tempbool3
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) return NULL
;
12843 } Py_INCREF(Py_None
);
12844 _resultobj
= Py_None
;
12848 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12849 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
* _resultobj
;
12853 bool _arg2
= (bool ) FALSE
;
12854 PyObject
* _argo0
= 0;
12855 int tempbool2
= (int) FALSE
;
12856 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12868 _arg2
= (bool ) tempbool2
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) return NULL
;
12875 } Py_INCREF(Py_None
);
12876 _resultobj
= Py_None
;
12880 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12881 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
* _resultobj
;
12885 bool _arg2
= (bool ) FALSE
;
12886 PyObject
* _argo0
= 0;
12887 int tempbool2
= (int) FALSE
;
12888 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12900 _arg2
= (bool ) tempbool2
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) return NULL
;
12907 } Py_INCREF(Py_None
);
12908 _resultobj
= Py_None
;
12912 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12913 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
* _resultobj
;
12920 bool _arg5
= (bool ) FALSE
;
12921 PyObject
* _argo0
= 0;
12922 int tempbool5
= (int) FALSE
;
12923 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12935 _arg5
= (bool ) tempbool5
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) return NULL
;
12942 } Py_INCREF(Py_None
);
12943 _resultobj
= Py_None
;
12947 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12948 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
* _resultobj
;
12951 PyObject
* _argo0
= 0;
12952 char *_kwnames
[] = { "self", NULL
};
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 wxGrid_SelectAll(_arg0
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) return NULL
;
12970 } Py_INCREF(Py_None
);
12971 _resultobj
= Py_None
;
12975 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12976 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
* _resultobj
;
12980 PyObject
* _argo0
= 0;
12981 char *_kwnames
[] = { "self", NULL
};
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 _result
= (bool )wxGrid_IsSelection(_arg0
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) return NULL
;
12999 } _resultobj
= Py_BuildValue("i",_result
);
13003 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
13004 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
* _resultobj
;
13007 PyObject
* _argo0
= 0;
13008 char *_kwnames
[] = { "self", NULL
};
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
13014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 wxGrid_ClearSelection(_arg0
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) return NULL
;
13026 } Py_INCREF(Py_None
);
13027 _resultobj
= Py_None
;
13031 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
13032 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
* _resultobj
;
13038 PyObject
* _argo0
= 0;
13039 char *_kwnames
[] = { "self","row","col", NULL
};
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) return NULL
;
13057 } _resultobj
= Py_BuildValue("i",_result
);
13061 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
13062 static PyObject
*_wrap_wxGrid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
* _resultobj
;
13064 wxGridCellCoordsArray
* _result
;
13066 PyObject
* _argo0
= 0;
13067 char *_kwnames
[] = { "self", NULL
};
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCells",_kwnames
,&_argo0
))
13073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0
));
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) return NULL
;
13086 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13094 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
13095 static PyObject
*_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
* _resultobj
;
13097 wxGridCellCoordsArray
* _result
;
13099 PyObject
* _argo0
= 0;
13100 char *_kwnames
[] = { "self", NULL
};
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockTopLeft",_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_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0
));
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) return NULL
;
13119 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13127 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
13128 static PyObject
*_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
* _resultobj
;
13130 wxGridCellCoordsArray
* _result
;
13132 PyObject
* _argo0
= 0;
13133 char *_kwnames
[] = { "self", NULL
};
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames
,&_argo0
))
13139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0
));
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) return NULL
;
13152 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13160 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
13161 static PyObject
*_wrap_wxGrid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
* _resultobj
;
13163 wxArrayInt
* _result
;
13165 PyObject
* _argo0
= 0;
13166 char *_kwnames
[] = { "self", NULL
};
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedRows",_kwnames
,&_argo0
))
13172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 _result
= new wxArrayInt (wxGrid_GetSelectedRows(_arg0
));
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) return NULL
;
13185 _resultobj
= PyList_New(0);
13187 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13188 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13189 PyList_Append(_resultobj
, val
);
13197 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
13198 static PyObject
*_wrap_wxGrid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
* _resultobj
;
13200 wxArrayInt
* _result
;
13202 PyObject
* _argo0
= 0;
13203 char *_kwnames
[] = { "self", NULL
};
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCols",_kwnames
,&_argo0
))
13209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 _result
= new wxArrayInt (wxGrid_GetSelectedCols(_arg0
));
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) return NULL
;
13222 _resultobj
= PyList_New(0);
13224 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13225 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13226 PyList_Append(_resultobj
, val
);
13234 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
13235 static PyObject
*_wrap_wxGrid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
* _resultobj
;
13239 PyObject
* _argo0
= 0;
13240 char *_kwnames
[] = { "self","row", NULL
};
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectRow",_kwnames
,&_argo0
,&_arg1
))
13246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 wxGrid_DeselectRow(_arg0
,_arg1
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) return NULL
;
13258 } Py_INCREF(Py_None
);
13259 _resultobj
= Py_None
;
13263 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
13264 static PyObject
*_wrap_wxGrid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
* _resultobj
;
13268 PyObject
* _argo0
= 0;
13269 char *_kwnames
[] = { "self","col", NULL
};
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectCol",_kwnames
,&_argo0
,&_arg1
))
13275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 wxGrid_DeselectCol(_arg0
,_arg1
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) return NULL
;
13287 } Py_INCREF(Py_None
);
13288 _resultobj
= Py_None
;
13292 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
13293 static PyObject
*_wrap_wxGrid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
* _resultobj
;
13298 PyObject
* _argo0
= 0;
13299 char *_kwnames
[] = { "self","row","col", NULL
};
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_DeselectCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 wxGrid_DeselectCell(_arg0
,_arg1
,_arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) return NULL
;
13317 } Py_INCREF(Py_None
);
13318 _resultobj
= Py_None
;
13322 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13323 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
* _resultobj
;
13327 wxGridCellCoords
* _arg1
;
13328 wxGridCellCoords
* _arg2
;
13329 PyObject
* _argo0
= 0;
13330 wxGridCellCoords temp
;
13331 PyObject
* _obj1
= 0;
13332 wxGridCellCoords temp0
;
13333 PyObject
* _obj2
= 0;
13334 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
13341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13349 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
13354 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) return NULL
;
13363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
13364 _resultobj
= Py_BuildValue("s",_ptemp
);
13368 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13369 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
* _resultobj
;
13371 wxColour
* _result
;
13373 PyObject
* _argo0
= 0;
13374 char *_kwnames
[] = { "self", NULL
};
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
13381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) return NULL
;
13393 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13394 _resultobj
= Py_BuildValue("s",_ptemp
);
13398 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13399 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
* _resultobj
;
13401 wxColour
* _result
;
13403 PyObject
* _argo0
= 0;
13404 char *_kwnames
[] = { "self", NULL
};
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
13411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) return NULL
;
13423 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13424 _resultobj
= Py_BuildValue("s",_ptemp
);
13428 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13429 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
* _resultobj
;
13433 PyObject
* _argo0
= 0;
13435 PyObject
* _obj1
= 0;
13436 char *_kwnames
[] = { "self","c", NULL
};
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
13442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13450 if (! wxColour_helper(_obj1
, &_arg1
))
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) return NULL
;
13459 } Py_INCREF(Py_None
);
13460 _resultobj
= Py_None
;
13464 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13465 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
* _resultobj
;
13469 PyObject
* _argo0
= 0;
13471 PyObject
* _obj1
= 0;
13472 char *_kwnames
[] = { "self","c", NULL
};
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
13478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13486 if (! wxColour_helper(_obj1
, &_arg1
))
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) return NULL
;
13495 } Py_INCREF(Py_None
);
13496 _resultobj
= Py_None
;
13500 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13501 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
* _resultobj
;
13505 wxGridCellRenderer
* _arg2
;
13506 wxGridCellEditor
* _arg3
;
13507 PyObject
* _argo0
= 0;
13508 PyObject
* _obj1
= 0;
13509 PyObject
* _argo2
= 0;
13510 PyObject
* _argo3
= 0;
13511 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
13517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13524 _arg1
= wxString_in_helper(_obj1
);
13529 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13530 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
13531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13536 if (_argo3
== Py_None
) { _arg3
= NULL
; }
13537 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
13538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) return NULL
;
13548 } Py_INCREF(Py_None
);
13549 _resultobj
= Py_None
;
13557 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13558 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
* _resultobj
;
13560 wxGridCellEditor
* _result
;
13564 PyObject
* _argo0
= 0;
13565 char *_kwnames
[] = { "self","row","col", NULL
};
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) return NULL
;
13583 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13587 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13588 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
* _resultobj
;
13590 wxGridCellRenderer
* _result
;
13594 PyObject
* _argo0
= 0;
13595 char *_kwnames
[] = { "self","row","col", NULL
};
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) return NULL
;
13613 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13617 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13618 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
* _resultobj
;
13620 wxGridCellEditor
* _result
;
13623 PyObject
* _argo0
= 0;
13624 PyObject
* _obj1
= 0;
13625 char *_kwnames
[] = { "self","typeName", NULL
};
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
13631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13638 _arg1
= wxString_in_helper(_obj1
);
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) return NULL
;
13648 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13656 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13657 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
* _resultobj
;
13659 wxGridCellRenderer
* _result
;
13662 PyObject
* _argo0
= 0;
13663 PyObject
* _obj1
= 0;
13664 char *_kwnames
[] = { "self","typeName", NULL
};
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
13670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13677 _arg1
= wxString_in_helper(_obj1
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) return NULL
;
13687 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13695 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13696 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
* _resultobj
;
13701 PyObject
* _argo0
= 0;
13702 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) return NULL
;
13720 } Py_INCREF(Py_None
);
13721 _resultobj
= Py_None
;
13725 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13726 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
* _resultobj
;
13728 wxWindow
* _result
;
13730 PyObject
* _argo0
= 0;
13731 char *_kwnames
[] = { "self", NULL
};
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
13737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) return NULL
;
13749 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13753 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13754 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
* _resultobj
;
13756 wxWindow
* _result
;
13758 PyObject
* _argo0
= 0;
13759 char *_kwnames
[] = { "self", NULL
};
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
13765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) return NULL
;
13777 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13781 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13782 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
* _resultobj
;
13784 wxWindow
* _result
;
13786 PyObject
* _argo0
= 0;
13787 char *_kwnames
[] = { "self", NULL
};
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
13793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) return NULL
;
13805 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13809 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13810 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
* _resultobj
;
13812 wxWindow
* _result
;
13814 PyObject
* _argo0
= 0;
13815 char *_kwnames
[] = { "self", NULL
};
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
13821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) return NULL
;
13833 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13837 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
13839 wxNotifyEvent
*dest
;
13840 src
= (wxGridEvent
*) ptr
;
13841 dest
= (wxNotifyEvent
*) src
;
13842 return (void *) dest
;
13845 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13847 wxCommandEvent
*dest
;
13848 src
= (wxGridEvent
*) ptr
;
13849 dest
= (wxCommandEvent
*) src
;
13850 return (void *) dest
;
13853 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13856 src
= (wxGridEvent
*) ptr
;
13857 dest
= (wxEvent
*) src
;
13858 return (void *) dest
;
13861 static void *SwigwxGridEventTowxObject(void *ptr
) {
13864 src
= (wxGridEvent
*) ptr
;
13865 dest
= (wxObject
*) src
;
13866 return (void *) dest
;
13869 #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))
13870 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
* _resultobj
;
13872 wxGridEvent
* _result
;
13876 int _arg3
= (int ) -1;
13877 int _arg4
= (int ) -1;
13878 int _arg5
= (int ) -1;
13879 int _arg6
= (int ) -1;
13880 bool _arg7
= (bool ) TRUE
;
13881 bool _arg8
= (bool ) FALSE
;
13882 bool _arg9
= (bool ) FALSE
;
13883 bool _arg10
= (bool ) FALSE
;
13884 bool _arg11
= (bool ) FALSE
;
13885 PyObject
* _argo2
= 0;
13886 int tempbool7
= (int) TRUE
;
13887 int tempbool8
= (int) FALSE
;
13888 int tempbool9
= (int) FALSE
;
13889 int tempbool10
= (int) FALSE
;
13890 int tempbool11
= (int) FALSE
;
13891 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13898 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13899 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13904 _arg7
= (bool ) tempbool7
;
13905 _arg8
= (bool ) tempbool8
;
13906 _arg9
= (bool ) tempbool9
;
13907 _arg10
= (bool ) tempbool10
;
13908 _arg11
= (bool ) tempbool11
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) return NULL
;
13916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13917 _resultobj
= Py_BuildValue("s",_ptemp
);
13919 Py_INCREF(Py_None
);
13920 _resultobj
= Py_None
;
13925 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13926 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
* _resultobj
;
13929 wxGridEvent
* _arg0
;
13930 PyObject
* _argo0
= 0;
13931 char *_kwnames
[] = { "self", NULL
};
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
13937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 _result
= (int )wxGridEvent_GetRow(_arg0
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) return NULL
;
13949 } _resultobj
= Py_BuildValue("i",_result
);
13953 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13954 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
* _resultobj
;
13957 wxGridEvent
* _arg0
;
13958 PyObject
* _argo0
= 0;
13959 char *_kwnames
[] = { "self", NULL
};
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 _result
= (int )wxGridEvent_GetCol(_arg0
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) return NULL
;
13977 } _resultobj
= Py_BuildValue("i",_result
);
13981 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13982 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
* _resultobj
;
13985 wxGridEvent
* _arg0
;
13986 PyObject
* _argo0
= 0;
13987 char *_kwnames
[] = { "self", NULL
};
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
13994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) return NULL
;
14006 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
14007 _resultobj
= Py_BuildValue("s",_ptemp
);
14011 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
14012 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
* _resultobj
;
14015 wxGridEvent
* _arg0
;
14016 PyObject
* _argo0
= 0;
14017 char *_kwnames
[] = { "self", NULL
};
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
14023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 _result
= (bool )wxGridEvent_Selecting(_arg0
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) return NULL
;
14035 } _resultobj
= Py_BuildValue("i",_result
);
14039 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14040 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
* _resultobj
;
14043 wxGridEvent
* _arg0
;
14044 PyObject
* _argo0
= 0;
14045 char *_kwnames
[] = { "self", NULL
};
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
14051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) return NULL
;
14063 } _resultobj
= Py_BuildValue("i",_result
);
14067 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14068 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
* _resultobj
;
14071 wxGridEvent
* _arg0
;
14072 PyObject
* _argo0
= 0;
14073 char *_kwnames
[] = { "self", NULL
};
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
14079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) return NULL
;
14091 } _resultobj
= Py_BuildValue("i",_result
);
14095 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14096 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
* _resultobj
;
14099 wxGridEvent
* _arg0
;
14100 PyObject
* _argo0
= 0;
14101 char *_kwnames
[] = { "self", NULL
};
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
14107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) return NULL
;
14119 } _resultobj
= Py_BuildValue("i",_result
);
14123 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
14124 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
* _resultobj
;
14127 wxGridEvent
* _arg0
;
14128 PyObject
* _argo0
= 0;
14129 char *_kwnames
[] = { "self", NULL
};
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
14135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 _result
= (bool )wxGridEvent_AltDown(_arg0
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) return NULL
;
14147 } _resultobj
= Py_BuildValue("i",_result
);
14151 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
14152 wxGridSizeEvent
*src
;
14153 wxNotifyEvent
*dest
;
14154 src
= (wxGridSizeEvent
*) ptr
;
14155 dest
= (wxNotifyEvent
*) src
;
14156 return (void *) dest
;
14159 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
14160 wxGridSizeEvent
*src
;
14161 wxCommandEvent
*dest
;
14162 src
= (wxGridSizeEvent
*) ptr
;
14163 dest
= (wxCommandEvent
*) src
;
14164 return (void *) dest
;
14167 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
14168 wxGridSizeEvent
*src
;
14170 src
= (wxGridSizeEvent
*) ptr
;
14171 dest
= (wxEvent
*) src
;
14172 return (void *) dest
;
14175 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
14176 wxGridSizeEvent
*src
;
14178 src
= (wxGridSizeEvent
*) ptr
;
14179 dest
= (wxObject
*) src
;
14180 return (void *) dest
;
14183 #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))
14184 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
* _resultobj
;
14186 wxGridSizeEvent
* _result
;
14190 int _arg3
= (int ) -1;
14191 int _arg4
= (int ) -1;
14192 int _arg5
= (int ) -1;
14193 bool _arg6
= (bool ) FALSE
;
14194 bool _arg7
= (bool ) FALSE
;
14195 bool _arg8
= (bool ) FALSE
;
14196 bool _arg9
= (bool ) FALSE
;
14197 PyObject
* _argo2
= 0;
14198 int tempbool6
= (int) FALSE
;
14199 int tempbool7
= (int) FALSE
;
14200 int tempbool8
= (int) FALSE
;
14201 int tempbool9
= (int) FALSE
;
14202 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14209 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14210 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
14215 _arg6
= (bool ) tempbool6
;
14216 _arg7
= (bool ) tempbool7
;
14217 _arg8
= (bool ) tempbool8
;
14218 _arg9
= (bool ) tempbool9
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) return NULL
;
14226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
14227 _resultobj
= Py_BuildValue("s",_ptemp
);
14229 Py_INCREF(Py_None
);
14230 _resultobj
= Py_None
;
14235 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
14236 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
* _resultobj
;
14239 wxGridSizeEvent
* _arg0
;
14240 PyObject
* _argo0
= 0;
14241 char *_kwnames
[] = { "self", NULL
};
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
14247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) return NULL
;
14259 } _resultobj
= Py_BuildValue("i",_result
);
14263 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14264 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
* _resultobj
;
14267 wxGridSizeEvent
* _arg0
;
14268 PyObject
* _argo0
= 0;
14269 char *_kwnames
[] = { "self", NULL
};
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
14276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) return NULL
;
14288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
14289 _resultobj
= Py_BuildValue("s",_ptemp
);
14293 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14294 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
* _resultobj
;
14297 wxGridSizeEvent
* _arg0
;
14298 PyObject
* _argo0
= 0;
14299 char *_kwnames
[] = { "self", NULL
};
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
14305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) return NULL
;
14317 } _resultobj
= Py_BuildValue("i",_result
);
14321 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14322 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
* _resultobj
;
14325 wxGridSizeEvent
* _arg0
;
14326 PyObject
* _argo0
= 0;
14327 char *_kwnames
[] = { "self", NULL
};
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
14333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) return NULL
;
14345 } _resultobj
= Py_BuildValue("i",_result
);
14349 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14350 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
* _resultobj
;
14353 wxGridSizeEvent
* _arg0
;
14354 PyObject
* _argo0
= 0;
14355 char *_kwnames
[] = { "self", NULL
};
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
14361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) return NULL
;
14373 } _resultobj
= Py_BuildValue("i",_result
);
14377 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14378 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
* _resultobj
;
14381 wxGridSizeEvent
* _arg0
;
14382 PyObject
* _argo0
= 0;
14383 char *_kwnames
[] = { "self", NULL
};
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
14389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) return NULL
;
14401 } _resultobj
= Py_BuildValue("i",_result
);
14405 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
14406 wxGridRangeSelectEvent
*src
;
14407 wxNotifyEvent
*dest
;
14408 src
= (wxGridRangeSelectEvent
*) ptr
;
14409 dest
= (wxNotifyEvent
*) src
;
14410 return (void *) dest
;
14413 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
14414 wxGridRangeSelectEvent
*src
;
14415 wxCommandEvent
*dest
;
14416 src
= (wxGridRangeSelectEvent
*) ptr
;
14417 dest
= (wxCommandEvent
*) src
;
14418 return (void *) dest
;
14421 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
14422 wxGridRangeSelectEvent
*src
;
14424 src
= (wxGridRangeSelectEvent
*) ptr
;
14425 dest
= (wxEvent
*) src
;
14426 return (void *) dest
;
14429 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
14430 wxGridRangeSelectEvent
*src
;
14432 src
= (wxGridRangeSelectEvent
*) ptr
;
14433 dest
= (wxObject
*) src
;
14434 return (void *) dest
;
14437 #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))
14438 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
* _resultobj
;
14440 wxGridRangeSelectEvent
* _result
;
14444 wxGridCellCoords
* _arg3
;
14445 wxGridCellCoords
* _arg4
;
14446 bool _arg5
= (bool ) TRUE
;
14447 bool _arg6
= (bool ) FALSE
;
14448 bool _arg7
= (bool ) FALSE
;
14449 bool _arg8
= (bool ) FALSE
;
14450 bool _arg9
= (bool ) FALSE
;
14451 PyObject
* _argo2
= 0;
14452 wxGridCellCoords temp
;
14453 PyObject
* _obj3
= 0;
14454 wxGridCellCoords temp0
;
14455 PyObject
* _obj4
= 0;
14456 int tempbool5
= (int) TRUE
;
14457 int tempbool6
= (int) FALSE
;
14458 int tempbool7
= (int) FALSE
;
14459 int tempbool8
= (int) FALSE
;
14460 int tempbool9
= (int) FALSE
;
14461 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14468 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14469 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14476 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
14481 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
14484 _arg5
= (bool ) tempbool5
;
14485 _arg6
= (bool ) tempbool6
;
14486 _arg7
= (bool ) tempbool7
;
14487 _arg8
= (bool ) tempbool8
;
14488 _arg9
= (bool ) tempbool9
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) return NULL
;
14496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
14497 _resultobj
= Py_BuildValue("s",_ptemp
);
14499 Py_INCREF(Py_None
);
14500 _resultobj
= Py_None
;
14505 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14506 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
* _resultobj
;
14508 wxGridCellCoords
* _result
;
14509 wxGridRangeSelectEvent
* _arg0
;
14510 PyObject
* _argo0
= 0;
14511 char *_kwnames
[] = { "self", NULL
};
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
14518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) return NULL
;
14530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14531 _resultobj
= Py_BuildValue("s",_ptemp
);
14535 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14536 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
* _resultobj
;
14538 wxGridCellCoords
* _result
;
14539 wxGridRangeSelectEvent
* _arg0
;
14540 PyObject
* _argo0
= 0;
14541 char *_kwnames
[] = { "self", NULL
};
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
14548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) return NULL
;
14560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14561 _resultobj
= Py_BuildValue("s",_ptemp
);
14565 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14566 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
* _resultobj
;
14569 wxGridRangeSelectEvent
* _arg0
;
14570 PyObject
* _argo0
= 0;
14571 char *_kwnames
[] = { "self", NULL
};
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
14577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) return NULL
;
14589 } _resultobj
= Py_BuildValue("i",_result
);
14593 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14594 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
* _resultobj
;
14597 wxGridRangeSelectEvent
* _arg0
;
14598 PyObject
* _argo0
= 0;
14599 char *_kwnames
[] = { "self", NULL
};
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
14605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) return NULL
;
14617 } _resultobj
= Py_BuildValue("i",_result
);
14621 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14622 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
* _resultobj
;
14625 wxGridRangeSelectEvent
* _arg0
;
14626 PyObject
* _argo0
= 0;
14627 char *_kwnames
[] = { "self", NULL
};
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
14633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) return NULL
;
14645 } _resultobj
= Py_BuildValue("i",_result
);
14649 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14650 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
* _resultobj
;
14653 wxGridRangeSelectEvent
* _arg0
;
14654 PyObject
* _argo0
= 0;
14655 char *_kwnames
[] = { "self", NULL
};
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
14661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) return NULL
;
14673 } _resultobj
= Py_BuildValue("i",_result
);
14677 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14678 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
* _resultobj
;
14681 wxGridRangeSelectEvent
* _arg0
;
14682 PyObject
* _argo0
= 0;
14683 char *_kwnames
[] = { "self", NULL
};
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
14689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) return NULL
;
14701 } _resultobj
= Py_BuildValue("i",_result
);
14705 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14706 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
* _resultobj
;
14709 wxGridRangeSelectEvent
* _arg0
;
14710 PyObject
* _argo0
= 0;
14711 char *_kwnames
[] = { "self", NULL
};
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
14717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) return NULL
;
14729 } _resultobj
= Py_BuildValue("i",_result
);
14733 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14734 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
* _resultobj
;
14737 wxGridRangeSelectEvent
* _arg0
;
14738 PyObject
* _argo0
= 0;
14739 char *_kwnames
[] = { "self", NULL
};
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
14745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) return NULL
;
14757 } _resultobj
= Py_BuildValue("i",_result
);
14761 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14762 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
* _resultobj
;
14765 wxGridRangeSelectEvent
* _arg0
;
14766 PyObject
* _argo0
= 0;
14767 char *_kwnames
[] = { "self", NULL
};
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
14773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) return NULL
;
14785 } _resultobj
= Py_BuildValue("i",_result
);
14789 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14790 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
* _resultobj
;
14793 wxGridRangeSelectEvent
* _arg0
;
14794 PyObject
* _argo0
= 0;
14795 char *_kwnames
[] = { "self", NULL
};
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
14801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) return NULL
;
14813 } _resultobj
= Py_BuildValue("i",_result
);
14817 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
14818 wxGridEditorCreatedEvent
*src
;
14819 wxCommandEvent
*dest
;
14820 src
= (wxGridEditorCreatedEvent
*) ptr
;
14821 dest
= (wxCommandEvent
*) src
;
14822 return (void *) dest
;
14825 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
14826 wxGridEditorCreatedEvent
*src
;
14828 src
= (wxGridEditorCreatedEvent
*) ptr
;
14829 dest
= (wxEvent
*) src
;
14830 return (void *) dest
;
14833 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
14834 wxGridEditorCreatedEvent
*src
;
14836 src
= (wxGridEditorCreatedEvent
*) ptr
;
14837 dest
= (wxObject
*) src
;
14838 return (void *) dest
;
14841 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14842 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
* _resultobj
;
14844 wxGridEditorCreatedEvent
* _result
;
14851 PyObject
* _argo2
= 0;
14852 PyObject
* _argo5
= 0;
14853 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14860 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14861 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14867 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14868 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) return NULL
;
14880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14881 _resultobj
= Py_BuildValue("s",_ptemp
);
14883 Py_INCREF(Py_None
);
14884 _resultobj
= Py_None
;
14889 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14890 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
* _resultobj
;
14893 wxGridEditorCreatedEvent
* _arg0
;
14894 PyObject
* _argo0
= 0;
14895 char *_kwnames
[] = { "self", NULL
};
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
14901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) return NULL
;
14913 } _resultobj
= Py_BuildValue("i",_result
);
14917 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14918 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
* _resultobj
;
14921 wxGridEditorCreatedEvent
* _arg0
;
14922 PyObject
* _argo0
= 0;
14923 char *_kwnames
[] = { "self", NULL
};
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
14929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) return NULL
;
14941 } _resultobj
= Py_BuildValue("i",_result
);
14945 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14946 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
* _resultobj
;
14948 wxControl
* _result
;
14949 wxGridEditorCreatedEvent
* _arg0
;
14950 PyObject
* _argo0
= 0;
14951 char *_kwnames
[] = { "self", NULL
};
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
14957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) return NULL
;
14969 }{ _resultobj
= wxPyMake_wxObject(_result
); }
14973 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14974 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
* _resultobj
;
14976 wxGridEditorCreatedEvent
* _arg0
;
14978 PyObject
* _argo0
= 0;
14979 char *_kwnames
[] = { "self","row", NULL
};
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
14985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) return NULL
;
14997 } Py_INCREF(Py_None
);
14998 _resultobj
= Py_None
;
15002 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
15003 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
* _resultobj
;
15005 wxGridEditorCreatedEvent
* _arg0
;
15007 PyObject
* _argo0
= 0;
15008 char *_kwnames
[] = { "self","col", NULL
};
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
15014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
15015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
15016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) return NULL
;
15026 } Py_INCREF(Py_None
);
15027 _resultobj
= Py_None
;
15031 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
15032 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
* _resultobj
;
15034 wxGridEditorCreatedEvent
* _arg0
;
15036 PyObject
* _argo0
= 0;
15037 PyObject
* _argo1
= 0;
15038 char *_kwnames
[] = { "self","ctrl", NULL
};
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
15044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
15045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
15046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
15051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
15052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
15053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) return NULL
;
15063 } Py_INCREF(Py_None
);
15064 _resultobj
= Py_None
;
15068 static PyMethodDef gridcMethods
[] = {
15069 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15070 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15071 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15072 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15073 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15074 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15075 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15076 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15077 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15078 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15079 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15080 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15081 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15082 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15083 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15084 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15085 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15086 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15087 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15088 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15089 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15090 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15091 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15092 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15093 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15094 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15095 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15096 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15097 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15098 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15099 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15100 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15101 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15102 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15103 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15104 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15105 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15106 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15107 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15108 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15109 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15110 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15111 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15112 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15113 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15114 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15115 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15116 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15117 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15118 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15119 { "wxGrid_DeselectCell", (PyCFunction
) _wrap_wxGrid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15120 { "wxGrid_DeselectCol", (PyCFunction
) _wrap_wxGrid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15121 { "wxGrid_DeselectRow", (PyCFunction
) _wrap_wxGrid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15122 { "wxGrid_GetSelectedCols", (PyCFunction
) _wrap_wxGrid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15123 { "wxGrid_GetSelectedRows", (PyCFunction
) _wrap_wxGrid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15124 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15125 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15126 { "wxGrid_GetSelectedCells", (PyCFunction
) _wrap_wxGrid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15127 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15128 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15129 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15130 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15131 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15132 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15133 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15134 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15135 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15136 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15137 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15138 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15139 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15140 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15141 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15142 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15143 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15144 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15145 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15146 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15147 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15148 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15149 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15150 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15151 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15152 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15153 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15154 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15155 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15156 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15157 { "wxGrid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_wxGrid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15158 { "wxGrid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_wxGrid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15159 { "wxGrid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15160 { "wxGrid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15161 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15162 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15163 { "wxGrid_AutoSizeColLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15164 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15165 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15166 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15167 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15168 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15169 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15170 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15171 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15172 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15173 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15174 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15175 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15176 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15177 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15178 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15179 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15180 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15181 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15182 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15183 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15184 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15185 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15186 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15187 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15188 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15189 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15190 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15191 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15192 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15193 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15194 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15195 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15196 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15197 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15198 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15199 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15200 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15201 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15202 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15203 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15204 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15205 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15206 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15207 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15208 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15209 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15210 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15211 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15212 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15213 { "wxGrid_SetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15214 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15215 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15216 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15217 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15218 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15219 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15220 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15221 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15222 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15223 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15224 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15225 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15226 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15227 { "wxGrid_GetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15228 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15229 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15230 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15231 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15232 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15233 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15234 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15235 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15236 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15237 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15238 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15239 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15240 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15241 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15242 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15243 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15244 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15245 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15246 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15247 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15248 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15249 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15250 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15251 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15252 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15253 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15254 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15255 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15256 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15257 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15258 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15259 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15260 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15261 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15262 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15263 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15264 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15265 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15266 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15267 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15268 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15269 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15270 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15271 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15272 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15273 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15274 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15275 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15276 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15277 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15278 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15279 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15280 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15281 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15282 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15283 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15284 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15285 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15286 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15287 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15288 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15289 { "wxGrid_GetSelectionMode", (PyCFunction
) _wrap_wxGrid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15290 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15291 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15292 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
15293 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
15294 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15295 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15296 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15297 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15298 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15299 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15300 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15301 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15302 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15303 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15304 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15305 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15306 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15307 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15308 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15309 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15310 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15311 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15312 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15313 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15314 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15315 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15316 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15317 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15318 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15319 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15320 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15321 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15322 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15323 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15324 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15325 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15326 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15327 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15328 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15329 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15330 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15331 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15332 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15333 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15334 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15335 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15336 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15337 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15338 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15339 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15340 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15341 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15342 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15343 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15344 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15345 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15346 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15347 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15348 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15349 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15350 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15351 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15352 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15353 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15354 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15355 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15356 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15357 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15358 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15359 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15360 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15361 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15362 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15363 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15364 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15365 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15366 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15367 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15368 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15369 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15370 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15371 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15372 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15373 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15374 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15375 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15376 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15377 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15378 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15379 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15380 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15381 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15382 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15383 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15384 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15385 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15386 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15387 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15388 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15389 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15390 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15391 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15392 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15393 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15394 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15395 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15396 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15397 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15398 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15399 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15400 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15401 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15402 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15403 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15404 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15405 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15406 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15407 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15408 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15409 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15410 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15411 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15412 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15413 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15414 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15415 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15416 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15417 { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_wxGridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15418 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15419 { "wxGridCellEnumEditor_GetValue", (PyCFunction
) _wrap_wxGridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15420 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15421 { "wxGridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_wxGridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15422 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15423 { "wxGridCellBoolEditor_GetValue", (PyCFunction
) _wrap_wxGridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15424 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15425 { "wxGridCellFloatEditor_GetValue", (PyCFunction
) _wrap_wxGridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15426 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15427 { "wxGridCellNumberEditor_GetValue", (PyCFunction
) _wrap_wxGridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15428 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15429 { "wxGridCellTextEditor_GetValue", (PyCFunction
) _wrap_wxGridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15430 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15431 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15432 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15433 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15434 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15435 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15436 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15437 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15438 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15439 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15440 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15441 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15442 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15443 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15444 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15445 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15446 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15447 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15448 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15449 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15450 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15451 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15452 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15453 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15454 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15455 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15456 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15457 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15458 { "wxGridCellEditor_SetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15459 { "wxGridCellEditor_GetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15460 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15461 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15462 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15463 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15464 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15465 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15466 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15467 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15468 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15469 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15470 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15471 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15472 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15473 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15474 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15475 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15476 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15477 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15478 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15479 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15480 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15481 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15482 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15483 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15484 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15491 * This table is used by the pointer type-checker
15493 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
15494 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
15495 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
15496 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
15497 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
15498 { "_signed_long","_long",0},
15499 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
15500 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15501 { "_wxPrintQuality","_wxCoord",0},
15502 { "_wxPrintQuality","_int",0},
15503 { "_wxPrintQuality","_signed_int",0},
15504 { "_wxPrintQuality","_unsigned_int",0},
15505 { "_wxPrintQuality","_wxWindowID",0},
15506 { "_wxPrintQuality","_uint",0},
15507 { "_wxPrintQuality","_EBool",0},
15508 { "_wxPrintQuality","_size_t",0},
15509 { "_wxPrintQuality","_time_t",0},
15510 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
15511 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
15512 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
15513 { "_byte","_unsigned_char",0},
15514 { "_long","_unsigned_long",0},
15515 { "_long","_signed_long",0},
15516 { "_size_t","_WXGRIDSELECTIONMODES",0},
15517 { "_size_t","_wxCoord",0},
15518 { "_size_t","_wxPrintQuality",0},
15519 { "_size_t","_time_t",0},
15520 { "_size_t","_unsigned_int",0},
15521 { "_size_t","_int",0},
15522 { "_size_t","_wxWindowID",0},
15523 { "_size_t","_uint",0},
15524 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
15525 { "_uint","_WXGRIDSELECTIONMODES",0},
15526 { "_uint","_wxCoord",0},
15527 { "_uint","_wxPrintQuality",0},
15528 { "_uint","_time_t",0},
15529 { "_uint","_size_t",0},
15530 { "_uint","_unsigned_int",0},
15531 { "_uint","_int",0},
15532 { "_uint","_wxWindowID",0},
15533 { "_wxChar","_char",0},
15534 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
15535 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
15536 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
15537 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
15538 { "_char","_wxChar",0},
15539 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
15540 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
15541 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
15542 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
15543 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
15544 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15545 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
15546 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
15547 { "_EBool","_WXGRIDSELECTIONMODES",0},
15548 { "_EBool","_wxCoord",0},
15549 { "_EBool","_wxPrintQuality",0},
15550 { "_EBool","_signed_int",0},
15551 { "_EBool","_int",0},
15552 { "_EBool","_wxWindowID",0},
15553 { "_unsigned_long","_long",0},
15554 { "_WXGRIDSELECTIONMODES","_int",0},
15555 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15556 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15557 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15558 { "_WXGRIDSELECTIONMODES","_uint",0},
15559 { "_WXGRIDSELECTIONMODES","_EBool",0},
15560 { "_WXGRIDSELECTIONMODES","_size_t",0},
15561 { "_WXGRIDSELECTIONMODES","_time_t",0},
15562 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15563 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15564 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15565 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15566 { "_signed_int","_wxCoord",0},
15567 { "_signed_int","_wxPrintQuality",0},
15568 { "_signed_int","_EBool",0},
15569 { "_signed_int","_wxWindowID",0},
15570 { "_signed_int","_int",0},
15571 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
15572 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
15573 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
15574 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
15575 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
15576 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
15577 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
15578 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
15579 { "_WXTYPE","_short",0},
15580 { "_WXTYPE","_signed_short",0},
15581 { "_WXTYPE","_unsigned_short",0},
15582 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
15583 { "_unsigned_short","_WXTYPE",0},
15584 { "_unsigned_short","_short",0},
15585 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
15586 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
15587 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
15588 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
15589 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
15590 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
15591 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
15592 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
15593 { "_signed_short","_WXTYPE",0},
15594 { "_signed_short","_short",0},
15595 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
15596 { "_unsigned_char","_byte",0},
15597 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15598 { "_unsigned_int","_wxCoord",0},
15599 { "_unsigned_int","_wxPrintQuality",0},
15600 { "_unsigned_int","_time_t",0},
15601 { "_unsigned_int","_size_t",0},
15602 { "_unsigned_int","_uint",0},
15603 { "_unsigned_int","_wxWindowID",0},
15604 { "_unsigned_int","_int",0},
15605 { "_short","_WXTYPE",0},
15606 { "_short","_unsigned_short",0},
15607 { "_short","_signed_short",0},
15608 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15609 { "_wxWindowID","_wxCoord",0},
15610 { "_wxWindowID","_wxPrintQuality",0},
15611 { "_wxWindowID","_time_t",0},
15612 { "_wxWindowID","_size_t",0},
15613 { "_wxWindowID","_EBool",0},
15614 { "_wxWindowID","_uint",0},
15615 { "_wxWindowID","_int",0},
15616 { "_wxWindowID","_signed_int",0},
15617 { "_wxWindowID","_unsigned_int",0},
15618 { "_int","_WXGRIDSELECTIONMODES",0},
15619 { "_int","_wxCoord",0},
15620 { "_int","_wxPrintQuality",0},
15621 { "_int","_time_t",0},
15622 { "_int","_size_t",0},
15623 { "_int","_EBool",0},
15624 { "_int","_uint",0},
15625 { "_int","_wxWindowID",0},
15626 { "_int","_unsigned_int",0},
15627 { "_int","_signed_int",0},
15628 { "_time_t","_WXGRIDSELECTIONMODES",0},
15629 { "_time_t","_wxCoord",0},
15630 { "_time_t","_wxPrintQuality",0},
15631 { "_time_t","_unsigned_int",0},
15632 { "_time_t","_int",0},
15633 { "_time_t","_wxWindowID",0},
15634 { "_time_t","_uint",0},
15635 { "_time_t","_size_t",0},
15636 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15637 { "_wxCoord","_int",0},
15638 { "_wxCoord","_signed_int",0},
15639 { "_wxCoord","_unsigned_int",0},
15640 { "_wxCoord","_wxWindowID",0},
15641 { "_wxCoord","_uint",0},
15642 { "_wxCoord","_EBool",0},
15643 { "_wxCoord","_size_t",0},
15644 { "_wxCoord","_time_t",0},
15645 { "_wxCoord","_wxPrintQuality",0},
15646 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
15647 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
15648 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
15649 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
15650 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
15651 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
15652 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
15653 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
15654 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
15655 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
15656 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
15657 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
15658 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
15661 static PyObject
*SWIG_globals
;
15665 SWIGEXPORT(void) initgridc() {
15667 SWIG_globals
= SWIG_newvarlink();
15668 m
= Py_InitModule("gridc", gridcMethods
);
15669 d
= PyModule_GetDict(m
);
15670 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15671 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15672 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15673 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15674 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15675 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15676 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15677 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15678 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15679 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
15680 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
15681 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
15682 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
15683 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
15684 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
15685 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
15686 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
15687 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
15688 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
15689 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
15690 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
15691 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
15692 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
15693 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
15694 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
15695 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
15696 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
15697 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15698 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
15699 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
15700 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
15701 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
15702 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
15703 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
15704 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
15705 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
15707 wxClassInfo::CleanUpClasses();
15708 wxClassInfo::InitializeClasses();
15709 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
15710 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
15711 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
15712 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
15713 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
15714 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
15715 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
15716 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
15717 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
15720 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
15721 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);