2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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
;
4359 PyObject
* _argo0
= 0;
4360 PyObject
* _argo1
= 0;
4361 PyObject
* _argo2
= 0;
4362 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellAttr_GetSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
4382 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxGridCellAttr_GetSize(_arg0
,_arg1
,_arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4400 static PyObject
*_wrap_wxGridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4403 wxGridCellAttr
* _arg0
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetOverflow",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 _result
= (bool )wxGridCellAttr_GetOverflow(_arg0
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) return NULL
;
4423 } _resultobj
= Py_BuildValue("i",_result
);
4427 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4428 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4430 wxGridCellRenderer
* _result
;
4431 wxGridCellAttr
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 PyObject
* _argo1
= 0;
4437 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4462 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4466 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4467 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxGridCellEditor
* _result
;
4470 wxGridCellAttr
* _arg0
;
4474 PyObject
* _argo0
= 0;
4475 PyObject
* _argo1
= 0;
4476 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) return NULL
;
4501 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4505 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4506 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4509 wxGridCellAttr
* _arg0
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) return NULL
;
4529 } _resultobj
= Py_BuildValue("i",_result
);
4533 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4534 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4536 wxGridCellAttr
* _arg0
;
4537 wxGridCellAttr
* _arg1
;
4538 PyObject
* _argo0
= 0;
4539 PyObject
* _argo1
= 0;
4540 char *_kwnames
[] = { "self","defAttr", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } Py_INCREF(Py_None
);
4566 _resultobj
= Py_None
;
4570 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4571 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4573 wxGridCellAttrProvider
* _result
;
4574 char *_kwnames
[] = { NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4597 self
->SetClientObject(new wxPyOORClientData(_self
));
4599 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4601 wxGridCellAttrProvider
* _arg0
;
4603 PyObject
* _argo0
= 0;
4604 PyObject
* _obj1
= 0;
4605 char *_kwnames
[] = { "self","_self", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4632 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4634 wxGridCellAttr
* _result
;
4635 wxGridCellAttrProvider
* _arg0
;
4638 wxGridCellAttr::wxAttrKind _arg3
;
4639 PyObject
* _argo0
= 0;
4640 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) return NULL
;
4658 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4662 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4663 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4665 wxGridCellAttrProvider
* _arg0
;
4666 wxGridCellAttr
* _arg1
;
4669 PyObject
* _argo0
= 0;
4670 PyObject
* _argo1
= 0;
4671 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4702 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4704 wxGridCellAttrProvider
* _arg0
;
4705 wxGridCellAttr
* _arg1
;
4707 PyObject
* _argo0
= 0;
4708 PyObject
* _argo1
= 0;
4709 char *_kwnames
[] = { "self","attr","row", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4740 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4742 wxGridCellAttrProvider
* _arg0
;
4743 wxGridCellAttr
* _arg1
;
4745 PyObject
* _argo0
= 0;
4746 PyObject
* _argo1
= 0;
4747 char *_kwnames
[] = { "self","attr","col", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4777 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4778 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4780 wxGridCellAttrProvider
* _arg0
;
4783 PyObject
* _argo0
= 0;
4784 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) return NULL
;
4802 } Py_INCREF(Py_None
);
4803 _resultobj
= Py_None
;
4807 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4808 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
* _resultobj
;
4810 wxGridCellAttrProvider
* _arg0
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4838 wxPyGridCellAttrProvider
*src
;
4839 wxGridCellAttrProvider
*dest
;
4840 src
= (wxPyGridCellAttrProvider
*) ptr
;
4841 dest
= (wxGridCellAttrProvider
*) src
;
4842 return (void *) dest
;
4845 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4846 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 wxPyGridCellAttrProvider
* _result
;
4849 char *_kwnames
[] = { NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4863 _resultobj
= Py_BuildValue("s",_ptemp
);
4866 _resultobj
= Py_None
;
4871 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4872 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 wxPyGridCellAttrProvider
* _arg0
;
4877 PyObject
* _argo0
= 0;
4878 PyObject
* _obj1
= 0;
4879 PyObject
* _obj2
= 0;
4880 char *_kwnames
[] = { "self","self","_class", NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) return NULL
;
4904 } Py_INCREF(Py_None
);
4905 _resultobj
= Py_None
;
4909 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4910 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4912 wxGridCellAttr
* _result
;
4913 wxPyGridCellAttrProvider
* _arg0
;
4916 wxGridCellAttr::wxAttrKind _arg3
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) return NULL
;
4936 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4940 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4941 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4943 wxPyGridCellAttrProvider
* _arg0
;
4944 wxGridCellAttr
* _arg1
;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _argo1
= 0;
4949 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } Py_INCREF(Py_None
);
4975 _resultobj
= Py_None
;
4979 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4980 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4982 wxPyGridCellAttrProvider
* _arg0
;
4983 wxGridCellAttr
* _arg1
;
4985 PyObject
* _argo0
= 0;
4986 PyObject
* _argo1
= 0;
4987 char *_kwnames
[] = { "self","attr","row", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
5000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) return NULL
;
5012 } Py_INCREF(Py_None
);
5013 _resultobj
= Py_None
;
5017 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5018 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5020 wxPyGridCellAttrProvider
* _arg0
;
5021 wxGridCellAttr
* _arg1
;
5023 PyObject
* _argo0
= 0;
5024 PyObject
* _argo1
= 0;
5025 char *_kwnames
[] = { "self","attr","col", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
5038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) return NULL
;
5050 } Py_INCREF(Py_None
);
5051 _resultobj
= Py_None
;
5055 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
5056 wxGridTableBase
*src
;
5058 src
= (wxGridTableBase
*) ptr
;
5059 dest
= (wxObject
*) src
;
5060 return (void *) dest
;
5063 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
5064 self
->SetClientObject(new wxPyOORClientData(_self
));
5066 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5068 wxGridTableBase
* _arg0
;
5070 PyObject
* _argo0
= 0;
5071 PyObject
* _obj1
= 0;
5072 char *_kwnames
[] = { "self","_self", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } Py_INCREF(Py_None
);
5094 _resultobj
= Py_None
;
5098 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
5099 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5101 wxGridTableBase
* _arg0
;
5102 wxGridCellAttrProvider
* _arg1
;
5103 PyObject
* _argo0
= 0;
5104 PyObject
* _argo1
= 0;
5105 char *_kwnames
[] = { "self","attrProvider", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
5118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
5120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) return NULL
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5135 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
5136 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 wxGridCellAttrProvider
* _result
;
5139 wxGridTableBase
* _arg0
;
5140 PyObject
* _argo0
= 0;
5141 char *_kwnames
[] = { "self", NULL
};
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
5147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5159 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
5163 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
5164 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5166 wxGridTableBase
* _arg0
;
5168 PyObject
* _argo0
= 0;
5169 PyObject
* _argo1
= 0;
5170 char *_kwnames
[] = { "self","grid", NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
5176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
5183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 wxGridTableBase_SetView(_arg0
,_arg1
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) return NULL
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5201 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5204 wxGridTableBase
* _arg0
;
5205 PyObject
* _argo0
= 0;
5206 char *_kwnames
[] = { "self", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5224 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5228 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5229 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5232 wxGridTableBase
* _arg0
;
5233 PyObject
* _argo0
= 0;
5234 char *_kwnames
[] = { "self", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
5240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) return NULL
;
5252 } _resultobj
= Py_BuildValue("i",_result
);
5256 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5257 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5260 wxGridTableBase
* _arg0
;
5261 PyObject
* _argo0
= 0;
5262 char *_kwnames
[] = { "self", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } _resultobj
= Py_BuildValue("i",_result
);
5284 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5285 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5288 wxGridTableBase
* _arg0
;
5291 PyObject
* _argo0
= 0;
5292 char *_kwnames
[] = { "self","row","col", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5314 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5315 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5318 wxGridTableBase
* _arg0
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self","row","col", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5342 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5344 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5353 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5354 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5356 wxGridTableBase
* _arg0
;
5360 PyObject
* _argo0
= 0;
5361 PyObject
* _obj3
= 0;
5362 char *_kwnames
[] = { "self","row","col","value", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5375 _arg3
= wxString_in_helper(_obj3
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) return NULL
;
5385 } Py_INCREF(Py_None
);
5386 _resultobj
= Py_None
;
5394 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5395 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5398 wxGridTableBase
* _arg0
;
5401 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self","row","col", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5422 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5433 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5434 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5437 wxGridTableBase
* _arg0
;
5441 PyObject
* _argo0
= 0;
5442 PyObject
* _obj3
= 0;
5443 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5456 _arg3
= wxString_in_helper(_obj3
);
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) return NULL
;
5466 } _resultobj
= Py_BuildValue("i",_result
);
5474 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5475 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5478 wxGridTableBase
* _arg0
;
5482 PyObject
* _argo0
= 0;
5483 PyObject
* _obj3
= 0;
5484 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5497 _arg3
= wxString_in_helper(_obj3
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5507 } _resultobj
= Py_BuildValue("i",_result
);
5515 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5516 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5519 wxGridTableBase
* _arg0
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self","row","col", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) return NULL
;
5541 } _resultobj
= Py_BuildValue("l",_result
);
5545 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5546 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5549 wxGridTableBase
* _arg0
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self","row","col", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) return NULL
;
5571 } _resultobj
= Py_BuildValue("d",_result
);
5575 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5576 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5579 wxGridTableBase
* _arg0
;
5582 PyObject
* _argo0
= 0;
5583 char *_kwnames
[] = { "self","row","col", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } _resultobj
= Py_BuildValue("i",_result
);
5605 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5606 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5608 wxGridTableBase
* _arg0
;
5612 PyObject
* _argo0
= 0;
5613 char *_kwnames
[] = { "self","row","col","value", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } Py_INCREF(Py_None
);
5632 _resultobj
= Py_None
;
5636 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5637 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5639 wxGridTableBase
* _arg0
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self","row","col","value", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) return NULL
;
5662 } Py_INCREF(Py_None
);
5663 _resultobj
= Py_None
;
5667 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5668 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5670 wxGridTableBase
* _arg0
;
5674 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self","row","col","value", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5688 _arg3
= (bool ) tempbool3
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5701 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5703 wxGridTableBase
* _arg0
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 wxGridTableBase_Clear(_arg0
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5723 } Py_INCREF(Py_None
);
5724 _resultobj
= Py_None
;
5728 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5729 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5732 wxGridTableBase
* _arg0
;
5733 size_t _arg1
= (size_t ) 0;
5734 size_t _arg2
= (size_t ) 1;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) return NULL
;
5754 } _resultobj
= Py_BuildValue("i",_result
);
5758 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5759 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5762 wxGridTableBase
* _arg0
;
5763 size_t _arg1
= (size_t ) 1;
5764 PyObject
* _argo0
= 0;
5765 char *_kwnames
[] = { "self","numRows", NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } _resultobj
= Py_BuildValue("i",_result
);
5787 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5788 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5791 wxGridTableBase
* _arg0
;
5792 size_t _arg1
= (size_t ) 0;
5793 size_t _arg2
= (size_t ) 1;
5794 PyObject
* _argo0
= 0;
5795 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } _resultobj
= Py_BuildValue("i",_result
);
5817 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5818 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5821 wxGridTableBase
* _arg0
;
5822 size_t _arg1
= (size_t ) 0;
5823 size_t _arg2
= (size_t ) 1;
5824 PyObject
* _argo0
= 0;
5825 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) return NULL
;
5843 } _resultobj
= Py_BuildValue("i",_result
);
5847 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5848 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5851 wxGridTableBase
* _arg0
;
5852 size_t _arg1
= (size_t ) 1;
5853 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self","numCols", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) return NULL
;
5872 } _resultobj
= Py_BuildValue("i",_result
);
5876 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5877 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5880 wxGridTableBase
* _arg0
;
5881 size_t _arg1
= (size_t ) 0;
5882 size_t _arg2
= (size_t ) 1;
5883 PyObject
* _argo0
= 0;
5884 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) return NULL
;
5902 } _resultobj
= Py_BuildValue("i",_result
);
5906 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5907 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5910 wxGridTableBase
* _arg0
;
5912 PyObject
* _argo0
= 0;
5913 char *_kwnames
[] = { "self","row", NULL
};
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) return NULL
;
5933 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5935 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5944 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5945 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5948 wxGridTableBase
* _arg0
;
5950 PyObject
* _argo0
= 0;
5951 char *_kwnames
[] = { "self","col", NULL
};
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) return NULL
;
5971 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5982 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5983 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5985 wxGridTableBase
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 PyObject
* _obj2
= 0;
5990 char *_kwnames
[] = { "self","row","value", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
6003 _arg2
= wxString_in_helper(_obj2
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) return NULL
;
6013 } Py_INCREF(Py_None
);
6014 _resultobj
= Py_None
;
6022 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
6023 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
* _resultobj
;
6025 wxGridTableBase
* _arg0
;
6028 PyObject
* _argo0
= 0;
6029 PyObject
* _obj2
= 0;
6030 char *_kwnames
[] = { "self","col","value", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
6043 _arg2
= wxString_in_helper(_obj2
);
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) return NULL
;
6053 } Py_INCREF(Py_None
);
6054 _resultobj
= Py_None
;
6062 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
6063 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
* _resultobj
;
6066 wxGridTableBase
* _arg0
;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "self", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6086 } _resultobj
= Py_BuildValue("i",_result
);
6090 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
6091 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxGridCellAttr
* _result
;
6094 wxGridTableBase
* _arg0
;
6097 wxGridCellAttr::wxAttrKind _arg3
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6117 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6121 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
6122 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
* _resultobj
;
6124 wxGridTableBase
* _arg0
;
6125 wxGridCellAttr
* _arg1
;
6128 PyObject
* _argo0
= 0;
6129 PyObject
* _argo1
= 0;
6130 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
6143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) return NULL
;
6155 } Py_INCREF(Py_None
);
6156 _resultobj
= Py_None
;
6160 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
6161 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6163 wxGridTableBase
* _arg0
;
6164 wxGridCellAttr
* _arg1
;
6166 PyObject
* _argo0
= 0;
6167 PyObject
* _argo1
= 0;
6168 char *_kwnames
[] = { "self","attr","row", NULL
};
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
6181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) return NULL
;
6193 } Py_INCREF(Py_None
);
6194 _resultobj
= Py_None
;
6198 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6199 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6201 wxGridTableBase
* _arg0
;
6202 wxGridCellAttr
* _arg1
;
6204 PyObject
* _argo0
= 0;
6205 PyObject
* _argo1
= 0;
6206 char *_kwnames
[] = { "self","attr","col", NULL
};
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) return NULL
;
6231 } Py_INCREF(Py_None
);
6232 _resultobj
= Py_None
;
6236 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
6237 wxPyGridTableBase
*src
;
6238 wxGridTableBase
*dest
;
6239 src
= (wxPyGridTableBase
*) ptr
;
6240 dest
= (wxGridTableBase
*) src
;
6241 return (void *) dest
;
6244 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
6245 wxPyGridTableBase
*src
;
6247 src
= (wxPyGridTableBase
*) ptr
;
6248 dest
= (wxObject
*) src
;
6249 return (void *) dest
;
6252 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6253 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6255 wxPyGridTableBase
* _result
;
6256 char *_kwnames
[] = { NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) return NULL
;
6269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
6270 _resultobj
= Py_BuildValue("s",_ptemp
);
6273 _resultobj
= Py_None
;
6278 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6279 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxPyGridTableBase
* _arg0
;
6284 PyObject
* _argo0
= 0;
6285 PyObject
* _obj1
= 0;
6286 PyObject
* _obj2
= 0;
6287 char *_kwnames
[] = { "self","self","_class", NULL
};
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6311 } Py_INCREF(Py_None
);
6312 _resultobj
= Py_None
;
6316 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
6317 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6319 wxPyGridTableBase
* _arg0
;
6320 PyObject
* _argo0
= 0;
6321 char *_kwnames
[] = { "self", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 wxPyGridTableBase_Destroy(_arg0
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) return NULL
;
6339 } Py_INCREF(Py_None
);
6340 _resultobj
= Py_None
;
6344 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6345 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6348 wxPyGridTableBase
* _arg0
;
6351 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self","row","col", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) return NULL
;
6372 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6383 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6384 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6387 wxPyGridTableBase
* _arg0
;
6391 PyObject
* _argo0
= 0;
6392 PyObject
* _obj3
= 0;
6393 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6406 _arg3
= wxString_in_helper(_obj3
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) return NULL
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6424 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6425 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6428 wxPyGridTableBase
* _arg0
;
6432 PyObject
* _argo0
= 0;
6433 PyObject
* _obj3
= 0;
6434 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6447 _arg3
= wxString_in_helper(_obj3
);
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6465 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6466 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
* _resultobj
;
6468 wxPyGridTableBase
* _arg0
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 wxPyGridTableBase_base_Clear(_arg0
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) return NULL
;
6488 } Py_INCREF(Py_None
);
6489 _resultobj
= Py_None
;
6493 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6494 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
* _resultobj
;
6497 wxPyGridTableBase
* _arg0
;
6498 size_t _arg1
= (size_t ) 0;
6499 size_t _arg2
= (size_t ) 1;
6500 PyObject
* _argo0
= 0;
6501 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6524 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6527 wxPyGridTableBase
* _arg0
;
6528 size_t _arg1
= (size_t ) 1;
6529 PyObject
* _argo0
= 0;
6530 char *_kwnames
[] = { "self","numRows", NULL
};
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) return NULL
;
6548 } _resultobj
= Py_BuildValue("i",_result
);
6552 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6553 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6556 wxPyGridTableBase
* _arg0
;
6557 size_t _arg1
= (size_t ) 0;
6558 size_t _arg2
= (size_t ) 1;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6578 } _resultobj
= Py_BuildValue("i",_result
);
6582 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6583 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6586 wxPyGridTableBase
* _arg0
;
6587 size_t _arg1
= (size_t ) 0;
6588 size_t _arg2
= (size_t ) 1;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 } _resultobj
= Py_BuildValue("i",_result
);
6612 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6613 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6616 wxPyGridTableBase
* _arg0
;
6617 size_t _arg1
= (size_t ) 1;
6618 PyObject
* _argo0
= 0;
6619 char *_kwnames
[] = { "self","numCols", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) return NULL
;
6637 } _resultobj
= Py_BuildValue("i",_result
);
6641 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6642 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6645 wxPyGridTableBase
* _arg0
;
6646 size_t _arg1
= (size_t ) 0;
6647 size_t _arg2
= (size_t ) 1;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6672 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6675 wxPyGridTableBase
* _arg0
;
6677 PyObject
* _argo0
= 0;
6678 char *_kwnames
[] = { "self","row", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) return NULL
;
6698 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6709 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6710 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6713 wxPyGridTableBase
* _arg0
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self","col", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) return NULL
;
6736 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6747 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6748 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6750 wxPyGridTableBase
* _arg0
;
6753 PyObject
* _argo0
= 0;
6754 PyObject
* _obj2
= 0;
6755 char *_kwnames
[] = { "self","row","value", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6768 _arg2
= wxString_in_helper(_obj2
);
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) return NULL
;
6778 } Py_INCREF(Py_None
);
6779 _resultobj
= Py_None
;
6787 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6788 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6790 wxPyGridTableBase
* _arg0
;
6793 PyObject
* _argo0
= 0;
6794 PyObject
* _obj2
= 0;
6795 char *_kwnames
[] = { "self","col","value", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6808 _arg2
= wxString_in_helper(_obj2
);
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) return NULL
;
6818 } Py_INCREF(Py_None
);
6819 _resultobj
= Py_None
;
6827 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6828 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6831 wxPyGridTableBase
* _arg0
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) return NULL
;
6851 } _resultobj
= Py_BuildValue("i",_result
);
6855 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6856 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6858 wxGridCellAttr
* _result
;
6859 wxPyGridTableBase
* _arg0
;
6862 wxGridCellAttr::wxAttrKind _arg3
;
6863 PyObject
* _argo0
= 0;
6864 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) return NULL
;
6882 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6886 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6887 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
* _resultobj
;
6889 wxPyGridTableBase
* _arg0
;
6890 wxGridCellAttr
* _arg1
;
6893 PyObject
* _argo0
= 0;
6894 PyObject
* _argo1
= 0;
6895 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6920 } Py_INCREF(Py_None
);
6921 _resultobj
= Py_None
;
6925 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6926 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6928 wxPyGridTableBase
* _arg0
;
6929 wxGridCellAttr
* _arg1
;
6931 PyObject
* _argo0
= 0;
6932 PyObject
* _argo1
= 0;
6933 char *_kwnames
[] = { "self","attr","row", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } Py_INCREF(Py_None
);
6959 _resultobj
= Py_None
;
6963 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6964 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxPyGridTableBase
* _arg0
;
6967 wxGridCellAttr
* _arg1
;
6969 PyObject
* _argo0
= 0;
6970 PyObject
* _argo1
= 0;
6971 char *_kwnames
[] = { "self","attr","col", NULL
};
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } Py_INCREF(Py_None
);
6997 _resultobj
= Py_None
;
7001 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
7002 wxGridStringTable
*src
;
7003 wxGridTableBase
*dest
;
7004 src
= (wxGridStringTable
*) ptr
;
7005 dest
= (wxGridTableBase
*) src
;
7006 return (void *) dest
;
7009 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
7010 wxGridStringTable
*src
;
7012 src
= (wxGridStringTable
*) ptr
;
7013 dest
= (wxObject
*) src
;
7014 return (void *) dest
;
7017 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
7018 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7020 wxGridStringTable
* _result
;
7021 int _arg0
= (int ) 0;
7022 int _arg1
= (int ) 0;
7023 char *_kwnames
[] = { "numRows","numCols", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
7037 _resultobj
= Py_BuildValue("s",_ptemp
);
7040 _resultobj
= Py_None
;
7045 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7046 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxGridTableMessage
* _result
;
7049 wxGridTableBase
* _arg0
;
7051 int _arg2
= (int ) -1;
7052 int _arg3
= (int ) -1;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) return NULL
;
7074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
7075 _resultobj
= Py_BuildValue("s",_ptemp
);
7078 _resultobj
= Py_None
;
7083 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
7084 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7086 wxGridTableMessage
* _arg0
;
7087 PyObject
* _argo0
= 0;
7088 char *_kwnames
[] = { "self", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 delete_wxGridTableMessage(_arg0
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } Py_INCREF(Py_None
);
7107 _resultobj
= Py_None
;
7111 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
7112 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7114 wxGridTableMessage
* _arg0
;
7115 wxGridTableBase
* _arg1
;
7116 PyObject
* _argo0
= 0;
7117 PyObject
* _argo1
= 0;
7118 char *_kwnames
[] = { "self","table", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
7124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
7131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) return NULL
;
7143 } Py_INCREF(Py_None
);
7144 _resultobj
= Py_None
;
7148 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
7149 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7151 wxGridTableBase
* _result
;
7152 wxGridTableMessage
* _arg0
;
7153 PyObject
* _argo0
= 0;
7154 char *_kwnames
[] = { "self", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) return NULL
;
7172 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7176 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7177 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7179 wxGridTableMessage
* _arg0
;
7181 PyObject
* _argo0
= 0;
7182 char *_kwnames
[] = { "self","id", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
7188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 wxGridTableMessage_SetId(_arg0
,_arg1
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) return NULL
;
7200 } Py_INCREF(Py_None
);
7201 _resultobj
= Py_None
;
7205 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7206 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
* _resultobj
;
7209 wxGridTableMessage
* _arg0
;
7210 PyObject
* _argo0
= 0;
7211 char *_kwnames
[] = { "self", NULL
};
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
7217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 _result
= (int )wxGridTableMessage_GetId(_arg0
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) return NULL
;
7229 } _resultobj
= Py_BuildValue("i",_result
);
7233 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7234 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
* _resultobj
;
7236 wxGridTableMessage
* _arg0
;
7238 PyObject
* _argo0
= 0;
7239 char *_kwnames
[] = { "self","comInt1", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) return NULL
;
7257 } Py_INCREF(Py_None
);
7258 _resultobj
= Py_None
;
7262 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7263 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7266 wxGridTableMessage
* _arg0
;
7267 PyObject
* _argo0
= 0;
7268 char *_kwnames
[] = { "self", NULL
};
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
7274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) return NULL
;
7286 } _resultobj
= Py_BuildValue("i",_result
);
7290 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7291 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
* _resultobj
;
7293 wxGridTableMessage
* _arg0
;
7295 PyObject
* _argo0
= 0;
7296 char *_kwnames
[] = { "self","comInt2", NULL
};
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
7302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) return NULL
;
7314 } Py_INCREF(Py_None
);
7315 _resultobj
= Py_None
;
7319 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7320 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7323 wxGridTableMessage
* _arg0
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) return NULL
;
7343 } _resultobj
= Py_BuildValue("i",_result
);
7347 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7348 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7350 wxGridCellCoords
* _result
;
7351 int _arg0
= (int ) -1;
7352 int _arg1
= (int ) -1;
7353 char *_kwnames
[] = { "r","c", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) return NULL
;
7366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7367 _resultobj
= Py_BuildValue("s",_ptemp
);
7370 _resultobj
= Py_None
;
7375 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7376 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7378 wxGridCellCoords
* _arg0
;
7379 PyObject
* _argo0
= 0;
7380 char *_kwnames
[] = { "self", NULL
};
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
7386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 delete_wxGridCellCoords(_arg0
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) return NULL
;
7398 } Py_INCREF(Py_None
);
7399 _resultobj
= Py_None
;
7403 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7404 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7407 wxGridCellCoords
* _arg0
;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } _resultobj
= Py_BuildValue("i",_result
);
7431 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7432 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7434 wxGridCellCoords
* _arg0
;
7436 PyObject
* _argo0
= 0;
7437 char *_kwnames
[] = { "self","n", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 wxGridCellCoords_SetRow(_arg0
,_arg1
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) return NULL
;
7455 } Py_INCREF(Py_None
);
7456 _resultobj
= Py_None
;
7460 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7461 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
* _resultobj
;
7464 wxGridCellCoords
* _arg0
;
7465 PyObject
* _argo0
= 0;
7466 char *_kwnames
[] = { "self", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } _resultobj
= Py_BuildValue("i",_result
);
7488 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7489 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
* _resultobj
;
7491 wxGridCellCoords
* _arg0
;
7493 PyObject
* _argo0
= 0;
7494 char *_kwnames
[] = { "self","n", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } Py_INCREF(Py_None
);
7513 _resultobj
= Py_None
;
7517 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7518 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7520 wxGridCellCoords
* _arg0
;
7523 PyObject
* _argo0
= 0;
7524 char *_kwnames
[] = { "self","row","col", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } Py_INCREF(Py_None
);
7543 _resultobj
= Py_None
;
7547 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7548 PyObject
* tup
= PyTuple_New(2);
7549 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7550 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7553 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
* _resultobj
;
7556 wxGridCellCoords
* _arg0
;
7557 PyObject
* _argo0
= 0;
7558 char *_kwnames
[] = { "self", NULL
};
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) return NULL
;
7577 _resultobj
= _result
;
7582 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7583 return *self
!= other
;
7585 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
* _resultobj
;
7588 wxGridCellCoords
* _arg0
;
7589 wxGridCellCoords
* _arg1
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _argo1
= 0;
7592 char *_kwnames
[] = { "self","other", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7605 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) return NULL
;
7616 } _resultobj
= Py_BuildValue("i",_result
);
7620 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7622 wxScrolledWindow
*dest
;
7623 src
= (wxGrid
*) ptr
;
7624 dest
= (wxScrolledWindow
*) src
;
7625 return (void *) dest
;
7628 static void *SwigwxGridTowxPanel(void *ptr
) {
7631 src
= (wxGrid
*) ptr
;
7632 dest
= (wxPanel
*) src
;
7633 return (void *) dest
;
7636 static void *SwigwxGridTowxWindow(void *ptr
) {
7639 src
= (wxGrid
*) ptr
;
7640 dest
= (wxWindow
*) src
;
7641 return (void *) dest
;
7644 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7647 src
= (wxGrid
*) ptr
;
7648 dest
= (wxEvtHandler
*) src
;
7649 return (void *) dest
;
7652 static void *SwigwxGridTowxObject(void *ptr
) {
7655 src
= (wxGrid
*) ptr
;
7656 dest
= (wxObject
*) src
;
7657 return (void *) dest
;
7660 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7661 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7666 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7667 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7668 long _arg4
= (long ) wxWANTS_CHARS
;
7669 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7670 PyObject
* _argo0
= 0;
7672 PyObject
* _obj2
= 0;
7674 PyObject
* _obj3
= 0;
7675 PyObject
* _obj5
= 0;
7676 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7692 if (! wxPoint_helper(_obj2
, &_arg2
))
7698 if (! wxSize_helper(_obj3
, &_arg3
))
7703 _arg5
= wxString_in_helper(_obj5
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) return NULL
;
7714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7715 _resultobj
= Py_BuildValue("s",_ptemp
);
7718 _resultobj
= Py_None
;
7727 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7728 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7734 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7735 PyObject
* _argo0
= 0;
7736 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) return NULL
;
7754 } _resultobj
= Py_BuildValue("i",_result
);
7758 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7759 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7762 WXGRIDSELECTIONMODES _arg1
;
7763 PyObject
* _argo0
= 0;
7764 char *_kwnames
[] = { "self","selmode", NULL
};
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) return NULL
;
7782 } Py_INCREF(Py_None
);
7783 _resultobj
= Py_None
;
7787 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7788 static PyObject
*_wrap_wxGrid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
* _resultobj
;
7790 WXGRIDSELECTIONMODES _result
;
7792 PyObject
* _argo0
= 0;
7793 char *_kwnames
[] = { "self", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionMode",_kwnames
,&_argo0
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 _result
= (WXGRIDSELECTIONMODES
)wxGrid_GetSelectionMode(_arg0
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) return NULL
;
7811 } _resultobj
= Py_BuildValue("i",_result
);
7815 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7816 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7821 char *_kwnames
[] = { "self", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) return NULL
;
7839 } _resultobj
= Py_BuildValue("i",_result
);
7843 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7844 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
* _resultobj
;
7848 PyObject
* _argo0
= 0;
7849 char *_kwnames
[] = { "self", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) return NULL
;
7867 } _resultobj
= Py_BuildValue("i",_result
);
7871 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7872 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7876 wxGridTableMessage
* _arg1
;
7877 PyObject
* _argo0
= 0;
7878 PyObject
* _argo1
= 0;
7879 char *_kwnames
[] = { "self","arg2", NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7892 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) return NULL
;
7903 } _resultobj
= Py_BuildValue("i",_result
);
7907 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7908 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7910 wxGridTableBase
* _result
;
7912 PyObject
* _argo0
= 0;
7913 char *_kwnames
[] = { "self", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) return NULL
;
7931 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7935 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7936 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7940 wxGridTableBase
* _arg1
;
7941 bool _arg2
= (bool ) FALSE
;
7942 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7943 PyObject
* _argo0
= 0;
7944 PyObject
* _argo1
= 0;
7945 int tempbool2
= (int) FALSE
;
7946 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7965 _arg2
= (bool ) tempbool2
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) return NULL
;
7972 } _resultobj
= Py_BuildValue("i",_result
);
7976 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7977 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
* _resultobj
;
7980 PyObject
* _argo0
= 0;
7981 char *_kwnames
[] = { "self", NULL
};
7984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 wxGrid_ClearGrid(_arg0
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) return NULL
;
7999 } Py_INCREF(Py_None
);
8000 _resultobj
= Py_None
;
8004 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
8005 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8009 int _arg1
= (int ) 0;
8010 int _arg2
= (int ) 1;
8011 bool _arg3
= (bool ) TRUE
;
8012 PyObject
* _argo0
= 0;
8013 int tempbool3
= (int) TRUE
;
8014 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
8026 _arg3
= (bool ) tempbool3
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) return NULL
;
8033 } _resultobj
= Py_BuildValue("i",_result
);
8037 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
8038 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
* _resultobj
;
8042 int _arg1
= (int ) 1;
8043 bool _arg2
= (bool ) TRUE
;
8044 PyObject
* _argo0
= 0;
8045 int tempbool2
= (int) TRUE
;
8046 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
8058 _arg2
= (bool ) tempbool2
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8065 } _resultobj
= Py_BuildValue("i",_result
);
8069 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
8070 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8074 int _arg1
= (int ) 0;
8075 int _arg2
= (int ) 1;
8076 bool _arg3
= (bool ) TRUE
;
8077 PyObject
* _argo0
= 0;
8078 int tempbool3
= (int) TRUE
;
8079 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
8091 _arg3
= (bool ) tempbool3
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } _resultobj
= Py_BuildValue("i",_result
);
8102 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
8103 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
* _resultobj
;
8107 int _arg1
= (int ) 0;
8108 int _arg2
= (int ) 1;
8109 bool _arg3
= (bool ) TRUE
;
8110 PyObject
* _argo0
= 0;
8111 int tempbool3
= (int) TRUE
;
8112 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
8124 _arg3
= (bool ) tempbool3
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) return NULL
;
8131 } _resultobj
= Py_BuildValue("i",_result
);
8135 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
8136 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8140 int _arg1
= (int ) 1;
8141 bool _arg2
= (bool ) TRUE
;
8142 PyObject
* _argo0
= 0;
8143 int tempbool2
= (int) TRUE
;
8144 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
8156 _arg2
= (bool ) tempbool2
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) return NULL
;
8163 } _resultobj
= Py_BuildValue("i",_result
);
8167 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
8168 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
* _resultobj
;
8172 int _arg1
= (int ) 0;
8173 int _arg2
= (int ) 1;
8174 bool _arg3
= (bool ) TRUE
;
8175 PyObject
* _argo0
= 0;
8176 int tempbool3
= (int) TRUE
;
8177 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8189 _arg3
= (bool ) tempbool3
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } _resultobj
= Py_BuildValue("i",_result
);
8200 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8201 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8205 wxGridCellAttr
* _arg2
;
8206 PyObject
* _argo0
= 0;
8207 PyObject
* _argo1
= 0;
8208 PyObject
* _argo2
= 0;
8209 char *_kwnames
[] = { "self","dc","attr", NULL
};
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8222 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8228 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) return NULL
;
8240 } Py_INCREF(Py_None
);
8241 _resultobj
= Py_None
;
8245 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8246 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8252 int _arg4
= (int ) wxLEFT
;
8253 int _arg5
= (int ) wxTOP
;
8254 int _arg6
= (int ) wxHORIZONTAL
;
8255 PyObject
* _argo0
= 0;
8256 PyObject
* _argo1
= 0;
8257 PyObject
* _obj2
= 0;
8259 PyObject
* _obj3
= 0;
8260 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
,&_arg6
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8273 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8279 _arg2
= wxString_in_helper(_obj2
);
8285 if (! wxRect_helper(_obj3
, &_arg3
))
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) return NULL
;
8294 } Py_INCREF(Py_None
);
8295 _resultobj
= Py_None
;
8303 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8304 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8308 wxArrayString
* _arg2
;
8313 PyObject
* _argo0
= 0;
8314 PyObject
* _argo1
= 0;
8315 PyObject
* _obj2
= 0;
8316 char *_kwnames
[] = { "self","dc","lines", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8335 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8341 if (! PySequence_Check(_obj2
)) {
8342 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8345 _arg2
= new wxArrayString
;
8346 int i
, len
=PySequence_Length(_obj2
);
8347 for (i
=0; i
<len
; i
++) {
8348 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
8350 PyObject
* str
= PyObject_Unicode(item
);
8352 PyObject
* str
= PyObject_Str(item
);
8354 _arg2
->Add(Py2wxString(str
));
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) return NULL
;
8365 } Py_INCREF(Py_None
);
8366 _resultobj
= Py_None
;
8369 o
= PyInt_FromLong((long) (*_arg3
));
8370 _resultobj
= t_output_helper(_resultobj
, o
);
8374 o
= PyInt_FromLong((long) (*_arg4
));
8375 _resultobj
= t_output_helper(_resultobj
, o
);
8384 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8385 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
* _resultobj
;
8388 PyObject
* _argo0
= 0;
8389 char *_kwnames
[] = { "self", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 wxGrid_BeginBatch(_arg0
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8407 } Py_INCREF(Py_None
);
8408 _resultobj
= Py_None
;
8412 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8413 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
* _resultobj
;
8416 PyObject
* _argo0
= 0;
8417 char *_kwnames
[] = { "self", NULL
};
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 wxGrid_EndBatch(_arg0
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) return NULL
;
8435 } Py_INCREF(Py_None
);
8436 _resultobj
= Py_None
;
8440 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8441 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
* _resultobj
;
8445 PyObject
* _argo0
= 0;
8446 char *_kwnames
[] = { "self", NULL
};
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) return NULL
;
8464 } _resultobj
= Py_BuildValue("i",_result
);
8468 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8469 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
* _resultobj
;
8472 PyObject
* _argo0
= 0;
8473 char *_kwnames
[] = { "self", NULL
};
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 wxGrid_ForceRefresh(_arg0
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) return NULL
;
8491 } Py_INCREF(Py_None
);
8492 _resultobj
= Py_None
;
8496 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8497 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
* _resultobj
;
8500 bool _arg1
= (bool ) TRUE
;
8501 wxRect
* _arg2
= (wxRect
*) NULL
;
8502 PyObject
* _argo0
= 0;
8503 int tempbool1
= (int) TRUE
;
8505 PyObject
* _obj2
= 0;
8506 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8518 _arg1
= (bool ) tempbool1
;
8522 if (! wxRect_helper(_obj2
, &_arg2
))
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) return NULL
;
8531 } Py_INCREF(Py_None
);
8532 _resultobj
= Py_None
;
8536 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8537 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
* _resultobj
;
8541 PyObject
* _argo0
= 0;
8542 char *_kwnames
[] = { "self", NULL
};
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 _result
= (bool )wxGrid_IsEditable(_arg0
);
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) return NULL
;
8560 } _resultobj
= Py_BuildValue("i",_result
);
8564 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8565 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
* _resultobj
;
8569 PyObject
* _argo0
= 0;
8571 char *_kwnames
[] = { "self","edit", NULL
};
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8583 _arg1
= (bool ) tempbool1
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxGrid_EnableEditing(_arg0
,_arg1
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) return NULL
;
8590 } Py_INCREF(Py_None
);
8591 _resultobj
= Py_None
;
8595 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8596 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
* _resultobj
;
8599 bool _arg1
= (bool ) TRUE
;
8600 PyObject
* _argo0
= 0;
8601 int tempbool1
= (int) TRUE
;
8602 char *_kwnames
[] = { "self","enable", NULL
};
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8614 _arg1
= (bool ) tempbool1
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) return NULL
;
8621 } Py_INCREF(Py_None
);
8622 _resultobj
= Py_None
;
8626 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8627 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
* _resultobj
;
8630 PyObject
* _argo0
= 0;
8631 char *_kwnames
[] = { "self", NULL
};
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 wxGrid_DisableCellEditControl(_arg0
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) return NULL
;
8649 } Py_INCREF(Py_None
);
8650 _resultobj
= Py_None
;
8654 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8655 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
* _resultobj
;
8659 PyObject
* _argo0
= 0;
8660 char *_kwnames
[] = { "self", NULL
};
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) return NULL
;
8678 } _resultobj
= Py_BuildValue("i",_result
);
8682 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8683 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
* _resultobj
;
8687 PyObject
* _argo0
= 0;
8688 char *_kwnames
[] = { "self", NULL
};
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) return NULL
;
8706 } _resultobj
= Py_BuildValue("i",_result
);
8710 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8711 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
* _resultobj
;
8715 PyObject
* _argo0
= 0;
8716 char *_kwnames
[] = { "self", NULL
};
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) return NULL
;
8734 } _resultobj
= Py_BuildValue("i",_result
);
8738 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8739 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
* _resultobj
;
8743 PyObject
* _argo0
= 0;
8744 char *_kwnames
[] = { "self", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) return NULL
;
8762 } _resultobj
= Py_BuildValue("i",_result
);
8766 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8767 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
* _resultobj
;
8770 PyObject
* _argo0
= 0;
8771 char *_kwnames
[] = { "self", NULL
};
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 wxGrid_ShowCellEditControl(_arg0
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) return NULL
;
8789 } Py_INCREF(Py_None
);
8790 _resultobj
= Py_None
;
8794 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8795 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
* _resultobj
;
8798 PyObject
* _argo0
= 0;
8799 char *_kwnames
[] = { "self", NULL
};
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 wxGrid_HideCellEditControl(_arg0
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) return NULL
;
8817 } Py_INCREF(Py_None
);
8818 _resultobj
= Py_None
;
8822 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8823 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8826 PyObject
* _argo0
= 0;
8827 char *_kwnames
[] = { "self", NULL
};
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxGrid_SaveEditControlValue(_arg0
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) return NULL
;
8845 } Py_INCREF(Py_None
);
8846 _resultobj
= Py_None
;
8850 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8851 wxGridCellCoords rv
;
8852 self
->XYToCell(x
, y
, rv
);
8853 return new wxGridCellCoords(rv
);
8855 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8857 wxGridCellCoords
* _result
;
8861 PyObject
* _argo0
= 0;
8862 char *_kwnames
[] = { "self","x","y", NULL
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8883 _resultobj
= Py_BuildValue("s",_ptemp
);
8886 _resultobj
= Py_None
;
8891 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8892 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
* _resultobj
;
8897 PyObject
* _argo0
= 0;
8898 char *_kwnames
[] = { "self","y", NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) return NULL
;
8916 } _resultobj
= Py_BuildValue("i",_result
);
8920 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8921 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
* _resultobj
;
8926 PyObject
* _argo0
= 0;
8927 char *_kwnames
[] = { "self","x", NULL
};
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) return NULL
;
8945 } _resultobj
= Py_BuildValue("i",_result
);
8949 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8950 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
* _resultobj
;
8955 PyObject
* _argo0
= 0;
8956 char *_kwnames
[] = { "self","y", NULL
};
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) return NULL
;
8974 } _resultobj
= Py_BuildValue("i",_result
);
8978 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8979 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
* _resultobj
;
8984 PyObject
* _argo0
= 0;
8985 char *_kwnames
[] = { "self","x", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9003 } _resultobj
= Py_BuildValue("i",_result
);
9007 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
9008 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
* _resultobj
;
9014 PyObject
* _argo0
= 0;
9015 char *_kwnames
[] = { "self","row","col", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) return NULL
;
9034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9035 _resultobj
= Py_BuildValue("s",_ptemp
);
9039 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
9040 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self", NULL
};
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
9051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) return NULL
;
9063 } _resultobj
= Py_BuildValue("i",_result
);
9067 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
9068 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9072 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) return NULL
;
9091 } _resultobj
= Py_BuildValue("i",_result
);
9095 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
9096 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
* _resultobj
;
9102 bool _arg3
= (bool ) TRUE
;
9103 PyObject
* _argo0
= 0;
9104 int tempbool3
= (int) TRUE
;
9105 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
9111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
9117 _arg3
= (bool ) tempbool3
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9124 } _resultobj
= Py_BuildValue("i",_result
);
9128 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
9129 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
* _resultobj
;
9134 PyObject
* _argo0
= 0;
9135 char *_kwnames
[] = { "self","row","col", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } Py_INCREF(Py_None
);
9154 _resultobj
= Py_None
;
9158 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
9159 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
* _resultobj
;
9164 PyObject
* _argo0
= 0;
9165 char *_kwnames
[] = { "self","row","col", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) return NULL
;
9183 } Py_INCREF(Py_None
);
9184 _resultobj
= Py_None
;
9188 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9189 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
* _resultobj
;
9194 PyObject
* _argo0
= 0;
9196 char *_kwnames
[] = { "self","expandSelection", NULL
};
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
9202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9208 _arg1
= (bool ) tempbool1
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) return NULL
;
9215 } _resultobj
= Py_BuildValue("i",_result
);
9219 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9220 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9225 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self","expandSelection", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9239 _arg1
= (bool ) tempbool1
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) return NULL
;
9246 } _resultobj
= Py_BuildValue("i",_result
);
9250 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9251 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9256 PyObject
* _argo0
= 0;
9258 char *_kwnames
[] = { "self","expandSelection", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9270 _arg1
= (bool ) tempbool1
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) return NULL
;
9277 } _resultobj
= Py_BuildValue("i",_result
);
9281 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9282 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9289 char *_kwnames
[] = { "self","expandSelection", NULL
};
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
9295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9301 _arg1
= (bool ) tempbool1
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) return NULL
;
9308 } _resultobj
= Py_BuildValue("i",_result
);
9312 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9313 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9318 char *_kwnames
[] = { "self", NULL
};
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
9324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 _result
= (bool )wxGrid_MovePageDown(_arg0
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } _resultobj
= Py_BuildValue("i",_result
);
9340 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9341 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9345 PyObject
* _argo0
= 0;
9346 char *_kwnames
[] = { "self", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9364 } _resultobj
= Py_BuildValue("i",_result
);
9368 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9369 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
* _resultobj
;
9374 PyObject
* _argo0
= 0;
9376 char *_kwnames
[] = { "self","expandSelection", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9388 _arg1
= (bool ) tempbool1
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) return NULL
;
9395 } _resultobj
= Py_BuildValue("i",_result
);
9399 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9400 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
* _resultobj
;
9405 PyObject
* _argo0
= 0;
9407 char *_kwnames
[] = { "self","expandSelection", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9419 _arg1
= (bool ) tempbool1
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) return NULL
;
9426 } _resultobj
= Py_BuildValue("i",_result
);
9430 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9431 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9436 PyObject
* _argo0
= 0;
9438 char *_kwnames
[] = { "self","expandSelection", NULL
};
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9450 _arg1
= (bool ) tempbool1
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) return NULL
;
9457 } _resultobj
= Py_BuildValue("i",_result
);
9461 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9462 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
* _resultobj
;
9467 PyObject
* _argo0
= 0;
9469 char *_kwnames
[] = { "self","expandSelection", NULL
};
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9481 _arg1
= (bool ) tempbool1
;
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } _resultobj
= Py_BuildValue("i",_result
);
9492 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9493 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
* _resultobj
;
9497 PyObject
* _argo0
= 0;
9498 char *_kwnames
[] = { "self", NULL
};
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) return NULL
;
9516 } _resultobj
= Py_BuildValue("i",_result
);
9520 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9521 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
* _resultobj
;
9525 PyObject
* _argo0
= 0;
9526 char *_kwnames
[] = { "self", NULL
};
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) return NULL
;
9544 } _resultobj
= Py_BuildValue("i",_result
);
9548 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9549 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
* _resultobj
;
9553 PyObject
* _argo0
= 0;
9554 char *_kwnames
[] = { "self", NULL
};
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) return NULL
;
9572 } _resultobj
= Py_BuildValue("i",_result
);
9576 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9577 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9581 PyObject
* _argo0
= 0;
9582 char *_kwnames
[] = { "self", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) return NULL
;
9600 } _resultobj
= Py_BuildValue("i",_result
);
9604 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9605 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
* _resultobj
;
9609 PyObject
* _argo0
= 0;
9610 char *_kwnames
[] = { "self", NULL
};
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9630 _resultobj
= Py_BuildValue("s",_ptemp
);
9634 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9635 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
* _resultobj
;
9639 PyObject
* _argo0
= 0;
9640 char *_kwnames
[] = { "self", NULL
};
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) return NULL
;
9659 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9660 _resultobj
= Py_BuildValue("s",_ptemp
);
9664 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9665 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
* _resultobj
;
9669 PyObject
* _argo0
= 0;
9670 char *_kwnames
[] = { "self", NULL
};
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) return NULL
;
9689 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9690 _resultobj
= Py_BuildValue("s",_ptemp
);
9694 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9695 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
* _resultobj
;
9702 PyObject
* _argo0
= 0;
9703 char *_kwnames
[] = { "self", NULL
};
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) return NULL
;
9727 } Py_INCREF(Py_None
);
9728 _resultobj
= Py_None
;
9731 o
= PyInt_FromLong((long) (*_arg1
));
9732 _resultobj
= t_output_helper(_resultobj
, o
);
9736 o
= PyInt_FromLong((long) (*_arg2
));
9737 _resultobj
= t_output_helper(_resultobj
, o
);
9742 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9743 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
* _resultobj
;
9750 PyObject
* _argo0
= 0;
9751 char *_kwnames
[] = { "self", NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) return NULL
;
9775 } Py_INCREF(Py_None
);
9776 _resultobj
= Py_None
;
9779 o
= PyInt_FromLong((long) (*_arg1
));
9780 _resultobj
= t_output_helper(_resultobj
, o
);
9784 o
= PyInt_FromLong((long) (*_arg2
));
9785 _resultobj
= t_output_helper(_resultobj
, o
);
9790 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9791 static PyObject
*_wrap_wxGrid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9795 PyObject
* _argo0
= 0;
9796 char *_kwnames
[] = { "self", NULL
};
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelTextOrientation",_kwnames
,&_argo0
))
9802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 _result
= (int )wxGrid_GetColLabelTextOrientation(_arg0
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) return NULL
;
9814 } _resultobj
= Py_BuildValue("i",_result
);
9818 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9819 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9824 PyObject
* _argo0
= 0;
9825 char *_kwnames
[] = { "self","row", NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) return NULL
;
9845 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9847 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9856 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9857 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
* _resultobj
;
9862 PyObject
* _argo0
= 0;
9863 char *_kwnames
[] = { "self","col", NULL
};
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) return NULL
;
9883 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9885 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9894 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9895 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
* _resultobj
;
9899 PyObject
* _argo0
= 0;
9900 char *_kwnames
[] = { "self", NULL
};
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) return NULL
;
9919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9920 _resultobj
= Py_BuildValue("s",_ptemp
);
9924 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9925 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
* _resultobj
;
9929 PyObject
* _argo0
= 0;
9930 char *_kwnames
[] = { "self", NULL
};
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) return NULL
;
9949 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9950 _resultobj
= Py_BuildValue("s",_ptemp
);
9954 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9955 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
* _resultobj
;
9959 PyObject
* _argo0
= 0;
9960 char *_kwnames
[] = { "self", NULL
};
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) return NULL
;
9978 } _resultobj
= Py_BuildValue("i",_result
);
9982 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9983 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
* _resultobj
;
9987 PyObject
* _argo0
= 0;
9988 char *_kwnames
[] = { "self", NULL
};
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10006 } _resultobj
= Py_BuildValue("i",_result
);
10010 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
10011 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
* _resultobj
;
10015 PyObject
* _argo0
= 0;
10016 char *_kwnames
[] = { "self","width", NULL
};
10019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
10022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) return NULL
;
10034 } Py_INCREF(Py_None
);
10035 _resultobj
= Py_None
;
10039 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
10040 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
* _resultobj
;
10044 PyObject
* _argo0
= 0;
10045 char *_kwnames
[] = { "self","height", NULL
};
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
10051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxGrid_SetColLabelSize(_arg0
,_arg1
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) return NULL
;
10063 } Py_INCREF(Py_None
);
10064 _resultobj
= Py_None
;
10068 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
10069 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
* _resultobj
;
10073 PyObject
* _argo0
= 0;
10075 PyObject
* _obj1
= 0;
10076 char *_kwnames
[] = { "self","arg2", NULL
};
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
10090 if (! wxColour_helper(_obj1
, &_arg1
))
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) return NULL
;
10099 } Py_INCREF(Py_None
);
10100 _resultobj
= Py_None
;
10104 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
10105 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
* _resultobj
;
10109 PyObject
* _argo0
= 0;
10111 PyObject
* _obj1
= 0;
10112 char *_kwnames
[] = { "self","arg2", NULL
};
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
10118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
10126 if (! wxColour_helper(_obj1
, &_arg1
))
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) return NULL
;
10135 } Py_INCREF(Py_None
);
10136 _resultobj
= Py_None
;
10140 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
10141 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
* _resultobj
;
10145 PyObject
* _argo0
= 0;
10146 PyObject
* _argo1
= 0;
10147 char *_kwnames
[] = { "self","arg2", NULL
};
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
10153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
10160 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 wxGrid_SetLabelFont(_arg0
,*_arg1
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) return NULL
;
10171 } Py_INCREF(Py_None
);
10172 _resultobj
= Py_None
;
10176 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
10177 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10182 PyObject
* _argo0
= 0;
10183 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) return NULL
;
10201 } Py_INCREF(Py_None
);
10202 _resultobj
= Py_None
;
10206 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10207 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
* _resultobj
;
10212 PyObject
* _argo0
= 0;
10213 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) return NULL
;
10231 } Py_INCREF(Py_None
);
10232 _resultobj
= Py_None
;
10236 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10237 static PyObject
*_wrap_wxGrid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
* _resultobj
;
10241 PyObject
* _argo0
= 0;
10242 char *_kwnames
[] = { "self","textOrientation", NULL
};
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames
,&_argo0
,&_arg1
))
10248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 wxGrid_SetColLabelTextOrientation(_arg0
,_arg1
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) return NULL
;
10260 } Py_INCREF(Py_None
);
10261 _resultobj
= Py_None
;
10265 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10266 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
* _resultobj
;
10271 PyObject
* _argo0
= 0;
10272 PyObject
* _obj2
= 0;
10273 char *_kwnames
[] = { "self","row","arg3", NULL
};
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10286 _arg2
= wxString_in_helper(_obj2
);
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) return NULL
;
10296 } Py_INCREF(Py_None
);
10297 _resultobj
= Py_None
;
10305 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10306 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
* _resultobj
;
10311 PyObject
* _argo0
= 0;
10312 PyObject
* _obj2
= 0;
10313 char *_kwnames
[] = { "self","col","arg3", NULL
};
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10326 _arg2
= wxString_in_helper(_obj2
);
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) return NULL
;
10336 } Py_INCREF(Py_None
);
10337 _resultobj
= Py_None
;
10345 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10346 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
* _resultobj
;
10350 PyObject
* _argo0
= 0;
10352 PyObject
* _obj1
= 0;
10353 char *_kwnames
[] = { "self","arg2", NULL
};
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
10359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10367 if (! wxColour_helper(_obj1
, &_arg1
))
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) return NULL
;
10376 } Py_INCREF(Py_None
);
10377 _resultobj
= Py_None
;
10381 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10382 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
* _resultobj
;
10386 PyObject
* _argo0
= 0;
10388 PyObject
* _obj1
= 0;
10389 char *_kwnames
[] = { "self","arg2", NULL
};
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10403 if (! wxColour_helper(_obj1
, &_arg1
))
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) return NULL
;
10412 } Py_INCREF(Py_None
);
10413 _resultobj
= Py_None
;
10417 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10418 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10422 PyObject
* _argo0
= 0;
10423 char *_kwnames
[] = { "self","width", NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) return NULL
;
10441 } Py_INCREF(Py_None
);
10442 _resultobj
= Py_None
;
10446 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10447 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
* _resultobj
;
10451 PyObject
* _argo0
= 0;
10452 char *_kwnames
[] = { "self","width", NULL
};
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
10458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) return NULL
;
10470 } Py_INCREF(Py_None
);
10471 _resultobj
= Py_None
;
10475 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10476 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
* _resultobj
;
10479 bool _arg1
= (bool ) TRUE
;
10480 PyObject
* _argo0
= 0;
10481 int tempbool1
= (int) TRUE
;
10482 char *_kwnames
[] = { "self","enable", NULL
};
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10494 _arg1
= (bool ) tempbool1
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) return NULL
;
10501 } Py_INCREF(Py_None
);
10502 _resultobj
= Py_None
;
10506 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10507 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
* _resultobj
;
10510 PyObject
* _argo0
= 0;
10511 char *_kwnames
[] = { "self", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 wxGrid_DisableDragRowSize(_arg0
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } Py_INCREF(Py_None
);
10530 _resultobj
= Py_None
;
10534 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10535 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
* _resultobj
;
10539 PyObject
* _argo0
= 0;
10540 char *_kwnames
[] = { "self", NULL
};
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) return NULL
;
10558 } _resultobj
= Py_BuildValue("i",_result
);
10562 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10563 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
* _resultobj
;
10566 bool _arg1
= (bool ) TRUE
;
10567 PyObject
* _argo0
= 0;
10568 int tempbool1
= (int) TRUE
;
10569 char *_kwnames
[] = { "self","enable", NULL
};
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10581 _arg1
= (bool ) tempbool1
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) return NULL
;
10588 } Py_INCREF(Py_None
);
10589 _resultobj
= Py_None
;
10593 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10594 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
* _resultobj
;
10597 PyObject
* _argo0
= 0;
10598 char *_kwnames
[] = { "self", NULL
};
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 wxGrid_DisableDragColSize(_arg0
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) return NULL
;
10616 } Py_INCREF(Py_None
);
10617 _resultobj
= Py_None
;
10621 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10622 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10626 PyObject
* _argo0
= 0;
10627 char *_kwnames
[] = { "self", NULL
};
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) return NULL
;
10645 } _resultobj
= Py_BuildValue("i",_result
);
10649 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10650 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
* _resultobj
;
10653 bool _arg1
= (bool ) TRUE
;
10654 PyObject
* _argo0
= 0;
10655 int tempbool1
= (int) TRUE
;
10656 char *_kwnames
[] = { "self","enable", NULL
};
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10668 _arg1
= (bool ) tempbool1
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) return NULL
;
10675 } Py_INCREF(Py_None
);
10676 _resultobj
= Py_None
;
10680 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10681 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
* _resultobj
;
10684 PyObject
* _argo0
= 0;
10685 char *_kwnames
[] = { "self", NULL
};
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxGrid_DisableDragGridSize(_arg0
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) return NULL
;
10703 } Py_INCREF(Py_None
);
10704 _resultobj
= Py_None
;
10708 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10709 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
* _resultobj
;
10713 PyObject
* _argo0
= 0;
10714 char *_kwnames
[] = { "self", NULL
};
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) return NULL
;
10732 } _resultobj
= Py_BuildValue("i",_result
);
10736 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10737 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
* _resultobj
;
10742 wxGridCellAttr
* _arg3
;
10743 PyObject
* _argo0
= 0;
10744 PyObject
* _argo3
= 0;
10745 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10758 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10759 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) return NULL
;
10770 } Py_INCREF(Py_None
);
10771 _resultobj
= Py_None
;
10775 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10776 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
* _resultobj
;
10780 wxGridCellAttr
* _arg2
;
10781 PyObject
* _argo0
= 0;
10782 PyObject
* _argo2
= 0;
10783 char *_kwnames
[] = { "self","row","attr", NULL
};
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10796 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10797 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) return NULL
;
10808 } Py_INCREF(Py_None
);
10809 _resultobj
= Py_None
;
10813 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10814 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
* _resultobj
;
10818 wxGridCellAttr
* _arg2
;
10819 PyObject
* _argo0
= 0;
10820 PyObject
* _argo2
= 0;
10821 char *_kwnames
[] = { "self","col","attr", NULL
};
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10834 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10835 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) return NULL
;
10846 } Py_INCREF(Py_None
);
10847 _resultobj
= Py_None
;
10851 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10852 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
* _resultobj
;
10856 PyObject
* _argo0
= 0;
10857 char *_kwnames
[] = { "self","col", NULL
};
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) return NULL
;
10875 } Py_INCREF(Py_None
);
10876 _resultobj
= Py_None
;
10880 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10881 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
* _resultobj
;
10885 PyObject
* _argo0
= 0;
10886 char *_kwnames
[] = { "self","col", NULL
};
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) return NULL
;
10904 } Py_INCREF(Py_None
);
10905 _resultobj
= Py_None
;
10909 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10910 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
* _resultobj
;
10914 int _arg2
= (int ) -1;
10915 int _arg3
= (int ) -1;
10916 PyObject
* _argo0
= 0;
10917 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) return NULL
;
10935 } Py_INCREF(Py_None
);
10936 _resultobj
= Py_None
;
10940 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10941 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
* _resultobj
;
10946 PyObject
* _argo0
= 0;
10947 PyObject
* _obj2
= 0;
10948 char *_kwnames
[] = { "self","col","typeName", NULL
};
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10961 _arg2
= wxString_in_helper(_obj2
);
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) return NULL
;
10971 } Py_INCREF(Py_None
);
10972 _resultobj
= Py_None
;
10980 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10981 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
* _resultobj
;
10984 bool _arg1
= (bool ) TRUE
;
10985 PyObject
* _argo0
= 0;
10986 int tempbool1
= (int) TRUE
;
10987 char *_kwnames
[] = { "self","enable", NULL
};
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10999 _arg1
= (bool ) tempbool1
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxGrid_EnableGridLines(_arg0
,_arg1
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) return NULL
;
11006 } Py_INCREF(Py_None
);
11007 _resultobj
= Py_None
;
11011 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
11012 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
* _resultobj
;
11016 PyObject
* _argo0
= 0;
11017 char *_kwnames
[] = { "self", NULL
};
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
11023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) return NULL
;
11035 } _resultobj
= Py_BuildValue("i",_result
);
11039 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
11040 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
* _resultobj
;
11044 PyObject
* _argo0
= 0;
11045 char *_kwnames
[] = { "self", NULL
};
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
11051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) return NULL
;
11063 } _resultobj
= Py_BuildValue("i",_result
);
11067 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
11068 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
* _resultobj
;
11073 PyObject
* _argo0
= 0;
11074 char *_kwnames
[] = { "self","row", NULL
};
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
11080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) return NULL
;
11092 } _resultobj
= Py_BuildValue("i",_result
);
11096 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
11097 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
* _resultobj
;
11101 PyObject
* _argo0
= 0;
11102 char *_kwnames
[] = { "self", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) return NULL
;
11120 } _resultobj
= Py_BuildValue("i",_result
);
11124 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
11125 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
* _resultobj
;
11130 PyObject
* _argo0
= 0;
11131 char *_kwnames
[] = { "self","col", NULL
};
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
11137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) return NULL
;
11149 } _resultobj
= Py_BuildValue("i",_result
);
11153 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
11154 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
* _resultobj
;
11156 wxColour
* _result
;
11158 PyObject
* _argo0
= 0;
11159 char *_kwnames
[] = { "self", NULL
};
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
11166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) return NULL
;
11178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11179 _resultobj
= Py_BuildValue("s",_ptemp
);
11183 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
11184 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
* _resultobj
;
11186 wxColour
* _result
;
11190 PyObject
* _argo0
= 0;
11191 char *_kwnames
[] = { "self","row","col", NULL
};
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) return NULL
;
11210 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11211 _resultobj
= Py_BuildValue("s",_ptemp
);
11215 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11216 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
* _resultobj
;
11218 wxColour
* _result
;
11220 PyObject
* _argo0
= 0;
11221 char *_kwnames
[] = { "self", NULL
};
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
11228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) return NULL
;
11240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11241 _resultobj
= Py_BuildValue("s",_ptemp
);
11245 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11246 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
* _resultobj
;
11248 wxColour
* _result
;
11252 PyObject
* _argo0
= 0;
11253 char *_kwnames
[] = { "self","row","col", NULL
};
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) return NULL
;
11272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11273 _resultobj
= Py_BuildValue("s",_ptemp
);
11277 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11278 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
* _resultobj
;
11282 PyObject
* _argo0
= 0;
11283 char *_kwnames
[] = { "self", NULL
};
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
11290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) return NULL
;
11302 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11303 _resultobj
= Py_BuildValue("s",_ptemp
);
11307 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11308 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
* _resultobj
;
11314 PyObject
* _argo0
= 0;
11315 char *_kwnames
[] = { "self","row","col", NULL
};
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) return NULL
;
11334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11335 _resultobj
= Py_BuildValue("s",_ptemp
);
11339 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11340 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
* _resultobj
;
11345 PyObject
* _argo0
= 0;
11346 PyObject
* _argo1
= 0;
11347 PyObject
* _argo2
= 0;
11348 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
11363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11368 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11369 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
11370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) return NULL
;
11380 } Py_INCREF(Py_None
);
11381 _resultobj
= Py_None
;
11385 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11386 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
* _resultobj
;
11393 PyObject
* _argo0
= 0;
11394 PyObject
* _argo3
= 0;
11395 PyObject
* _argo4
= 0;
11396 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
11402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11409 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11410 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
11411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11416 if (_argo4
== Py_None
) { _arg4
= NULL
; }
11417 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
11418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) return NULL
;
11428 } Py_INCREF(Py_None
);
11429 _resultobj
= Py_None
;
11433 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11434 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
* _resultobj
;
11438 PyObject
* _argo0
= 0;
11439 char *_kwnames
[] = { "self", NULL
};
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) return NULL
;
11457 } _resultobj
= Py_BuildValue("i",_result
);
11461 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11462 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
* _resultobj
;
11468 PyObject
* _argo0
= 0;
11469 char *_kwnames
[] = { "self","row","col", NULL
};
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) return NULL
;
11487 } _resultobj
= Py_BuildValue("i",_result
);
11491 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11492 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
* _resultobj
;
11501 PyObject
* _argo0
= 0;
11502 char *_kwnames
[] = { "self","row","col", NULL
};
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) return NULL
;
11526 } Py_INCREF(Py_None
);
11527 _resultobj
= Py_None
;
11530 o
= PyInt_FromLong((long) (*_arg3
));
11531 _resultobj
= t_output_helper(_resultobj
, o
);
11535 o
= PyInt_FromLong((long) (*_arg4
));
11536 _resultobj
= t_output_helper(_resultobj
, o
);
11541 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11542 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
* _resultobj
;
11546 bool _arg2
= (bool ) FALSE
;
11547 PyObject
* _argo0
= 0;
11548 int tempbool2
= (int) FALSE
;
11549 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11561 _arg2
= (bool ) tempbool2
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) return NULL
;
11568 } Py_INCREF(Py_None
);
11569 _resultobj
= Py_None
;
11573 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11574 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
* _resultobj
;
11579 PyObject
* _argo0
= 0;
11580 char *_kwnames
[] = { "self","row","height", NULL
};
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) return NULL
;
11598 } Py_INCREF(Py_None
);
11599 _resultobj
= Py_None
;
11603 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11604 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11605 PyObject
* _resultobj
;
11608 bool _arg2
= (bool ) FALSE
;
11609 PyObject
* _argo0
= 0;
11610 int tempbool2
= (int) FALSE
;
11611 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11623 _arg2
= (bool ) tempbool2
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) return NULL
;
11630 } Py_INCREF(Py_None
);
11631 _resultobj
= Py_None
;
11635 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11636 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
* _resultobj
;
11641 PyObject
* _argo0
= 0;
11642 char *_kwnames
[] = { "self","col","width", NULL
};
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) return NULL
;
11660 } Py_INCREF(Py_None
);
11661 _resultobj
= Py_None
;
11665 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11666 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
* _resultobj
;
11670 bool _arg2
= (bool ) TRUE
;
11671 PyObject
* _argo0
= 0;
11672 int tempbool2
= (int) TRUE
;
11673 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11685 _arg2
= (bool ) tempbool2
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) return NULL
;
11692 } Py_INCREF(Py_None
);
11693 _resultobj
= Py_None
;
11697 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11698 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
* _resultobj
;
11702 bool _arg2
= (bool ) TRUE
;
11703 PyObject
* _argo0
= 0;
11704 int tempbool2
= (int) TRUE
;
11705 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11717 _arg2
= (bool ) tempbool2
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) return NULL
;
11724 } Py_INCREF(Py_None
);
11725 _resultobj
= Py_None
;
11729 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11730 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
* _resultobj
;
11733 bool _arg1
= (bool ) TRUE
;
11734 PyObject
* _argo0
= 0;
11735 int tempbool1
= (int) TRUE
;
11736 char *_kwnames
[] = { "self","setAsMin", NULL
};
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11748 _arg1
= (bool ) tempbool1
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) return NULL
;
11755 } Py_INCREF(Py_None
);
11756 _resultobj
= Py_None
;
11760 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11761 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
* _resultobj
;
11764 bool _arg1
= (bool ) TRUE
;
11765 PyObject
* _argo0
= 0;
11766 int tempbool1
= (int) TRUE
;
11767 char *_kwnames
[] = { "self","setAsMin", NULL
};
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11779 _arg1
= (bool ) tempbool1
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) return NULL
;
11786 } Py_INCREF(Py_None
);
11787 _resultobj
= Py_None
;
11791 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11792 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
* _resultobj
;
11795 PyObject
* _argo0
= 0;
11796 char *_kwnames
[] = { "self", NULL
};
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 wxGrid_AutoSize(_arg0
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) return NULL
;
11814 } Py_INCREF(Py_None
);
11815 _resultobj
= Py_None
;
11819 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11820 static PyObject
*_wrap_wxGrid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
* _resultobj
;
11824 PyObject
* _argo0
= 0;
11825 char *_kwnames
[] = { "self","row", NULL
};
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
11831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 wxGrid_AutoSizeRowLabelSize(_arg0
,_arg1
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) return NULL
;
11843 } Py_INCREF(Py_None
);
11844 _resultobj
= Py_None
;
11848 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11849 static PyObject
*_wrap_wxGrid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
* _resultobj
;
11853 PyObject
* _argo0
= 0;
11854 char *_kwnames
[] = { "self","col", NULL
};
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames
,&_argo0
,&_arg1
))
11860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 wxGrid_AutoSizeColLabelSize(_arg0
,_arg1
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) return NULL
;
11872 } Py_INCREF(Py_None
);
11873 _resultobj
= Py_None
;
11877 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11878 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
* _resultobj
;
11883 PyObject
* _argo0
= 0;
11884 char *_kwnames
[] = { "self","col","width", NULL
};
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) return NULL
;
11902 } Py_INCREF(Py_None
);
11903 _resultobj
= Py_None
;
11907 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11908 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
* _resultobj
;
11913 PyObject
* _argo0
= 0;
11914 char *_kwnames
[] = { "self","row","width", NULL
};
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) return NULL
;
11932 } Py_INCREF(Py_None
);
11933 _resultobj
= Py_None
;
11937 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11938 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
* _resultobj
;
11942 PyObject
* _argo0
= 0;
11944 PyObject
* _obj1
= 0;
11945 char *_kwnames
[] = { "self","arg2", NULL
};
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11959 if (! wxColour_helper(_obj1
, &_arg1
))
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) return NULL
;
11968 } Py_INCREF(Py_None
);
11969 _resultobj
= Py_None
;
11973 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11974 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
* _resultobj
;
11980 PyObject
* _argo0
= 0;
11982 PyObject
* _obj3
= 0;
11983 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11997 if (! wxColour_helper(_obj3
, &_arg3
))
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) return NULL
;
12006 } Py_INCREF(Py_None
);
12007 _resultobj
= Py_None
;
12011 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
12012 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
* _resultobj
;
12016 PyObject
* _argo0
= 0;
12018 PyObject
* _obj1
= 0;
12019 char *_kwnames
[] = { "self","arg2", NULL
};
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
12025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
12033 if (! wxColour_helper(_obj1
, &_arg1
))
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) return NULL
;
12042 } Py_INCREF(Py_None
);
12043 _resultobj
= Py_None
;
12047 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
12048 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
* _resultobj
;
12054 PyObject
* _argo0
= 0;
12056 PyObject
* _obj3
= 0;
12057 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
12071 if (! wxColour_helper(_obj3
, &_arg3
))
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) return NULL
;
12080 } Py_INCREF(Py_None
);
12081 _resultobj
= Py_None
;
12085 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
12086 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
* _resultobj
;
12090 PyObject
* _argo0
= 0;
12091 PyObject
* _argo1
= 0;
12092 char *_kwnames
[] = { "self","arg2", NULL
};
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
12098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
12105 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
12106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) return NULL
;
12116 } Py_INCREF(Py_None
);
12117 _resultobj
= Py_None
;
12121 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
12122 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
* _resultobj
;
12128 PyObject
* _argo0
= 0;
12129 PyObject
* _argo3
= 0;
12130 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
12143 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
12144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) return NULL
;
12154 } Py_INCREF(Py_None
);
12155 _resultobj
= Py_None
;
12159 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
12160 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
* _resultobj
;
12165 PyObject
* _argo0
= 0;
12166 char *_kwnames
[] = { "self","horiz","vert", NULL
};
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) return NULL
;
12184 } Py_INCREF(Py_None
);
12185 _resultobj
= Py_None
;
12189 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12190 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
* _resultobj
;
12197 PyObject
* _argo0
= 0;
12198 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) return NULL
;
12216 } Py_INCREF(Py_None
);
12217 _resultobj
= Py_None
;
12221 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12222 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
* _resultobj
;
12226 PyObject
* _argo0
= 0;
12228 char *_kwnames
[] = { "self","allow", NULL
};
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
12234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12240 _arg1
= (bool ) tempbool1
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) return NULL
;
12247 } Py_INCREF(Py_None
);
12248 _resultobj
= Py_None
;
12252 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12253 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
* _resultobj
;
12259 PyObject
* _argo0
= 0;
12261 char *_kwnames
[] = { "self","row","col","allow", NULL
};
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12273 _arg3
= (bool ) tempbool3
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) return NULL
;
12280 } Py_INCREF(Py_None
);
12281 _resultobj
= Py_None
;
12285 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12286 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
* _resultobj
;
12293 PyObject
* _argo0
= 0;
12294 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) return NULL
;
12312 } Py_INCREF(Py_None
);
12313 _resultobj
= Py_None
;
12317 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12318 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
* _resultobj
;
12321 wxGridCellRenderer
* _arg1
;
12322 PyObject
* _argo0
= 0;
12323 PyObject
* _argo1
= 0;
12324 char *_kwnames
[] = { "self","renderer", NULL
};
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
12330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
12339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) return NULL
;
12349 } Py_INCREF(Py_None
);
12350 _resultobj
= Py_None
;
12354 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12355 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
* _resultobj
;
12360 wxGridCellRenderer
* _arg3
;
12361 PyObject
* _argo0
= 0;
12362 PyObject
* _argo3
= 0;
12363 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12376 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12377 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
12378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) return NULL
;
12388 } Py_INCREF(Py_None
);
12389 _resultobj
= Py_None
;
12393 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12394 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
* _resultobj
;
12396 wxGridCellRenderer
* _result
;
12398 PyObject
* _argo0
= 0;
12399 char *_kwnames
[] = { "self", NULL
};
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
12405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) return NULL
;
12417 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12421 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12422 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
* _resultobj
;
12424 wxGridCellRenderer
* _result
;
12428 PyObject
* _argo0
= 0;
12429 char *_kwnames
[] = { "self","row","col", NULL
};
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) return NULL
;
12447 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12451 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12452 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
* _resultobj
;
12455 wxGridCellEditor
* _arg1
;
12456 PyObject
* _argo0
= 0;
12457 PyObject
* _argo1
= 0;
12458 char *_kwnames
[] = { "self","editor", NULL
};
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) return NULL
;
12483 } Py_INCREF(Py_None
);
12484 _resultobj
= Py_None
;
12488 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12489 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
* _resultobj
;
12494 wxGridCellEditor
* _arg3
;
12495 PyObject
* _argo0
= 0;
12496 PyObject
* _argo3
= 0;
12497 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12510 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12511 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) return NULL
;
12522 } Py_INCREF(Py_None
);
12523 _resultobj
= Py_None
;
12527 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12528 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
* _resultobj
;
12530 wxGridCellEditor
* _result
;
12532 PyObject
* _argo0
= 0;
12533 char *_kwnames
[] = { "self", NULL
};
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) return NULL
;
12551 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12555 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12556 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
* _resultobj
;
12558 wxGridCellEditor
* _result
;
12562 PyObject
* _argo0
= 0;
12563 char *_kwnames
[] = { "self","row","col", NULL
};
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) return NULL
;
12581 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12585 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12586 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
* _resultobj
;
12588 wxString
* _result
;
12592 PyObject
* _argo0
= 0;
12593 char *_kwnames
[] = { "self","row","col", NULL
};
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) return NULL
;
12613 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
12615 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12624 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12625 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
* _resultobj
;
12631 PyObject
* _argo0
= 0;
12632 PyObject
* _obj3
= 0;
12633 char *_kwnames
[] = { "self","row","col","s", NULL
};
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12646 _arg3
= wxString_in_helper(_obj3
);
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) return NULL
;
12656 } Py_INCREF(Py_None
);
12657 _resultobj
= Py_None
;
12665 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12666 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
* _resultobj
;
12672 PyObject
* _argo0
= 0;
12673 char *_kwnames
[] = { "self","row","col", NULL
};
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) return NULL
;
12691 } _resultobj
= Py_BuildValue("i",_result
);
12695 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12696 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
* _resultobj
;
12701 bool _arg3
= (bool ) TRUE
;
12702 PyObject
* _argo0
= 0;
12703 int tempbool3
= (int) TRUE
;
12704 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12716 _arg3
= (bool ) tempbool3
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) return NULL
;
12723 } Py_INCREF(Py_None
);
12724 _resultobj
= Py_None
;
12728 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12729 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
* _resultobj
;
12733 bool _arg2
= (bool ) FALSE
;
12734 PyObject
* _argo0
= 0;
12735 int tempbool2
= (int) FALSE
;
12736 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12748 _arg2
= (bool ) tempbool2
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) return NULL
;
12755 } Py_INCREF(Py_None
);
12756 _resultobj
= Py_None
;
12760 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12761 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
* _resultobj
;
12765 bool _arg2
= (bool ) FALSE
;
12766 PyObject
* _argo0
= 0;
12767 int tempbool2
= (int) FALSE
;
12768 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12780 _arg2
= (bool ) tempbool2
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) return NULL
;
12787 } Py_INCREF(Py_None
);
12788 _resultobj
= Py_None
;
12792 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12793 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
* _resultobj
;
12800 bool _arg5
= (bool ) FALSE
;
12801 PyObject
* _argo0
= 0;
12802 int tempbool5
= (int) FALSE
;
12803 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12815 _arg5
= (bool ) tempbool5
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) return NULL
;
12822 } Py_INCREF(Py_None
);
12823 _resultobj
= Py_None
;
12827 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12828 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
* _resultobj
;
12831 PyObject
* _argo0
= 0;
12832 char *_kwnames
[] = { "self", NULL
};
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 wxGrid_SelectAll(_arg0
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) return NULL
;
12850 } Py_INCREF(Py_None
);
12851 _resultobj
= Py_None
;
12855 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12856 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
* _resultobj
;
12860 PyObject
* _argo0
= 0;
12861 char *_kwnames
[] = { "self", NULL
};
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 _result
= (bool )wxGrid_IsSelection(_arg0
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) return NULL
;
12879 } _resultobj
= Py_BuildValue("i",_result
);
12883 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12884 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
* _resultobj
;
12887 PyObject
* _argo0
= 0;
12888 char *_kwnames
[] = { "self", NULL
};
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
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_ClearSelection. Expected _wxGrid_p.");
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 wxGrid_ClearSelection(_arg0
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) return NULL
;
12906 } Py_INCREF(Py_None
);
12907 _resultobj
= Py_None
;
12911 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12912 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
* _resultobj
;
12918 PyObject
* _argo0
= 0;
12919 char *_kwnames
[] = { "self","row","col", NULL
};
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) return NULL
;
12937 } _resultobj
= Py_BuildValue("i",_result
);
12941 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
12942 static PyObject
*_wrap_wxGrid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
* _resultobj
;
12944 wxGridCellCoordsArray
* _result
;
12946 PyObject
* _argo0
= 0;
12947 char *_kwnames
[] = { "self", NULL
};
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCells",_kwnames
,&_argo0
))
12953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0
));
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) return NULL
;
12966 _resultobj
= wxGridCellCoordsArray_helper(_result
);
12974 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
12975 static PyObject
*_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
* _resultobj
;
12977 wxGridCellCoordsArray
* _result
;
12979 PyObject
* _argo0
= 0;
12980 char *_kwnames
[] = { "self", NULL
};
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames
,&_argo0
))
12986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0
));
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) return NULL
;
12999 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13007 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
13008 static PyObject
*_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
* _resultobj
;
13010 wxGridCellCoordsArray
* _result
;
13012 PyObject
* _argo0
= 0;
13013 char *_kwnames
[] = { "self", NULL
};
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames
,&_argo0
))
13019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0
));
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) return NULL
;
13032 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13040 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
13041 static PyObject
*_wrap_wxGrid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
* _resultobj
;
13043 wxArrayInt
* _result
;
13045 PyObject
* _argo0
= 0;
13046 char *_kwnames
[] = { "self", NULL
};
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedRows",_kwnames
,&_argo0
))
13052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 _result
= new wxArrayInt (wxGrid_GetSelectedRows(_arg0
));
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) return NULL
;
13065 _resultobj
= PyList_New(0);
13067 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13068 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13069 PyList_Append(_resultobj
, val
);
13077 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
13078 static PyObject
*_wrap_wxGrid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
* _resultobj
;
13080 wxArrayInt
* _result
;
13082 PyObject
* _argo0
= 0;
13083 char *_kwnames
[] = { "self", NULL
};
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCols",_kwnames
,&_argo0
))
13089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 _result
= new wxArrayInt (wxGrid_GetSelectedCols(_arg0
));
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) return NULL
;
13102 _resultobj
= PyList_New(0);
13104 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13105 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13106 PyList_Append(_resultobj
, val
);
13114 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
13115 static PyObject
*_wrap_wxGrid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
* _resultobj
;
13119 PyObject
* _argo0
= 0;
13120 char *_kwnames
[] = { "self","row", NULL
};
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectRow",_kwnames
,&_argo0
,&_arg1
))
13126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 wxGrid_DeselectRow(_arg0
,_arg1
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) return NULL
;
13138 } Py_INCREF(Py_None
);
13139 _resultobj
= Py_None
;
13143 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
13144 static PyObject
*_wrap_wxGrid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
* _resultobj
;
13148 PyObject
* _argo0
= 0;
13149 char *_kwnames
[] = { "self","col", NULL
};
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectCol",_kwnames
,&_argo0
,&_arg1
))
13155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxGrid_DeselectCol(_arg0
,_arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) return NULL
;
13167 } Py_INCREF(Py_None
);
13168 _resultobj
= Py_None
;
13172 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
13173 static PyObject
*_wrap_wxGrid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
* _resultobj
;
13178 PyObject
* _argo0
= 0;
13179 char *_kwnames
[] = { "self","row","col", NULL
};
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_DeselectCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 wxGrid_DeselectCell(_arg0
,_arg1
,_arg2
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) return NULL
;
13197 } Py_INCREF(Py_None
);
13198 _resultobj
= Py_None
;
13202 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13203 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
* _resultobj
;
13207 wxGridCellCoords
* _arg1
;
13208 wxGridCellCoords
* _arg2
;
13209 PyObject
* _argo0
= 0;
13210 wxGridCellCoords temp
;
13211 PyObject
* _obj1
= 0;
13212 wxGridCellCoords temp0
;
13213 PyObject
* _obj2
= 0;
13214 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
13221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13229 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
13234 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) return NULL
;
13243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
13244 _resultobj
= Py_BuildValue("s",_ptemp
);
13248 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13249 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
* _resultobj
;
13251 wxColour
* _result
;
13253 PyObject
* _argo0
= 0;
13254 char *_kwnames
[] = { "self", NULL
};
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
13261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) return NULL
;
13273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13274 _resultobj
= Py_BuildValue("s",_ptemp
);
13278 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13279 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
* _resultobj
;
13281 wxColour
* _result
;
13283 PyObject
* _argo0
= 0;
13284 char *_kwnames
[] = { "self", NULL
};
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
13291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) return NULL
;
13303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13304 _resultobj
= Py_BuildValue("s",_ptemp
);
13308 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13309 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
* _resultobj
;
13313 PyObject
* _argo0
= 0;
13315 PyObject
* _obj1
= 0;
13316 char *_kwnames
[] = { "self","c", NULL
};
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
13322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13330 if (! wxColour_helper(_obj1
, &_arg1
))
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) return NULL
;
13339 } Py_INCREF(Py_None
);
13340 _resultobj
= Py_None
;
13344 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13345 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
* _resultobj
;
13349 PyObject
* _argo0
= 0;
13351 PyObject
* _obj1
= 0;
13352 char *_kwnames
[] = { "self","c", NULL
};
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
13358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13366 if (! wxColour_helper(_obj1
, &_arg1
))
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) return NULL
;
13375 } Py_INCREF(Py_None
);
13376 _resultobj
= Py_None
;
13380 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13381 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
* _resultobj
;
13385 wxGridCellRenderer
* _arg2
;
13386 wxGridCellEditor
* _arg3
;
13387 PyObject
* _argo0
= 0;
13388 PyObject
* _obj1
= 0;
13389 PyObject
* _argo2
= 0;
13390 PyObject
* _argo3
= 0;
13391 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
13397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13404 _arg1
= wxString_in_helper(_obj1
);
13409 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13410 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
13411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13416 if (_argo3
== Py_None
) { _arg3
= NULL
; }
13417 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
13418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) return NULL
;
13428 } Py_INCREF(Py_None
);
13429 _resultobj
= Py_None
;
13437 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13438 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
* _resultobj
;
13440 wxGridCellEditor
* _result
;
13444 PyObject
* _argo0
= 0;
13445 char *_kwnames
[] = { "self","row","col", NULL
};
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) return NULL
;
13463 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13467 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13468 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
* _resultobj
;
13470 wxGridCellRenderer
* _result
;
13474 PyObject
* _argo0
= 0;
13475 char *_kwnames
[] = { "self","row","col", NULL
};
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) return NULL
;
13493 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13497 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13498 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
* _resultobj
;
13500 wxGridCellEditor
* _result
;
13503 PyObject
* _argo0
= 0;
13504 PyObject
* _obj1
= 0;
13505 char *_kwnames
[] = { "self","typeName", NULL
};
13508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
13511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13518 _arg1
= wxString_in_helper(_obj1
);
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) return NULL
;
13528 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13536 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13537 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
* _resultobj
;
13539 wxGridCellRenderer
* _result
;
13542 PyObject
* _argo0
= 0;
13543 PyObject
* _obj1
= 0;
13544 char *_kwnames
[] = { "self","typeName", NULL
};
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
13550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13557 _arg1
= wxString_in_helper(_obj1
);
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) return NULL
;
13567 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13575 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13576 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
* _resultobj
;
13581 PyObject
* _argo0
= 0;
13582 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) return NULL
;
13600 } Py_INCREF(Py_None
);
13601 _resultobj
= Py_None
;
13605 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13606 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
* _resultobj
;
13608 wxWindow
* _result
;
13610 PyObject
* _argo0
= 0;
13611 char *_kwnames
[] = { "self", NULL
};
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
13617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) return NULL
;
13629 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13633 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13634 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
* _resultobj
;
13636 wxWindow
* _result
;
13638 PyObject
* _argo0
= 0;
13639 char *_kwnames
[] = { "self", NULL
};
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
13645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) return NULL
;
13657 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13661 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13662 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
* _resultobj
;
13664 wxWindow
* _result
;
13666 PyObject
* _argo0
= 0;
13667 char *_kwnames
[] = { "self", NULL
};
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
13673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) return NULL
;
13685 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13689 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13690 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
* _resultobj
;
13692 wxWindow
* _result
;
13694 PyObject
* _argo0
= 0;
13695 char *_kwnames
[] = { "self", NULL
};
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
13701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) return NULL
;
13713 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13717 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
13719 wxNotifyEvent
*dest
;
13720 src
= (wxGridEvent
*) ptr
;
13721 dest
= (wxNotifyEvent
*) src
;
13722 return (void *) dest
;
13725 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13727 wxCommandEvent
*dest
;
13728 src
= (wxGridEvent
*) ptr
;
13729 dest
= (wxCommandEvent
*) src
;
13730 return (void *) dest
;
13733 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13736 src
= (wxGridEvent
*) ptr
;
13737 dest
= (wxEvent
*) src
;
13738 return (void *) dest
;
13741 static void *SwigwxGridEventTowxObject(void *ptr
) {
13744 src
= (wxGridEvent
*) ptr
;
13745 dest
= (wxObject
*) src
;
13746 return (void *) dest
;
13749 #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))
13750 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
* _resultobj
;
13752 wxGridEvent
* _result
;
13756 int _arg3
= (int ) -1;
13757 int _arg4
= (int ) -1;
13758 int _arg5
= (int ) -1;
13759 int _arg6
= (int ) -1;
13760 bool _arg7
= (bool ) TRUE
;
13761 bool _arg8
= (bool ) FALSE
;
13762 bool _arg9
= (bool ) FALSE
;
13763 bool _arg10
= (bool ) FALSE
;
13764 bool _arg11
= (bool ) FALSE
;
13765 PyObject
* _argo2
= 0;
13766 int tempbool7
= (int) TRUE
;
13767 int tempbool8
= (int) FALSE
;
13768 int tempbool9
= (int) FALSE
;
13769 int tempbool10
= (int) FALSE
;
13770 int tempbool11
= (int) FALSE
;
13771 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13778 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13779 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13784 _arg7
= (bool ) tempbool7
;
13785 _arg8
= (bool ) tempbool8
;
13786 _arg9
= (bool ) tempbool9
;
13787 _arg10
= (bool ) tempbool10
;
13788 _arg11
= (bool ) tempbool11
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) return NULL
;
13796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13797 _resultobj
= Py_BuildValue("s",_ptemp
);
13799 Py_INCREF(Py_None
);
13800 _resultobj
= Py_None
;
13805 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13806 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
* _resultobj
;
13809 wxGridEvent
* _arg0
;
13810 PyObject
* _argo0
= 0;
13811 char *_kwnames
[] = { "self", NULL
};
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
13817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 _result
= (int )wxGridEvent_GetRow(_arg0
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) return NULL
;
13829 } _resultobj
= Py_BuildValue("i",_result
);
13833 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13834 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
* _resultobj
;
13837 wxGridEvent
* _arg0
;
13838 PyObject
* _argo0
= 0;
13839 char *_kwnames
[] = { "self", NULL
};
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 _result
= (int )wxGridEvent_GetCol(_arg0
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) return NULL
;
13857 } _resultobj
= Py_BuildValue("i",_result
);
13861 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13862 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
* _resultobj
;
13865 wxGridEvent
* _arg0
;
13866 PyObject
* _argo0
= 0;
13867 char *_kwnames
[] = { "self", NULL
};
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
13874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) return NULL
;
13886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13887 _resultobj
= Py_BuildValue("s",_ptemp
);
13891 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13892 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
* _resultobj
;
13895 wxGridEvent
* _arg0
;
13896 PyObject
* _argo0
= 0;
13897 char *_kwnames
[] = { "self", NULL
};
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
13903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 _result
= (bool )wxGridEvent_Selecting(_arg0
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) return NULL
;
13915 } _resultobj
= Py_BuildValue("i",_result
);
13919 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13920 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
* _resultobj
;
13923 wxGridEvent
* _arg0
;
13924 PyObject
* _argo0
= 0;
13925 char *_kwnames
[] = { "self", NULL
};
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
13931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) return NULL
;
13943 } _resultobj
= Py_BuildValue("i",_result
);
13947 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13948 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
* _resultobj
;
13951 wxGridEvent
* _arg0
;
13952 PyObject
* _argo0
= 0;
13953 char *_kwnames
[] = { "self", NULL
};
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
13959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) return NULL
;
13971 } _resultobj
= Py_BuildValue("i",_result
);
13975 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13976 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
* _resultobj
;
13979 wxGridEvent
* _arg0
;
13980 PyObject
* _argo0
= 0;
13981 char *_kwnames
[] = { "self", NULL
};
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
13987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) return NULL
;
13999 } _resultobj
= Py_BuildValue("i",_result
);
14003 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
14004 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
* _resultobj
;
14007 wxGridEvent
* _arg0
;
14008 PyObject
* _argo0
= 0;
14009 char *_kwnames
[] = { "self", NULL
};
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
14015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 _result
= (bool )wxGridEvent_AltDown(_arg0
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) return NULL
;
14027 } _resultobj
= Py_BuildValue("i",_result
);
14031 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
14032 wxGridSizeEvent
*src
;
14033 wxNotifyEvent
*dest
;
14034 src
= (wxGridSizeEvent
*) ptr
;
14035 dest
= (wxNotifyEvent
*) src
;
14036 return (void *) dest
;
14039 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
14040 wxGridSizeEvent
*src
;
14041 wxCommandEvent
*dest
;
14042 src
= (wxGridSizeEvent
*) ptr
;
14043 dest
= (wxCommandEvent
*) src
;
14044 return (void *) dest
;
14047 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
14048 wxGridSizeEvent
*src
;
14050 src
= (wxGridSizeEvent
*) ptr
;
14051 dest
= (wxEvent
*) src
;
14052 return (void *) dest
;
14055 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
14056 wxGridSizeEvent
*src
;
14058 src
= (wxGridSizeEvent
*) ptr
;
14059 dest
= (wxObject
*) src
;
14060 return (void *) dest
;
14063 #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))
14064 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
* _resultobj
;
14066 wxGridSizeEvent
* _result
;
14070 int _arg3
= (int ) -1;
14071 int _arg4
= (int ) -1;
14072 int _arg5
= (int ) -1;
14073 bool _arg6
= (bool ) FALSE
;
14074 bool _arg7
= (bool ) FALSE
;
14075 bool _arg8
= (bool ) FALSE
;
14076 bool _arg9
= (bool ) FALSE
;
14077 PyObject
* _argo2
= 0;
14078 int tempbool6
= (int) FALSE
;
14079 int tempbool7
= (int) FALSE
;
14080 int tempbool8
= (int) FALSE
;
14081 int tempbool9
= (int) FALSE
;
14082 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
14095 _arg6
= (bool ) tempbool6
;
14096 _arg7
= (bool ) tempbool7
;
14097 _arg8
= (bool ) tempbool8
;
14098 _arg9
= (bool ) tempbool9
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) return NULL
;
14106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
14107 _resultobj
= Py_BuildValue("s",_ptemp
);
14109 Py_INCREF(Py_None
);
14110 _resultobj
= Py_None
;
14115 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
14116 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
* _resultobj
;
14119 wxGridSizeEvent
* _arg0
;
14120 PyObject
* _argo0
= 0;
14121 char *_kwnames
[] = { "self", NULL
};
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
14127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) return NULL
;
14139 } _resultobj
= Py_BuildValue("i",_result
);
14143 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14144 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
* _resultobj
;
14147 wxGridSizeEvent
* _arg0
;
14148 PyObject
* _argo0
= 0;
14149 char *_kwnames
[] = { "self", NULL
};
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
14156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) return NULL
;
14168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
14169 _resultobj
= Py_BuildValue("s",_ptemp
);
14173 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14174 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
* _resultobj
;
14177 wxGridSizeEvent
* _arg0
;
14178 PyObject
* _argo0
= 0;
14179 char *_kwnames
[] = { "self", NULL
};
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
14185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) return NULL
;
14197 } _resultobj
= Py_BuildValue("i",_result
);
14201 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14202 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
* _resultobj
;
14205 wxGridSizeEvent
* _arg0
;
14206 PyObject
* _argo0
= 0;
14207 char *_kwnames
[] = { "self", NULL
};
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
14213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) return NULL
;
14225 } _resultobj
= Py_BuildValue("i",_result
);
14229 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14230 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
* _resultobj
;
14233 wxGridSizeEvent
* _arg0
;
14234 PyObject
* _argo0
= 0;
14235 char *_kwnames
[] = { "self", NULL
};
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
14241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) return NULL
;
14253 } _resultobj
= Py_BuildValue("i",_result
);
14257 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14258 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
* _resultobj
;
14261 wxGridSizeEvent
* _arg0
;
14262 PyObject
* _argo0
= 0;
14263 char *_kwnames
[] = { "self", NULL
};
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
14269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) return NULL
;
14281 } _resultobj
= Py_BuildValue("i",_result
);
14285 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
14286 wxGridRangeSelectEvent
*src
;
14287 wxNotifyEvent
*dest
;
14288 src
= (wxGridRangeSelectEvent
*) ptr
;
14289 dest
= (wxNotifyEvent
*) src
;
14290 return (void *) dest
;
14293 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
14294 wxGridRangeSelectEvent
*src
;
14295 wxCommandEvent
*dest
;
14296 src
= (wxGridRangeSelectEvent
*) ptr
;
14297 dest
= (wxCommandEvent
*) src
;
14298 return (void *) dest
;
14301 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
14302 wxGridRangeSelectEvent
*src
;
14304 src
= (wxGridRangeSelectEvent
*) ptr
;
14305 dest
= (wxEvent
*) src
;
14306 return (void *) dest
;
14309 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
14310 wxGridRangeSelectEvent
*src
;
14312 src
= (wxGridRangeSelectEvent
*) ptr
;
14313 dest
= (wxObject
*) src
;
14314 return (void *) dest
;
14317 #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))
14318 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
* _resultobj
;
14320 wxGridRangeSelectEvent
* _result
;
14324 wxGridCellCoords
* _arg3
;
14325 wxGridCellCoords
* _arg4
;
14326 bool _arg5
= (bool ) TRUE
;
14327 bool _arg6
= (bool ) FALSE
;
14328 bool _arg7
= (bool ) FALSE
;
14329 bool _arg8
= (bool ) FALSE
;
14330 bool _arg9
= (bool ) FALSE
;
14331 PyObject
* _argo2
= 0;
14332 wxGridCellCoords temp
;
14333 PyObject
* _obj3
= 0;
14334 wxGridCellCoords temp0
;
14335 PyObject
* _obj4
= 0;
14336 int tempbool5
= (int) TRUE
;
14337 int tempbool6
= (int) FALSE
;
14338 int tempbool7
= (int) FALSE
;
14339 int tempbool8
= (int) FALSE
;
14340 int tempbool9
= (int) FALSE
;
14341 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14348 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14349 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14356 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
14361 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
14364 _arg5
= (bool ) tempbool5
;
14365 _arg6
= (bool ) tempbool6
;
14366 _arg7
= (bool ) tempbool7
;
14367 _arg8
= (bool ) tempbool8
;
14368 _arg9
= (bool ) tempbool9
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) return NULL
;
14376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
14377 _resultobj
= Py_BuildValue("s",_ptemp
);
14379 Py_INCREF(Py_None
);
14380 _resultobj
= Py_None
;
14385 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14386 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
* _resultobj
;
14388 wxGridCellCoords
* _result
;
14389 wxGridRangeSelectEvent
* _arg0
;
14390 PyObject
* _argo0
= 0;
14391 char *_kwnames
[] = { "self", NULL
};
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
14398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) return NULL
;
14410 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14411 _resultobj
= Py_BuildValue("s",_ptemp
);
14415 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14416 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
* _resultobj
;
14418 wxGridCellCoords
* _result
;
14419 wxGridRangeSelectEvent
* _arg0
;
14420 PyObject
* _argo0
= 0;
14421 char *_kwnames
[] = { "self", NULL
};
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
14428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) return NULL
;
14440 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14441 _resultobj
= Py_BuildValue("s",_ptemp
);
14445 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14446 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
* _resultobj
;
14449 wxGridRangeSelectEvent
* _arg0
;
14450 PyObject
* _argo0
= 0;
14451 char *_kwnames
[] = { "self", NULL
};
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
14457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) return NULL
;
14469 } _resultobj
= Py_BuildValue("i",_result
);
14473 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14474 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
* _resultobj
;
14477 wxGridRangeSelectEvent
* _arg0
;
14478 PyObject
* _argo0
= 0;
14479 char *_kwnames
[] = { "self", NULL
};
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
14485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) return NULL
;
14497 } _resultobj
= Py_BuildValue("i",_result
);
14501 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14502 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
* _resultobj
;
14505 wxGridRangeSelectEvent
* _arg0
;
14506 PyObject
* _argo0
= 0;
14507 char *_kwnames
[] = { "self", NULL
};
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
14513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) return NULL
;
14525 } _resultobj
= Py_BuildValue("i",_result
);
14529 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14530 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
* _resultobj
;
14533 wxGridRangeSelectEvent
* _arg0
;
14534 PyObject
* _argo0
= 0;
14535 char *_kwnames
[] = { "self", NULL
};
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
14541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) return NULL
;
14553 } _resultobj
= Py_BuildValue("i",_result
);
14557 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14558 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
* _resultobj
;
14561 wxGridRangeSelectEvent
* _arg0
;
14562 PyObject
* _argo0
= 0;
14563 char *_kwnames
[] = { "self", NULL
};
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
14569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) return NULL
;
14581 } _resultobj
= Py_BuildValue("i",_result
);
14585 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14586 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
* _resultobj
;
14589 wxGridRangeSelectEvent
* _arg0
;
14590 PyObject
* _argo0
= 0;
14591 char *_kwnames
[] = { "self", NULL
};
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
14597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) return NULL
;
14609 } _resultobj
= Py_BuildValue("i",_result
);
14613 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14614 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
* _resultobj
;
14617 wxGridRangeSelectEvent
* _arg0
;
14618 PyObject
* _argo0
= 0;
14619 char *_kwnames
[] = { "self", NULL
};
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
14625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) return NULL
;
14637 } _resultobj
= Py_BuildValue("i",_result
);
14641 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14642 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
* _resultobj
;
14645 wxGridRangeSelectEvent
* _arg0
;
14646 PyObject
* _argo0
= 0;
14647 char *_kwnames
[] = { "self", NULL
};
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
14653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) return NULL
;
14665 } _resultobj
= Py_BuildValue("i",_result
);
14669 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14670 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
* _resultobj
;
14673 wxGridRangeSelectEvent
* _arg0
;
14674 PyObject
* _argo0
= 0;
14675 char *_kwnames
[] = { "self", NULL
};
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
14681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) return NULL
;
14693 } _resultobj
= Py_BuildValue("i",_result
);
14697 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
14698 wxGridEditorCreatedEvent
*src
;
14699 wxCommandEvent
*dest
;
14700 src
= (wxGridEditorCreatedEvent
*) ptr
;
14701 dest
= (wxCommandEvent
*) src
;
14702 return (void *) dest
;
14705 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
14706 wxGridEditorCreatedEvent
*src
;
14708 src
= (wxGridEditorCreatedEvent
*) ptr
;
14709 dest
= (wxEvent
*) src
;
14710 return (void *) dest
;
14713 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
14714 wxGridEditorCreatedEvent
*src
;
14716 src
= (wxGridEditorCreatedEvent
*) ptr
;
14717 dest
= (wxObject
*) src
;
14718 return (void *) dest
;
14721 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14722 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
* _resultobj
;
14724 wxGridEditorCreatedEvent
* _result
;
14731 PyObject
* _argo2
= 0;
14732 PyObject
* _argo5
= 0;
14733 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14740 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14741 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14747 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14748 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) return NULL
;
14760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14761 _resultobj
= Py_BuildValue("s",_ptemp
);
14763 Py_INCREF(Py_None
);
14764 _resultobj
= Py_None
;
14769 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14770 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
* _resultobj
;
14773 wxGridEditorCreatedEvent
* _arg0
;
14774 PyObject
* _argo0
= 0;
14775 char *_kwnames
[] = { "self", NULL
};
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
14781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) return NULL
;
14793 } _resultobj
= Py_BuildValue("i",_result
);
14797 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14798 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
* _resultobj
;
14801 wxGridEditorCreatedEvent
* _arg0
;
14802 PyObject
* _argo0
= 0;
14803 char *_kwnames
[] = { "self", NULL
};
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
14809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) return NULL
;
14821 } _resultobj
= Py_BuildValue("i",_result
);
14825 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14826 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
* _resultobj
;
14828 wxControl
* _result
;
14829 wxGridEditorCreatedEvent
* _arg0
;
14830 PyObject
* _argo0
= 0;
14831 char *_kwnames
[] = { "self", NULL
};
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
14837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) return NULL
;
14849 }{ _resultobj
= wxPyMake_wxObject(_result
); }
14853 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14854 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
* _resultobj
;
14856 wxGridEditorCreatedEvent
* _arg0
;
14858 PyObject
* _argo0
= 0;
14859 char *_kwnames
[] = { "self","row", NULL
};
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
14865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) return NULL
;
14877 } Py_INCREF(Py_None
);
14878 _resultobj
= Py_None
;
14882 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14883 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
* _resultobj
;
14885 wxGridEditorCreatedEvent
* _arg0
;
14887 PyObject
* _argo0
= 0;
14888 char *_kwnames
[] = { "self","col", NULL
};
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
14894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) return NULL
;
14906 } Py_INCREF(Py_None
);
14907 _resultobj
= Py_None
;
14911 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14912 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
* _resultobj
;
14914 wxGridEditorCreatedEvent
* _arg0
;
14916 PyObject
* _argo0
= 0;
14917 PyObject
* _argo1
= 0;
14918 char *_kwnames
[] = { "self","ctrl", NULL
};
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
14924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
14932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
14933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) return NULL
;
14943 } Py_INCREF(Py_None
);
14944 _resultobj
= Py_None
;
14948 static PyMethodDef gridcMethods
[] = {
14949 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14950 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14951 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14952 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14953 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14954 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14955 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14956 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14957 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14958 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14959 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14960 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14961 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14962 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14963 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14964 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14965 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14966 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14967 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14968 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14969 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14970 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14971 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14972 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14973 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14974 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14975 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14976 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14977 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14978 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14979 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14980 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14981 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14982 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14983 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14984 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14985 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14986 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14987 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14988 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14989 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14990 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14991 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14992 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14993 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14994 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14995 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14996 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14997 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14998 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14999 { "wxGrid_DeselectCell", (PyCFunction
) _wrap_wxGrid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15000 { "wxGrid_DeselectCol", (PyCFunction
) _wrap_wxGrid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15001 { "wxGrid_DeselectRow", (PyCFunction
) _wrap_wxGrid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15002 { "wxGrid_GetSelectedCols", (PyCFunction
) _wrap_wxGrid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15003 { "wxGrid_GetSelectedRows", (PyCFunction
) _wrap_wxGrid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15004 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15005 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15006 { "wxGrid_GetSelectedCells", (PyCFunction
) _wrap_wxGrid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15007 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15008 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15009 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15010 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15011 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15012 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15013 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15014 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15015 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15016 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15017 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15018 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15019 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15020 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15021 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15022 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15023 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15024 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15025 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15026 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15027 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15028 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15029 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15030 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15031 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15032 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15033 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15034 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15035 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15036 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15037 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15038 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15039 { "wxGrid_AutoSizeColLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15040 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15041 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15042 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15043 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15044 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15045 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15046 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15047 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15048 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15049 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15050 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15051 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15052 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15053 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15054 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15055 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15056 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15057 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15058 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15059 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15060 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15061 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15062 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15063 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15064 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15065 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15066 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15067 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15068 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15069 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15070 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15071 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15072 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15073 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15074 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15075 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15076 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15077 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15078 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15079 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15080 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15081 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15082 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15083 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15084 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15085 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15086 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15087 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15088 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15089 { "wxGrid_SetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15090 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15091 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15092 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15093 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15094 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15095 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15096 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15097 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15098 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15099 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15100 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15101 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15102 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15103 { "wxGrid_GetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15104 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15105 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15106 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15107 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15108 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15109 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15110 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15111 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15112 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15113 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15114 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15115 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15116 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15117 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15118 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15119 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15120 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15121 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15122 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15123 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15124 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15125 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15126 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15127 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15128 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15129 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15130 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15131 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15132 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15133 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15134 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15135 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15136 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15137 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15138 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15139 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15140 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15141 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15142 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15143 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15144 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15145 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15146 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15147 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15148 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15149 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15150 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15151 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15152 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15153 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15154 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15155 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15156 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15157 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15158 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15159 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15160 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15161 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15162 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15163 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15164 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15165 { "wxGrid_GetSelectionMode", (PyCFunction
) _wrap_wxGrid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15166 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15167 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15168 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
15169 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
15170 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15171 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15172 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15173 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15174 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15175 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15176 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15177 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15178 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15179 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15180 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15181 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15182 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15183 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15184 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15185 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15186 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15187 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15188 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15189 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15190 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15191 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15192 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15193 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15194 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15195 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15196 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15197 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15198 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15199 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15200 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15201 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15202 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15203 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15204 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15205 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15206 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15207 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15208 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15209 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15210 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15211 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15212 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15213 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15214 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15215 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15216 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15217 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15218 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15219 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15220 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15221 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15222 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15223 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15224 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15225 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15226 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15227 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15228 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15229 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15230 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15231 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15232 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15233 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15234 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15235 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15236 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15237 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15238 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15239 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15240 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15241 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15242 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15243 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15244 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15245 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15246 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15247 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15248 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15249 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15250 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15251 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15252 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15253 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15254 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15255 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15256 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15257 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15258 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15259 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15260 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15261 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15262 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15263 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15264 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15265 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15266 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15267 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15268 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15269 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15270 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15271 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15272 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15273 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15274 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15275 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15276 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15277 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15278 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15279 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15280 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15281 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15282 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15283 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15284 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15285 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15286 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15287 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15288 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15289 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15290 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15291 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15292 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15293 { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_wxGridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15294 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15295 { "wxGridCellEnumEditor_GetValue", (PyCFunction
) _wrap_wxGridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15296 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15297 { "wxGridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_wxGridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15298 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15299 { "wxGridCellBoolEditor_GetValue", (PyCFunction
) _wrap_wxGridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15300 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15301 { "wxGridCellFloatEditor_GetValue", (PyCFunction
) _wrap_wxGridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15302 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15303 { "wxGridCellNumberEditor_GetValue", (PyCFunction
) _wrap_wxGridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15304 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15305 { "wxGridCellTextEditor_GetValue", (PyCFunction
) _wrap_wxGridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15306 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15307 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15308 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15309 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15310 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15311 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15312 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15313 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15314 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15315 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15316 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15317 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15318 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15319 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15320 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15321 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15322 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15323 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15324 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15325 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15326 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15327 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15328 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15329 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15330 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15331 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15332 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15333 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15334 { "wxGridCellEditor_SetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15335 { "wxGridCellEditor_GetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15336 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15337 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15338 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15339 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15340 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15341 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15342 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15343 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15344 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15345 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15346 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15347 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15348 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15349 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15350 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15351 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15352 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15353 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15354 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15355 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15356 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15357 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15358 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15359 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15360 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15367 * This table is used by the pointer type-checker
15369 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
15370 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
15371 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
15372 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
15373 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
15374 { "_signed_long","_long",0},
15375 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
15376 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15377 { "_wxPrintQuality","_wxCoord",0},
15378 { "_wxPrintQuality","_int",0},
15379 { "_wxPrintQuality","_signed_int",0},
15380 { "_wxPrintQuality","_unsigned_int",0},
15381 { "_wxPrintQuality","_wxWindowID",0},
15382 { "_wxPrintQuality","_uint",0},
15383 { "_wxPrintQuality","_EBool",0},
15384 { "_wxPrintQuality","_size_t",0},
15385 { "_wxPrintQuality","_time_t",0},
15386 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
15387 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
15388 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
15389 { "_byte","_unsigned_char",0},
15390 { "_long","_unsigned_long",0},
15391 { "_long","_signed_long",0},
15392 { "_size_t","_WXGRIDSELECTIONMODES",0},
15393 { "_size_t","_wxCoord",0},
15394 { "_size_t","_wxPrintQuality",0},
15395 { "_size_t","_time_t",0},
15396 { "_size_t","_unsigned_int",0},
15397 { "_size_t","_int",0},
15398 { "_size_t","_wxWindowID",0},
15399 { "_size_t","_uint",0},
15400 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
15401 { "_uint","_WXGRIDSELECTIONMODES",0},
15402 { "_uint","_wxCoord",0},
15403 { "_uint","_wxPrintQuality",0},
15404 { "_uint","_time_t",0},
15405 { "_uint","_size_t",0},
15406 { "_uint","_unsigned_int",0},
15407 { "_uint","_int",0},
15408 { "_uint","_wxWindowID",0},
15409 { "_wxChar","_char",0},
15410 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
15411 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
15412 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
15413 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
15414 { "_char","_wxChar",0},
15415 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
15416 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
15417 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
15418 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
15419 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
15420 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15421 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
15422 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
15423 { "_EBool","_WXGRIDSELECTIONMODES",0},
15424 { "_EBool","_wxCoord",0},
15425 { "_EBool","_wxPrintQuality",0},
15426 { "_EBool","_signed_int",0},
15427 { "_EBool","_int",0},
15428 { "_EBool","_wxWindowID",0},
15429 { "_unsigned_long","_long",0},
15430 { "_WXGRIDSELECTIONMODES","_int",0},
15431 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15432 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15433 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15434 { "_WXGRIDSELECTIONMODES","_uint",0},
15435 { "_WXGRIDSELECTIONMODES","_EBool",0},
15436 { "_WXGRIDSELECTIONMODES","_size_t",0},
15437 { "_WXGRIDSELECTIONMODES","_time_t",0},
15438 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15439 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15440 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15441 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15442 { "_signed_int","_wxCoord",0},
15443 { "_signed_int","_wxPrintQuality",0},
15444 { "_signed_int","_EBool",0},
15445 { "_signed_int","_wxWindowID",0},
15446 { "_signed_int","_int",0},
15447 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
15448 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
15449 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
15450 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
15451 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
15452 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
15453 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
15454 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
15455 { "_WXTYPE","_short",0},
15456 { "_WXTYPE","_signed_short",0},
15457 { "_WXTYPE","_unsigned_short",0},
15458 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
15459 { "_unsigned_short","_WXTYPE",0},
15460 { "_unsigned_short","_short",0},
15461 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
15462 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
15463 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
15464 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
15465 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
15466 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
15467 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
15468 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
15469 { "_signed_short","_WXTYPE",0},
15470 { "_signed_short","_short",0},
15471 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
15472 { "_unsigned_char","_byte",0},
15473 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15474 { "_unsigned_int","_wxCoord",0},
15475 { "_unsigned_int","_wxPrintQuality",0},
15476 { "_unsigned_int","_time_t",0},
15477 { "_unsigned_int","_size_t",0},
15478 { "_unsigned_int","_uint",0},
15479 { "_unsigned_int","_wxWindowID",0},
15480 { "_unsigned_int","_int",0},
15481 { "_short","_WXTYPE",0},
15482 { "_short","_unsigned_short",0},
15483 { "_short","_signed_short",0},
15484 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15485 { "_wxWindowID","_wxCoord",0},
15486 { "_wxWindowID","_wxPrintQuality",0},
15487 { "_wxWindowID","_time_t",0},
15488 { "_wxWindowID","_size_t",0},
15489 { "_wxWindowID","_EBool",0},
15490 { "_wxWindowID","_uint",0},
15491 { "_wxWindowID","_int",0},
15492 { "_wxWindowID","_signed_int",0},
15493 { "_wxWindowID","_unsigned_int",0},
15494 { "_int","_WXGRIDSELECTIONMODES",0},
15495 { "_int","_wxCoord",0},
15496 { "_int","_wxPrintQuality",0},
15497 { "_int","_time_t",0},
15498 { "_int","_size_t",0},
15499 { "_int","_EBool",0},
15500 { "_int","_uint",0},
15501 { "_int","_wxWindowID",0},
15502 { "_int","_unsigned_int",0},
15503 { "_int","_signed_int",0},
15504 { "_time_t","_WXGRIDSELECTIONMODES",0},
15505 { "_time_t","_wxCoord",0},
15506 { "_time_t","_wxPrintQuality",0},
15507 { "_time_t","_unsigned_int",0},
15508 { "_time_t","_int",0},
15509 { "_time_t","_wxWindowID",0},
15510 { "_time_t","_uint",0},
15511 { "_time_t","_size_t",0},
15512 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15513 { "_wxCoord","_int",0},
15514 { "_wxCoord","_signed_int",0},
15515 { "_wxCoord","_unsigned_int",0},
15516 { "_wxCoord","_wxWindowID",0},
15517 { "_wxCoord","_uint",0},
15518 { "_wxCoord","_EBool",0},
15519 { "_wxCoord","_size_t",0},
15520 { "_wxCoord","_time_t",0},
15521 { "_wxCoord","_wxPrintQuality",0},
15522 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
15523 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
15524 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
15525 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
15526 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
15527 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
15528 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
15529 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
15530 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
15531 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
15532 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
15533 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
15534 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
15537 static PyObject
*SWIG_globals
;
15541 SWIGEXPORT(void) initgridc() {
15543 SWIG_globals
= SWIG_newvarlink();
15544 m
= Py_InitModule("gridc", gridcMethods
);
15545 d
= PyModule_GetDict(m
);
15546 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15547 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15548 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15549 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15550 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15551 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15552 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15553 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15554 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15555 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
15556 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
15557 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
15558 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
15559 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
15560 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
15561 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
15562 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
15563 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
15564 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
15565 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
15566 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
15567 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
15568 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
15569 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
15570 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
15571 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
15572 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
15573 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15574 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
15575 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
15576 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
15577 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
15578 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
15579 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
15580 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
15581 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
15583 wxClassInfo::CleanUpClasses();
15584 wxClassInfo::InitializeClasses();
15585 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
15586 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
15587 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
15588 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
15589 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
15590 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
15591 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
15592 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
15593 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
15596 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
15597 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);