2 * FILE : src/gtk/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgridc
55 #define SWIG_name "gridc"
59 #include <wx/generic/gridctrl.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
90 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
91 static const wxString
wxPyEmptyString(wxT(""));
94 #define wxPyMake_TEMPLATE(TYPE) \
95 PyObject* wxPyMake_##TYPE(TYPE* source) { \
96 PyObject* target = NULL; \
98 /* Check if there is already a pointer to a Python object in the \
99 OOR data that we can use. */ \
100 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
102 target = data->m_obj; \
105 /* Otherwise make a new wrapper for it the old fashioned way and \
106 give it the OOR treatment */ \
108 target = wxPyConstructObject(source, wxT(#TYPE), FALSE); \
110 source->SetClientObject(new wxPyOORClientData(target)); \
112 } else { /* source was NULL so return None. */ \
113 Py_INCREF(Py_None); target = Py_None; \
119 wxPyMake_TEMPLATE(wxGridCellRenderer)
120 wxPyMake_TEMPLATE(wxGridCellEditor
)
121 wxPyMake_TEMPLATE(wxGridCellAttr
)
122 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
123 wxPyMake_TEMPLATE(wxGridTableBase
)
126 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
127 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
128 wxGridCellAttr* rval = NULL; \
130 wxPyBeginBlockThreads(); \
131 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
133 wxGridCellAttr* ptr; \
134 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
136 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
141 wxPyEndBlockThreads(); \
143 rval = PCLASS::CBNAME(a, b, c); \
146 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
147 return PCLASS::CBNAME(a, b, c); \
152 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
154 wxPyBeginBlockThreads(); \
156 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
157 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
158 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
161 wxPyEndBlockThreads(); \
163 PCLASS::CBNAME(attr, a, b); \
165 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
166 PCLASS::CBNAME(attr, a, b); \
171 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
172 void CBNAME(wxGridCellAttr *attr, int val) { \
173 wxPyBeginBlockThreads(); \
175 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
176 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
177 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
180 wxPyEndBlockThreads(); \
182 PCLASS::CBNAME(attr, val); \
184 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
185 PCLASS::CBNAME(attr, val); \
190 #define PYCALLBACK_INT__pure(CBNAME) \
192 wxPyBeginBlockThreads(); \
194 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
195 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
196 wxPyEndBlockThreads(); \
202 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
203 bool CBNAME(int a, int b) { \
204 wxPyBeginBlockThreads(); \
206 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
207 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
208 wxPyEndBlockThreads(); \
213 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
214 wxString CBNAME(int a, int b) { \
215 wxPyBeginBlockThreads(); \
217 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
219 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
221 rval = Py2wxString(ro); \
225 wxPyEndBlockThreads(); \
230 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
231 void CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
234 PyObject* s = wx2PyString(c); \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
238 wxPyEndBlockThreads(); \
242 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
243 wxString CBNAME(int a, int b) { \
245 wxPyBeginBlockThreads(); \
247 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
249 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
251 rval = Py2wxString(ro); \
255 wxPyEndBlockThreads(); \
257 rval = PCLASS::CBNAME(a, b); \
260 wxString base_##CBNAME(int a, int b) { \
261 return PCLASS::CBNAME(a, b); \
265 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b, const wxString& c) { \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
271 PyObject* s = wx2PyString(c); \
272 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
275 wxPyEndBlockThreads(); \
277 rval = PCLASS::CBNAME(a,b,c); \
280 bool base_##CBNAME(int a, int b, const wxString& c) { \
281 return PCLASS::CBNAME(a,b,c); \
287 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
288 long CBNAME(int a, int b) { \
291 wxPyBeginBlockThreads(); \
292 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
293 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
294 wxPyEndBlockThreads(); \
296 rval = PCLASS::CBNAME(a,b); \
299 long base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a,b); \
305 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
306 bool CBNAME(int a, int b) { \
309 wxPyBeginBlockThreads(); \
310 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
311 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
312 wxPyEndBlockThreads(); \
314 rval = PCLASS::CBNAME(a,b); \
317 bool base_##CBNAME(int a, int b) { \
318 return PCLASS::CBNAME(a,b); \
323 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
324 double CBNAME(int a, int b) { \
326 wxPyBeginBlockThreads(); \
328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
330 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
332 PyObject* str = PyObject_Str(ro); \
333 rval = PyFloat_AsDouble(str); \
334 Py_DECREF(ro); Py_DECREF(str); \
337 wxPyEndBlockThreads(); \
339 rval = PCLASS::CBNAME(a, b); \
342 double base_##CBNAME(int a, int b) { \
343 return PCLASS::CBNAME(a, b); \
348 #define PYCALLBACK__(PCLASS, CBNAME) \
351 wxPyBeginBlockThreads(); \
352 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
353 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
354 wxPyEndBlockThreads(); \
358 void base_##CBNAME() { \
365 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
366 bool CBNAME(size_t a, size_t b) { \
369 wxPyBeginBlockThreads(); \
370 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
371 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
372 wxPyEndBlockThreads(); \
374 rval = PCLASS::CBNAME(a,b); \
377 bool base_##CBNAME(size_t a, size_t b) { \
378 return PCLASS::CBNAME(a,b); \
383 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
384 bool CBNAME(size_t a) { \
387 wxPyBeginBlockThreads(); \
388 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
389 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
390 wxPyEndBlockThreads(); \
392 rval = PCLASS::CBNAME(a); \
395 bool base_##CBNAME(size_t a) { \
396 return PCLASS::CBNAME(a); \
400 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
401 wxString CBNAME(int a) { \
403 wxPyBeginBlockThreads(); \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
407 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
409 rval = Py2wxString(ro); \
413 wxPyEndBlockThreads(); \
415 rval = PCLASS::CBNAME(a); \
418 wxString base_##CBNAME(int a) { \
419 return PCLASS::CBNAME(a); \
423 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
424 void CBNAME(int a, const wxString& c) { \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
428 PyObject* s = wx2PyString(c); \
429 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
432 wxPyEndBlockThreads(); \
434 PCLASS::CBNAME(a,c); \
436 void base_##CBNAME(int a, const wxString& c) { \
437 PCLASS::CBNAME(a,c); \
443 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
447 wxPyBeginBlockThreads(); \
448 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
449 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
450 wxPyEndBlockThreads(); \
452 rval = PCLASS::CBNAME(); \
455 bool base_##CBNAME() { \
456 return PCLASS::CBNAME(); \
461 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
462 void CBNAME(size_t a, int b) { \
464 wxPyBeginBlockThreads(); \
465 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
466 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
467 wxPyEndBlockThreads(); \
469 PCLASS::CBNAME(a,b); \
471 void base_##CBNAME(size_t a, int b) { \
472 PCLASS::CBNAME(a,b); \
478 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
479 void CBNAME(int a, int b, long c) { \
481 wxPyBeginBlockThreads(); \
482 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
483 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
484 wxPyEndBlockThreads(); \
486 PCLASS::CBNAME(a,b,c); \
488 void base_##CBNAME(int a, int b, long c) { \
489 PCLASS::CBNAME(a,b,c); \
495 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
496 void CBNAME(int a, int b, double c) { \
498 wxPyBeginBlockThreads(); \
499 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
500 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
501 wxPyEndBlockThreads(); \
503 PCLASS::CBNAME(a,b,c); \
505 void base_##CBNAME(int a, int b, double c) { \
506 PCLASS::CBNAME(a,b,c); \
511 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
512 void CBNAME(int a, int b, bool c) { \
514 wxPyBeginBlockThreads(); \
515 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
516 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
517 wxPyEndBlockThreads(); \
519 PCLASS::CBNAME(a,b,c); \
521 void base_##CBNAME(int a, int b, bool c) { \
522 PCLASS::CBNAME(a,b,c); \
529 class wxPyGridCellRenderer
: public wxGridCellRenderer
532 wxPyGridCellRenderer() : wxGridCellRenderer() {};
534 // Implement Python callback aware virtual methods
535 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
536 wxDC
& dc
, const wxRect
& rect
,
537 int row
, int col
, bool isSelected
) {
538 wxPyBeginBlockThreads();
539 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
540 PyObject
* go
= wxPyMake_wxObject(&grid
);
541 PyObject
* dco
= wxPyMake_wxObject(&dc
);
542 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
543 PyObject
* ro
= wxPyConstructObject((void*)&rect
, wxT("wxRect"), 0);
545 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
546 row
, col
, isSelected
));
552 wxPyEndBlockThreads();
555 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
558 wxPyBeginBlockThreads();
559 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
562 PyObject
* go
= wxPyMake_wxObject(&grid
);
563 PyObject
* dco
= wxPyMake_wxObject(&dc
);
564 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
566 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
574 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
575 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p")) {
578 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
579 PyObject
* o1
= PySequence_GetItem(ro
, 0);
580 PyObject
* o2
= PySequence_GetItem(ro
, 1);
581 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
582 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
584 PyErr_SetString(PyExc_TypeError
, errmsg
);
589 PyErr_SetString(PyExc_TypeError
, errmsg
);
594 wxPyEndBlockThreads();
599 wxGridCellRenderer
*Clone() const {
600 wxGridCellRenderer
* rval
= NULL
;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
604 wxGridCellRenderer
* ptr
;
605 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
607 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
612 wxPyEndBlockThreads();
616 DEC_PYCALLBACK__STRING(SetParameters
);
621 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
624 class wxPyGridCellEditor
: public wxGridCellEditor
627 wxPyGridCellEditor() : wxGridCellEditor() {}
629 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
630 wxPyBeginBlockThreads();
631 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
632 PyObject
* po
= wxPyMake_wxObject(parent
);
633 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
635 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
639 wxPyEndBlockThreads();
643 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
644 wxPyBeginBlockThreads();
645 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
646 PyObject
* go
= wxPyMake_wxObject(grid
);
647 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
650 wxPyEndBlockThreads();
654 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
656 wxPyBeginBlockThreads();
657 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
658 PyObject
* go
= wxPyMake_wxObject(grid
);
659 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
662 wxPyEndBlockThreads();
667 wxGridCellEditor
* Clone() const {
668 wxGridCellEditor
* rval
= NULL
;
669 wxPyBeginBlockThreads();
670 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
672 wxGridCellEditor
* ptr
;
673 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
675 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
680 wxPyEndBlockThreads();
685 void Show(bool show
, wxGridCellAttr
*attr
) {
687 wxPyBeginBlockThreads();
688 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
689 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
690 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
693 wxPyEndBlockThreads();
695 wxGridCellEditor::Show(show
, attr
);
697 void base_Show(bool show
, wxGridCellAttr
*attr
) {
698 wxGridCellEditor::Show(show
, attr
);
702 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
706 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
707 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, wxT("wxRect"), 0);
709 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
714 wxPyEndBlockThreads();
716 wxGridCellEditor::PaintBackground(rectCell
, attr
);
718 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
719 wxGridCellEditor::PaintBackground(rectCell
, attr
);
723 DEC_PYCALLBACK___pure(Reset
);
724 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
725 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
726 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
727 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
728 DEC_PYCALLBACK__(StartingClick
);
729 DEC_PYCALLBACK__(Destroy
);
730 DEC_PYCALLBACK__STRING(SetParameters
);
731 DEC_PYCALLBACK_STRING__constpure(GetValue
);
737 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
738 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
739 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
740 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
741 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
742 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
743 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
744 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
745 IMP_PYCALLBACK_STRING__constpure(wxPyGridCellEditor
, wxGridCellEditor
, GetValue
);
748 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
751 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
753 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
754 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
756 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
761 class wxPyGridTableBase
: public wxGridTableBase
764 wxPyGridTableBase() : wxGridTableBase() {}
766 PYCALLBACK_INT__pure(GetNumberRows
);
767 PYCALLBACK_INT__pure(GetNumberCols
);
768 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
769 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
771 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
772 PYCALLBACK__(wxGridTableBase
, Clear
);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
776 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
778 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
779 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
780 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
781 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
782 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
783 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
784 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
785 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
786 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
787 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
790 wxString
GetValue(int row
, int col
) {
791 wxPyBeginBlockThreads();
793 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
795 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
797 rval
= Py2wxString(ro
);
801 wxPyEndBlockThreads();
805 void SetValue(int row
, int col
, const wxString
& val
) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
808 PyObject
* s
= wx2PyString(val
);
809 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
812 wxPyEndBlockThreads();
816 // Map the Get/Set methods for the standard non-string types to
817 // the GetValue and SetValue python methods.
818 long GetValueAsLong( int row
, int col
) {
820 wxPyBeginBlockThreads();
821 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
824 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
825 if (ro
&& PyNumber_Check(ro
)) {
826 num
= PyNumber_Int(ro
);
828 rval
= PyInt_AsLong(num
);
834 wxPyEndBlockThreads();
838 double GetValueAsDouble( int row
, int col
) {
840 wxPyBeginBlockThreads();
841 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
844 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
845 if (ro
&& PyNumber_Check(ro
)) {
846 num
= PyNumber_Float(ro
);
848 rval
= PyFloat_AsDouble(num
);
854 wxPyEndBlockThreads();
858 bool GetValueAsBool( int row
, int col
) {
859 return (bool)GetValueAsLong(row
, col
);
862 void SetValueAsLong( int row
, int col
, long value
) {
863 wxPyBeginBlockThreads();
864 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
865 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
867 wxPyEndBlockThreads();
870 void SetValueAsDouble( int row
, int col
, double value
) {
871 wxPyBeginBlockThreads();
872 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
873 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
875 wxPyEndBlockThreads();
878 void SetValueAsBool( int row
, int col
, bool value
) {
879 SetValueAsLong( row
, col
, (long)value
);
886 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
888 // If source is an object instance then it may already be the right type
889 if (PyInstance_Check(source
)) {
890 wxGridCellCoords
* ptr
;
891 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
896 // otherwise a 2-tuple of integers is expected
897 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
898 PyObject
* o1
= PySequence_GetItem(source
, 0);
899 PyObject
* o2
= PySequence_GetItem(source
, 1);
900 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
905 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
909 PyObject
* wxGridCellCoordsArray_helper(const wxGridCellCoordsArray
* source
)
911 PyObject
* list
= PyList_New(0);
913 for (idx
= 0; idx
< source
->GetCount(); idx
+= 1) {
914 wxGridCellCoords
& coord
= source
->Item(idx
);
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(coord
.GetRow()));
917 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(coord
.GetCol()));
918 PyList_Append(list
, tup
);
924 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
928 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
930 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
934 static PyObject
*_wrap_wxGridNoCellCoords_get() {
938 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
939 pyobj
= PyString_FromString(ptemp
);
943 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
945 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
949 static PyObject
*_wrap_wxGridNoCellRect_get() {
953 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
954 pyobj
= PyString_FromString(ptemp
);
958 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
* _self
) {
959 self
->SetClientObject(new wxPyOORClientData(_self
));
961 static PyObject
*_wrap_wxGridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
963 wxGridCellRenderer
* _arg0
;
965 PyObject
* _argo0
= 0;
966 PyObject
* _obj1
= 0;
967 char *_kwnames
[] = { "self","_self", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 wxGridCellRenderer__setOORInfo(_arg0
,_arg1
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) return NULL
;
988 } Py_INCREF(Py_None
);
989 _resultobj
= Py_None
;
993 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
994 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
996 wxGridCellRenderer
* _arg0
;
998 PyObject
* _argo0
= 0;
999 PyObject
* _obj1
= 0;
1000 char *_kwnames
[] = { "self","params", NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
1013 _arg1
= wxString_in_helper(_obj1
);
1018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1019 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
1021 wxPyEndAllowThreads(__tstate
);
1022 if (PyErr_Occurred()) return NULL
;
1023 } Py_INCREF(Py_None
);
1024 _resultobj
= Py_None
;
1032 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1033 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1035 wxGridCellRenderer
* _arg0
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 wxGridCellRenderer_IncRef(_arg0
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } Py_INCREF(Py_None
);
1056 _resultobj
= Py_None
;
1060 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1061 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1063 wxGridCellRenderer
* _arg0
;
1064 PyObject
* _argo0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
1071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 wxGridCellRenderer_DecRef(_arg0
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) return NULL
;
1083 } Py_INCREF(Py_None
);
1084 _resultobj
= Py_None
;
1088 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1089 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1091 wxGridCellRenderer
* _arg0
;
1093 wxGridCellAttr
* _arg2
;
1099 PyObject
* _argo0
= 0;
1100 PyObject
* _argo1
= 0;
1101 PyObject
* _argo2
= 0;
1102 PyObject
* _argo3
= 0;
1104 PyObject
* _obj4
= 0;
1106 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1119 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1125 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1131 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1138 if (! wxRect_helper(_obj4
, &_arg4
))
1141 _arg7
= (bool ) tempbool7
;
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1154 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1157 wxGridCellRenderer
* _arg0
;
1159 wxGridCellAttr
* _arg2
;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _argo1
= 0;
1165 PyObject
* _argo2
= 0;
1166 PyObject
* _argo3
= 0;
1167 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1181 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1187 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1193 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1205 _resultobj
= Py_BuildValue("s",_ptemp
);
1209 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1210 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxGridCellRenderer
* _result
;
1213 wxGridCellRenderer
* _arg0
;
1214 PyObject
* _argo0
= 0;
1215 char *_kwnames
[] = { "self", NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) return NULL
;
1233 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
1237 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1238 wxPyGridCellRenderer
*src
;
1239 wxGridCellRenderer
*dest
;
1240 src
= (wxPyGridCellRenderer
*) ptr
;
1241 dest
= (wxGridCellRenderer
*) src
;
1242 return (void *) dest
;
1245 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1246 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1248 wxPyGridCellRenderer
* _result
;
1249 char *_kwnames
[] = { NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) return NULL
;
1262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1263 _resultobj
= Py_BuildValue("s",_ptemp
);
1266 _resultobj
= Py_None
;
1271 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1272 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1274 wxPyGridCellRenderer
* _arg0
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _obj1
= 0;
1279 PyObject
* _obj2
= 0;
1280 char *_kwnames
[] = { "self","self","_class", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) return NULL
;
1304 } Py_INCREF(Py_None
);
1305 _resultobj
= Py_None
;
1309 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1310 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxPyGridCellRenderer
* _arg0
;
1314 PyObject
* _argo0
= 0;
1315 PyObject
* _obj1
= 0;
1316 char *_kwnames
[] = { "self","params", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1329 _arg1
= wxString_in_helper(_obj1
);
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1348 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1349 wxGridCellStringRenderer
*src
;
1350 wxGridCellRenderer
*dest
;
1351 src
= (wxGridCellStringRenderer
*) ptr
;
1352 dest
= (wxGridCellRenderer
*) src
;
1353 return (void *) dest
;
1356 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1357 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxGridCellStringRenderer
* _result
;
1360 char *_kwnames
[] = { NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) return NULL
;
1373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1374 _resultobj
= Py_BuildValue("s",_ptemp
);
1377 _resultobj
= Py_None
;
1382 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1383 wxGridCellNumberRenderer
*src
;
1384 wxGridCellStringRenderer
*dest
;
1385 src
= (wxGridCellNumberRenderer
*) ptr
;
1386 dest
= (wxGridCellStringRenderer
*) src
;
1387 return (void *) dest
;
1390 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1391 wxGridCellNumberRenderer
*src
;
1392 wxGridCellRenderer
*dest
;
1393 src
= (wxGridCellNumberRenderer
*) ptr
;
1394 dest
= (wxGridCellRenderer
*) src
;
1395 return (void *) dest
;
1398 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1399 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxGridCellNumberRenderer
* _result
;
1402 char *_kwnames
[] = { NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) return NULL
;
1415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1416 _resultobj
= Py_BuildValue("s",_ptemp
);
1419 _resultobj
= Py_None
;
1424 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1425 wxGridCellFloatRenderer
*src
;
1426 wxGridCellStringRenderer
*dest
;
1427 src
= (wxGridCellFloatRenderer
*) ptr
;
1428 dest
= (wxGridCellStringRenderer
*) src
;
1429 return (void *) dest
;
1432 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1433 wxGridCellFloatRenderer
*src
;
1434 wxGridCellRenderer
*dest
;
1435 src
= (wxGridCellFloatRenderer
*) ptr
;
1436 dest
= (wxGridCellRenderer
*) src
;
1437 return (void *) dest
;
1440 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1441 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxGridCellFloatRenderer
* _result
;
1444 int _arg0
= (int ) -1;
1445 int _arg1
= (int ) -1;
1446 char *_kwnames
[] = { "width","precision", NULL
};
1450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1460 _resultobj
= Py_BuildValue("s",_ptemp
);
1463 _resultobj
= Py_None
;
1468 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1469 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1472 wxGridCellFloatRenderer
* _arg0
;
1473 PyObject
* _argo0
= 0;
1474 char *_kwnames
[] = { "self", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1497 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxGridCellFloatRenderer
* _arg0
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self","width", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) return NULL
;
1520 } Py_INCREF(Py_None
);
1521 _resultobj
= Py_None
;
1525 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1526 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxGridCellFloatRenderer
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } _resultobj
= Py_BuildValue("i",_result
);
1553 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1554 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1556 wxGridCellFloatRenderer
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self","precision", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } Py_INCREF(Py_None
);
1578 _resultobj
= Py_None
;
1582 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1583 wxGridCellBoolRenderer
*src
;
1584 wxGridCellRenderer
*dest
;
1585 src
= (wxGridCellBoolRenderer
*) ptr
;
1586 dest
= (wxGridCellRenderer
*) src
;
1587 return (void *) dest
;
1590 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1591 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1593 wxGridCellBoolRenderer
* _result
;
1594 char *_kwnames
[] = { NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1616 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1617 wxGridCellDateTimeRenderer
*src
;
1618 wxGridCellStringRenderer
*dest
;
1619 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1620 dest
= (wxGridCellStringRenderer
*) src
;
1621 return (void *) dest
;
1624 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1625 wxGridCellDateTimeRenderer
*src
;
1626 wxGridCellRenderer
*dest
;
1627 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1628 dest
= (wxGridCellRenderer
*) src
;
1629 return (void *) dest
;
1632 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1633 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxGridCellDateTimeRenderer
* _result
;
1636 wxString
* _arg0
= (wxString
*) &wxPyDateTimeFormatStr
;
1637 wxString
* _arg1
= (wxString
*) &wxPyDateTimeFormatStr
;
1638 PyObject
* _obj0
= 0;
1639 PyObject
* _obj1
= 0;
1640 char *_kwnames
[] = { "outformat","informat", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1648 _arg0
= wxString_in_helper(_obj0
);
1654 _arg1
= wxString_in_helper(_obj1
);
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 _resultobj
= Py_None
;
1682 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1683 wxGridCellEnumRenderer
*src
;
1684 wxGridCellStringRenderer
*dest
;
1685 src
= (wxGridCellEnumRenderer
*) ptr
;
1686 dest
= (wxGridCellStringRenderer
*) src
;
1687 return (void *) dest
;
1690 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1691 wxGridCellEnumRenderer
*src
;
1692 wxGridCellRenderer
*dest
;
1693 src
= (wxGridCellEnumRenderer
*) ptr
;
1694 dest
= (wxGridCellRenderer
*) src
;
1695 return (void *) dest
;
1698 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1699 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1701 wxGridCellEnumRenderer
* _result
;
1702 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1703 PyObject
* _obj0
= 0;
1704 char *_kwnames
[] = { "choices", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1712 _arg0
= wxString_LIST_helper(_obj0
);
1713 if (_arg0
== NULL
) {
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1725 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 _resultobj
= Py_None
;
1736 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1737 wxGridCellAutoWrapStringRenderer
*src
;
1738 wxGridCellStringRenderer
*dest
;
1739 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1740 dest
= (wxGridCellStringRenderer
*) src
;
1741 return (void *) dest
;
1744 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1745 wxGridCellAutoWrapStringRenderer
*src
;
1746 wxGridCellRenderer
*dest
;
1747 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1748 dest
= (wxGridCellRenderer
*) src
;
1749 return (void *) dest
;
1752 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1753 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
* _resultobj
;
1755 wxGridCellAutoWrapStringRenderer
* _result
;
1756 char *_kwnames
[] = { NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1770 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 _resultobj
= Py_None
;
1778 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
* _self
) {
1779 self
->SetClientObject(new wxPyOORClientData(_self
));
1781 static PyObject
*_wrap_wxGridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxGridCellEditor
* _arg0
;
1785 PyObject
* _argo0
= 0;
1786 PyObject
* _obj1
= 0;
1787 char *_kwnames
[] = { "self","_self", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 wxGridCellEditor__setOORInfo(_arg0
,_arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1813 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1814 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1817 wxGridCellEditor
* _arg0
;
1818 PyObject
* _argo0
= 0;
1819 char *_kwnames
[] = { "self", NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1837 } _resultobj
= Py_BuildValue("i",_result
);
1841 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1842 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
* _resultobj
;
1844 wxControl
* _result
;
1845 wxGridCellEditor
* _arg0
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1869 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1870 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1872 wxGridCellEditor
* _arg0
;
1874 PyObject
* _argo0
= 0;
1875 PyObject
* _argo1
= 0;
1876 char *_kwnames
[] = { "self","control", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1906 #define wxGridCellEditor_GetCellAttr(_swigobj) (_swigobj->GetCellAttr())
1907 static PyObject
*_wrap_wxGridCellEditor_GetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxGridCellAttr
* _result
;
1910 wxGridCellEditor
* _arg0
;
1911 PyObject
* _argo0
= 0;
1912 char *_kwnames
[] = { "self", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetCellAttr",_kwnames
,&_argo0
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetCellAttr. Expected _wxGridCellEditor_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 _result
= (wxGridCellAttr
*)wxGridCellEditor_GetCellAttr(_arg0
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
1934 #define wxGridCellEditor_SetCellAttr(_swigobj,_swigarg0) (_swigobj->SetCellAttr(_swigarg0))
1935 static PyObject
*_wrap_wxGridCellEditor_SetCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxGridCellEditor
* _arg0
;
1938 wxGridCellAttr
* _arg1
;
1939 PyObject
* _argo0
= 0;
1940 PyObject
* _argo1
= 0;
1941 char *_kwnames
[] = { "self","attr", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetCellAttr",_kwnames
,&_argo0
,&_argo1
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellEditor_p.");
1954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetCellAttr. Expected _wxGridCellAttr_p.");
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 wxGridCellEditor_SetCellAttr(_arg0
,_arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) return NULL
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1972 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1974 wxGridCellEditor
* _arg0
;
1976 PyObject
* _argo0
= 0;
1977 PyObject
* _obj1
= 0;
1978 char *_kwnames
[] = { "self","params", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1991 _arg1
= wxString_in_helper(_obj1
);
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2010 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
2011 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2013 wxGridCellEditor
* _arg0
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 wxGridCellEditor_IncRef(_arg0
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
2039 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2041 wxGridCellEditor
* _arg0
;
2042 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "self", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 wxGridCellEditor_DecRef(_arg0
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) return NULL
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
2067 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2069 wxGridCellEditor
* _arg0
;
2072 wxEvtHandler
* _arg3
;
2073 PyObject
* _argo0
= 0;
2074 PyObject
* _argo1
= 0;
2075 PyObject
* _argo3
= 0;
2076 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
2082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2089 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2096 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2113 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2114 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxGridCellEditor
* _arg0
;
2120 PyObject
* _argo0
= 0;
2121 PyObject
* _argo3
= 0;
2122 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2135 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2152 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2153 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 wxGridCellEditor
* _arg0
;
2160 PyObject
* _argo0
= 0;
2161 PyObject
* _argo3
= 0;
2162 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2175 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2192 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2194 wxGridCellEditor
* _arg0
;
2195 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxGridCellEditor_Reset(_arg0
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2220 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxGridCellEditor
* _result
;
2223 wxGridCellEditor
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
2247 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2248 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2250 wxGridCellEditor
* _arg0
;
2252 PyObject
* _argo0
= 0;
2254 PyObject
* _obj1
= 0;
2255 char *_kwnames
[] = { "self","rect", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2269 if (! wxRect_helper(_obj1
, &_arg1
))
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } Py_INCREF(Py_None
);
2279 _resultobj
= Py_None
;
2283 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2284 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2286 wxGridCellEditor
* _arg0
;
2288 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2289 PyObject
* _argo0
= 0;
2291 PyObject
* _argo2
= 0;
2292 char *_kwnames
[] = { "self","show","attr", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2304 _arg1
= (bool ) tempbool1
;
2306 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2324 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2326 wxGridCellEditor
* _arg0
;
2328 wxGridCellAttr
* _arg2
;
2329 PyObject
* _argo0
= 0;
2331 PyObject
* _obj1
= 0;
2332 PyObject
* _argo2
= 0;
2333 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2347 if (! wxRect_helper(_obj1
, &_arg1
))
2351 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2369 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2372 wxGridCellEditor
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","event", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2389 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } _resultobj
= Py_BuildValue("i",_result
);
2404 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2405 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxGridCellEditor
* _arg0
;
2409 PyObject
* _argo0
= 0;
2410 PyObject
* _argo1
= 0;
2411 char *_kwnames
[] = { "self","event", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2424 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2441 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2443 wxGridCellEditor
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxGridCellEditor_StartingClick(_arg0
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2469 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxGridCellEditor
* _arg0
;
2473 PyObject
* _argo0
= 0;
2474 PyObject
* _argo1
= 0;
2475 char *_kwnames
[] = { "self","event", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2488 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2504 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2505 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2507 wxGridCellEditor
* _arg0
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 wxGridCellEditor_Destroy(_arg0
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2533 wxPyGridCellEditor
*src
;
2534 wxGridCellEditor
*dest
;
2535 src
= (wxPyGridCellEditor
*) ptr
;
2536 dest
= (wxGridCellEditor
*) src
;
2537 return (void *) dest
;
2540 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2541 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxPyGridCellEditor
* _result
;
2544 char *_kwnames
[] = { NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2561 _resultobj
= Py_None
;
2566 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2567 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2569 wxPyGridCellEditor
* _arg0
;
2572 PyObject
* _argo0
= 0;
2573 PyObject
* _obj1
= 0;
2574 PyObject
* _obj2
= 0;
2575 char *_kwnames
[] = { "self","self","_class", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) return NULL
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2605 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2607 wxPyGridCellEditor
* _arg0
;
2609 PyObject
* _argo0
= 0;
2611 PyObject
* _obj1
= 0;
2612 char *_kwnames
[] = { "self","rect", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2626 if (! wxRect_helper(_obj1
, &_arg1
))
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2643 wxPyGridCellEditor
* _arg0
;
2645 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _argo2
= 0;
2649 char *_kwnames
[] = { "self","show","attr", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2661 _arg1
= (bool ) tempbool1
;
2663 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2681 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxPyGridCellEditor
* _arg0
;
2685 wxGridCellAttr
* _arg2
;
2686 PyObject
* _argo0
= 0;
2688 PyObject
* _obj1
= 0;
2689 PyObject
* _argo2
= 0;
2690 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2704 if (! wxRect_helper(_obj1
, &_arg1
))
2708 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2720 } Py_INCREF(Py_None
);
2721 _resultobj
= Py_None
;
2725 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2726 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2728 wxPyGridCellEditor
* _arg0
;
2730 PyObject
* _argo0
= 0;
2731 PyObject
* _argo1
= 0;
2732 char *_kwnames
[] = { "self","event", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2745 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2761 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2762 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxPyGridCellEditor
* _arg0
;
2766 PyObject
* _argo0
= 0;
2767 PyObject
* _argo1
= 0;
2768 char *_kwnames
[] = { "self","event", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2781 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } Py_INCREF(Py_None
);
2793 _resultobj
= Py_None
;
2797 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2798 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2800 wxPyGridCellEditor
* _arg0
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyGridCellEditor_base_StartingClick(_arg0
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } Py_INCREF(Py_None
);
2821 _resultobj
= Py_None
;
2825 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2826 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxPyGridCellEditor
* _arg0
;
2830 PyObject
* _argo0
= 0;
2831 PyObject
* _argo1
= 0;
2832 char *_kwnames
[] = { "self","event", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2845 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } Py_INCREF(Py_None
);
2857 _resultobj
= Py_None
;
2861 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2862 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2864 wxPyGridCellEditor
* _arg0
;
2865 PyObject
* _argo0
= 0;
2866 char *_kwnames
[] = { "self", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 wxPyGridCellEditor_base_Destroy(_arg0
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } Py_INCREF(Py_None
);
2885 _resultobj
= Py_None
;
2889 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2890 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxPyGridCellEditor
* _arg0
;
2894 PyObject
* _argo0
= 0;
2895 PyObject
* _obj1
= 0;
2896 char *_kwnames
[] = { "self","params", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2909 _arg1
= wxString_in_helper(_obj1
);
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) return NULL
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2928 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2929 wxGridCellTextEditor
*src
;
2930 wxGridCellEditor
*dest
;
2931 src
= (wxGridCellTextEditor
*) ptr
;
2932 dest
= (wxGridCellEditor
*) src
;
2933 return (void *) dest
;
2936 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2937 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxGridCellTextEditor
* _result
;
2940 char *_kwnames
[] = { NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) return NULL
;
2953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2954 _resultobj
= Py_BuildValue("s",_ptemp
);
2957 _resultobj
= Py_None
;
2962 #define wxGridCellTextEditor_GetValue(_swigobj) (_swigobj->GetValue())
2963 static PyObject
*_wrap_wxGridCellTextEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2966 wxGridCellTextEditor
* _arg0
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellTextEditor_GetValue",_kwnames
,&_argo0
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellTextEditor_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellTextEditor_GetValue. Expected _wxGridCellTextEditor_p.");
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= new wxString (wxGridCellTextEditor_GetValue(_arg0
));
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2988 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2990 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2999 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
3000 wxGridCellNumberEditor
*src
;
3001 wxGridCellTextEditor
*dest
;
3002 src
= (wxGridCellNumberEditor
*) ptr
;
3003 dest
= (wxGridCellTextEditor
*) src
;
3004 return (void *) dest
;
3007 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
3008 wxGridCellNumberEditor
*src
;
3009 wxGridCellEditor
*dest
;
3010 src
= (wxGridCellNumberEditor
*) ptr
;
3011 dest
= (wxGridCellEditor
*) src
;
3012 return (void *) dest
;
3015 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
3016 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3018 wxGridCellNumberEditor
* _result
;
3019 int _arg0
= (int ) -1;
3020 int _arg1
= (int ) -1;
3021 char *_kwnames
[] = { "min","max", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
3035 _resultobj
= Py_BuildValue("s",_ptemp
);
3038 _resultobj
= Py_None
;
3043 #define wxGridCellNumberEditor_GetValue(_swigobj) (_swigobj->GetValue())
3044 static PyObject
*_wrap_wxGridCellNumberEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3047 wxGridCellNumberEditor
* _arg0
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellNumberEditor_GetValue",_kwnames
,&_argo0
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellNumberEditor_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellNumberEditor_GetValue. Expected _wxGridCellNumberEditor_p.");
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 _result
= new wxString (wxGridCellNumberEditor_GetValue(_arg0
));
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) return NULL
;
3069 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3071 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3080 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
3081 wxGridCellFloatEditor
*src
;
3082 wxGridCellTextEditor
*dest
;
3083 src
= (wxGridCellFloatEditor
*) ptr
;
3084 dest
= (wxGridCellTextEditor
*) src
;
3085 return (void *) dest
;
3088 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
3089 wxGridCellFloatEditor
*src
;
3090 wxGridCellEditor
*dest
;
3091 src
= (wxGridCellFloatEditor
*) ptr
;
3092 dest
= (wxGridCellEditor
*) src
;
3093 return (void *) dest
;
3096 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
3097 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxGridCellFloatEditor
* _result
;
3100 char *_kwnames
[] = { NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
3114 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 _resultobj
= Py_None
;
3122 #define wxGridCellFloatEditor_GetValue(_swigobj) (_swigobj->GetValue())
3123 static PyObject
*_wrap_wxGridCellFloatEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3126 wxGridCellFloatEditor
* _arg0
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatEditor_GetValue",_kwnames
,&_argo0
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatEditor_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatEditor_GetValue. Expected _wxGridCellFloatEditor_p.");
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 _result
= new wxString (wxGridCellFloatEditor_GetValue(_arg0
));
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3148 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3159 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
3160 wxGridCellBoolEditor
*src
;
3161 wxGridCellEditor
*dest
;
3162 src
= (wxGridCellBoolEditor
*) ptr
;
3163 dest
= (wxGridCellEditor
*) src
;
3164 return (void *) dest
;
3167 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
3168 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxGridCellBoolEditor
* _result
;
3171 char *_kwnames
[] = { NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3193 #define wxGridCellBoolEditor_GetValue(_swigobj) (_swigobj->GetValue())
3194 static PyObject
*_wrap_wxGridCellBoolEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 wxGridCellBoolEditor
* _arg0
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellBoolEditor_GetValue",_kwnames
,&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellBoolEditor_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellBoolEditor_GetValue. Expected _wxGridCellBoolEditor_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 _result
= new wxString (wxGridCellBoolEditor_GetValue(_arg0
));
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3219 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3221 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3230 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
3231 wxGridCellChoiceEditor
*src
;
3232 wxGridCellEditor
*dest
;
3233 src
= (wxGridCellChoiceEditor
*) ptr
;
3234 dest
= (wxGridCellEditor
*) src
;
3235 return (void *) dest
;
3238 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3239 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3241 wxGridCellChoiceEditor
* _result
;
3242 int _arg0
= (int ) 0;
3243 wxString
* _arg1
= (wxString
*) NULL
;
3244 bool _arg2
= (bool ) FALSE
;
3245 PyObject
* _obj1
= 0;
3246 int tempbool2
= (int) FALSE
;
3247 char *_kwnames
[] = { "choices","allowOthers", NULL
};
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
3255 _arg1
= wxString_LIST_helper(_obj1
);
3256 if (_arg1
== NULL
) {
3260 _arg2
= (bool ) tempbool2
;
3263 _arg0
= PyList_Size(_obj1
);
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3288 #define wxGridCellChoiceEditor_GetValue(_swigobj) (_swigobj->GetValue())
3289 static PyObject
*_wrap_wxGridCellChoiceEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 wxGridCellChoiceEditor
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellChoiceEditor_GetValue",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellChoiceEditor_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellChoiceEditor_GetValue. Expected _wxGridCellChoiceEditor_p.");
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 _result
= new wxString (wxGridCellChoiceEditor_GetValue(_arg0
));
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3314 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3325 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3326 wxGridCellEnumEditor
*src
;
3327 wxGridCellChoiceEditor
*dest
;
3328 src
= (wxGridCellEnumEditor
*) ptr
;
3329 dest
= (wxGridCellChoiceEditor
*) src
;
3330 return (void *) dest
;
3333 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3334 wxGridCellEnumEditor
*src
;
3335 wxGridCellEditor
*dest
;
3336 src
= (wxGridCellEnumEditor
*) ptr
;
3337 dest
= (wxGridCellEditor
*) src
;
3338 return (void *) dest
;
3341 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3342 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxGridCellEnumEditor
* _result
;
3345 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
3346 PyObject
* _obj0
= 0;
3347 char *_kwnames
[] = { "choices", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3355 _arg0
= wxString_LIST_helper(_obj0
);
3356 if (_arg0
== NULL
) {
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) return NULL
;
3367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3368 _resultobj
= Py_BuildValue("s",_ptemp
);
3371 _resultobj
= Py_None
;
3379 #define wxGridCellEnumEditor_GetValue(_swigobj) (_swigobj->GetValue())
3380 static PyObject
*_wrap_wxGridCellEnumEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 wxGridCellEnumEditor
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEnumEditor_GetValue",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEnumEditor_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEnumEditor_GetValue. Expected _wxGridCellEnumEditor_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 _result
= new wxString (wxGridCellEnumEditor_GetValue(_arg0
));
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3405 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3407 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3416 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3417 wxGridCellAutoWrapStringEditor
*src
;
3418 wxGridCellTextEditor
*dest
;
3419 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3420 dest
= (wxGridCellTextEditor
*) src
;
3421 return (void *) dest
;
3424 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3425 wxGridCellAutoWrapStringEditor
*src
;
3426 wxGridCellEditor
*dest
;
3427 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3428 dest
= (wxGridCellEditor
*) src
;
3429 return (void *) dest
;
3432 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3433 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3435 wxGridCellAutoWrapStringEditor
* _result
;
3436 char *_kwnames
[] = { NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3450 _resultobj
= Py_BuildValue("s",_ptemp
);
3453 _resultobj
= Py_None
;
3458 #define wxGridCellAutoWrapStringEditor_GetValue(_swigobj) (_swigobj->GetValue())
3459 static PyObject
*_wrap_wxGridCellAutoWrapStringEditor_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3462 wxGridCellAutoWrapStringEditor
* _arg0
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAutoWrapStringEditor_GetValue",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAutoWrapStringEditor_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAutoWrapStringEditor_GetValue. Expected _wxGridCellAutoWrapStringEditor_p.");
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 _result
= new wxString (wxGridCellAutoWrapStringEditor_GetValue(_arg0
));
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) return NULL
;
3484 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3486 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3495 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
* _self
) {
3496 self
->SetClientObject(new wxPyOORClientData(_self
));
3498 static PyObject
*_wrap_wxGridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxGridCellAttr
* _arg0
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _obj1
= 0;
3504 char *_kwnames
[] = { "self","_self", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxGridCellAttr__setOORInfo(_arg0
,_arg1
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3525 } Py_INCREF(Py_None
);
3526 _resultobj
= Py_None
;
3530 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3531 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3533 wxGridCellAttr
* _result
;
3534 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "attrDefault", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3557 _resultobj
= Py_BuildValue("s",_ptemp
);
3560 _resultobj
= Py_None
;
3565 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3566 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxGridCellAttr
* _result
;
3569 wxGridCellAttr
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) return NULL
;
3589 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
3593 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3594 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3596 wxGridCellAttr
* _arg0
;
3597 wxGridCellAttr
* _arg1
;
3598 PyObject
* _argo0
= 0;
3599 PyObject
* _argo1
= 0;
3600 char *_kwnames
[] = { "self","mergefrom", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } Py_INCREF(Py_None
);
3626 _resultobj
= Py_None
;
3630 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3631 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxGridCellAttr
* _arg0
;
3634 PyObject
* _argo0
= 0;
3635 char *_kwnames
[] = { "self", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3649 wxGridCellAttr_IncRef(_arg0
);
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) return NULL
;
3653 } Py_INCREF(Py_None
);
3654 _resultobj
= Py_None
;
3658 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3659 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
* _resultobj
;
3661 wxGridCellAttr
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 wxGridCellAttr_DecRef(_arg0
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3687 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxGridCellAttr
* _arg0
;
3691 PyObject
* _argo0
= 0;
3693 PyObject
* _obj1
= 0;
3694 char *_kwnames
[] = { "self","colText", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3708 if (! wxColour_helper(_obj1
, &_arg1
))
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) return NULL
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3723 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3725 wxGridCellAttr
* _arg0
;
3727 PyObject
* _argo0
= 0;
3729 PyObject
* _obj1
= 0;
3730 char *_kwnames
[] = { "self","colBack", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3744 if (! wxColour_helper(_obj1
, &_arg1
))
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) return NULL
;
3753 } Py_INCREF(Py_None
);
3754 _resultobj
= Py_None
;
3758 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3759 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3761 wxGridCellAttr
* _arg0
;
3763 PyObject
* _argo0
= 0;
3764 PyObject
* _argo1
= 0;
3765 char *_kwnames
[] = { "self","font", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3778 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3789 } Py_INCREF(Py_None
);
3790 _resultobj
= Py_None
;
3794 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3795 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3797 wxGridCellAttr
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_wxGridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxGridCellAttr
* _arg0
;
3830 PyObject
* _argo0
= 0;
3831 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetSize. Expected _wxGridCellAttr_p.");
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 wxGridCellAttr_SetSize(_arg0
,_arg1
,_arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) return NULL
;
3849 } Py_INCREF(Py_None
);
3850 _resultobj
= Py_None
;
3854 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3855 static PyObject
*_wrap_wxGridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3857 wxGridCellAttr
* _arg0
;
3858 bool _arg1
= (bool ) TRUE
;
3859 PyObject
* _argo0
= 0;
3860 int tempbool1
= (int) TRUE
;
3861 char *_kwnames
[] = { "self","allow", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i: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_HasOverflowMode(_swigobj) (_swigobj->HasOverflowMode())
4216 static PyObject
*_wrap_wxGridCellAttr_HasOverflowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 wxGridCellAttr
* _arg0
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasOverflowMode",_kwnames
,&_argo0
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasOverflowMode. Expected _wxGridCellAttr_p.");
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 _result
= (bool )wxGridCellAttr_HasOverflowMode(_arg0
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4239 } _resultobj
= Py_BuildValue("i",_result
);
4243 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4244 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4247 wxGridCellAttr
* _arg0
;
4248 PyObject
* _argo0
= 0;
4249 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4269 _resultobj
= Py_BuildValue("s",_ptemp
);
4273 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4274 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4277 wxGridCellAttr
* _arg0
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) return NULL
;
4298 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
4299 _resultobj
= Py_BuildValue("s",_ptemp
);
4303 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
4304 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4307 wxGridCellAttr
* _arg0
;
4308 PyObject
* _argo0
= 0;
4309 char *_kwnames
[] = { "self", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
4329 _resultobj
= Py_BuildValue("s",_ptemp
);
4333 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
4334 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxGridCellAttr
* _arg0
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } Py_INCREF(Py_None
);
4367 _resultobj
= Py_None
;
4370 o
= PyInt_FromLong((long) (*_arg1
));
4371 _resultobj
= t_output_helper(_resultobj
, o
);
4375 o
= PyInt_FromLong((long) (*_arg2
));
4376 _resultobj
= t_output_helper(_resultobj
, o
);
4381 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4382 static PyObject
*_wrap_wxGridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4384 wxGridCellAttr
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetSize",_kwnames
,&_argo0
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 wxGridCellAttr_GetSize(_arg0
,_arg1
,_arg2
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) return NULL
;
4414 } Py_INCREF(Py_None
);
4415 _resultobj
= Py_None
;
4418 o
= PyInt_FromLong((long) (*_arg1
));
4419 _resultobj
= t_output_helper(_resultobj
, o
);
4423 o
= PyInt_FromLong((long) (*_arg2
));
4424 _resultobj
= t_output_helper(_resultobj
, o
);
4429 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4430 static PyObject
*_wrap_wxGridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4433 wxGridCellAttr
* _arg0
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetOverflow",_kwnames
,&_argo0
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 _result
= (bool )wxGridCellAttr_GetOverflow(_arg0
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } _resultobj
= Py_BuildValue("i",_result
);
4457 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4458 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4460 wxGridCellRenderer
* _result
;
4461 wxGridCellAttr
* _arg0
;
4465 PyObject
* _argo0
= 0;
4466 PyObject
* _argo1
= 0;
4467 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) return NULL
;
4492 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4496 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4497 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4499 wxGridCellEditor
* _result
;
4500 wxGridCellAttr
* _arg0
;
4504 PyObject
* _argo0
= 0;
4505 PyObject
* _argo1
= 0;
4506 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4531 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4535 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4536 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4539 wxGridCellAttr
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } _resultobj
= Py_BuildValue("i",_result
);
4563 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4564 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4566 wxGridCellAttr
* _arg0
;
4567 wxGridCellAttr
* _arg1
;
4568 PyObject
* _argo0
= 0;
4569 PyObject
* _argo1
= 0;
4570 char *_kwnames
[] = { "self","defAttr", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) return NULL
;
4595 } Py_INCREF(Py_None
);
4596 _resultobj
= Py_None
;
4600 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4601 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4603 wxGridCellAttrProvider
* _result
;
4604 char *_kwnames
[] = { NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4618 _resultobj
= Py_BuildValue("s",_ptemp
);
4621 _resultobj
= Py_None
;
4626 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4627 self
->SetClientObject(new wxPyOORClientData(_self
));
4629 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4631 wxGridCellAttrProvider
* _arg0
;
4633 PyObject
* _argo0
= 0;
4634 PyObject
* _obj1
= 0;
4635 char *_kwnames
[] = { "self","_self", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) return NULL
;
4656 } Py_INCREF(Py_None
);
4657 _resultobj
= Py_None
;
4661 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4662 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4664 wxGridCellAttr
* _result
;
4665 wxGridCellAttrProvider
* _arg0
;
4668 wxGridCellAttr::wxAttrKind _arg3
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4692 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4693 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4695 wxGridCellAttrProvider
* _arg0
;
4696 wxGridCellAttr
* _arg1
;
4699 PyObject
* _argo0
= 0;
4700 PyObject
* _argo1
= 0;
4701 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4732 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4734 wxGridCellAttrProvider
* _arg0
;
4735 wxGridCellAttr
* _arg1
;
4737 PyObject
* _argo0
= 0;
4738 PyObject
* _argo1
= 0;
4739 char *_kwnames
[] = { "self","attr","row", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4752 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4769 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4770 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 wxGridCellAttrProvider
* _arg0
;
4773 wxGridCellAttr
* _arg1
;
4775 PyObject
* _argo0
= 0;
4776 PyObject
* _argo1
= 0;
4777 char *_kwnames
[] = { "self","attr","col", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) return NULL
;
4802 } Py_INCREF(Py_None
);
4803 _resultobj
= Py_None
;
4807 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4808 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
* _resultobj
;
4810 wxGridCellAttrProvider
* _arg0
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_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_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4838 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4840 wxGridCellAttrProvider
* _arg0
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4868 wxPyGridCellAttrProvider
*src
;
4869 wxGridCellAttrProvider
*dest
;
4870 src
= (wxPyGridCellAttrProvider
*) ptr
;
4871 dest
= (wxGridCellAttrProvider
*) src
;
4872 return (void *) dest
;
4875 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4876 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4878 wxPyGridCellAttrProvider
* _result
;
4879 char *_kwnames
[] = { NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4893 _resultobj
= Py_BuildValue("s",_ptemp
);
4896 _resultobj
= Py_None
;
4901 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4902 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 wxPyGridCellAttrProvider
* _arg0
;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _obj1
= 0;
4909 PyObject
* _obj2
= 0;
4910 char *_kwnames
[] = { "self","self","_class", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } Py_INCREF(Py_None
);
4935 _resultobj
= Py_None
;
4939 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4940 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4942 wxGridCellAttr
* _result
;
4943 wxPyGridCellAttrProvider
* _arg0
;
4946 wxGridCellAttr::wxAttrKind _arg3
;
4947 PyObject
* _argo0
= 0;
4948 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) return NULL
;
4966 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4970 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4971 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4973 wxPyGridCellAttrProvider
* _arg0
;
4974 wxGridCellAttr
* _arg1
;
4977 PyObject
* _argo0
= 0;
4978 PyObject
* _argo1
= 0;
4979 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) return NULL
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5010 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5012 wxPyGridCellAttrProvider
* _arg0
;
5013 wxGridCellAttr
* _arg1
;
5015 PyObject
* _argo0
= 0;
5016 PyObject
* _argo1
= 0;
5017 char *_kwnames
[] = { "self","attr","row", NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
5030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) return NULL
;
5042 } Py_INCREF(Py_None
);
5043 _resultobj
= Py_None
;
5047 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5048 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
* _resultobj
;
5050 wxPyGridCellAttrProvider
* _arg0
;
5051 wxGridCellAttr
* _arg1
;
5053 PyObject
* _argo0
= 0;
5054 PyObject
* _argo1
= 0;
5055 char *_kwnames
[] = { "self","attr","col", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
5068 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) return NULL
;
5080 } Py_INCREF(Py_None
);
5081 _resultobj
= Py_None
;
5085 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
5086 wxGridTableBase
*src
;
5088 src
= (wxGridTableBase
*) ptr
;
5089 dest
= (wxObject
*) src
;
5090 return (void *) dest
;
5093 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
5094 self
->SetClientObject(new wxPyOORClientData(_self
));
5096 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5098 wxGridTableBase
* _arg0
;
5100 PyObject
* _argo0
= 0;
5101 PyObject
* _obj1
= 0;
5102 char *_kwnames
[] = { "self","_self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) return NULL
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5128 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
5129 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5131 wxGridTableBase
* _arg0
;
5132 wxGridCellAttrProvider
* _arg1
;
5133 PyObject
* _argo0
= 0;
5134 PyObject
* _argo1
= 0;
5135 char *_kwnames
[] = { "self","attrProvider", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
5148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5160 } Py_INCREF(Py_None
);
5161 _resultobj
= Py_None
;
5165 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
5166 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5168 wxGridCellAttrProvider
* _result
;
5169 wxGridTableBase
* _arg0
;
5170 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5189 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
5193 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
5194 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxGridTableBase
* _arg0
;
5198 PyObject
* _argo0
= 0;
5199 PyObject
* _argo1
= 0;
5200 char *_kwnames
[] = { "self","grid", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
5213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 wxGridTableBase_SetView(_arg0
,_arg1
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) return NULL
;
5225 } Py_INCREF(Py_None
);
5226 _resultobj
= Py_None
;
5230 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
5231 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5234 wxGridTableBase
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) return NULL
;
5254 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5258 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
5259 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
* _resultobj
;
5262 wxGridTableBase
* _arg0
;
5263 PyObject
* _argo0
= 0;
5264 char *_kwnames
[] = { "self", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) return NULL
;
5282 } _resultobj
= Py_BuildValue("i",_result
);
5286 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
5287 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5290 wxGridTableBase
* _arg0
;
5291 PyObject
* _argo0
= 0;
5292 char *_kwnames
[] = { "self", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
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_GetNumberCols. Expected _wxGridTableBase_p.");
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) return NULL
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5314 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
5315 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(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_IsEmptyCell",_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_IsEmptyCell. Expected _wxGridTableBase_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5340 } _resultobj
= Py_BuildValue("i",_result
);
5344 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
5345 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5348 wxGridTableBase
* _arg0
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self","row","col", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5372 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5383 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5384 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
* _resultobj
;
5386 wxGridTableBase
* _arg0
;
5390 PyObject
* _argo0
= 0;
5391 PyObject
* _obj3
= 0;
5392 char *_kwnames
[] = { "self","row","col","value", NULL
};
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5405 _arg3
= wxString_in_helper(_obj3
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) return NULL
;
5415 } Py_INCREF(Py_None
);
5416 _resultobj
= Py_None
;
5424 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5425 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5428 wxGridTableBase
* _arg0
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self","row","col", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5452 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5454 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5463 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5464 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5467 wxGridTableBase
* _arg0
;
5471 PyObject
* _argo0
= 0;
5472 PyObject
* _obj3
= 0;
5473 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5486 _arg3
= wxString_in_helper(_obj3
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5496 } _resultobj
= Py_BuildValue("i",_result
);
5504 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5505 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5508 wxGridTableBase
* _arg0
;
5512 PyObject
* _argo0
= 0;
5513 PyObject
* _obj3
= 0;
5514 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5527 _arg3
= wxString_in_helper(_obj3
);
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) return NULL
;
5537 } _resultobj
= Py_BuildValue("i",_result
);
5545 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5546 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(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_GetValueAsLong",_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_GetValueAsLong. Expected _wxGridTableBase_p.");
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) return NULL
;
5571 } _resultobj
= Py_BuildValue("l",_result
);
5575 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5576 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(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_GetValueAsDouble",_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_GetValueAsDouble. Expected _wxGridTableBase_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } _resultobj
= Py_BuildValue("d",_result
);
5605 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5606 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5609 wxGridTableBase
* _arg0
;
5612 PyObject
* _argo0
= 0;
5613 char *_kwnames
[] = { "self","row","col", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetValueAsBool. Expected _wxGridTableBase_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } _resultobj
= Py_BuildValue("i",_result
);
5635 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5636 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxGridTableBase
* _arg0
;
5642 PyObject
* _argo0
= 0;
5643 char *_kwnames
[] = { "self","row","col","value", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5667 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5669 wxGridTableBase
* _arg0
;
5673 PyObject
* _argo0
= 0;
5674 char *_kwnames
[] = { "self","row","col","value", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) return NULL
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5698 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxGridTableBase
* _arg0
;
5704 PyObject
* _argo0
= 0;
5706 char *_kwnames
[] = { "self","row","col","value", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5718 _arg3
= (bool ) tempbool3
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5731 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5733 wxGridTableBase
* _arg0
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 wxGridTableBase_Clear(_arg0
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5753 } Py_INCREF(Py_None
);
5754 _resultobj
= Py_None
;
5758 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5759 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5762 wxGridTableBase
* _arg0
;
5763 size_t _arg1
= (size_t ) 0;
5764 size_t _arg2
= (size_t ) 1;
5765 PyObject
* _argo0
= 0;
5766 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) return NULL
;
5784 } _resultobj
= Py_BuildValue("i",_result
);
5788 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5789 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5792 wxGridTableBase
* _arg0
;
5793 size_t _arg1
= (size_t ) 1;
5794 PyObject
* _argo0
= 0;
5795 char *_kwnames
[] = { "self","numRows", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
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_AppendRows. Expected _wxGridTableBase_p.");
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } _resultobj
= Py_BuildValue("i",_result
);
5817 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5818 static PyObject
*_wrap_wxGridTableBase_DeleteRows(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","numRows", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_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_DeleteRows. Expected _wxGridTableBase_p.");
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) return NULL
;
5843 } _resultobj
= Py_BuildValue("i",_result
);
5847 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5848 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5851 wxGridTableBase
* _arg0
;
5852 size_t _arg1
= (size_t ) 0;
5853 size_t _arg2
= (size_t ) 1;
5854 PyObject
* _argo0
= 0;
5855 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) return NULL
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5878 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5881 wxGridTableBase
* _arg0
;
5882 size_t _arg1
= (size_t ) 1;
5883 PyObject
* _argo0
= 0;
5884 char *_kwnames
[] = { "self","numCols", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
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_AppendCols. Expected _wxGridTableBase_p.");
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) return NULL
;
5902 } _resultobj
= Py_BuildValue("i",_result
);
5906 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5907 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5910 wxGridTableBase
* _arg0
;
5911 size_t _arg1
= (size_t ) 0;
5912 size_t _arg2
= (size_t ) 1;
5913 PyObject
* _argo0
= 0;
5914 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) return NULL
;
5932 } _resultobj
= Py_BuildValue("i",_result
);
5936 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5937 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5940 wxGridTableBase
* _arg0
;
5942 PyObject
* _argo0
= 0;
5943 char *_kwnames
[] = { "self","row", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5963 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5965 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5974 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5975 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5978 wxGridTableBase
* _arg0
;
5980 PyObject
* _argo0
= 0;
5981 char *_kwnames
[] = { "self","col", NULL
};
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) return NULL
;
6001 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6003 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6012 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
6013 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6015 wxGridTableBase
* _arg0
;
6018 PyObject
* _argo0
= 0;
6019 PyObject
* _obj2
= 0;
6020 char *_kwnames
[] = { "self","row","value", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
6033 _arg2
= wxString_in_helper(_obj2
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 } Py_INCREF(Py_None
);
6044 _resultobj
= Py_None
;
6052 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
6053 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
* _resultobj
;
6055 wxGridTableBase
* _arg0
;
6058 PyObject
* _argo0
= 0;
6059 PyObject
* _obj2
= 0;
6060 char *_kwnames
[] = { "self","col","value", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
6073 _arg2
= wxString_in_helper(_obj2
);
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6083 } Py_INCREF(Py_None
);
6084 _resultobj
= Py_None
;
6092 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
6093 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6096 wxGridTableBase
* _arg0
;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) return NULL
;
6116 } _resultobj
= Py_BuildValue("i",_result
);
6120 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
6121 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxGridCellAttr
* _result
;
6124 wxGridTableBase
* _arg0
;
6127 wxGridCellAttr::wxAttrKind _arg3
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6151 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
6152 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6154 wxGridTableBase
* _arg0
;
6155 wxGridCellAttr
* _arg1
;
6158 PyObject
* _argo0
= 0;
6159 PyObject
* _argo1
= 0;
6160 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
6173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6185 } Py_INCREF(Py_None
);
6186 _resultobj
= Py_None
;
6190 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
6191 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxGridTableBase
* _arg0
;
6194 wxGridCellAttr
* _arg1
;
6196 PyObject
* _argo0
= 0;
6197 PyObject
* _argo1
= 0;
6198 char *_kwnames
[] = { "self","attr","row", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
6211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) return NULL
;
6223 } Py_INCREF(Py_None
);
6224 _resultobj
= Py_None
;
6228 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
6229 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6231 wxGridTableBase
* _arg0
;
6232 wxGridCellAttr
* _arg1
;
6234 PyObject
* _argo0
= 0;
6235 PyObject
* _argo1
= 0;
6236 char *_kwnames
[] = { "self","attr","col", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
6249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6261 } Py_INCREF(Py_None
);
6262 _resultobj
= Py_None
;
6266 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
6267 wxPyGridTableBase
*src
;
6268 wxGridTableBase
*dest
;
6269 src
= (wxPyGridTableBase
*) ptr
;
6270 dest
= (wxGridTableBase
*) src
;
6271 return (void *) dest
;
6274 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
6275 wxPyGridTableBase
*src
;
6277 src
= (wxPyGridTableBase
*) ptr
;
6278 dest
= (wxObject
*) src
;
6279 return (void *) dest
;
6282 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
6283 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6285 wxPyGridTableBase
* _result
;
6286 char *_kwnames
[] = { NULL
};
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) return NULL
;
6299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
6300 _resultobj
= Py_BuildValue("s",_ptemp
);
6303 _resultobj
= Py_None
;
6308 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6309 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
* _resultobj
;
6311 wxPyGridTableBase
* _arg0
;
6314 PyObject
* _argo0
= 0;
6315 PyObject
* _obj1
= 0;
6316 PyObject
* _obj2
= 0;
6317 char *_kwnames
[] = { "self","self","_class", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) return NULL
;
6341 } Py_INCREF(Py_None
);
6342 _resultobj
= Py_None
;
6346 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
6347 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxPyGridTableBase
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxPyGridTableBase_Destroy(_arg0
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6375 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6378 wxPyGridTableBase
* _arg0
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self","row","col", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6402 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6404 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6413 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6414 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6417 wxPyGridTableBase
* _arg0
;
6421 PyObject
* _argo0
= 0;
6422 PyObject
* _obj3
= 0;
6423 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6436 _arg3
= wxString_in_helper(_obj3
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } _resultobj
= Py_BuildValue("i",_result
);
6454 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6455 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
* _resultobj
;
6458 wxPyGridTableBase
* _arg0
;
6462 PyObject
* _argo0
= 0;
6463 PyObject
* _obj3
= 0;
6464 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6477 _arg3
= wxString_in_helper(_obj3
);
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) return NULL
;
6487 } _resultobj
= Py_BuildValue("i",_result
);
6495 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6496 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6498 wxPyGridTableBase
* _arg0
;
6499 PyObject
* _argo0
= 0;
6500 char *_kwnames
[] = { "self", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 wxPyGridTableBase_base_Clear(_arg0
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) return NULL
;
6518 } Py_INCREF(Py_None
);
6519 _resultobj
= Py_None
;
6523 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6524 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6527 wxPyGridTableBase
* _arg0
;
6528 size_t _arg1
= (size_t ) 0;
6529 size_t _arg2
= (size_t ) 1;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6549 } _resultobj
= Py_BuildValue("i",_result
);
6553 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6554 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6557 wxPyGridTableBase
* _arg0
;
6558 size_t _arg1
= (size_t ) 1;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self","numRows", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
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_AppendRows. Expected _wxPyGridTableBase_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6578 } _resultobj
= Py_BuildValue("i",_result
);
6582 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6583 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(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","numRows", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_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_DeleteRows. Expected _wxPyGridTableBase_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 } _resultobj
= Py_BuildValue("i",_result
);
6612 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6613 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6616 wxPyGridTableBase
* _arg0
;
6617 size_t _arg1
= (size_t ) 0;
6618 size_t _arg2
= (size_t ) 1;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 } _resultobj
= Py_BuildValue("i",_result
);
6642 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6643 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6646 wxPyGridTableBase
* _arg0
;
6647 size_t _arg1
= (size_t ) 1;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self","numCols", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
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_AppendCols. Expected _wxPyGridTableBase_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6672 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6675 wxPyGridTableBase
* _arg0
;
6676 size_t _arg1
= (size_t ) 0;
6677 size_t _arg2
= (size_t ) 1;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6702 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6705 wxPyGridTableBase
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self","row", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6728 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6730 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6739 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6740 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6743 wxPyGridTableBase
* _arg0
;
6745 PyObject
* _argo0
= 0;
6746 char *_kwnames
[] = { "self","col", NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6766 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6768 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6777 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6778 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6780 wxPyGridTableBase
* _arg0
;
6783 PyObject
* _argo0
= 0;
6784 PyObject
* _obj2
= 0;
6785 char *_kwnames
[] = { "self","row","value", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6798 _arg2
= wxString_in_helper(_obj2
);
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) return NULL
;
6808 } Py_INCREF(Py_None
);
6809 _resultobj
= Py_None
;
6817 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6818 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxPyGridTableBase
* _arg0
;
6823 PyObject
* _argo0
= 0;
6824 PyObject
* _obj2
= 0;
6825 char *_kwnames
[] = { "self","col","value", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6838 _arg2
= wxString_in_helper(_obj2
);
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) return NULL
;
6848 } Py_INCREF(Py_None
);
6849 _resultobj
= Py_None
;
6857 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6858 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6861 wxPyGridTableBase
* _arg0
;
6862 PyObject
* _argo0
= 0;
6863 char *_kwnames
[] = { "self", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } _resultobj
= Py_BuildValue("i",_result
);
6885 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6886 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6888 wxGridCellAttr
* _result
;
6889 wxPyGridTableBase
* _arg0
;
6892 wxGridCellAttr::wxAttrKind _arg3
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) return NULL
;
6912 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6916 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6917 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6919 wxPyGridTableBase
* _arg0
;
6920 wxGridCellAttr
* _arg1
;
6923 PyObject
* _argo0
= 0;
6924 PyObject
* _argo1
= 0;
6925 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) return NULL
;
6950 } Py_INCREF(Py_None
);
6951 _resultobj
= Py_None
;
6955 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6956 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6958 wxPyGridTableBase
* _arg0
;
6959 wxGridCellAttr
* _arg1
;
6961 PyObject
* _argo0
= 0;
6962 PyObject
* _argo1
= 0;
6963 char *_kwnames
[] = { "self","attr","row", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) return NULL
;
6988 } Py_INCREF(Py_None
);
6989 _resultobj
= Py_None
;
6993 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6994 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
* _resultobj
;
6996 wxPyGridTableBase
* _arg0
;
6997 wxGridCellAttr
* _arg1
;
6999 PyObject
* _argo0
= 0;
7000 PyObject
* _argo1
= 0;
7001 char *_kwnames
[] = { "self","attr","col", NULL
};
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
7009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
7014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) return NULL
;
7026 } Py_INCREF(Py_None
);
7027 _resultobj
= Py_None
;
7031 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
7032 wxGridStringTable
*src
;
7033 wxGridTableBase
*dest
;
7034 src
= (wxGridStringTable
*) ptr
;
7035 dest
= (wxGridTableBase
*) src
;
7036 return (void *) dest
;
7039 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
7040 wxGridStringTable
*src
;
7042 src
= (wxGridStringTable
*) ptr
;
7043 dest
= (wxObject
*) src
;
7044 return (void *) dest
;
7047 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
7048 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7050 wxGridStringTable
* _result
;
7051 int _arg0
= (int ) 0;
7052 int _arg1
= (int ) 0;
7053 char *_kwnames
[] = { "numRows","numCols", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
7067 _resultobj
= Py_BuildValue("s",_ptemp
);
7070 _resultobj
= Py_None
;
7075 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7076 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7078 wxGridTableMessage
* _result
;
7079 wxGridTableBase
* _arg0
;
7081 int _arg2
= (int ) -1;
7082 int _arg3
= (int ) -1;
7083 PyObject
* _argo0
= 0;
7084 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
7105 _resultobj
= Py_BuildValue("s",_ptemp
);
7108 _resultobj
= Py_None
;
7113 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
7114 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7116 wxGridTableMessage
* _arg0
;
7117 PyObject
* _argo0
= 0;
7118 char *_kwnames
[] = { "self", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
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 delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 delete_wxGridTableMessage(_arg0
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) return NULL
;
7136 } Py_INCREF(Py_None
);
7137 _resultobj
= Py_None
;
7141 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
7142 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
* _resultobj
;
7144 wxGridTableMessage
* _arg0
;
7145 wxGridTableBase
* _arg1
;
7146 PyObject
* _argo0
= 0;
7147 PyObject
* _argo1
= 0;
7148 char *_kwnames
[] = { "self","table", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
7161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) return NULL
;
7173 } Py_INCREF(Py_None
);
7174 _resultobj
= Py_None
;
7178 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
7179 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7181 wxGridTableBase
* _result
;
7182 wxGridTableMessage
* _arg0
;
7183 PyObject
* _argo0
= 0;
7184 char *_kwnames
[] = { "self", NULL
};
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
7190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) return NULL
;
7202 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7206 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
7207 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7209 wxGridTableMessage
* _arg0
;
7211 PyObject
* _argo0
= 0;
7212 char *_kwnames
[] = { "self","id", NULL
};
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
7218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 wxGridTableMessage_SetId(_arg0
,_arg1
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) return NULL
;
7230 } Py_INCREF(Py_None
);
7231 _resultobj
= Py_None
;
7235 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
7236 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7239 wxGridTableMessage
* _arg0
;
7240 PyObject
* _argo0
= 0;
7241 char *_kwnames
[] = { "self", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 _result
= (int )wxGridTableMessage_GetId(_arg0
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) return NULL
;
7259 } _resultobj
= Py_BuildValue("i",_result
);
7263 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
7264 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7266 wxGridTableMessage
* _arg0
;
7268 PyObject
* _argo0
= 0;
7269 char *_kwnames
[] = { "self","comInt1", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } Py_INCREF(Py_None
);
7288 _resultobj
= Py_None
;
7292 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
7293 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7296 wxGridTableMessage
* _arg0
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } _resultobj
= Py_BuildValue("i",_result
);
7320 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
7321 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7323 wxGridTableMessage
* _arg0
;
7325 PyObject
* _argo0
= 0;
7326 char *_kwnames
[] = { "self","comInt2", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) return NULL
;
7344 } Py_INCREF(Py_None
);
7345 _resultobj
= Py_None
;
7349 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
7350 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7353 wxGridTableMessage
* _arg0
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } _resultobj
= Py_BuildValue("i",_result
);
7377 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7378 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7380 wxGridCellCoords
* _result
;
7381 int _arg0
= (int ) -1;
7382 int _arg1
= (int ) -1;
7383 char *_kwnames
[] = { "r","c", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) return NULL
;
7396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7397 _resultobj
= Py_BuildValue("s",_ptemp
);
7400 _resultobj
= Py_None
;
7405 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7406 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7408 wxGridCellCoords
* _arg0
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 delete_wxGridCellCoords(_arg0
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7428 } Py_INCREF(Py_None
);
7429 _resultobj
= Py_None
;
7433 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7434 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7437 wxGridCellCoords
* _arg0
;
7438 PyObject
* _argo0
= 0;
7439 char *_kwnames
[] = { "self", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) return NULL
;
7457 } _resultobj
= Py_BuildValue("i",_result
);
7461 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7462 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7464 wxGridCellCoords
* _arg0
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self","n", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 wxGridCellCoords_SetRow(_arg0
,_arg1
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } Py_INCREF(Py_None
);
7486 _resultobj
= Py_None
;
7490 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7491 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7494 wxGridCellCoords
* _arg0
;
7495 PyObject
* _argo0
= 0;
7496 char *_kwnames
[] = { "self", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) return NULL
;
7514 } _resultobj
= Py_BuildValue("i",_result
);
7518 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7519 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
* _resultobj
;
7521 wxGridCellCoords
* _arg0
;
7523 PyObject
* _argo0
= 0;
7524 char *_kwnames
[] = { "self","n", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
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_SetCol. Expected _wxGridCellCoords_p.");
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } Py_INCREF(Py_None
);
7543 _resultobj
= Py_None
;
7547 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7548 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7550 wxGridCellCoords
* _arg0
;
7553 PyObject
* _argo0
= 0;
7554 char *_kwnames
[] = { "self","row","col", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) return NULL
;
7572 } Py_INCREF(Py_None
);
7573 _resultobj
= Py_None
;
7577 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7578 PyObject
* tup
= PyTuple_New(2);
7579 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7580 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7583 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7586 wxGridCellCoords
* _arg0
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7607 _resultobj
= _result
;
7612 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7613 return *self
!= other
;
7615 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7618 wxGridCellCoords
* _arg0
;
7619 wxGridCellCoords
* _arg1
;
7620 PyObject
* _argo0
= 0;
7621 PyObject
* _argo1
= 0;
7622 char *_kwnames
[] = { "self","other", NULL
};
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7635 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) return NULL
;
7646 } _resultobj
= Py_BuildValue("i",_result
);
7650 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7652 wxScrolledWindow
*dest
;
7653 src
= (wxGrid
*) ptr
;
7654 dest
= (wxScrolledWindow
*) src
;
7655 return (void *) dest
;
7658 static void *SwigwxGridTowxPanel(void *ptr
) {
7661 src
= (wxGrid
*) ptr
;
7662 dest
= (wxPanel
*) src
;
7663 return (void *) dest
;
7666 static void *SwigwxGridTowxWindow(void *ptr
) {
7669 src
= (wxGrid
*) ptr
;
7670 dest
= (wxWindow
*) src
;
7671 return (void *) dest
;
7674 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7677 src
= (wxGrid
*) ptr
;
7678 dest
= (wxEvtHandler
*) src
;
7679 return (void *) dest
;
7682 static void *SwigwxGridTowxObject(void *ptr
) {
7685 src
= (wxGrid
*) ptr
;
7686 dest
= (wxObject
*) src
;
7687 return (void *) dest
;
7690 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7691 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7696 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7697 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7698 long _arg4
= (long ) wxWANTS_CHARS
;
7699 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7700 PyObject
* _argo0
= 0;
7702 PyObject
* _obj2
= 0;
7704 PyObject
* _obj3
= 0;
7705 PyObject
* _obj5
= 0;
7706 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7722 if (! wxPoint_helper(_obj2
, &_arg2
))
7728 if (! wxSize_helper(_obj3
, &_arg3
))
7733 _arg5
= wxString_in_helper(_obj5
);
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) return NULL
;
7744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7745 _resultobj
= Py_BuildValue("s",_ptemp
);
7748 _resultobj
= Py_None
;
7757 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7758 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
* _resultobj
;
7764 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } _resultobj
= Py_BuildValue("i",_result
);
7788 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7789 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7792 WXGRIDSELECTIONMODES _arg1
;
7793 PyObject
* _argo0
= 0;
7794 char *_kwnames
[] = { "self","selmode", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7812 } Py_INCREF(Py_None
);
7813 _resultobj
= Py_None
;
7817 #define wxGrid_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7818 static PyObject
*_wrap_wxGrid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7820 WXGRIDSELECTIONMODES _result
;
7822 PyObject
* _argo0
= 0;
7823 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionMode",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionMode. Expected _wxGrid_p.");
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 _result
= (WXGRIDSELECTIONMODES
)wxGrid_GetSelectionMode(_arg0
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } _resultobj
= Py_BuildValue("i",_result
);
7845 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7846 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7850 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) return NULL
;
7869 } _resultobj
= Py_BuildValue("i",_result
);
7873 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7874 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7878 PyObject
* _argo0
= 0;
7879 char *_kwnames
[] = { "self", NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
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_GetNumberCols. Expected _wxGrid_p.");
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) return NULL
;
7897 } _resultobj
= Py_BuildValue("i",_result
);
7901 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7902 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7906 wxGridTableMessage
* _arg1
;
7907 PyObject
* _argo0
= 0;
7908 PyObject
* _argo1
= 0;
7909 char *_kwnames
[] = { "self","arg2", NULL
};
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7922 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 } _resultobj
= Py_BuildValue("i",_result
);
7937 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7938 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7940 wxGridTableBase
* _result
;
7942 PyObject
* _argo0
= 0;
7943 char *_kwnames
[] = { "self", NULL
};
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) return NULL
;
7961 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7965 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7966 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7970 wxGridTableBase
* _arg1
;
7971 bool _arg2
= (bool ) FALSE
;
7972 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _argo1
= 0;
7975 int tempbool2
= (int) FALSE
;
7976 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7995 _arg2
= (bool ) tempbool2
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } _resultobj
= Py_BuildValue("i",_result
);
8006 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
8007 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8010 PyObject
* _argo0
= 0;
8011 char *_kwnames
[] = { "self", NULL
};
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
8017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 wxGrid_ClearGrid(_arg0
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) return NULL
;
8029 } Py_INCREF(Py_None
);
8030 _resultobj
= Py_None
;
8034 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
8035 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8039 int _arg1
= (int ) 0;
8040 int _arg2
= (int ) 1;
8041 bool _arg3
= (bool ) TRUE
;
8042 PyObject
* _argo0
= 0;
8043 int tempbool3
= (int) TRUE
;
8044 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
8056 _arg3
= (bool ) tempbool3
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
8068 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8072 int _arg1
= (int ) 1;
8073 bool _arg2
= (bool ) TRUE
;
8074 PyObject
* _argo0
= 0;
8075 int tempbool2
= (int) TRUE
;
8076 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
8088 _arg2
= (bool ) tempbool2
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) return NULL
;
8095 } _resultobj
= Py_BuildValue("i",_result
);
8099 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
8100 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
* _resultobj
;
8104 int _arg1
= (int ) 0;
8105 int _arg2
= (int ) 1;
8106 bool _arg3
= (bool ) TRUE
;
8107 PyObject
* _argo0
= 0;
8108 int tempbool3
= (int) TRUE
;
8109 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
8121 _arg3
= (bool ) tempbool3
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) return NULL
;
8128 } _resultobj
= Py_BuildValue("i",_result
);
8132 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
8133 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8137 int _arg1
= (int ) 0;
8138 int _arg2
= (int ) 1;
8139 bool _arg3
= (bool ) TRUE
;
8140 PyObject
* _argo0
= 0;
8141 int tempbool3
= (int) TRUE
;
8142 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
8154 _arg3
= (bool ) tempbool3
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) return NULL
;
8161 } _resultobj
= Py_BuildValue("i",_result
);
8165 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
8166 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
* _resultobj
;
8170 int _arg1
= (int ) 1;
8171 bool _arg2
= (bool ) TRUE
;
8172 PyObject
* _argo0
= 0;
8173 int tempbool2
= (int) TRUE
;
8174 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
8186 _arg2
= (bool ) tempbool2
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) return NULL
;
8193 } _resultobj
= Py_BuildValue("i",_result
);
8197 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
8198 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
* _resultobj
;
8202 int _arg1
= (int ) 0;
8203 int _arg2
= (int ) 1;
8204 bool _arg3
= (bool ) TRUE
;
8205 PyObject
* _argo0
= 0;
8206 int tempbool3
= (int) TRUE
;
8207 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
8219 _arg3
= (bool ) tempbool3
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) return NULL
;
8226 } _resultobj
= Py_BuildValue("i",_result
);
8230 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
8231 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8235 wxGridCellAttr
* _arg2
;
8236 PyObject
* _argo0
= 0;
8237 PyObject
* _argo1
= 0;
8238 PyObject
* _argo2
= 0;
8239 char *_kwnames
[] = { "self","dc","attr", NULL
};
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
8245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
8252 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
8258 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) return NULL
;
8270 } Py_INCREF(Py_None
);
8271 _resultobj
= Py_None
;
8275 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8276 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8282 int _arg4
= (int ) wxLEFT
;
8283 int _arg5
= (int ) wxTOP
;
8284 int _arg6
= (int ) wxHORIZONTAL
;
8285 PyObject
* _argo0
= 0;
8286 PyObject
* _argo1
= 0;
8287 PyObject
* _obj2
= 0;
8289 PyObject
* _obj3
= 0;
8290 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment","textOrientation", NULL
};
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|iii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
,&_arg6
))
8296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
8303 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
8309 _arg2
= wxString_in_helper(_obj2
);
8315 if (! wxRect_helper(_obj3
, &_arg3
))
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) return NULL
;
8324 } Py_INCREF(Py_None
);
8325 _resultobj
= Py_None
;
8333 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8334 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8338 wxArrayString
* _arg2
;
8343 PyObject
* _argo0
= 0;
8344 PyObject
* _argo1
= 0;
8345 PyObject
* _obj2
= 0;
8346 char *_kwnames
[] = { "self","dc","lines", NULL
};
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8365 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8371 if (! PySequence_Check(_obj2
)) {
8372 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8375 _arg2
= new wxArrayString
;
8376 int i
, len
=PySequence_Length(_obj2
);
8377 for (i
=0; i
<len
; i
++) {
8378 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
8380 PyObject
* str
= PyObject_Unicode(item
);
8382 PyObject
* str
= PyObject_Str(item
);
8384 _arg2
->Add(Py2wxString(str
));
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) return NULL
;
8395 } Py_INCREF(Py_None
);
8396 _resultobj
= Py_None
;
8399 o
= PyInt_FromLong((long) (*_arg3
));
8400 _resultobj
= t_output_helper(_resultobj
, o
);
8404 o
= PyInt_FromLong((long) (*_arg4
));
8405 _resultobj
= t_output_helper(_resultobj
, o
);
8414 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8415 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8418 PyObject
* _argo0
= 0;
8419 char *_kwnames
[] = { "self", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 wxGrid_BeginBatch(_arg0
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) return NULL
;
8437 } Py_INCREF(Py_None
);
8438 _resultobj
= Py_None
;
8442 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8443 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8446 PyObject
* _argo0
= 0;
8447 char *_kwnames
[] = { "self", NULL
};
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 wxGrid_EndBatch(_arg0
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) return NULL
;
8465 } Py_INCREF(Py_None
);
8466 _resultobj
= Py_None
;
8470 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8471 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 char *_kwnames
[] = { "self", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) return NULL
;
8494 } _resultobj
= Py_BuildValue("i",_result
);
8498 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8499 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8502 PyObject
* _argo0
= 0;
8503 char *_kwnames
[] = { "self", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxGrid_ForceRefresh(_arg0
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) return NULL
;
8521 } Py_INCREF(Py_None
);
8522 _resultobj
= Py_None
;
8526 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8527 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8530 bool _arg1
= (bool ) TRUE
;
8531 wxRect
* _arg2
= (wxRect
*) NULL
;
8532 PyObject
* _argo0
= 0;
8533 int tempbool1
= (int) TRUE
;
8535 PyObject
* _obj2
= 0;
8536 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8548 _arg1
= (bool ) tempbool1
;
8552 if (! wxRect_helper(_obj2
, &_arg2
))
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) return NULL
;
8561 } Py_INCREF(Py_None
);
8562 _resultobj
= Py_None
;
8566 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8567 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
* _resultobj
;
8571 PyObject
* _argo0
= 0;
8572 char *_kwnames
[] = { "self", NULL
};
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 _result
= (bool )wxGrid_IsEditable(_arg0
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) return NULL
;
8590 } _resultobj
= Py_BuildValue("i",_result
);
8594 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8595 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
* _resultobj
;
8599 PyObject
* _argo0
= 0;
8601 char *_kwnames
[] = { "self","edit", NULL
};
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8613 _arg1
= (bool ) tempbool1
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 wxGrid_EnableEditing(_arg0
,_arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) return NULL
;
8620 } Py_INCREF(Py_None
);
8621 _resultobj
= Py_None
;
8625 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8626 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
* _resultobj
;
8629 bool _arg1
= (bool ) TRUE
;
8630 PyObject
* _argo0
= 0;
8631 int tempbool1
= (int) TRUE
;
8632 char *_kwnames
[] = { "self","enable", NULL
};
8635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8644 _arg1
= (bool ) tempbool1
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) return NULL
;
8651 } Py_INCREF(Py_None
);
8652 _resultobj
= Py_None
;
8656 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8657 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8660 PyObject
* _argo0
= 0;
8661 char *_kwnames
[] = { "self", NULL
};
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 wxGrid_DisableCellEditControl(_arg0
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) return NULL
;
8679 } Py_INCREF(Py_None
);
8680 _resultobj
= Py_None
;
8684 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8685 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 char *_kwnames
[] = { "self", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) return NULL
;
8708 } _resultobj
= Py_BuildValue("i",_result
);
8712 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8713 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
* _resultobj
;
8717 PyObject
* _argo0
= 0;
8718 char *_kwnames
[] = { "self", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) return NULL
;
8736 } _resultobj
= Py_BuildValue("i",_result
);
8740 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8741 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8745 PyObject
* _argo0
= 0;
8746 char *_kwnames
[] = { "self", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) return NULL
;
8764 } _resultobj
= Py_BuildValue("i",_result
);
8768 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8769 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8773 PyObject
* _argo0
= 0;
8774 char *_kwnames
[] = { "self", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) return NULL
;
8792 } _resultobj
= Py_BuildValue("i",_result
);
8796 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8797 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8800 PyObject
* _argo0
= 0;
8801 char *_kwnames
[] = { "self", NULL
};
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 wxGrid_ShowCellEditControl(_arg0
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) return NULL
;
8819 } Py_INCREF(Py_None
);
8820 _resultobj
= Py_None
;
8824 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8825 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
* _resultobj
;
8828 PyObject
* _argo0
= 0;
8829 char *_kwnames
[] = { "self", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 wxGrid_HideCellEditControl(_arg0
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) return NULL
;
8847 } Py_INCREF(Py_None
);
8848 _resultobj
= Py_None
;
8852 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8853 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
* _resultobj
;
8856 PyObject
* _argo0
= 0;
8857 char *_kwnames
[] = { "self", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxGrid_SaveEditControlValue(_arg0
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) return NULL
;
8875 } Py_INCREF(Py_None
);
8876 _resultobj
= Py_None
;
8880 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8881 wxGridCellCoords rv
;
8882 self
->XYToCell(x
, y
, rv
);
8883 return new wxGridCellCoords(rv
);
8885 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8887 wxGridCellCoords
* _result
;
8891 PyObject
* _argo0
= 0;
8892 char *_kwnames
[] = { "self","x","y", NULL
};
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) return NULL
;
8912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8913 _resultobj
= Py_BuildValue("s",_ptemp
);
8916 _resultobj
= Py_None
;
8921 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8922 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
* _resultobj
;
8927 PyObject
* _argo0
= 0;
8928 char *_kwnames
[] = { "self","y", NULL
};
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) return NULL
;
8946 } _resultobj
= Py_BuildValue("i",_result
);
8950 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8951 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
* _resultobj
;
8956 PyObject
* _argo0
= 0;
8957 char *_kwnames
[] = { "self","x", NULL
};
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) return NULL
;
8975 } _resultobj
= Py_BuildValue("i",_result
);
8979 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8980 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
* _resultobj
;
8985 PyObject
* _argo0
= 0;
8986 char *_kwnames
[] = { "self","y", NULL
};
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) return NULL
;
9004 } _resultobj
= Py_BuildValue("i",_result
);
9008 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
9009 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
* _resultobj
;
9014 PyObject
* _argo0
= 0;
9015 char *_kwnames
[] = { "self","x", NULL
};
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
9021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) return NULL
;
9033 } _resultobj
= Py_BuildValue("i",_result
);
9037 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
9038 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self","row","col", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) return NULL
;
9064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
9065 _resultobj
= Py_BuildValue("s",_ptemp
);
9069 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
9070 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9074 PyObject
* _argo0
= 0;
9075 char *_kwnames
[] = { "self", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } _resultobj
= Py_BuildValue("i",_result
);
9097 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
9098 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9102 PyObject
* _argo0
= 0;
9103 char *_kwnames
[] = { "self", NULL
};
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
9109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) return NULL
;
9121 } _resultobj
= Py_BuildValue("i",_result
);
9125 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
9126 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
* _resultobj
;
9132 bool _arg3
= (bool ) TRUE
;
9133 PyObject
* _argo0
= 0;
9134 int tempbool3
= (int) TRUE
;
9135 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
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_IsVisible. Expected _wxGrid_p.");
9147 _arg3
= (bool ) tempbool3
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) return NULL
;
9154 } _resultobj
= Py_BuildValue("i",_result
);
9158 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
9159 static PyObject
*_wrap_wxGrid_MakeCellVisible(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_MakeCellVisible",_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_MakeCellVisible. Expected _wxGrid_p.");
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) return NULL
;
9183 } Py_INCREF(Py_None
);
9184 _resultobj
= Py_None
;
9188 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
9189 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
* _resultobj
;
9194 PyObject
* _argo0
= 0;
9195 char *_kwnames
[] = { "self","row","col", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) return NULL
;
9213 } Py_INCREF(Py_None
);
9214 _resultobj
= Py_None
;
9218 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
9219 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
* _resultobj
;
9224 PyObject
* _argo0
= 0;
9226 char *_kwnames
[] = { "self","expandSelection", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
9232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
9238 _arg1
= (bool ) tempbool1
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } _resultobj
= Py_BuildValue("i",_result
);
9249 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
9250 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
* _resultobj
;
9255 PyObject
* _argo0
= 0;
9257 char *_kwnames
[] = { "self","expandSelection", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
9269 _arg1
= (bool ) tempbool1
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9276 } _resultobj
= Py_BuildValue("i",_result
);
9280 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
9281 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
* _resultobj
;
9286 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self","expandSelection", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
9300 _arg1
= (bool ) tempbool1
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) return NULL
;
9307 } _resultobj
= Py_BuildValue("i",_result
);
9311 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
9312 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9319 char *_kwnames
[] = { "self","expandSelection", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
9331 _arg1
= (bool ) tempbool1
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } _resultobj
= Py_BuildValue("i",_result
);
9342 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
9343 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9347 PyObject
* _argo0
= 0;
9348 char *_kwnames
[] = { "self", NULL
};
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
9354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 _result
= (bool )wxGrid_MovePageDown(_arg0
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } _resultobj
= Py_BuildValue("i",_result
);
9370 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9371 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9375 PyObject
* _argo0
= 0;
9376 char *_kwnames
[] = { "self", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
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_MovePageUp. Expected _wxGrid_p.");
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) return NULL
;
9394 } _resultobj
= Py_BuildValue("i",_result
);
9398 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9399 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
* _resultobj
;
9404 PyObject
* _argo0
= 0;
9406 char *_kwnames
[] = { "self","expandSelection", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9418 _arg1
= (bool ) tempbool1
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } _resultobj
= Py_BuildValue("i",_result
);
9429 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9430 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9435 PyObject
* _argo0
= 0;
9437 char *_kwnames
[] = { "self","expandSelection", NULL
};
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9449 _arg1
= (bool ) tempbool1
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) return NULL
;
9456 } _resultobj
= Py_BuildValue("i",_result
);
9460 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9461 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
* _resultobj
;
9466 PyObject
* _argo0
= 0;
9468 char *_kwnames
[] = { "self","expandSelection", NULL
};
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9480 _arg1
= (bool ) tempbool1
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) return NULL
;
9487 } _resultobj
= Py_BuildValue("i",_result
);
9491 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9492 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
* _resultobj
;
9497 PyObject
* _argo0
= 0;
9499 char *_kwnames
[] = { "self","expandSelection", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9511 _arg1
= (bool ) tempbool1
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) return NULL
;
9518 } _resultobj
= Py_BuildValue("i",_result
);
9522 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9523 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
* _resultobj
;
9527 PyObject
* _argo0
= 0;
9528 char *_kwnames
[] = { "self", NULL
};
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) return NULL
;
9546 } _resultobj
= Py_BuildValue("i",_result
);
9550 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9551 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
* _resultobj
;
9555 PyObject
* _argo0
= 0;
9556 char *_kwnames
[] = { "self", NULL
};
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) return NULL
;
9574 } _resultobj
= Py_BuildValue("i",_result
);
9578 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9579 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9583 PyObject
* _argo0
= 0;
9584 char *_kwnames
[] = { "self", NULL
};
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) return NULL
;
9602 } _resultobj
= Py_BuildValue("i",_result
);
9606 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9607 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9611 PyObject
* _argo0
= 0;
9612 char *_kwnames
[] = { "self", NULL
};
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) return NULL
;
9630 } _resultobj
= Py_BuildValue("i",_result
);
9634 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9635 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(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_GetLabelBackgroundColour",_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_GetLabelBackgroundColour. Expected _wxGrid_p.");
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_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_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9665 static PyObject
*_wrap_wxGrid_GetLabelTextColour(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_GetLabelTextColour",_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_GetLabelTextColour. Expected _wxGrid_p.");
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) return NULL
;
9689 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9690 _resultobj
= Py_BuildValue("s",_ptemp
);
9694 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9695 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
* _resultobj
;
9699 PyObject
* _argo0
= 0;
9700 char *_kwnames
[] = { "self", NULL
};
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) return NULL
;
9719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9720 _resultobj
= Py_BuildValue("s",_ptemp
);
9724 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9725 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
* _resultobj
;
9732 PyObject
* _argo0
= 0;
9733 char *_kwnames
[] = { "self", NULL
};
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) return NULL
;
9757 } Py_INCREF(Py_None
);
9758 _resultobj
= Py_None
;
9761 o
= PyInt_FromLong((long) (*_arg1
));
9762 _resultobj
= t_output_helper(_resultobj
, o
);
9766 o
= PyInt_FromLong((long) (*_arg2
));
9767 _resultobj
= t_output_helper(_resultobj
, o
);
9772 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9773 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9780 PyObject
* _argo0
= 0;
9781 char *_kwnames
[] = { "self", NULL
};
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) return NULL
;
9805 } Py_INCREF(Py_None
);
9806 _resultobj
= Py_None
;
9809 o
= PyInt_FromLong((long) (*_arg1
));
9810 _resultobj
= t_output_helper(_resultobj
, o
);
9814 o
= PyInt_FromLong((long) (*_arg2
));
9815 _resultobj
= t_output_helper(_resultobj
, o
);
9820 #define wxGrid_GetColLabelTextOrientation(_swigobj) (_swigobj->GetColLabelTextOrientation())
9821 static PyObject
*_wrap_wxGrid_GetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
* _resultobj
;
9825 PyObject
* _argo0
= 0;
9826 char *_kwnames
[] = { "self", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelTextOrientation",_kwnames
,&_argo0
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelTextOrientation. Expected _wxGrid_p.");
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 _result
= (int )wxGrid_GetColLabelTextOrientation(_arg0
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) return NULL
;
9844 } _resultobj
= Py_BuildValue("i",_result
);
9848 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9849 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
* _resultobj
;
9854 PyObject
* _argo0
= 0;
9855 char *_kwnames
[] = { "self","row", NULL
};
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) return NULL
;
9875 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9886 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9887 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
* _resultobj
;
9892 PyObject
* _argo0
= 0;
9893 char *_kwnames
[] = { "self","col", NULL
};
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) return NULL
;
9913 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9915 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9924 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9925 static PyObject
*_wrap_wxGrid_GetGridLineColour(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_GetGridLineColour",_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_GetGridLineColour. Expected _wxGrid_p.");
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 _result
= new wxColour (wxGrid_GetGridLineColour(_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_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9955 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
* _resultobj
;
9959 PyObject
* _argo0
= 0;
9960 char *_kwnames
[] = { "self", NULL
};
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) return NULL
;
9979 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9980 _resultobj
= Py_BuildValue("s",_ptemp
);
9984 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9985 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
* _resultobj
;
9989 PyObject
* _argo0
= 0;
9990 char *_kwnames
[] = { "self", NULL
};
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) return NULL
;
10008 } _resultobj
= Py_BuildValue("i",_result
);
10012 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
10013 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10017 PyObject
* _argo0
= 0;
10018 char *_kwnames
[] = { "self", NULL
};
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
10024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) return NULL
;
10036 } _resultobj
= Py_BuildValue("i",_result
);
10040 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
10041 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
* _resultobj
;
10045 PyObject
* _argo0
= 0;
10046 char *_kwnames
[] = { "self","width", NULL
};
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
10052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) return NULL
;
10064 } Py_INCREF(Py_None
);
10065 _resultobj
= Py_None
;
10069 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
10070 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
* _resultobj
;
10074 PyObject
* _argo0
= 0;
10075 char *_kwnames
[] = { "self","height", NULL
};
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
10081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 wxGrid_SetColLabelSize(_arg0
,_arg1
);
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) return NULL
;
10093 } Py_INCREF(Py_None
);
10094 _resultobj
= Py_None
;
10098 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
10099 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
* _resultobj
;
10103 PyObject
* _argo0
= 0;
10105 PyObject
* _obj1
= 0;
10106 char *_kwnames
[] = { "self","arg2", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
10120 if (! wxColour_helper(_obj1
, &_arg1
))
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) return NULL
;
10129 } Py_INCREF(Py_None
);
10130 _resultobj
= Py_None
;
10134 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
10135 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
* _resultobj
;
10139 PyObject
* _argo0
= 0;
10141 PyObject
* _obj1
= 0;
10142 char *_kwnames
[] = { "self","arg2", NULL
};
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
10148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
10156 if (! wxColour_helper(_obj1
, &_arg1
))
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) return NULL
;
10165 } Py_INCREF(Py_None
);
10166 _resultobj
= Py_None
;
10170 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
10171 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
* _resultobj
;
10175 PyObject
* _argo0
= 0;
10176 PyObject
* _argo1
= 0;
10177 char *_kwnames
[] = { "self","arg2", NULL
};
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
10183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
10190 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 wxGrid_SetLabelFont(_arg0
,*_arg1
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) return NULL
;
10201 } Py_INCREF(Py_None
);
10202 _resultobj
= Py_None
;
10206 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
10207 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(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_SetRowLabelAlignment",_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_SetRowLabelAlignment. Expected _wxGrid_p.");
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) return NULL
;
10231 } Py_INCREF(Py_None
);
10232 _resultobj
= Py_None
;
10236 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
10237 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
* _resultobj
;
10242 PyObject
* _argo0
= 0;
10243 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) return NULL
;
10261 } Py_INCREF(Py_None
);
10262 _resultobj
= Py_None
;
10266 #define wxGrid_SetColLabelTextOrientation(_swigobj,_swigarg0) (_swigobj->SetColLabelTextOrientation(_swigarg0))
10267 static PyObject
*_wrap_wxGrid_SetColLabelTextOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
* _resultobj
;
10271 PyObject
* _argo0
= 0;
10272 char *_kwnames
[] = { "self","textOrientation", NULL
};
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelTextOrientation",_kwnames
,&_argo0
,&_arg1
))
10278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelTextOrientation. Expected _wxGrid_p.");
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 wxGrid_SetColLabelTextOrientation(_arg0
,_arg1
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) return NULL
;
10290 } Py_INCREF(Py_None
);
10291 _resultobj
= Py_None
;
10295 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
10296 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
* _resultobj
;
10301 PyObject
* _argo0
= 0;
10302 PyObject
* _obj2
= 0;
10303 char *_kwnames
[] = { "self","row","arg3", NULL
};
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
10316 _arg2
= wxString_in_helper(_obj2
);
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) return NULL
;
10326 } Py_INCREF(Py_None
);
10327 _resultobj
= Py_None
;
10335 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
10336 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
* _resultobj
;
10341 PyObject
* _argo0
= 0;
10342 PyObject
* _obj2
= 0;
10343 char *_kwnames
[] = { "self","col","arg3", NULL
};
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
10356 _arg2
= wxString_in_helper(_obj2
);
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) return NULL
;
10366 } Py_INCREF(Py_None
);
10367 _resultobj
= Py_None
;
10375 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
10376 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10380 PyObject
* _argo0
= 0;
10382 PyObject
* _obj1
= 0;
10383 char *_kwnames
[] = { "self","arg2", NULL
};
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
10389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
10397 if (! wxColour_helper(_obj1
, &_arg1
))
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) return NULL
;
10406 } Py_INCREF(Py_None
);
10407 _resultobj
= Py_None
;
10411 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10412 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
* _resultobj
;
10416 PyObject
* _argo0
= 0;
10418 PyObject
* _obj1
= 0;
10419 char *_kwnames
[] = { "self","arg2", NULL
};
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10433 if (! wxColour_helper(_obj1
, &_arg1
))
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) return NULL
;
10442 } Py_INCREF(Py_None
);
10443 _resultobj
= Py_None
;
10447 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10448 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
* _resultobj
;
10452 PyObject
* _argo0
= 0;
10453 char *_kwnames
[] = { "self","width", NULL
};
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) return NULL
;
10471 } Py_INCREF(Py_None
);
10472 _resultobj
= Py_None
;
10476 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10477 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
* _resultobj
;
10481 PyObject
* _argo0
= 0;
10482 char *_kwnames
[] = { "self","width", NULL
};
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
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_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) return NULL
;
10500 } Py_INCREF(Py_None
);
10501 _resultobj
= Py_None
;
10505 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10506 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
* _resultobj
;
10509 bool _arg1
= (bool ) TRUE
;
10510 PyObject
* _argo0
= 0;
10511 int tempbool1
= (int) TRUE
;
10512 char *_kwnames
[] = { "self","enable", NULL
};
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10524 _arg1
= (bool ) tempbool1
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) return NULL
;
10531 } Py_INCREF(Py_None
);
10532 _resultobj
= Py_None
;
10536 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10537 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
* _resultobj
;
10540 PyObject
* _argo0
= 0;
10541 char *_kwnames
[] = { "self", NULL
};
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 wxGrid_DisableDragRowSize(_arg0
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) return NULL
;
10559 } Py_INCREF(Py_None
);
10560 _resultobj
= Py_None
;
10564 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10565 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
* _resultobj
;
10569 PyObject
* _argo0
= 0;
10570 char *_kwnames
[] = { "self", NULL
};
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) return NULL
;
10588 } _resultobj
= Py_BuildValue("i",_result
);
10592 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10593 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
* _resultobj
;
10596 bool _arg1
= (bool ) TRUE
;
10597 PyObject
* _argo0
= 0;
10598 int tempbool1
= (int) TRUE
;
10599 char *_kwnames
[] = { "self","enable", NULL
};
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10611 _arg1
= (bool ) tempbool1
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) return NULL
;
10618 } Py_INCREF(Py_None
);
10619 _resultobj
= Py_None
;
10623 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10624 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
* _resultobj
;
10627 PyObject
* _argo0
= 0;
10628 char *_kwnames
[] = { "self", NULL
};
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 wxGrid_DisableDragColSize(_arg0
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) return NULL
;
10646 } Py_INCREF(Py_None
);
10647 _resultobj
= Py_None
;
10651 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10652 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10656 PyObject
* _argo0
= 0;
10657 char *_kwnames
[] = { "self", NULL
};
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) return NULL
;
10675 } _resultobj
= Py_BuildValue("i",_result
);
10679 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10680 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
* _resultobj
;
10683 bool _arg1
= (bool ) TRUE
;
10684 PyObject
* _argo0
= 0;
10685 int tempbool1
= (int) TRUE
;
10686 char *_kwnames
[] = { "self","enable", NULL
};
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10698 _arg1
= (bool ) tempbool1
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) return NULL
;
10705 } Py_INCREF(Py_None
);
10706 _resultobj
= Py_None
;
10710 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10711 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
* _resultobj
;
10714 PyObject
* _argo0
= 0;
10715 char *_kwnames
[] = { "self", NULL
};
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 wxGrid_DisableDragGridSize(_arg0
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) return NULL
;
10733 } Py_INCREF(Py_None
);
10734 _resultobj
= Py_None
;
10738 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10739 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
* _resultobj
;
10743 PyObject
* _argo0
= 0;
10744 char *_kwnames
[] = { "self", NULL
};
10747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) return NULL
;
10762 } _resultobj
= Py_BuildValue("i",_result
);
10766 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10767 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
* _resultobj
;
10772 wxGridCellAttr
* _arg3
;
10773 PyObject
* _argo0
= 0;
10774 PyObject
* _argo3
= 0;
10775 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10788 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) return NULL
;
10800 } Py_INCREF(Py_None
);
10801 _resultobj
= Py_None
;
10805 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10806 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
* _resultobj
;
10810 wxGridCellAttr
* _arg2
;
10811 PyObject
* _argo0
= 0;
10812 PyObject
* _argo2
= 0;
10813 char *_kwnames
[] = { "self","row","attr", NULL
};
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10826 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10827 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) return NULL
;
10838 } Py_INCREF(Py_None
);
10839 _resultobj
= Py_None
;
10843 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10844 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
* _resultobj
;
10848 wxGridCellAttr
* _arg2
;
10849 PyObject
* _argo0
= 0;
10850 PyObject
* _argo2
= 0;
10851 char *_kwnames
[] = { "self","col","attr", NULL
};
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10864 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10865 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) return NULL
;
10876 } Py_INCREF(Py_None
);
10877 _resultobj
= Py_None
;
10881 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10882 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
* _resultobj
;
10886 PyObject
* _argo0
= 0;
10887 char *_kwnames
[] = { "self","col", NULL
};
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) return NULL
;
10905 } Py_INCREF(Py_None
);
10906 _resultobj
= Py_None
;
10910 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10911 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
* _resultobj
;
10915 PyObject
* _argo0
= 0;
10916 char *_kwnames
[] = { "self","col", NULL
};
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) return NULL
;
10934 } Py_INCREF(Py_None
);
10935 _resultobj
= Py_None
;
10939 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10940 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
* _resultobj
;
10944 int _arg2
= (int ) -1;
10945 int _arg3
= (int ) -1;
10946 PyObject
* _argo0
= 0;
10947 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } Py_INCREF(Py_None
);
10966 _resultobj
= Py_None
;
10970 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10971 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
* _resultobj
;
10976 PyObject
* _argo0
= 0;
10977 PyObject
* _obj2
= 0;
10978 char *_kwnames
[] = { "self","col","typeName", NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10991 _arg2
= wxString_in_helper(_obj2
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } Py_INCREF(Py_None
);
11002 _resultobj
= Py_None
;
11010 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
11011 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
* _resultobj
;
11014 bool _arg1
= (bool ) TRUE
;
11015 PyObject
* _argo0
= 0;
11016 int tempbool1
= (int) TRUE
;
11017 char *_kwnames
[] = { "self","enable", NULL
};
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
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_EnableGridLines. Expected _wxGrid_p.");
11029 _arg1
= (bool ) tempbool1
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 wxGrid_EnableGridLines(_arg0
,_arg1
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) return NULL
;
11036 } Py_INCREF(Py_None
);
11037 _resultobj
= Py_None
;
11041 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
11042 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
* _resultobj
;
11046 PyObject
* _argo0
= 0;
11047 char *_kwnames
[] = { "self", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) return NULL
;
11065 } _resultobj
= Py_BuildValue("i",_result
);
11069 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
11070 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
* _resultobj
;
11074 PyObject
* _argo0
= 0;
11075 char *_kwnames
[] = { "self", NULL
};
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
11081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) return NULL
;
11093 } _resultobj
= Py_BuildValue("i",_result
);
11097 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
11098 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
* _resultobj
;
11103 PyObject
* _argo0
= 0;
11104 char *_kwnames
[] = { "self","row", NULL
};
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
11110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) return NULL
;
11122 } _resultobj
= Py_BuildValue("i",_result
);
11126 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
11127 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
* _resultobj
;
11131 PyObject
* _argo0
= 0;
11132 char *_kwnames
[] = { "self", NULL
};
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
11138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) return NULL
;
11150 } _resultobj
= Py_BuildValue("i",_result
);
11154 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
11155 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
* _resultobj
;
11160 PyObject
* _argo0
= 0;
11161 char *_kwnames
[] = { "self","col", NULL
};
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
11167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) return NULL
;
11179 } _resultobj
= Py_BuildValue("i",_result
);
11183 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
11184 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
* _resultobj
;
11186 wxColour
* _result
;
11188 PyObject
* _argo0
= 0;
11189 char *_kwnames
[] = { "self", NULL
};
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
11196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) return NULL
;
11208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11209 _resultobj
= Py_BuildValue("s",_ptemp
);
11213 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
11214 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
* _resultobj
;
11216 wxColour
* _result
;
11220 PyObject
* _argo0
= 0;
11221 char *_kwnames
[] = { "self","row","col", NULL
};
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetCellBackgroundColour. Expected _wxGrid_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
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_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
11246 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
* _resultobj
;
11248 wxColour
* _result
;
11250 PyObject
* _argo0
= 0;
11251 char *_kwnames
[] = { "self", NULL
};
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
11258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) return NULL
;
11270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11271 _resultobj
= Py_BuildValue("s",_ptemp
);
11275 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
11276 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
* _resultobj
;
11278 wxColour
* _result
;
11282 PyObject
* _argo0
= 0;
11283 char *_kwnames
[] = { "self","row","col", NULL
};
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) return NULL
;
11302 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11303 _resultobj
= Py_BuildValue("s",_ptemp
);
11307 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
11308 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
* _resultobj
;
11312 PyObject
* _argo0
= 0;
11313 char *_kwnames
[] = { "self", NULL
};
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
11320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) return NULL
;
11332 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11333 _resultobj
= Py_BuildValue("s",_ptemp
);
11337 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
11338 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
* _resultobj
;
11344 PyObject
* _argo0
= 0;
11345 char *_kwnames
[] = { "self","row","col", NULL
};
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) return NULL
;
11364 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11365 _resultobj
= Py_BuildValue("s",_ptemp
);
11369 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
11370 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
* _resultobj
;
11377 PyObject
* _argo0
= 0;
11378 char *_kwnames
[] = { "self", NULL
};
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
))
11390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) return NULL
;
11402 } Py_INCREF(Py_None
);
11403 _resultobj
= Py_None
;
11406 o
= PyInt_FromLong((long) (*_arg1
));
11407 _resultobj
= t_output_helper(_resultobj
, o
);
11411 o
= PyInt_FromLong((long) (*_arg2
));
11412 _resultobj
= t_output_helper(_resultobj
, o
);
11417 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11418 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
* _resultobj
;
11427 PyObject
* _argo0
= 0;
11428 char *_kwnames
[] = { "self","row","col", NULL
};
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) return NULL
;
11452 } Py_INCREF(Py_None
);
11453 _resultobj
= Py_None
;
11456 o
= PyInt_FromLong((long) (*_arg3
));
11457 _resultobj
= t_output_helper(_resultobj
, o
);
11461 o
= PyInt_FromLong((long) (*_arg4
));
11462 _resultobj
= t_output_helper(_resultobj
, o
);
11467 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11468 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
* _resultobj
;
11472 PyObject
* _argo0
= 0;
11473 char *_kwnames
[] = { "self", NULL
};
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) return NULL
;
11491 } _resultobj
= Py_BuildValue("i",_result
);
11495 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11496 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
* _resultobj
;
11502 PyObject
* _argo0
= 0;
11503 char *_kwnames
[] = { "self","row","col", NULL
};
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) return NULL
;
11521 } _resultobj
= Py_BuildValue("i",_result
);
11525 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11526 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
* _resultobj
;
11535 PyObject
* _argo0
= 0;
11536 char *_kwnames
[] = { "self","row","col", NULL
};
11545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) return NULL
;
11560 } Py_INCREF(Py_None
);
11561 _resultobj
= Py_None
;
11564 o
= PyInt_FromLong((long) (*_arg3
));
11565 _resultobj
= t_output_helper(_resultobj
, o
);
11569 o
= PyInt_FromLong((long) (*_arg4
));
11570 _resultobj
= t_output_helper(_resultobj
, o
);
11575 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11576 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
* _resultobj
;
11580 bool _arg2
= (bool ) FALSE
;
11581 PyObject
* _argo0
= 0;
11582 int tempbool2
= (int) FALSE
;
11583 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11595 _arg2
= (bool ) tempbool2
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) return NULL
;
11602 } Py_INCREF(Py_None
);
11603 _resultobj
= Py_None
;
11607 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11608 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
* _resultobj
;
11613 PyObject
* _argo0
= 0;
11614 char *_kwnames
[] = { "self","row","height", NULL
};
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) return NULL
;
11632 } Py_INCREF(Py_None
);
11633 _resultobj
= Py_None
;
11637 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11638 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
* _resultobj
;
11642 bool _arg2
= (bool ) FALSE
;
11643 PyObject
* _argo0
= 0;
11644 int tempbool2
= (int) FALSE
;
11645 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11657 _arg2
= (bool ) tempbool2
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) return NULL
;
11664 } Py_INCREF(Py_None
);
11665 _resultobj
= Py_None
;
11669 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11670 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
* _resultobj
;
11675 PyObject
* _argo0
= 0;
11676 char *_kwnames
[] = { "self","col","width", NULL
};
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) return NULL
;
11694 } Py_INCREF(Py_None
);
11695 _resultobj
= Py_None
;
11699 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11700 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
* _resultobj
;
11704 bool _arg2
= (bool ) TRUE
;
11705 PyObject
* _argo0
= 0;
11706 int tempbool2
= (int) TRUE
;
11707 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11719 _arg2
= (bool ) tempbool2
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) return NULL
;
11726 } Py_INCREF(Py_None
);
11727 _resultobj
= Py_None
;
11731 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11732 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
* _resultobj
;
11736 bool _arg2
= (bool ) TRUE
;
11737 PyObject
* _argo0
= 0;
11738 int tempbool2
= (int) TRUE
;
11739 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11751 _arg2
= (bool ) tempbool2
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) return NULL
;
11758 } Py_INCREF(Py_None
);
11759 _resultobj
= Py_None
;
11763 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11764 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
* _resultobj
;
11767 bool _arg1
= (bool ) TRUE
;
11768 PyObject
* _argo0
= 0;
11769 int tempbool1
= (int) TRUE
;
11770 char *_kwnames
[] = { "self","setAsMin", NULL
};
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11782 _arg1
= (bool ) tempbool1
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) return NULL
;
11789 } Py_INCREF(Py_None
);
11790 _resultobj
= Py_None
;
11794 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11795 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
* _resultobj
;
11798 bool _arg1
= (bool ) TRUE
;
11799 PyObject
* _argo0
= 0;
11800 int tempbool1
= (int) TRUE
;
11801 char *_kwnames
[] = { "self","setAsMin", NULL
};
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11813 _arg1
= (bool ) tempbool1
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) return NULL
;
11820 } Py_INCREF(Py_None
);
11821 _resultobj
= Py_None
;
11825 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11826 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
* _resultobj
;
11829 PyObject
* _argo0
= 0;
11830 char *_kwnames
[] = { "self", NULL
};
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 wxGrid_AutoSize(_arg0
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) return NULL
;
11848 } Py_INCREF(Py_None
);
11849 _resultobj
= Py_None
;
11853 #define wxGrid_AutoSizeRowLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeRowLabelSize(_swigarg0))
11854 static PyObject
*_wrap_wxGrid_AutoSizeRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
* _resultobj
;
11858 PyObject
* _argo0
= 0;
11859 char *_kwnames
[] = { "self","row", NULL
};
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
11865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRowLabelSize. Expected _wxGrid_p.");
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 wxGrid_AutoSizeRowLabelSize(_arg0
,_arg1
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) return NULL
;
11877 } Py_INCREF(Py_None
);
11878 _resultobj
= Py_None
;
11882 #define wxGrid_AutoSizeColLabelSize(_swigobj,_swigarg0) (_swigobj->AutoSizeColLabelSize(_swigarg0))
11883 static PyObject
*_wrap_wxGrid_AutoSizeColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
* _resultobj
;
11887 PyObject
* _argo0
= 0;
11888 char *_kwnames
[] = { "self","col", NULL
};
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_AutoSizeColLabelSize",_kwnames
,&_argo0
,&_arg1
))
11894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColLabelSize. Expected _wxGrid_p.");
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 wxGrid_AutoSizeColLabelSize(_arg0
,_arg1
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) return NULL
;
11906 } Py_INCREF(Py_None
);
11907 _resultobj
= Py_None
;
11911 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11912 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
* _resultobj
;
11917 PyObject
* _argo0
= 0;
11918 char *_kwnames
[] = { "self","col","width", NULL
};
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) return NULL
;
11936 } Py_INCREF(Py_None
);
11937 _resultobj
= Py_None
;
11941 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11942 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
* _resultobj
;
11947 PyObject
* _argo0
= 0;
11948 char *_kwnames
[] = { "self","row","width", NULL
};
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) return NULL
;
11966 } Py_INCREF(Py_None
);
11967 _resultobj
= Py_None
;
11971 #define wxGrid_SetColMinimalAcceptableWidth(_swigobj,_swigarg0) (_swigobj->SetColMinimalAcceptableWidth(_swigarg0))
11972 static PyObject
*_wrap_wxGrid_SetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
* _resultobj
;
11976 PyObject
* _argo0
= 0;
11977 char *_kwnames
[] = { "self","width", NULL
};
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColMinimalAcceptableWidth",_kwnames
,&_argo0
,&_arg1
))
11983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalAcceptableWidth. Expected _wxGrid_p.");
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 wxGrid_SetColMinimalAcceptableWidth(_arg0
,_arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) return NULL
;
11995 } Py_INCREF(Py_None
);
11996 _resultobj
= Py_None
;
12000 #define wxGrid_SetRowMinimalAcceptableHeight(_swigobj,_swigarg0) (_swigobj->SetRowMinimalAcceptableHeight(_swigarg0))
12001 static PyObject
*_wrap_wxGrid_SetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
* _resultobj
;
12005 PyObject
* _argo0
= 0;
12006 char *_kwnames
[] = { "self","width", NULL
};
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowMinimalAcceptableHeight",_kwnames
,&_argo0
,&_arg1
))
12012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 wxGrid_SetRowMinimalAcceptableHeight(_arg0
,_arg1
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) return NULL
;
12024 } Py_INCREF(Py_None
);
12025 _resultobj
= Py_None
;
12029 #define wxGrid_GetColMinimalAcceptableWidth(_swigobj) (_swigobj->GetColMinimalAcceptableWidth())
12030 static PyObject
*_wrap_wxGrid_GetColMinimalAcceptableWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
* _resultobj
;
12034 PyObject
* _argo0
= 0;
12035 char *_kwnames
[] = { "self", NULL
};
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColMinimalAcceptableWidth",_kwnames
,&_argo0
))
12041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColMinimalAcceptableWidth. Expected _wxGrid_p.");
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 _result
= (int )wxGrid_GetColMinimalAcceptableWidth(_arg0
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) return NULL
;
12053 } _resultobj
= Py_BuildValue("i",_result
);
12057 #define wxGrid_GetRowMinimalAcceptableHeight(_swigobj) (_swigobj->GetRowMinimalAcceptableHeight())
12058 static PyObject
*_wrap_wxGrid_GetRowMinimalAcceptableHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
* _resultobj
;
12062 PyObject
* _argo0
= 0;
12063 char *_kwnames
[] = { "self", NULL
};
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowMinimalAcceptableHeight",_kwnames
,&_argo0
))
12069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowMinimalAcceptableHeight. Expected _wxGrid_p.");
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 _result
= (int )wxGrid_GetRowMinimalAcceptableHeight(_arg0
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) return NULL
;
12081 } _resultobj
= Py_BuildValue("i",_result
);
12085 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
12086 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
* _resultobj
;
12090 PyObject
* _argo0
= 0;
12092 PyObject
* _obj1
= 0;
12093 char *_kwnames
[] = { "self","arg2", NULL
};
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
12099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
12107 if (! wxColour_helper(_obj1
, &_arg1
))
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) return NULL
;
12116 } Py_INCREF(Py_None
);
12117 _resultobj
= Py_None
;
12121 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
12122 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
* _resultobj
;
12128 PyObject
* _argo0
= 0;
12130 PyObject
* _obj3
= 0;
12131 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
12145 if (! wxColour_helper(_obj3
, &_arg3
))
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 wxGrid_SetCellBackgroundColour(_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_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
12160 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
* _resultobj
;
12164 PyObject
* _argo0
= 0;
12166 PyObject
* _obj1
= 0;
12167 char *_kwnames
[] = { "self","arg2", NULL
};
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
12173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
12181 if (! wxColour_helper(_obj1
, &_arg1
))
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) return NULL
;
12190 } Py_INCREF(Py_None
);
12191 _resultobj
= Py_None
;
12195 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
12196 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
* _resultobj
;
12202 PyObject
* _argo0
= 0;
12204 PyObject
* _obj3
= 0;
12205 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
12219 if (! wxColour_helper(_obj3
, &_arg3
))
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) return NULL
;
12228 } Py_INCREF(Py_None
);
12229 _resultobj
= Py_None
;
12233 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
12234 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
* _resultobj
;
12238 PyObject
* _argo0
= 0;
12239 PyObject
* _argo1
= 0;
12240 char *_kwnames
[] = { "self","arg2", NULL
};
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
12246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
12253 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
12254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) return NULL
;
12264 } Py_INCREF(Py_None
);
12265 _resultobj
= Py_None
;
12269 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
12270 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
* _resultobj
;
12276 PyObject
* _argo0
= 0;
12277 PyObject
* _argo3
= 0;
12278 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
12291 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
12292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) return NULL
;
12302 } Py_INCREF(Py_None
);
12303 _resultobj
= Py_None
;
12307 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
12308 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
* _resultobj
;
12313 PyObject
* _argo0
= 0;
12314 char *_kwnames
[] = { "self","horiz","vert", NULL
};
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) return NULL
;
12332 } Py_INCREF(Py_None
);
12333 _resultobj
= Py_None
;
12337 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12338 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
* _resultobj
;
12345 PyObject
* _argo0
= 0;
12346 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) return NULL
;
12364 } Py_INCREF(Py_None
);
12365 _resultobj
= Py_None
;
12369 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
12370 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
* _resultobj
;
12374 PyObject
* _argo0
= 0;
12376 char *_kwnames
[] = { "self","allow", NULL
};
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
12382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
12388 _arg1
= (bool ) tempbool1
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) return NULL
;
12395 } Py_INCREF(Py_None
);
12396 _resultobj
= Py_None
;
12400 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
12401 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12407 PyObject
* _argo0
= 0;
12409 char *_kwnames
[] = { "self","row","col","allow", NULL
};
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
12421 _arg3
= (bool ) tempbool3
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) return NULL
;
12428 } Py_INCREF(Py_None
);
12429 _resultobj
= Py_None
;
12433 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12434 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
* _resultobj
;
12441 PyObject
* _argo0
= 0;
12442 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
12448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) return NULL
;
12460 } Py_INCREF(Py_None
);
12461 _resultobj
= Py_None
;
12465 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
12466 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
* _resultobj
;
12469 wxGridCellRenderer
* _arg1
;
12470 PyObject
* _argo0
= 0;
12471 PyObject
* _argo1
= 0;
12472 char *_kwnames
[] = { "self","renderer", NULL
};
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
12478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
12485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
12487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) return NULL
;
12497 } Py_INCREF(Py_None
);
12498 _resultobj
= Py_None
;
12502 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
12503 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
* _resultobj
;
12508 wxGridCellRenderer
* _arg3
;
12509 PyObject
* _argo0
= 0;
12510 PyObject
* _argo3
= 0;
12511 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
12524 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12525 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
12526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) return NULL
;
12536 } Py_INCREF(Py_None
);
12537 _resultobj
= Py_None
;
12541 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
12542 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
* _resultobj
;
12544 wxGridCellRenderer
* _result
;
12546 PyObject
* _argo0
= 0;
12547 char *_kwnames
[] = { "self", NULL
};
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
12553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) return NULL
;
12565 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12569 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
12570 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
* _resultobj
;
12572 wxGridCellRenderer
* _result
;
12576 PyObject
* _argo0
= 0;
12577 char *_kwnames
[] = { "self","row","col", NULL
};
12580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) return NULL
;
12595 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12599 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12600 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
* _resultobj
;
12603 wxGridCellEditor
* _arg1
;
12604 PyObject
* _argo0
= 0;
12605 PyObject
* _argo1
= 0;
12606 char *_kwnames
[] = { "self","editor", NULL
};
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) return NULL
;
12631 } Py_INCREF(Py_None
);
12632 _resultobj
= Py_None
;
12636 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12637 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
* _resultobj
;
12642 wxGridCellEditor
* _arg3
;
12643 PyObject
* _argo0
= 0;
12644 PyObject
* _argo3
= 0;
12645 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12658 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12659 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) return NULL
;
12670 } Py_INCREF(Py_None
);
12671 _resultobj
= Py_None
;
12675 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12676 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
* _resultobj
;
12678 wxGridCellEditor
* _result
;
12680 PyObject
* _argo0
= 0;
12681 char *_kwnames
[] = { "self", NULL
};
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) return NULL
;
12699 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12703 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12704 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
* _resultobj
;
12706 wxGridCellEditor
* _result
;
12710 PyObject
* _argo0
= 0;
12711 char *_kwnames
[] = { "self","row","col", NULL
};
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) return NULL
;
12729 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12733 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12734 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
* _resultobj
;
12736 wxString
* _result
;
12740 PyObject
* _argo0
= 0;
12741 char *_kwnames
[] = { "self","row","col", NULL
};
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) return NULL
;
12761 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
12763 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12772 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12773 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
* _resultobj
;
12779 PyObject
* _argo0
= 0;
12780 PyObject
* _obj3
= 0;
12781 char *_kwnames
[] = { "self","row","col","s", NULL
};
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12794 _arg3
= wxString_in_helper(_obj3
);
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) return NULL
;
12804 } Py_INCREF(Py_None
);
12805 _resultobj
= Py_None
;
12813 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12814 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
* _resultobj
;
12820 PyObject
* _argo0
= 0;
12821 char *_kwnames
[] = { "self","row","col", NULL
};
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) return NULL
;
12839 } _resultobj
= Py_BuildValue("i",_result
);
12843 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12844 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
* _resultobj
;
12849 bool _arg3
= (bool ) TRUE
;
12850 PyObject
* _argo0
= 0;
12851 int tempbool3
= (int) TRUE
;
12852 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12864 _arg3
= (bool ) tempbool3
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) return NULL
;
12871 } Py_INCREF(Py_None
);
12872 _resultobj
= Py_None
;
12876 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12877 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
* _resultobj
;
12881 bool _arg2
= (bool ) FALSE
;
12882 PyObject
* _argo0
= 0;
12883 int tempbool2
= (int) FALSE
;
12884 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12896 _arg2
= (bool ) tempbool2
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) return NULL
;
12903 } Py_INCREF(Py_None
);
12904 _resultobj
= Py_None
;
12908 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12909 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
* _resultobj
;
12913 bool _arg2
= (bool ) FALSE
;
12914 PyObject
* _argo0
= 0;
12915 int tempbool2
= (int) FALSE
;
12916 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12928 _arg2
= (bool ) tempbool2
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) return NULL
;
12935 } Py_INCREF(Py_None
);
12936 _resultobj
= Py_None
;
12940 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12941 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
* _resultobj
;
12948 bool _arg5
= (bool ) FALSE
;
12949 PyObject
* _argo0
= 0;
12950 int tempbool5
= (int) FALSE
;
12951 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12963 _arg5
= (bool ) tempbool5
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) return NULL
;
12970 } Py_INCREF(Py_None
);
12971 _resultobj
= Py_None
;
12975 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12976 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
* _resultobj
;
12979 PyObject
* _argo0
= 0;
12980 char *_kwnames
[] = { "self", NULL
};
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_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_SelectAll. Expected _wxGrid_p.");
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 wxGrid_SelectAll(_arg0
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) return NULL
;
12998 } Py_INCREF(Py_None
);
12999 _resultobj
= Py_None
;
13003 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
13004 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
* _resultobj
;
13008 PyObject
* _argo0
= 0;
13009 char *_kwnames
[] = { "self", NULL
};
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
13015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 _result
= (bool )wxGrid_IsSelection(_arg0
);
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) return NULL
;
13027 } _resultobj
= Py_BuildValue("i",_result
);
13031 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
13032 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
* _resultobj
;
13035 PyObject
* _argo0
= 0;
13036 char *_kwnames
[] = { "self", NULL
};
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
13042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 wxGrid_ClearSelection(_arg0
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) return NULL
;
13054 } Py_INCREF(Py_None
);
13055 _resultobj
= Py_None
;
13059 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
13060 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
* _resultobj
;
13066 PyObject
* _argo0
= 0;
13067 char *_kwnames
[] = { "self","row","col", NULL
};
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) return NULL
;
13085 } _resultobj
= Py_BuildValue("i",_result
);
13089 #define wxGrid_GetSelectedCells(_swigobj) (_swigobj->GetSelectedCells())
13090 static PyObject
*_wrap_wxGrid_GetSelectedCells(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13091 PyObject
* _resultobj
;
13092 wxGridCellCoordsArray
* _result
;
13094 PyObject
* _argo0
= 0;
13095 char *_kwnames
[] = { "self", NULL
};
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCells",_kwnames
,&_argo0
))
13101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCells. Expected _wxGrid_p.");
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectedCells(_arg0
));
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) return NULL
;
13114 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13122 #define wxGrid_GetSelectionBlockTopLeft(_swigobj) (_swigobj->GetSelectionBlockTopLeft())
13123 static PyObject
*_wrap_wxGrid_GetSelectionBlockTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
* _resultobj
;
13125 wxGridCellCoordsArray
* _result
;
13127 PyObject
* _argo0
= 0;
13128 char *_kwnames
[] = { "self", NULL
};
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockTopLeft",_kwnames
,&_argo0
))
13134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockTopLeft. Expected _wxGrid_p.");
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockTopLeft(_arg0
));
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) return NULL
;
13147 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13155 #define wxGrid_GetSelectionBlockBottomRight(_swigobj) (_swigobj->GetSelectionBlockBottomRight())
13156 static PyObject
*_wrap_wxGrid_GetSelectionBlockBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
* _resultobj
;
13158 wxGridCellCoordsArray
* _result
;
13160 PyObject
* _argo0
= 0;
13161 char *_kwnames
[] = { "self", NULL
};
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBlockBottomRight",_kwnames
,&_argo0
))
13167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBlockBottomRight. Expected _wxGrid_p.");
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 _result
= new wxGridCellCoordsArray (wxGrid_GetSelectionBlockBottomRight(_arg0
));
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) return NULL
;
13180 _resultobj
= wxGridCellCoordsArray_helper(_result
);
13188 #define wxGrid_GetSelectedRows(_swigobj) (_swigobj->GetSelectedRows())
13189 static PyObject
*_wrap_wxGrid_GetSelectedRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
* _resultobj
;
13191 wxArrayInt
* _result
;
13193 PyObject
* _argo0
= 0;
13194 char *_kwnames
[] = { "self", NULL
};
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedRows",_kwnames
,&_argo0
))
13200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedRows. Expected _wxGrid_p.");
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 _result
= new wxArrayInt (wxGrid_GetSelectedRows(_arg0
));
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) return NULL
;
13213 _resultobj
= PyList_New(0);
13215 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13216 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13217 PyList_Append(_resultobj
, val
);
13225 #define wxGrid_GetSelectedCols(_swigobj) (_swigobj->GetSelectedCols())
13226 static PyObject
*_wrap_wxGrid_GetSelectedCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
* _resultobj
;
13228 wxArrayInt
* _result
;
13230 PyObject
* _argo0
= 0;
13231 char *_kwnames
[] = { "self", NULL
};
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectedCols",_kwnames
,&_argo0
))
13237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectedCols. Expected _wxGrid_p.");
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 _result
= new wxArrayInt (wxGrid_GetSelectedCols(_arg0
));
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) return NULL
;
13250 _resultobj
= PyList_New(0);
13252 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
13253 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
13254 PyList_Append(_resultobj
, val
);
13262 #define wxGrid_DeselectRow(_swigobj,_swigarg0) (_swigobj->DeselectRow(_swigarg0))
13263 static PyObject
*_wrap_wxGrid_DeselectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
* _resultobj
;
13267 PyObject
* _argo0
= 0;
13268 char *_kwnames
[] = { "self","row", NULL
};
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectRow",_kwnames
,&_argo0
,&_arg1
))
13274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectRow. Expected _wxGrid_p.");
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 wxGrid_DeselectRow(_arg0
,_arg1
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) return NULL
;
13286 } Py_INCREF(Py_None
);
13287 _resultobj
= Py_None
;
13291 #define wxGrid_DeselectCol(_swigobj,_swigarg0) (_swigobj->DeselectCol(_swigarg0))
13292 static PyObject
*_wrap_wxGrid_DeselectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
* _resultobj
;
13296 PyObject
* _argo0
= 0;
13297 char *_kwnames
[] = { "self","col", NULL
};
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_DeselectCol",_kwnames
,&_argo0
,&_arg1
))
13303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCol. Expected _wxGrid_p.");
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 wxGrid_DeselectCol(_arg0
,_arg1
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) return NULL
;
13315 } Py_INCREF(Py_None
);
13316 _resultobj
= Py_None
;
13320 #define wxGrid_DeselectCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeselectCell(_swigarg0,_swigarg1))
13321 static PyObject
*_wrap_wxGrid_DeselectCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
* _resultobj
;
13326 PyObject
* _argo0
= 0;
13327 char *_kwnames
[] = { "self","row","col", NULL
};
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_DeselectCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeselectCell. Expected _wxGrid_p.");
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 wxGrid_DeselectCell(_arg0
,_arg1
,_arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) return NULL
;
13345 } Py_INCREF(Py_None
);
13346 _resultobj
= Py_None
;
13350 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
13351 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
* _resultobj
;
13355 wxGridCellCoords
* _arg1
;
13356 wxGridCellCoords
* _arg2
;
13357 PyObject
* _argo0
= 0;
13358 wxGridCellCoords temp
;
13359 PyObject
* _obj1
= 0;
13360 wxGridCellCoords temp0
;
13361 PyObject
* _obj2
= 0;
13362 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
13369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
13377 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
13382 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) return NULL
;
13391 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
13392 _resultobj
= Py_BuildValue("s",_ptemp
);
13396 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
13397 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
* _resultobj
;
13399 wxColour
* _result
;
13401 PyObject
* _argo0
= 0;
13402 char *_kwnames
[] = { "self", NULL
};
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
13409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) return NULL
;
13421 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13422 _resultobj
= Py_BuildValue("s",_ptemp
);
13426 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
13427 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
* _resultobj
;
13429 wxColour
* _result
;
13431 PyObject
* _argo0
= 0;
13432 char *_kwnames
[] = { "self", NULL
};
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
13439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) return NULL
;
13451 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
13452 _resultobj
= Py_BuildValue("s",_ptemp
);
13456 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
13457 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
* _resultobj
;
13461 PyObject
* _argo0
= 0;
13463 PyObject
* _obj1
= 0;
13464 char *_kwnames
[] = { "self","c", NULL
};
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
13470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
13478 if (! wxColour_helper(_obj1
, &_arg1
))
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) return NULL
;
13487 } Py_INCREF(Py_None
);
13488 _resultobj
= Py_None
;
13492 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
13493 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
* _resultobj
;
13497 PyObject
* _argo0
= 0;
13499 PyObject
* _obj1
= 0;
13500 char *_kwnames
[] = { "self","c", NULL
};
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
13506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
13514 if (! wxColour_helper(_obj1
, &_arg1
))
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) return NULL
;
13523 } Py_INCREF(Py_None
);
13524 _resultobj
= Py_None
;
13528 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
13529 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
* _resultobj
;
13533 wxGridCellRenderer
* _arg2
;
13534 wxGridCellEditor
* _arg3
;
13535 PyObject
* _argo0
= 0;
13536 PyObject
* _obj1
= 0;
13537 PyObject
* _argo2
= 0;
13538 PyObject
* _argo3
= 0;
13539 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
13545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
13552 _arg1
= wxString_in_helper(_obj1
);
13557 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13558 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
13559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
13564 if (_argo3
== Py_None
) { _arg3
= NULL
; }
13565 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
13566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) return NULL
;
13576 } Py_INCREF(Py_None
);
13577 _resultobj
= Py_None
;
13585 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
13586 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
* _resultobj
;
13588 wxGridCellEditor
* _result
;
13592 PyObject
* _argo0
= 0;
13593 char *_kwnames
[] = { "self","row","col", NULL
};
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) return NULL
;
13611 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13615 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
13616 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
* _resultobj
;
13618 wxGridCellRenderer
* _result
;
13622 PyObject
* _argo0
= 0;
13623 char *_kwnames
[] = { "self","row","col", NULL
};
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) return NULL
;
13641 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13645 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
13646 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
* _resultobj
;
13648 wxGridCellEditor
* _result
;
13651 PyObject
* _argo0
= 0;
13652 PyObject
* _obj1
= 0;
13653 char *_kwnames
[] = { "self","typeName", NULL
};
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
13659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
13666 _arg1
= wxString_in_helper(_obj1
);
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) return NULL
;
13676 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
13684 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
13685 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
* _resultobj
;
13687 wxGridCellRenderer
* _result
;
13690 PyObject
* _argo0
= 0;
13691 PyObject
* _obj1
= 0;
13692 char *_kwnames
[] = { "self","typeName", NULL
};
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
13698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
13705 _arg1
= wxString_in_helper(_obj1
);
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) return NULL
;
13715 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
13723 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
13724 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
* _resultobj
;
13729 PyObject
* _argo0
= 0;
13730 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
13736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) return NULL
;
13748 } Py_INCREF(Py_None
);
13749 _resultobj
= Py_None
;
13753 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
13754 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
* _resultobj
;
13756 wxWindow
* _result
;
13758 PyObject
* _argo0
= 0;
13759 char *_kwnames
[] = { "self", NULL
};
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
13765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) return NULL
;
13777 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13781 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
13782 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
* _resultobj
;
13784 wxWindow
* _result
;
13786 PyObject
* _argo0
= 0;
13787 char *_kwnames
[] = { "self", NULL
};
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
13793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) return NULL
;
13805 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13809 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
13810 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
* _resultobj
;
13812 wxWindow
* _result
;
13814 PyObject
* _argo0
= 0;
13815 char *_kwnames
[] = { "self", NULL
};
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
13821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) return NULL
;
13833 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13837 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
13838 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
* _resultobj
;
13840 wxWindow
* _result
;
13842 PyObject
* _argo0
= 0;
13843 char *_kwnames
[] = { "self", NULL
};
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
13849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) return NULL
;
13861 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13865 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
13867 wxNotifyEvent
*dest
;
13868 src
= (wxGridEvent
*) ptr
;
13869 dest
= (wxNotifyEvent
*) src
;
13870 return (void *) dest
;
13873 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13875 wxCommandEvent
*dest
;
13876 src
= (wxGridEvent
*) ptr
;
13877 dest
= (wxCommandEvent
*) src
;
13878 return (void *) dest
;
13881 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13884 src
= (wxGridEvent
*) ptr
;
13885 dest
= (wxEvent
*) src
;
13886 return (void *) dest
;
13889 static void *SwigwxGridEventTowxObject(void *ptr
) {
13892 src
= (wxGridEvent
*) ptr
;
13893 dest
= (wxObject
*) src
;
13894 return (void *) dest
;
13897 #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))
13898 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
* _resultobj
;
13900 wxGridEvent
* _result
;
13904 int _arg3
= (int ) -1;
13905 int _arg4
= (int ) -1;
13906 int _arg5
= (int ) -1;
13907 int _arg6
= (int ) -1;
13908 bool _arg7
= (bool ) TRUE
;
13909 bool _arg8
= (bool ) FALSE
;
13910 bool _arg9
= (bool ) FALSE
;
13911 bool _arg10
= (bool ) FALSE
;
13912 bool _arg11
= (bool ) FALSE
;
13913 PyObject
* _argo2
= 0;
13914 int tempbool7
= (int) TRUE
;
13915 int tempbool8
= (int) FALSE
;
13916 int tempbool9
= (int) FALSE
;
13917 int tempbool10
= (int) FALSE
;
13918 int tempbool11
= (int) FALSE
;
13919 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13926 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13927 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13932 _arg7
= (bool ) tempbool7
;
13933 _arg8
= (bool ) tempbool8
;
13934 _arg9
= (bool ) tempbool9
;
13935 _arg10
= (bool ) tempbool10
;
13936 _arg11
= (bool ) tempbool11
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) return NULL
;
13944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13945 _resultobj
= Py_BuildValue("s",_ptemp
);
13947 Py_INCREF(Py_None
);
13948 _resultobj
= Py_None
;
13953 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13954 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
* _resultobj
;
13957 wxGridEvent
* _arg0
;
13958 PyObject
* _argo0
= 0;
13959 char *_kwnames
[] = { "self", NULL
};
13962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
13965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 _result
= (int )wxGridEvent_GetRow(_arg0
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) return NULL
;
13977 } _resultobj
= Py_BuildValue("i",_result
);
13981 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13982 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
* _resultobj
;
13985 wxGridEvent
* _arg0
;
13986 PyObject
* _argo0
= 0;
13987 char *_kwnames
[] = { "self", NULL
};
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 _result
= (int )wxGridEvent_GetCol(_arg0
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) return NULL
;
14005 } _resultobj
= Py_BuildValue("i",_result
);
14009 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14010 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
* _resultobj
;
14013 wxGridEvent
* _arg0
;
14014 PyObject
* _argo0
= 0;
14015 char *_kwnames
[] = { "self", NULL
};
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
14022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) return NULL
;
14034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
14035 _resultobj
= Py_BuildValue("s",_ptemp
);
14039 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
14040 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
* _resultobj
;
14043 wxGridEvent
* _arg0
;
14044 PyObject
* _argo0
= 0;
14045 char *_kwnames
[] = { "self", NULL
};
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
14051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 _result
= (bool )wxGridEvent_Selecting(_arg0
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) return NULL
;
14063 } _resultobj
= Py_BuildValue("i",_result
);
14067 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14068 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
* _resultobj
;
14071 wxGridEvent
* _arg0
;
14072 PyObject
* _argo0
= 0;
14073 char *_kwnames
[] = { "self", NULL
};
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
14079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) return NULL
;
14091 } _resultobj
= Py_BuildValue("i",_result
);
14095 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14096 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
* _resultobj
;
14099 wxGridEvent
* _arg0
;
14100 PyObject
* _argo0
= 0;
14101 char *_kwnames
[] = { "self", NULL
};
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
14107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) return NULL
;
14119 } _resultobj
= Py_BuildValue("i",_result
);
14123 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14124 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
* _resultobj
;
14127 wxGridEvent
* _arg0
;
14128 PyObject
* _argo0
= 0;
14129 char *_kwnames
[] = { "self", NULL
};
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
14135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) return NULL
;
14147 } _resultobj
= Py_BuildValue("i",_result
);
14151 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
14152 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
* _resultobj
;
14155 wxGridEvent
* _arg0
;
14156 PyObject
* _argo0
= 0;
14157 char *_kwnames
[] = { "self", NULL
};
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
14163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
14165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 _result
= (bool )wxGridEvent_AltDown(_arg0
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) return NULL
;
14175 } _resultobj
= Py_BuildValue("i",_result
);
14179 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
14180 wxGridSizeEvent
*src
;
14181 wxNotifyEvent
*dest
;
14182 src
= (wxGridSizeEvent
*) ptr
;
14183 dest
= (wxNotifyEvent
*) src
;
14184 return (void *) dest
;
14187 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
14188 wxGridSizeEvent
*src
;
14189 wxCommandEvent
*dest
;
14190 src
= (wxGridSizeEvent
*) ptr
;
14191 dest
= (wxCommandEvent
*) src
;
14192 return (void *) dest
;
14195 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
14196 wxGridSizeEvent
*src
;
14198 src
= (wxGridSizeEvent
*) ptr
;
14199 dest
= (wxEvent
*) src
;
14200 return (void *) dest
;
14203 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
14204 wxGridSizeEvent
*src
;
14206 src
= (wxGridSizeEvent
*) ptr
;
14207 dest
= (wxObject
*) src
;
14208 return (void *) dest
;
14211 #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))
14212 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
* _resultobj
;
14214 wxGridSizeEvent
* _result
;
14218 int _arg3
= (int ) -1;
14219 int _arg4
= (int ) -1;
14220 int _arg5
= (int ) -1;
14221 bool _arg6
= (bool ) FALSE
;
14222 bool _arg7
= (bool ) FALSE
;
14223 bool _arg8
= (bool ) FALSE
;
14224 bool _arg9
= (bool ) FALSE
;
14225 PyObject
* _argo2
= 0;
14226 int tempbool6
= (int) FALSE
;
14227 int tempbool7
= (int) FALSE
;
14228 int tempbool8
= (int) FALSE
;
14229 int tempbool9
= (int) FALSE
;
14230 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14237 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14238 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
14243 _arg6
= (bool ) tempbool6
;
14244 _arg7
= (bool ) tempbool7
;
14245 _arg8
= (bool ) tempbool8
;
14246 _arg9
= (bool ) tempbool9
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) return NULL
;
14254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
14255 _resultobj
= Py_BuildValue("s",_ptemp
);
14257 Py_INCREF(Py_None
);
14258 _resultobj
= Py_None
;
14263 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
14264 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
* _resultobj
;
14267 wxGridSizeEvent
* _arg0
;
14268 PyObject
* _argo0
= 0;
14269 char *_kwnames
[] = { "self", NULL
};
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
14275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) return NULL
;
14287 } _resultobj
= Py_BuildValue("i",_result
);
14291 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
14292 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
* _resultobj
;
14295 wxGridSizeEvent
* _arg0
;
14296 PyObject
* _argo0
= 0;
14297 char *_kwnames
[] = { "self", NULL
};
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
14304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) return NULL
;
14316 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
14317 _resultobj
= Py_BuildValue("s",_ptemp
);
14321 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14322 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
* _resultobj
;
14325 wxGridSizeEvent
* _arg0
;
14326 PyObject
* _argo0
= 0;
14327 char *_kwnames
[] = { "self", NULL
};
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
14333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) return NULL
;
14345 } _resultobj
= Py_BuildValue("i",_result
);
14349 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14350 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
* _resultobj
;
14353 wxGridSizeEvent
* _arg0
;
14354 PyObject
* _argo0
= 0;
14355 char *_kwnames
[] = { "self", NULL
};
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
14361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) return NULL
;
14373 } _resultobj
= Py_BuildValue("i",_result
);
14377 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14378 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
* _resultobj
;
14381 wxGridSizeEvent
* _arg0
;
14382 PyObject
* _argo0
= 0;
14383 char *_kwnames
[] = { "self", NULL
};
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
14389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) return NULL
;
14401 } _resultobj
= Py_BuildValue("i",_result
);
14405 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
14406 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
* _resultobj
;
14409 wxGridSizeEvent
* _arg0
;
14410 PyObject
* _argo0
= 0;
14411 char *_kwnames
[] = { "self", NULL
};
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
14417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
14419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) return NULL
;
14429 } _resultobj
= Py_BuildValue("i",_result
);
14433 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
14434 wxGridRangeSelectEvent
*src
;
14435 wxNotifyEvent
*dest
;
14436 src
= (wxGridRangeSelectEvent
*) ptr
;
14437 dest
= (wxNotifyEvent
*) src
;
14438 return (void *) dest
;
14441 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
14442 wxGridRangeSelectEvent
*src
;
14443 wxCommandEvent
*dest
;
14444 src
= (wxGridRangeSelectEvent
*) ptr
;
14445 dest
= (wxCommandEvent
*) src
;
14446 return (void *) dest
;
14449 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
14450 wxGridRangeSelectEvent
*src
;
14452 src
= (wxGridRangeSelectEvent
*) ptr
;
14453 dest
= (wxEvent
*) src
;
14454 return (void *) dest
;
14457 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
14458 wxGridRangeSelectEvent
*src
;
14460 src
= (wxGridRangeSelectEvent
*) ptr
;
14461 dest
= (wxObject
*) src
;
14462 return (void *) dest
;
14465 #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))
14466 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
* _resultobj
;
14468 wxGridRangeSelectEvent
* _result
;
14472 wxGridCellCoords
* _arg3
;
14473 wxGridCellCoords
* _arg4
;
14474 bool _arg5
= (bool ) TRUE
;
14475 bool _arg6
= (bool ) FALSE
;
14476 bool _arg7
= (bool ) FALSE
;
14477 bool _arg8
= (bool ) FALSE
;
14478 bool _arg9
= (bool ) FALSE
;
14479 PyObject
* _argo2
= 0;
14480 wxGridCellCoords temp
;
14481 PyObject
* _obj3
= 0;
14482 wxGridCellCoords temp0
;
14483 PyObject
* _obj4
= 0;
14484 int tempbool5
= (int) TRUE
;
14485 int tempbool6
= (int) FALSE
;
14486 int tempbool7
= (int) FALSE
;
14487 int tempbool8
= (int) FALSE
;
14488 int tempbool9
= (int) FALSE
;
14489 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
14496 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14497 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
14498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
14504 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
14509 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
14512 _arg5
= (bool ) tempbool5
;
14513 _arg6
= (bool ) tempbool6
;
14514 _arg7
= (bool ) tempbool7
;
14515 _arg8
= (bool ) tempbool8
;
14516 _arg9
= (bool ) tempbool9
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) return NULL
;
14524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
14525 _resultobj
= Py_BuildValue("s",_ptemp
);
14527 Py_INCREF(Py_None
);
14528 _resultobj
= Py_None
;
14533 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
14534 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
* _resultobj
;
14536 wxGridCellCoords
* _result
;
14537 wxGridRangeSelectEvent
* _arg0
;
14538 PyObject
* _argo0
= 0;
14539 char *_kwnames
[] = { "self", NULL
};
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
14546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) return NULL
;
14558 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14559 _resultobj
= Py_BuildValue("s",_ptemp
);
14563 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
14564 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
* _resultobj
;
14566 wxGridCellCoords
* _result
;
14567 wxGridRangeSelectEvent
* _arg0
;
14568 PyObject
* _argo0
= 0;
14569 char *_kwnames
[] = { "self", NULL
};
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
14576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) return NULL
;
14588 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
14589 _resultobj
= Py_BuildValue("s",_ptemp
);
14593 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
14594 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
* _resultobj
;
14597 wxGridRangeSelectEvent
* _arg0
;
14598 PyObject
* _argo0
= 0;
14599 char *_kwnames
[] = { "self", NULL
};
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
14605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) return NULL
;
14617 } _resultobj
= Py_BuildValue("i",_result
);
14621 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
14622 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
* _resultobj
;
14625 wxGridRangeSelectEvent
* _arg0
;
14626 PyObject
* _argo0
= 0;
14627 char *_kwnames
[] = { "self", NULL
};
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
14633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) return NULL
;
14645 } _resultobj
= Py_BuildValue("i",_result
);
14649 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
14650 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
* _resultobj
;
14653 wxGridRangeSelectEvent
* _arg0
;
14654 PyObject
* _argo0
= 0;
14655 char *_kwnames
[] = { "self", NULL
};
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
14661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) return NULL
;
14673 } _resultobj
= Py_BuildValue("i",_result
);
14677 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
14678 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
* _resultobj
;
14681 wxGridRangeSelectEvent
* _arg0
;
14682 PyObject
* _argo0
= 0;
14683 char *_kwnames
[] = { "self", NULL
};
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
14689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) return NULL
;
14701 } _resultobj
= Py_BuildValue("i",_result
);
14705 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
14706 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
* _resultobj
;
14709 wxGridRangeSelectEvent
* _arg0
;
14710 PyObject
* _argo0
= 0;
14711 char *_kwnames
[] = { "self", NULL
};
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
14717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) return NULL
;
14729 } _resultobj
= Py_BuildValue("i",_result
);
14733 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
14734 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
* _resultobj
;
14737 wxGridRangeSelectEvent
* _arg0
;
14738 PyObject
* _argo0
= 0;
14739 char *_kwnames
[] = { "self", NULL
};
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
14745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) return NULL
;
14757 } _resultobj
= Py_BuildValue("i",_result
);
14761 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
14762 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
* _resultobj
;
14765 wxGridRangeSelectEvent
* _arg0
;
14766 PyObject
* _argo0
= 0;
14767 char *_kwnames
[] = { "self", NULL
};
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
14773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) return NULL
;
14785 } _resultobj
= Py_BuildValue("i",_result
);
14789 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
14790 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
* _resultobj
;
14793 wxGridRangeSelectEvent
* _arg0
;
14794 PyObject
* _argo0
= 0;
14795 char *_kwnames
[] = { "self", NULL
};
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
14801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) return NULL
;
14813 } _resultobj
= Py_BuildValue("i",_result
);
14817 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
14818 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
* _resultobj
;
14821 wxGridRangeSelectEvent
* _arg0
;
14822 PyObject
* _argo0
= 0;
14823 char *_kwnames
[] = { "self", NULL
};
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
14829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
14831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) return NULL
;
14841 } _resultobj
= Py_BuildValue("i",_result
);
14845 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
14846 wxGridEditorCreatedEvent
*src
;
14847 wxCommandEvent
*dest
;
14848 src
= (wxGridEditorCreatedEvent
*) ptr
;
14849 dest
= (wxCommandEvent
*) src
;
14850 return (void *) dest
;
14853 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
14854 wxGridEditorCreatedEvent
*src
;
14856 src
= (wxGridEditorCreatedEvent
*) ptr
;
14857 dest
= (wxEvent
*) src
;
14858 return (void *) dest
;
14861 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
14862 wxGridEditorCreatedEvent
*src
;
14864 src
= (wxGridEditorCreatedEvent
*) ptr
;
14865 dest
= (wxObject
*) src
;
14866 return (void *) dest
;
14869 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14870 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
* _resultobj
;
14872 wxGridEditorCreatedEvent
* _result
;
14879 PyObject
* _argo2
= 0;
14880 PyObject
* _argo5
= 0;
14881 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14888 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14889 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14895 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14896 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) return NULL
;
14908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14909 _resultobj
= Py_BuildValue("s",_ptemp
);
14911 Py_INCREF(Py_None
);
14912 _resultobj
= Py_None
;
14917 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14918 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
* _resultobj
;
14921 wxGridEditorCreatedEvent
* _arg0
;
14922 PyObject
* _argo0
= 0;
14923 char *_kwnames
[] = { "self", NULL
};
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
14929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) return NULL
;
14941 } _resultobj
= Py_BuildValue("i",_result
);
14945 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14946 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
* _resultobj
;
14949 wxGridEditorCreatedEvent
* _arg0
;
14950 PyObject
* _argo0
= 0;
14951 char *_kwnames
[] = { "self", NULL
};
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
14957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) return NULL
;
14969 } _resultobj
= Py_BuildValue("i",_result
);
14973 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14974 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
* _resultobj
;
14976 wxControl
* _result
;
14977 wxGridEditorCreatedEvent
* _arg0
;
14978 PyObject
* _argo0
= 0;
14979 char *_kwnames
[] = { "self", NULL
};
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
14985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) return NULL
;
14997 }{ _resultobj
= wxPyMake_wxObject(_result
); }
15001 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
15002 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
* _resultobj
;
15004 wxGridEditorCreatedEvent
* _arg0
;
15006 PyObject
* _argo0
= 0;
15007 char *_kwnames
[] = { "self","row", NULL
};
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
15013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
15014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
15015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) return NULL
;
15025 } Py_INCREF(Py_None
);
15026 _resultobj
= Py_None
;
15030 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
15031 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
* _resultobj
;
15033 wxGridEditorCreatedEvent
* _arg0
;
15035 PyObject
* _argo0
= 0;
15036 char *_kwnames
[] = { "self","col", NULL
};
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
15042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
15043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
15044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) return NULL
;
15054 } Py_INCREF(Py_None
);
15055 _resultobj
= Py_None
;
15059 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
15060 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
* _resultobj
;
15062 wxGridEditorCreatedEvent
* _arg0
;
15064 PyObject
* _argo0
= 0;
15065 PyObject
* _argo1
= 0;
15066 char *_kwnames
[] = { "self","ctrl", NULL
};
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
15072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
15073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
15074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
15079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
15080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
15081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) return NULL
;
15091 } Py_INCREF(Py_None
);
15092 _resultobj
= Py_None
;
15096 static PyMethodDef gridcMethods
[] = {
15097 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15098 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15099 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15100 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15101 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15102 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15103 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
15104 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15105 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15106 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15107 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15108 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15109 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
15110 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
15111 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
15112 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
15113 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
15114 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
15115 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
15116 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15117 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15118 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15119 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15120 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15121 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
15122 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
15123 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
15124 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
15125 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
15126 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
15127 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
15128 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
15129 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15130 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15131 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
15132 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15133 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15134 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
15135 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
15136 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
15137 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
15138 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
15139 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
15140 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
15141 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
15142 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15143 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15144 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
15145 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
15146 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
15147 { "wxGrid_DeselectCell", (PyCFunction
) _wrap_wxGrid_DeselectCell
, METH_VARARGS
| METH_KEYWORDS
},
15148 { "wxGrid_DeselectCol", (PyCFunction
) _wrap_wxGrid_DeselectCol
, METH_VARARGS
| METH_KEYWORDS
},
15149 { "wxGrid_DeselectRow", (PyCFunction
) _wrap_wxGrid_DeselectRow
, METH_VARARGS
| METH_KEYWORDS
},
15150 { "wxGrid_GetSelectedCols", (PyCFunction
) _wrap_wxGrid_GetSelectedCols
, METH_VARARGS
| METH_KEYWORDS
},
15151 { "wxGrid_GetSelectedRows", (PyCFunction
) _wrap_wxGrid_GetSelectedRows
, METH_VARARGS
| METH_KEYWORDS
},
15152 { "wxGrid_GetSelectionBlockBottomRight", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
15153 { "wxGrid_GetSelectionBlockTopLeft", (PyCFunction
) _wrap_wxGrid_GetSelectionBlockTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
15154 { "wxGrid_GetSelectedCells", (PyCFunction
) _wrap_wxGrid_GetSelectedCells
, METH_VARARGS
| METH_KEYWORDS
},
15155 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
15156 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
15157 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
15158 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
15159 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
15160 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
15161 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
15162 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15163 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15164 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15165 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
15166 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15167 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15168 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15169 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
15170 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15171 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15172 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15173 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15174 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15175 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15176 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15177 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15178 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15179 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15180 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15181 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15182 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15183 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15184 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15185 { "wxGrid_GetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_wxGrid_GetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15186 { "wxGrid_GetColMinimalAcceptableWidth", (PyCFunction
) _wrap_wxGrid_GetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15187 { "wxGrid_SetRowMinimalAcceptableHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalAcceptableHeight
, METH_VARARGS
| METH_KEYWORDS
},
15188 { "wxGrid_SetColMinimalAcceptableWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalAcceptableWidth
, METH_VARARGS
| METH_KEYWORDS
},
15189 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
15190 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
15191 { "wxGrid_AutoSizeColLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15192 { "wxGrid_AutoSizeRowLabelSize", (PyCFunction
) _wrap_wxGrid_AutoSizeRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15193 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
15194 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
15195 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
15196 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
15197 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
15198 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15199 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15200 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15201 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15202 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
15203 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15204 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15205 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15206 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15207 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15208 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
15209 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15210 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15211 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15212 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15213 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
15214 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
15215 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15216 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15217 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15218 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
15219 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
15220 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
15221 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
15222 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
15223 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15224 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15225 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15226 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15227 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15228 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
15229 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15230 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15231 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
15232 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15233 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15234 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
15235 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15236 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15237 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15238 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15239 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15240 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15241 { "wxGrid_SetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_SetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15242 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15243 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15244 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15245 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15246 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15247 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15248 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15249 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15250 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
15251 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
15252 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
15253 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15254 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15255 { "wxGrid_GetColLabelTextOrientation", (PyCFunction
) _wrap_wxGrid_GetColLabelTextOrientation
, METH_VARARGS
| METH_KEYWORDS
},
15256 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15257 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15258 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
15259 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15260 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15261 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15262 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15263 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15264 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
15265 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
15266 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
15267 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
15268 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
15269 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
15270 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
15271 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
15272 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
15273 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
15274 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
15275 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
15276 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
15277 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
15278 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
15279 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
15280 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
15281 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
15282 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
15283 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
15284 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
15285 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
15286 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
15287 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15288 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15289 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15290 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
15291 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
15292 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
15293 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15294 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
15295 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
15296 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
15297 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
15298 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
15299 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
15300 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
15301 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
15302 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
15303 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
15304 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
15305 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15306 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15307 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15308 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15309 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15310 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15311 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
15312 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
15313 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
15314 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15315 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15316 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15317 { "wxGrid_GetSelectionMode", (PyCFunction
) _wrap_wxGrid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15318 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
15319 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
15320 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
15321 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
15322 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
15323 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
15324 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
15325 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
15326 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
15327 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
15328 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15329 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
15330 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15331 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
15332 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15333 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
15334 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
15335 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
15336 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15337 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
15338 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15339 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
15340 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
15341 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15342 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15343 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15344 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15345 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15346 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15347 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15348 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15349 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15350 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15351 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15352 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15353 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15354 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15355 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15356 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15357 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15358 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15359 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15360 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15361 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15362 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
15363 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15364 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15365 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15366 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15367 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
15368 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15369 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15370 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15371 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
15372 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
15373 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
15374 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
15375 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
15376 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
15377 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
15378 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15379 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15380 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15381 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15382 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
15383 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
15384 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
15385 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15386 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
15387 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
15388 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
15389 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15390 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
15391 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
15392 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
15393 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
15394 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
15395 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15396 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15397 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15398 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15399 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15400 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15401 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15402 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15403 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15404 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
15405 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
15406 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
15407 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
15408 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15409 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
15410 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15411 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
15412 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
15413 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15414 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15415 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15416 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15417 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
15418 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15419 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
15420 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15421 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15422 { "wxGridCellAttr_HasOverflowMode", (PyCFunction
) _wrap_wxGridCellAttr_HasOverflowMode
, METH_VARARGS
| METH_KEYWORDS
},
15423 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
15424 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
15425 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15426 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15427 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
15428 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15429 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15430 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
15431 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
15432 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15433 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
15434 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
15435 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15436 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
15437 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
15438 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
15439 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
15440 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15441 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15442 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
15443 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15444 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15445 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15446 { "wxGridCellAutoWrapStringEditor_GetValue", (PyCFunction
) _wrap_wxGridCellAutoWrapStringEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15447 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
15448 { "wxGridCellEnumEditor_GetValue", (PyCFunction
) _wrap_wxGridCellEnumEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15449 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
15450 { "wxGridCellChoiceEditor_GetValue", (PyCFunction
) _wrap_wxGridCellChoiceEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15451 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
15452 { "wxGridCellBoolEditor_GetValue", (PyCFunction
) _wrap_wxGridCellBoolEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15453 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
15454 { "wxGridCellFloatEditor_GetValue", (PyCFunction
) _wrap_wxGridCellFloatEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15455 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
15456 { "wxGridCellNumberEditor_GetValue", (PyCFunction
) _wrap_wxGridCellNumberEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15457 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
15458 { "wxGridCellTextEditor_GetValue", (PyCFunction
) _wrap_wxGridCellTextEditor_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
15459 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
15460 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15461 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15462 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15463 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15464 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15465 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15466 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15467 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
15468 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15469 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15470 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
15471 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
15472 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
15473 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
15474 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
15475 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
15476 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
15477 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
15478 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
15479 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15480 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
15481 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
15482 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
15483 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
15484 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15485 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15486 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15487 { "wxGridCellEditor_SetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_SetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15488 { "wxGridCellEditor_GetCellAttr", (PyCFunction
) _wrap_wxGridCellEditor_GetCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
15489 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
15490 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
15491 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
15492 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15493 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15494 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15495 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15496 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15497 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15498 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
15499 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15500 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15501 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15502 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15503 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15504 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15505 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
15506 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
15507 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
15508 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
15509 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
15510 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
15511 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
15512 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
15513 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
15520 * This table is used by the pointer type-checker
15522 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
15523 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
15524 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
15525 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
15526 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
15527 { "_signed_long","_long",0},
15528 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
15529 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
15530 { "_wxPrintQuality","_wxCoord",0},
15531 { "_wxPrintQuality","_int",0},
15532 { "_wxPrintQuality","_signed_int",0},
15533 { "_wxPrintQuality","_unsigned_int",0},
15534 { "_wxPrintQuality","_wxWindowID",0},
15535 { "_wxPrintQuality","_uint",0},
15536 { "_wxPrintQuality","_EBool",0},
15537 { "_wxPrintQuality","_size_t",0},
15538 { "_wxPrintQuality","_time_t",0},
15539 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
15540 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
15541 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
15542 { "_byte","_unsigned_char",0},
15543 { "_long","_unsigned_long",0},
15544 { "_long","_signed_long",0},
15545 { "_size_t","_WXGRIDSELECTIONMODES",0},
15546 { "_size_t","_wxCoord",0},
15547 { "_size_t","_wxPrintQuality",0},
15548 { "_size_t","_time_t",0},
15549 { "_size_t","_unsigned_int",0},
15550 { "_size_t","_int",0},
15551 { "_size_t","_wxWindowID",0},
15552 { "_size_t","_uint",0},
15553 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
15554 { "_uint","_WXGRIDSELECTIONMODES",0},
15555 { "_uint","_wxCoord",0},
15556 { "_uint","_wxPrintQuality",0},
15557 { "_uint","_time_t",0},
15558 { "_uint","_size_t",0},
15559 { "_uint","_unsigned_int",0},
15560 { "_uint","_int",0},
15561 { "_uint","_wxWindowID",0},
15562 { "_wxChar","_char",0},
15563 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
15564 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
15565 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
15566 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
15567 { "_char","_wxChar",0},
15568 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
15569 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
15570 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
15571 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
15572 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
15573 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
15574 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
15575 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
15576 { "_EBool","_WXGRIDSELECTIONMODES",0},
15577 { "_EBool","_wxCoord",0},
15578 { "_EBool","_wxPrintQuality",0},
15579 { "_EBool","_signed_int",0},
15580 { "_EBool","_int",0},
15581 { "_EBool","_wxWindowID",0},
15582 { "_unsigned_long","_long",0},
15583 { "_WXGRIDSELECTIONMODES","_int",0},
15584 { "_WXGRIDSELECTIONMODES","_signed_int",0},
15585 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
15586 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
15587 { "_WXGRIDSELECTIONMODES","_uint",0},
15588 { "_WXGRIDSELECTIONMODES","_EBool",0},
15589 { "_WXGRIDSELECTIONMODES","_size_t",0},
15590 { "_WXGRIDSELECTIONMODES","_time_t",0},
15591 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
15592 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
15593 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
15594 { "_signed_int","_WXGRIDSELECTIONMODES",0},
15595 { "_signed_int","_wxCoord",0},
15596 { "_signed_int","_wxPrintQuality",0},
15597 { "_signed_int","_EBool",0},
15598 { "_signed_int","_wxWindowID",0},
15599 { "_signed_int","_int",0},
15600 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
15601 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
15602 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
15603 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
15604 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
15605 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
15606 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
15607 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
15608 { "_WXTYPE","_short",0},
15609 { "_WXTYPE","_signed_short",0},
15610 { "_WXTYPE","_unsigned_short",0},
15611 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
15612 { "_unsigned_short","_WXTYPE",0},
15613 { "_unsigned_short","_short",0},
15614 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
15615 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
15616 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
15617 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
15618 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
15619 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
15620 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
15621 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
15622 { "_signed_short","_WXTYPE",0},
15623 { "_signed_short","_short",0},
15624 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
15625 { "_unsigned_char","_byte",0},
15626 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
15627 { "_unsigned_int","_wxCoord",0},
15628 { "_unsigned_int","_wxPrintQuality",0},
15629 { "_unsigned_int","_time_t",0},
15630 { "_unsigned_int","_size_t",0},
15631 { "_unsigned_int","_uint",0},
15632 { "_unsigned_int","_wxWindowID",0},
15633 { "_unsigned_int","_int",0},
15634 { "_short","_WXTYPE",0},
15635 { "_short","_unsigned_short",0},
15636 { "_short","_signed_short",0},
15637 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
15638 { "_wxWindowID","_wxCoord",0},
15639 { "_wxWindowID","_wxPrintQuality",0},
15640 { "_wxWindowID","_time_t",0},
15641 { "_wxWindowID","_size_t",0},
15642 { "_wxWindowID","_EBool",0},
15643 { "_wxWindowID","_uint",0},
15644 { "_wxWindowID","_int",0},
15645 { "_wxWindowID","_signed_int",0},
15646 { "_wxWindowID","_unsigned_int",0},
15647 { "_int","_WXGRIDSELECTIONMODES",0},
15648 { "_int","_wxCoord",0},
15649 { "_int","_wxPrintQuality",0},
15650 { "_int","_time_t",0},
15651 { "_int","_size_t",0},
15652 { "_int","_EBool",0},
15653 { "_int","_uint",0},
15654 { "_int","_wxWindowID",0},
15655 { "_int","_unsigned_int",0},
15656 { "_int","_signed_int",0},
15657 { "_time_t","_WXGRIDSELECTIONMODES",0},
15658 { "_time_t","_wxCoord",0},
15659 { "_time_t","_wxPrintQuality",0},
15660 { "_time_t","_unsigned_int",0},
15661 { "_time_t","_int",0},
15662 { "_time_t","_wxWindowID",0},
15663 { "_time_t","_uint",0},
15664 { "_time_t","_size_t",0},
15665 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
15666 { "_wxCoord","_int",0},
15667 { "_wxCoord","_signed_int",0},
15668 { "_wxCoord","_unsigned_int",0},
15669 { "_wxCoord","_wxWindowID",0},
15670 { "_wxCoord","_uint",0},
15671 { "_wxCoord","_EBool",0},
15672 { "_wxCoord","_size_t",0},
15673 { "_wxCoord","_time_t",0},
15674 { "_wxCoord","_wxPrintQuality",0},
15675 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
15676 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
15677 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
15678 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
15679 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
15680 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
15681 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
15682 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
15683 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
15684 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
15685 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
15686 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
15687 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
15690 static PyObject
*SWIG_globals
;
15694 SWIGEXPORT(void) initgridc() {
15696 SWIG_globals
= SWIG_newvarlink();
15697 m
= Py_InitModule("gridc", gridcMethods
);
15698 d
= PyModule_GetDict(m
);
15699 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
15700 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
15701 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
15702 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
15703 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
15704 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
15705 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
15706 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
15707 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
15708 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
15709 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
15710 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
15711 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
15712 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
15713 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
15714 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
15715 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
15716 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
15717 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
15718 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
15719 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
15720 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
15721 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
15722 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
15723 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
15724 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
15725 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
15726 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
15727 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
15728 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
15729 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
15730 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
15731 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
15732 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
15733 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
15734 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
15736 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
15737 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
15738 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
15739 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
15740 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
15741 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
15742 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
15743 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
15744 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
15747 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
15748 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);