2 * FILE : src/mac/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
92 static const wxString
wxPyEmptyString(wxT(""));
95 #define wxPyMake_TEMPLATE(TYPE) \
96 PyObject* wxPyMake_##TYPE(TYPE* source) { \
97 PyObject* target = NULL; \
99 /* Check if there is already a pointer to a Python object in the \
100 OOR data that we can use. */ \
101 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
103 target = data->m_obj; \
106 /* Otherwise make a new wrapper for it the old fashioned way and \
107 give it the OOR treatment */ \
109 target = wxPyConstructObject(source, #TYPE, FALSE); \
111 source->SetClientObject(new wxPyOORClientData(target)); \
113 } else { /* source was NULL so return None. */ \
114 Py_INCREF(Py_None); target = Py_None; \
120 wxPyMake_TEMPLATE(wxGridCellRenderer)
121 wxPyMake_TEMPLATE(wxGridCellEditor
)
122 wxPyMake_TEMPLATE(wxGridCellAttr
)
123 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
124 wxPyMake_TEMPLATE(wxGridTableBase
)
127 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
128 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
129 wxGridCellAttr* rval = NULL; \
131 wxPyBeginBlockThreads(); \
132 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
134 wxGridCellAttr* ptr; \
135 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
137 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
142 wxPyEndBlockThreads(); \
144 rval = PCLASS::CBNAME(a, b, c); \
147 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
148 return PCLASS::CBNAME(a, b, c); \
153 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
154 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
155 wxPyBeginBlockThreads(); \
157 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
158 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
159 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
162 wxPyEndBlockThreads(); \
164 PCLASS::CBNAME(attr, a, b); \
166 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
167 PCLASS::CBNAME(attr, a, b); \
172 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
173 void CBNAME(wxGridCellAttr *attr, int val) { \
174 wxPyBeginBlockThreads(); \
176 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
177 PyObject* obj = wxPyMake_wxGridCellAttr(attr); \
178 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
181 wxPyEndBlockThreads(); \
183 PCLASS::CBNAME(attr, val); \
185 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
186 PCLASS::CBNAME(attr, val); \
191 #define PYCALLBACK_INT__pure(CBNAME) \
193 wxPyBeginBlockThreads(); \
195 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
196 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
197 wxPyEndBlockThreads(); \
203 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
204 bool CBNAME(int a, int b) { \
205 wxPyBeginBlockThreads(); \
207 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
208 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
209 wxPyEndBlockThreads(); \
214 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
215 wxString CBNAME(int a, int b) { \
216 wxPyBeginBlockThreads(); \
218 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
220 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
222 rval = Py2wxString(ro); \
226 wxPyEndBlockThreads(); \
231 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
232 void CBNAME(int a, int b, const wxString& c) { \
233 wxPyBeginBlockThreads(); \
234 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
235 PyObject* s = wx2PyString(c); \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
239 wxPyEndBlockThreads(); \
243 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
244 wxString CBNAME(int a, int b) { \
246 wxPyBeginBlockThreads(); \
248 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
250 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
252 rval = Py2wxString(ro); \
256 wxPyEndBlockThreads(); \
258 rval = PCLASS::CBNAME(a, b); \
261 wxString base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a, b); \
266 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
267 bool CBNAME(int a, int b, const wxString& c) { \
270 wxPyBeginBlockThreads(); \
271 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
272 PyObject* s = wx2PyString(c); \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,s));\
276 wxPyEndBlockThreads(); \
278 rval = PCLASS::CBNAME(a,b,c); \
281 bool base_##CBNAME(int a, int b, const wxString& c) { \
282 return PCLASS::CBNAME(a,b,c); \
288 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
289 long CBNAME(int a, int b) { \
292 wxPyBeginBlockThreads(); \
293 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
294 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
295 wxPyEndBlockThreads(); \
297 rval = PCLASS::CBNAME(a,b); \
300 long base_##CBNAME(int a, int b) { \
301 return PCLASS::CBNAME(a,b); \
306 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
307 bool CBNAME(int a, int b) { \
310 wxPyBeginBlockThreads(); \
311 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
312 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
313 wxPyEndBlockThreads(); \
315 rval = PCLASS::CBNAME(a,b); \
318 bool base_##CBNAME(int a, int b) { \
319 return PCLASS::CBNAME(a,b); \
324 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
325 double CBNAME(int a, int b) { \
327 wxPyBeginBlockThreads(); \
329 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
331 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
333 PyObject* str = PyObject_Str(ro); \
334 rval = PyFloat_AsDouble(str); \
335 Py_DECREF(ro); Py_DECREF(str); \
338 wxPyEndBlockThreads(); \
340 rval = PCLASS::CBNAME(a, b); \
343 double base_##CBNAME(int a, int b) { \
344 return PCLASS::CBNAME(a, b); \
349 #define PYCALLBACK__(PCLASS, CBNAME) \
352 wxPyBeginBlockThreads(); \
353 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
354 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
355 wxPyEndBlockThreads(); \
359 void base_##CBNAME() { \
366 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
367 bool CBNAME(size_t a, size_t b) { \
370 wxPyBeginBlockThreads(); \
371 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
372 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
373 wxPyEndBlockThreads(); \
375 rval = PCLASS::CBNAME(a,b); \
378 bool base_##CBNAME(size_t a, size_t b) { \
379 return PCLASS::CBNAME(a,b); \
384 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
385 bool CBNAME(size_t a) { \
388 wxPyBeginBlockThreads(); \
389 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
390 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
391 wxPyEndBlockThreads(); \
393 rval = PCLASS::CBNAME(a); \
396 bool base_##CBNAME(size_t a) { \
397 return PCLASS::CBNAME(a); \
401 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
402 wxString CBNAME(int a) { \
404 wxPyBeginBlockThreads(); \
406 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
408 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
410 rval = Py2wxString(ro); \
414 wxPyEndBlockThreads(); \
416 rval = PCLASS::CBNAME(a); \
419 wxString base_##CBNAME(int a) { \
420 return PCLASS::CBNAME(a); \
424 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
425 void CBNAME(int a, const wxString& c) { \
427 wxPyBeginBlockThreads(); \
428 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
429 PyObject* s = wx2PyString(c); \
430 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)",a,s)); \
433 wxPyEndBlockThreads(); \
435 PCLASS::CBNAME(a,c); \
437 void base_##CBNAME(int a, const wxString& c) { \
438 PCLASS::CBNAME(a,c); \
444 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
448 wxPyBeginBlockThreads(); \
449 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
450 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
451 wxPyEndBlockThreads(); \
453 rval = PCLASS::CBNAME(); \
456 bool base_##CBNAME() { \
457 return PCLASS::CBNAME(); \
462 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
463 void CBNAME(size_t a, int b) { \
465 wxPyBeginBlockThreads(); \
466 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
467 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
468 wxPyEndBlockThreads(); \
470 PCLASS::CBNAME(a,b); \
472 void base_##CBNAME(size_t a, int b) { \
473 PCLASS::CBNAME(a,b); \
479 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, long c) { \
482 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(); \
487 PCLASS::CBNAME(a,b,c); \
489 void base_##CBNAME(int a, int b, long c) { \
490 PCLASS::CBNAME(a,b,c); \
496 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
497 void CBNAME(int a, int b, double c) { \
499 wxPyBeginBlockThreads(); \
500 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
501 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
502 wxPyEndBlockThreads(); \
504 PCLASS::CBNAME(a,b,c); \
506 void base_##CBNAME(int a, int b, double c) { \
507 PCLASS::CBNAME(a,b,c); \
512 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
513 void CBNAME(int a, int b, bool c) { \
515 wxPyBeginBlockThreads(); \
516 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
517 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
518 wxPyEndBlockThreads(); \
520 PCLASS::CBNAME(a,b,c); \
522 void base_##CBNAME(int a, int b, bool c) { \
523 PCLASS::CBNAME(a,b,c); \
530 class wxPyGridCellRenderer
: public wxGridCellRenderer
533 wxPyGridCellRenderer() : wxGridCellRenderer() {};
535 // Implement Python callback aware virtual methods
536 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
537 wxDC
& dc
, const wxRect
& rect
,
538 int row
, int col
, bool isSelected
) {
539 wxPyBeginBlockThreads();
540 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
541 PyObject
* go
= wxPyMake_wxObject(&grid
);
542 PyObject
* dco
= wxPyMake_wxObject(&dc
);
543 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
544 PyObject
* ro
= wxPyConstructObject((void*)&rect
, "wxRect", 0);
546 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOOOiii)", go
, ao
, dco
, ro
,
547 row
, col
, isSelected
));
553 wxPyEndBlockThreads();
556 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
559 wxPyBeginBlockThreads();
560 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
563 PyObject
* go
= wxPyMake_wxObject(&grid
);
564 PyObject
* dco
= wxPyMake_wxObject(&dc
);
565 PyObject
* ao
= wxPyMake_wxGridCellAttr(&attr
);
567 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOOii)",
575 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
576 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p")) {
579 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
580 PyObject
* o1
= PySequence_GetItem(ro
, 0);
581 PyObject
* o2
= PySequence_GetItem(ro
, 1);
582 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
583 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
585 PyErr_SetString(PyExc_TypeError
, errmsg
);
590 PyErr_SetString(PyExc_TypeError
, errmsg
);
595 wxPyEndBlockThreads();
600 wxGridCellRenderer
*Clone() const {
601 wxGridCellRenderer
* rval
= NULL
;
602 wxPyBeginBlockThreads();
603 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
605 wxGridCellRenderer
* ptr
;
606 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
608 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
613 wxPyEndBlockThreads();
617 DEC_PYCALLBACK__STRING(SetParameters
);
622 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
625 class wxPyGridCellEditor
: public wxGridCellEditor
628 wxPyGridCellEditor() : wxGridCellEditor() {}
630 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
631 wxPyBeginBlockThreads();
632 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
633 PyObject
* po
= wxPyMake_wxObject(parent
);
634 PyObject
* eo
= wxPyMake_wxObject(evtHandler
);
636 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OiO)", po
, id
, eo
));
640 wxPyEndBlockThreads();
644 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
645 wxPyBeginBlockThreads();
646 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
647 PyObject
* go
= wxPyMake_wxObject(grid
);
648 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
651 wxPyEndBlockThreads();
655 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
657 wxPyBeginBlockThreads();
658 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
659 PyObject
* go
= wxPyMake_wxObject(grid
);
660 rv
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)", row
, col
, go
));
663 wxPyEndBlockThreads();
668 wxGridCellEditor
*Clone() const {
669 wxGridCellEditor
* rval
= NULL
;
670 wxPyBeginBlockThreads();
671 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
673 wxGridCellEditor
* ptr
;
674 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
676 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
681 wxPyEndBlockThreads();
686 void Show(bool show
, wxGridCellAttr
*attr
) {
688 wxPyBeginBlockThreads();
689 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show"))) {
690 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
691 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", show
, ao
));
694 wxPyEndBlockThreads();
696 wxGridCellEditor::Show(show
, attr
);
698 void base_Show(bool show
, wxGridCellAttr
*attr
) {
699 wxGridCellEditor::Show(show
, attr
);
703 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
705 wxPyBeginBlockThreads();
706 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)"))) {
707 PyObject
* ao
= wxPyMake_wxGridCellAttr(attr
);
708 PyObject
* ro
= wxPyConstructObject((void*)&rectCell
, "wxRect", 0);
710 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)", ro
, ao
));
715 wxPyEndBlockThreads();
717 wxGridCellEditor::PaintBackground(rectCell
, attr
);
719 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
720 wxGridCellEditor::PaintBackground(rectCell
, attr
);
724 DEC_PYCALLBACK___pure(Reset
);
725 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
726 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
727 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
728 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
729 DEC_PYCALLBACK__(StartingClick
);
730 DEC_PYCALLBACK__(Destroy
);
731 DEC_PYCALLBACK__STRING(SetParameters
);
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
);
747 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
750 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
752 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
753 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
754 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
755 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
760 class wxPyGridTableBase
: public wxGridTableBase
763 wxPyGridTableBase() : wxGridTableBase() {}
765 PYCALLBACK_INT__pure(GetNumberRows
);
766 PYCALLBACK_INT__pure(GetNumberCols
);
767 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
768 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
769 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
770 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
771 PYCALLBACK__(wxGridTableBase
, Clear
);
772 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
773 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
774 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
775 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
776 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
777 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
778 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
779 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
780 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
781 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
782 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
783 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
784 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
785 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
786 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
789 wxString
GetValue(int row
, int col
) {
790 wxPyBeginBlockThreads();
792 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
794 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
796 rval
= Py2wxString(ro
);
800 wxPyEndBlockThreads();
804 void SetValue(int row
, int col
, const wxString
& val
) {
805 wxPyBeginBlockThreads();
806 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
807 PyObject
* s
= wx2PyString(val
);
808 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,s
));
811 wxPyEndBlockThreads();
815 // Map the Get/Set methods for the standard non-string types to
816 // the GetValue and SetValue python methods.
817 long GetValueAsLong( int row
, int col
) {
819 wxPyBeginBlockThreads();
820 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
823 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
824 if (ro
&& PyNumber_Check(ro
)) {
825 num
= PyNumber_Int(ro
);
827 rval
= PyInt_AsLong(num
);
833 wxPyEndBlockThreads();
837 double GetValueAsDouble( int row
, int col
) {
839 wxPyBeginBlockThreads();
840 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
843 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
844 if (ro
&& PyNumber_Check(ro
)) {
845 num
= PyNumber_Float(ro
);
847 rval
= PyFloat_AsDouble(num
);
853 wxPyEndBlockThreads();
857 bool GetValueAsBool( int row
, int col
) {
858 return (bool)GetValueAsLong(row
, col
);
861 void SetValueAsLong( int row
, int col
, long value
) {
862 wxPyBeginBlockThreads();
863 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
864 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
866 wxPyEndBlockThreads();
869 void SetValueAsDouble( int row
, int col
, double value
) {
870 wxPyBeginBlockThreads();
871 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
872 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
874 wxPyEndBlockThreads();
877 void SetValueAsBool( int row
, int col
, bool value
) {
878 SetValueAsLong( row
, col
, (long)value
);
885 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
887 // If source is an object instance then it may already be the right type
888 if (PyInstance_Check(source
)) {
889 wxGridCellCoords
* ptr
;
890 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
895 // otherwise a 2-tuple of integers is expected
896 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
897 PyObject
* o1
= PySequence_GetItem(source
, 0);
898 PyObject
* o2
= PySequence_GetItem(source
, 1);
899 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
904 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
908 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
912 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
914 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
918 static PyObject
*_wrap_wxGridNoCellCoords_get() {
922 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
923 pyobj
= PyString_FromString(ptemp
);
927 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
929 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
933 static PyObject
*_wrap_wxGridNoCellRect_get() {
937 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
938 pyobj
= PyString_FromString(ptemp
);
942 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
* _self
) {
943 self
->SetClientObject(new wxPyOORClientData(_self
));
945 static PyObject
*_wrap_wxGridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
947 wxGridCellRenderer
* _arg0
;
949 PyObject
* _argo0
= 0;
950 PyObject
* _obj1
= 0;
951 char *_kwnames
[] = { "self","_self", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 wxGridCellRenderer__setOORInfo(_arg0
,_arg1
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) return NULL
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
978 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
980 wxGridCellRenderer
* _arg0
;
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj1
= 0;
984 char *_kwnames
[] = { "self","params", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
997 _arg1
= wxString_in_helper(_obj1
);
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } Py_INCREF(Py_None
);
1008 _resultobj
= Py_None
;
1016 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
1017 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1019 wxGridCellRenderer
* _arg0
;
1020 PyObject
* _argo0
= 0;
1021 char *_kwnames
[] = { "self", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 wxGridCellRenderer_IncRef(_arg0
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1039 } Py_INCREF(Py_None
);
1040 _resultobj
= Py_None
;
1044 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1045 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1047 wxGridCellRenderer
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "self", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 wxGridCellRenderer_DecRef(_arg0
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) return NULL
;
1067 } Py_INCREF(Py_None
);
1068 _resultobj
= Py_None
;
1072 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1073 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 wxGridCellRenderer
* _arg0
;
1077 wxGridCellAttr
* _arg2
;
1083 PyObject
* _argo0
= 0;
1084 PyObject
* _argo1
= 0;
1085 PyObject
* _argo2
= 0;
1086 PyObject
* _argo3
= 0;
1088 PyObject
* _obj4
= 0;
1090 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1110 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1117 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1125 if (! wxRect_helper(_obj4
, &_arg4
))
1128 _arg7
= (bool ) tempbool7
;
1130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1131 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1133 wxPyEndAllowThreads(__tstate
);
1134 if (PyErr_Occurred()) return NULL
;
1135 } Py_INCREF(Py_None
);
1136 _resultobj
= Py_None
;
1140 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1141 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1144 wxGridCellRenderer
* _arg0
;
1146 wxGridCellAttr
* _arg2
;
1150 PyObject
* _argo0
= 0;
1151 PyObject
* _argo1
= 0;
1152 PyObject
* _argo2
= 0;
1153 PyObject
* _argo3
= 0;
1154 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1175 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1176 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1182 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1195 _resultobj
= Py_BuildValue("s",_ptemp
);
1199 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1200 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1202 wxGridCellRenderer
* _result
;
1203 wxGridCellRenderer
* _arg0
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
1227 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1228 wxPyGridCellRenderer
*src
;
1229 wxGridCellRenderer
*dest
;
1230 src
= (wxPyGridCellRenderer
*) ptr
;
1231 dest
= (wxGridCellRenderer
*) src
;
1232 return (void *) dest
;
1235 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1236 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1238 wxPyGridCellRenderer
* _result
;
1239 char *_kwnames
[] = { NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1247 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1249 wxPyEndAllowThreads(__tstate
);
1250 if (PyErr_Occurred()) return NULL
;
1252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1256 _resultobj
= Py_None
;
1261 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1262 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1264 wxPyGridCellRenderer
* _arg0
;
1267 PyObject
* _argo0
= 0;
1268 PyObject
* _obj1
= 0;
1269 PyObject
* _obj2
= 0;
1270 char *_kwnames
[] = { "self","self","_class", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1290 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1292 wxPyEndAllowThreads(__tstate
);
1293 if (PyErr_Occurred()) return NULL
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1300 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxPyGridCellRenderer
* _arg0
;
1304 PyObject
* _argo0
= 0;
1305 PyObject
* _obj1
= 0;
1306 char *_kwnames
[] = { "self","params", NULL
};
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1319 _arg1
= wxString_in_helper(_obj1
);
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1338 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1339 wxGridCellStringRenderer
*src
;
1340 wxGridCellRenderer
*dest
;
1341 src
= (wxGridCellStringRenderer
*) ptr
;
1342 dest
= (wxGridCellRenderer
*) src
;
1343 return (void *) dest
;
1346 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1347 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1349 wxGridCellStringRenderer
* _result
;
1350 char *_kwnames
[] = { NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1373 wxGridCellNumberRenderer
*src
;
1374 wxGridCellStringRenderer
*dest
;
1375 src
= (wxGridCellNumberRenderer
*) ptr
;
1376 dest
= (wxGridCellStringRenderer
*) src
;
1377 return (void *) dest
;
1380 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1381 wxGridCellNumberRenderer
*src
;
1382 wxGridCellRenderer
*dest
;
1383 src
= (wxGridCellNumberRenderer
*) ptr
;
1384 dest
= (wxGridCellRenderer
*) src
;
1385 return (void *) dest
;
1388 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1389 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1391 wxGridCellNumberRenderer
* _result
;
1392 char *_kwnames
[] = { NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) return NULL
;
1405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1406 _resultobj
= Py_BuildValue("s",_ptemp
);
1409 _resultobj
= Py_None
;
1414 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1415 wxGridCellFloatRenderer
*src
;
1416 wxGridCellStringRenderer
*dest
;
1417 src
= (wxGridCellFloatRenderer
*) ptr
;
1418 dest
= (wxGridCellStringRenderer
*) src
;
1419 return (void *) dest
;
1422 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1423 wxGridCellFloatRenderer
*src
;
1424 wxGridCellRenderer
*dest
;
1425 src
= (wxGridCellFloatRenderer
*) ptr
;
1426 dest
= (wxGridCellRenderer
*) src
;
1427 return (void *) dest
;
1430 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1431 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1433 wxGridCellFloatRenderer
* _result
;
1434 int _arg0
= (int ) -1;
1435 int _arg1
= (int ) -1;
1436 char *_kwnames
[] = { "width","precision", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) return NULL
;
1449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1450 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 _resultobj
= Py_None
;
1458 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1459 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1462 wxGridCellFloatRenderer
* _arg0
;
1463 PyObject
* _argo0
= 0;
1464 char *_kwnames
[] = { "self", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) return NULL
;
1482 } _resultobj
= Py_BuildValue("i",_result
);
1486 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1487 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1489 wxGridCellFloatRenderer
* _arg0
;
1491 PyObject
* _argo0
= 0;
1492 char *_kwnames
[] = { "self","width", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1515 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1516 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 wxGridCellFloatRenderer
* _arg0
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1544 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1546 wxGridCellFloatRenderer
* _arg0
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self","precision", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1573 wxGridCellBoolRenderer
*src
;
1574 wxGridCellRenderer
*dest
;
1575 src
= (wxGridCellBoolRenderer
*) ptr
;
1576 dest
= (wxGridCellRenderer
*) src
;
1577 return (void *) dest
;
1580 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1581 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1583 wxGridCellBoolRenderer
* _result
;
1584 char *_kwnames
[] = { NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1601 _resultobj
= Py_None
;
1606 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1607 wxGridCellDateTimeRenderer
*src
;
1608 wxGridCellStringRenderer
*dest
;
1609 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1610 dest
= (wxGridCellStringRenderer
*) src
;
1611 return (void *) dest
;
1614 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1615 wxGridCellDateTimeRenderer
*src
;
1616 wxGridCellRenderer
*dest
;
1617 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1618 dest
= (wxGridCellRenderer
*) src
;
1619 return (void *) dest
;
1622 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1623 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxGridCellDateTimeRenderer
* _result
;
1626 wxString
* _arg0
= (wxString
*) &wxPyDateTimeFormatStr
;
1627 wxString
* _arg1
= (wxString
*) &wxPyDateTimeFormatStr
;
1628 PyObject
* _obj0
= 0;
1629 PyObject
* _obj1
= 0;
1630 char *_kwnames
[] = { "outformat","informat", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1638 _arg0
= wxString_in_helper(_obj0
);
1644 _arg1
= wxString_in_helper(_obj1
);
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) return NULL
;
1655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1656 _resultobj
= Py_BuildValue("s",_ptemp
);
1659 _resultobj
= Py_None
;
1672 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1673 wxGridCellEnumRenderer
*src
;
1674 wxGridCellStringRenderer
*dest
;
1675 src
= (wxGridCellEnumRenderer
*) ptr
;
1676 dest
= (wxGridCellStringRenderer
*) src
;
1677 return (void *) dest
;
1680 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1681 wxGridCellEnumRenderer
*src
;
1682 wxGridCellRenderer
*dest
;
1683 src
= (wxGridCellEnumRenderer
*) ptr
;
1684 dest
= (wxGridCellRenderer
*) src
;
1685 return (void *) dest
;
1688 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1689 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1691 wxGridCellEnumRenderer
* _result
;
1692 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1693 PyObject
* _obj0
= 0;
1694 char *_kwnames
[] = { "choices", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1702 _arg0
= wxString_LIST_helper(_obj0
);
1703 if (_arg0
== NULL
) {
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1715 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 _resultobj
= Py_None
;
1726 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1727 wxGridCellAutoWrapStringRenderer
*src
;
1728 wxGridCellStringRenderer
*dest
;
1729 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1730 dest
= (wxGridCellStringRenderer
*) src
;
1731 return (void *) dest
;
1734 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1735 wxGridCellAutoWrapStringRenderer
*src
;
1736 wxGridCellRenderer
*dest
;
1737 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1738 dest
= (wxGridCellRenderer
*) src
;
1739 return (void *) dest
;
1742 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1743 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1745 wxGridCellAutoWrapStringRenderer
* _result
;
1746 char *_kwnames
[] = { NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1760 _resultobj
= Py_BuildValue("s",_ptemp
);
1763 _resultobj
= Py_None
;
1768 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
* _self
) {
1769 self
->SetClientObject(new wxPyOORClientData(_self
));
1771 static PyObject
*_wrap_wxGridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 wxGridCellEditor
* _arg0
;
1775 PyObject
* _argo0
= 0;
1776 PyObject
* _obj1
= 0;
1777 char *_kwnames
[] = { "self","_self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxGridCellEditor__setOORInfo(_arg0
,_arg1
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) return NULL
;
1798 } Py_INCREF(Py_None
);
1799 _resultobj
= Py_None
;
1803 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1804 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxGridCellEditor
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 char *_kwnames
[] = { "self", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1832 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxControl
* _result
;
1835 wxGridCellEditor
* _arg0
;
1836 PyObject
* _argo0
= 0;
1837 char *_kwnames
[] = { "self", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1859 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1860 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1862 wxGridCellEditor
* _arg0
;
1864 PyObject
* _argo0
= 0;
1865 PyObject
* _argo1
= 0;
1866 char *_kwnames
[] = { "self","control", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) return NULL
;
1891 } Py_INCREF(Py_None
);
1892 _resultobj
= Py_None
;
1896 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1897 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1899 wxGridCellEditor
* _arg0
;
1901 PyObject
* _argo0
= 0;
1902 PyObject
* _obj1
= 0;
1903 char *_kwnames
[] = { "self","params", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1916 _arg1
= wxString_in_helper(_obj1
);
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) return NULL
;
1926 } Py_INCREF(Py_None
);
1927 _resultobj
= Py_None
;
1935 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1936 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1938 wxGridCellEditor
* _arg0
;
1939 PyObject
* _argo0
= 0;
1940 char *_kwnames
[] = { "self", NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 wxGridCellEditor_IncRef(_arg0
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1958 } Py_INCREF(Py_None
);
1959 _resultobj
= Py_None
;
1963 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1964 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1966 wxGridCellEditor
* _arg0
;
1967 PyObject
* _argo0
= 0;
1968 char *_kwnames
[] = { "self", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 wxGridCellEditor_DecRef(_arg0
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) return NULL
;
1986 } Py_INCREF(Py_None
);
1987 _resultobj
= Py_None
;
1991 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1992 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1994 wxGridCellEditor
* _arg0
;
1997 wxEvtHandler
* _arg3
;
1998 PyObject
* _argo0
= 0;
1999 PyObject
* _argo1
= 0;
2000 PyObject
* _argo3
= 0;
2001 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
2007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
2014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
2021 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2039 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2041 wxGridCellEditor
* _arg0
;
2045 PyObject
* _argo0
= 0;
2046 PyObject
* _argo3
= 0;
2047 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2060 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2072 } Py_INCREF(Py_None
);
2073 _resultobj
= Py_None
;
2077 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2078 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2081 wxGridCellEditor
* _arg0
;
2085 PyObject
* _argo0
= 0;
2086 PyObject
* _argo3
= 0;
2087 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2100 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } _resultobj
= Py_BuildValue("i",_result
);
2116 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2117 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2119 wxGridCellEditor
* _arg0
;
2120 PyObject
* _argo0
= 0;
2121 char *_kwnames
[] = { "self", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 wxGridCellEditor_Reset(_arg0
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) return NULL
;
2139 } Py_INCREF(Py_None
);
2140 _resultobj
= Py_None
;
2144 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2145 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
* _resultobj
;
2147 wxGridCellEditor
* _result
;
2148 wxGridCellEditor
* _arg0
;
2149 PyObject
* _argo0
= 0;
2150 char *_kwnames
[] = { "self", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) return NULL
;
2168 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
2172 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2173 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2175 wxGridCellEditor
* _arg0
;
2177 PyObject
* _argo0
= 0;
2179 PyObject
* _obj1
= 0;
2180 char *_kwnames
[] = { "self","rect", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2194 if (! wxRect_helper(_obj1
, &_arg1
))
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2203 } Py_INCREF(Py_None
);
2204 _resultobj
= Py_None
;
2208 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2209 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2211 wxGridCellEditor
* _arg0
;
2213 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2214 PyObject
* _argo0
= 0;
2216 PyObject
* _argo2
= 0;
2217 char *_kwnames
[] = { "self","show","attr", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2229 _arg1
= (bool ) tempbool1
;
2231 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2248 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2249 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2251 wxGridCellEditor
* _arg0
;
2253 wxGridCellAttr
* _arg2
;
2254 PyObject
* _argo0
= 0;
2256 PyObject
* _obj1
= 0;
2257 PyObject
* _argo2
= 0;
2258 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2272 if (! wxRect_helper(_obj1
, &_arg1
))
2276 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) return NULL
;
2288 } Py_INCREF(Py_None
);
2289 _resultobj
= Py_None
;
2293 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2294 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxGridCellEditor
* _arg0
;
2299 PyObject
* _argo0
= 0;
2300 PyObject
* _argo1
= 0;
2301 char *_kwnames
[] = { "self","event", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } _resultobj
= Py_BuildValue("i",_result
);
2330 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2331 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2333 wxGridCellEditor
* _arg0
;
2335 PyObject
* _argo0
= 0;
2336 PyObject
* _argo1
= 0;
2337 char *_kwnames
[] = { "self","event", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2368 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxGridCellEditor
* _arg0
;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxGridCellEditor_StartingClick(_arg0
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2396 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2398 wxGridCellEditor
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 PyObject
* _argo1
= 0;
2402 char *_kwnames
[] = { "self","event", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2427 } Py_INCREF(Py_None
);
2428 _resultobj
= Py_None
;
2432 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2433 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2435 wxGridCellEditor
* _arg0
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 wxGridCellEditor_Destroy(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2461 wxPyGridCellEditor
*src
;
2462 wxGridCellEditor
*dest
;
2463 src
= (wxPyGridCellEditor
*) ptr
;
2464 dest
= (wxGridCellEditor
*) src
;
2465 return (void *) dest
;
2468 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2469 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxPyGridCellEditor
* _result
;
2472 char *_kwnames
[] = { NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2486 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 _resultobj
= Py_None
;
2494 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2495 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxPyGridCellEditor
* _arg0
;
2500 PyObject
* _argo0
= 0;
2501 PyObject
* _obj1
= 0;
2502 PyObject
* _obj2
= 0;
2503 char *_kwnames
[] = { "self","self","_class", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2533 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2535 wxPyGridCellEditor
* _arg0
;
2537 PyObject
* _argo0
= 0;
2539 PyObject
* _obj1
= 0;
2540 char *_kwnames
[] = { "self","rect", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2554 if (! wxRect_helper(_obj1
, &_arg1
))
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2569 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2571 wxPyGridCellEditor
* _arg0
;
2573 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2574 PyObject
* _argo0
= 0;
2576 PyObject
* _argo2
= 0;
2577 char *_kwnames
[] = { "self","show","attr", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2589 _arg1
= (bool ) tempbool1
;
2591 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2608 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2609 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2611 wxPyGridCellEditor
* _arg0
;
2613 wxGridCellAttr
* _arg2
;
2614 PyObject
* _argo0
= 0;
2616 PyObject
* _obj1
= 0;
2617 PyObject
* _argo2
= 0;
2618 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2632 if (! wxRect_helper(_obj1
, &_arg1
))
2636 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) return NULL
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2653 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2654 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2656 wxPyGridCellEditor
* _arg0
;
2658 PyObject
* _argo0
= 0;
2659 PyObject
* _argo1
= 0;
2660 char *_kwnames
[] = { "self","event", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) return NULL
;
2685 } Py_INCREF(Py_None
);
2686 _resultobj
= Py_None
;
2690 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2691 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2693 wxPyGridCellEditor
* _arg0
;
2695 PyObject
* _argo0
= 0;
2696 PyObject
* _argo1
= 0;
2697 char *_kwnames
[] = { "self","event", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2710 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) return NULL
;
2722 } Py_INCREF(Py_None
);
2723 _resultobj
= Py_None
;
2727 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2728 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2730 wxPyGridCellEditor
* _arg0
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
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_StartingClick. Expected _wxPyGridCellEditor_p.");
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 wxPyGridCellEditor_base_StartingClick(_arg0
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) return NULL
;
2750 } Py_INCREF(Py_None
);
2751 _resultobj
= Py_None
;
2755 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2756 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2758 wxPyGridCellEditor
* _arg0
;
2760 PyObject
* _argo0
= 0;
2761 PyObject
* _argo1
= 0;
2762 char *_kwnames
[] = { "self","event", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2775 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) return NULL
;
2787 } Py_INCREF(Py_None
);
2788 _resultobj
= Py_None
;
2792 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2793 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxPyGridCellEditor
* _arg0
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 wxPyGridCellEditor_base_Destroy(_arg0
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) return NULL
;
2815 } Py_INCREF(Py_None
);
2816 _resultobj
= Py_None
;
2820 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2821 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2823 wxPyGridCellEditor
* _arg0
;
2825 PyObject
* _argo0
= 0;
2826 PyObject
* _obj1
= 0;
2827 char *_kwnames
[] = { "self","params", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2840 _arg1
= wxString_in_helper(_obj1
);
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2850 } Py_INCREF(Py_None
);
2851 _resultobj
= Py_None
;
2859 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2860 wxGridCellTextEditor
*src
;
2861 wxGridCellEditor
*dest
;
2862 src
= (wxGridCellTextEditor
*) ptr
;
2863 dest
= (wxGridCellEditor
*) src
;
2864 return (void *) dest
;
2867 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2868 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxGridCellTextEditor
* _result
;
2871 char *_kwnames
[] = { NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2885 _resultobj
= Py_BuildValue("s",_ptemp
);
2888 _resultobj
= Py_None
;
2893 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2894 wxGridCellNumberEditor
*src
;
2895 wxGridCellTextEditor
*dest
;
2896 src
= (wxGridCellNumberEditor
*) ptr
;
2897 dest
= (wxGridCellTextEditor
*) src
;
2898 return (void *) dest
;
2901 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2902 wxGridCellNumberEditor
*src
;
2903 wxGridCellEditor
*dest
;
2904 src
= (wxGridCellNumberEditor
*) ptr
;
2905 dest
= (wxGridCellEditor
*) src
;
2906 return (void *) dest
;
2909 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2910 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2912 wxGridCellNumberEditor
* _result
;
2913 int _arg0
= (int ) -1;
2914 int _arg1
= (int ) -1;
2915 char *_kwnames
[] = { "min","max", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) return NULL
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2938 wxGridCellFloatEditor
*src
;
2939 wxGridCellTextEditor
*dest
;
2940 src
= (wxGridCellFloatEditor
*) ptr
;
2941 dest
= (wxGridCellTextEditor
*) src
;
2942 return (void *) dest
;
2945 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2946 wxGridCellFloatEditor
*src
;
2947 wxGridCellEditor
*dest
;
2948 src
= (wxGridCellFloatEditor
*) ptr
;
2949 dest
= (wxGridCellEditor
*) src
;
2950 return (void *) dest
;
2953 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2954 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2956 wxGridCellFloatEditor
* _result
;
2957 char *_kwnames
[] = { NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) return NULL
;
2970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2971 _resultobj
= Py_BuildValue("s",_ptemp
);
2974 _resultobj
= Py_None
;
2979 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2980 wxGridCellBoolEditor
*src
;
2981 wxGridCellEditor
*dest
;
2982 src
= (wxGridCellBoolEditor
*) ptr
;
2983 dest
= (wxGridCellEditor
*) src
;
2984 return (void *) dest
;
2987 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2988 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2990 wxGridCellBoolEditor
* _result
;
2991 char *_kwnames
[] = { NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3013 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
3014 wxGridCellChoiceEditor
*src
;
3015 wxGridCellEditor
*dest
;
3016 src
= (wxGridCellChoiceEditor
*) ptr
;
3017 dest
= (wxGridCellEditor
*) src
;
3018 return (void *) dest
;
3021 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
3022 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3024 wxGridCellChoiceEditor
* _result
;
3025 int _arg0
= (int ) 0;
3026 wxString
* _arg1
= (wxString
*) NULL
;
3027 bool _arg2
= (bool ) FALSE
;
3028 PyObject
* _obj1
= 0;
3029 int tempbool2
= (int) FALSE
;
3030 char *_kwnames
[] = { "choices","allowOthers", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
3038 _arg1
= wxString_LIST_helper(_obj1
);
3039 if (_arg1
== NULL
) {
3043 _arg2
= (bool ) tempbool2
;
3046 _arg0
= PyList_Size(_obj1
);
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) return NULL
;
3059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3060 _resultobj
= Py_BuildValue("s",_ptemp
);
3063 _resultobj
= Py_None
;
3071 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3072 wxGridCellEnumEditor
*src
;
3073 wxGridCellChoiceEditor
*dest
;
3074 src
= (wxGridCellEnumEditor
*) ptr
;
3075 dest
= (wxGridCellChoiceEditor
*) src
;
3076 return (void *) dest
;
3079 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3080 wxGridCellEnumEditor
*src
;
3081 wxGridCellEditor
*dest
;
3082 src
= (wxGridCellEnumEditor
*) ptr
;
3083 dest
= (wxGridCellEditor
*) src
;
3084 return (void *) dest
;
3087 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3088 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3090 wxGridCellEnumEditor
* _result
;
3091 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
3092 PyObject
* _obj0
= 0;
3093 char *_kwnames
[] = { "choices", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3101 _arg0
= wxString_LIST_helper(_obj0
);
3102 if (_arg0
== NULL
) {
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3114 _resultobj
= Py_BuildValue("s",_ptemp
);
3117 _resultobj
= Py_None
;
3125 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3126 wxGridCellAutoWrapStringEditor
*src
;
3127 wxGridCellTextEditor
*dest
;
3128 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3129 dest
= (wxGridCellTextEditor
*) src
;
3130 return (void *) dest
;
3133 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3134 wxGridCellAutoWrapStringEditor
*src
;
3135 wxGridCellEditor
*dest
;
3136 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3137 dest
= (wxGridCellEditor
*) src
;
3138 return (void *) dest
;
3141 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3142 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxGridCellAutoWrapStringEditor
* _result
;
3145 char *_kwnames
[] = { NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) return NULL
;
3158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3159 _resultobj
= Py_BuildValue("s",_ptemp
);
3162 _resultobj
= Py_None
;
3167 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
* _self
) {
3168 self
->SetClientObject(new wxPyOORClientData(_self
));
3170 static PyObject
*_wrap_wxGridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3172 wxGridCellAttr
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 PyObject
* _obj1
= 0;
3176 char *_kwnames
[] = { "self","_self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 wxGridCellAttr__setOORInfo(_arg0
,_arg1
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) return NULL
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3202 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3203 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxGridCellAttr
* _result
;
3206 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "attrDefault", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3229 _resultobj
= Py_BuildValue("s",_ptemp
);
3232 _resultobj
= Py_None
;
3237 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3238 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3240 wxGridCellAttr
* _result
;
3241 wxGridCellAttr
* _arg0
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
3265 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3266 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxGridCellAttr
* _arg0
;
3269 wxGridCellAttr
* _arg1
;
3270 PyObject
* _argo0
= 0;
3271 PyObject
* _argo1
= 0;
3272 char *_kwnames
[] = { "self","mergefrom", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3303 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3305 wxGridCellAttr
* _arg0
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxGridCellAttr_IncRef(_arg0
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3330 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3331 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3333 wxGridCellAttr
* _arg0
;
3334 PyObject
* _argo0
= 0;
3335 char *_kwnames
[] = { "self", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 wxGridCellAttr_DecRef(_arg0
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) return NULL
;
3353 } Py_INCREF(Py_None
);
3354 _resultobj
= Py_None
;
3358 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3359 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3361 wxGridCellAttr
* _arg0
;
3363 PyObject
* _argo0
= 0;
3365 PyObject
* _obj1
= 0;
3366 char *_kwnames
[] = { "self","colText", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3380 if (! wxColour_helper(_obj1
, &_arg1
))
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3389 } Py_INCREF(Py_None
);
3390 _resultobj
= Py_None
;
3394 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3395 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3397 wxGridCellAttr
* _arg0
;
3399 PyObject
* _argo0
= 0;
3401 PyObject
* _obj1
= 0;
3402 char *_kwnames
[] = { "self","colBack", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3416 if (! wxColour_helper(_obj1
, &_arg1
))
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3425 } Py_INCREF(Py_None
);
3426 _resultobj
= Py_None
;
3430 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3431 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3433 wxGridCellAttr
* _arg0
;
3435 PyObject
* _argo0
= 0;
3436 PyObject
* _argo1
= 0;
3437 char *_kwnames
[] = { "self","font", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) return NULL
;
3462 } Py_INCREF(Py_None
);
3463 _resultobj
= Py_None
;
3467 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3468 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3470 wxGridCellAttr
* _arg0
;
3473 PyObject
* _argo0
= 0;
3474 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 #define wxGridCellAttr_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3498 static PyObject
*_wrap_wxGridCellAttr_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxGridCellAttr
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetSize. Expected _wxGridCellAttr_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 wxGridCellAttr_SetSize(_arg0
,_arg1
,_arg2
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxGridCellAttr_SetOverflow(_swigobj,_swigarg0) (_swigobj->SetOverflow(_swigarg0))
3528 static PyObject
*_wrap_wxGridCellAttr_SetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3530 wxGridCellAttr
* _arg0
;
3532 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self","allow", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetOverflow",_kwnames
,&_argo0
,&tempbool1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetOverflow. Expected _wxGridCellAttr_p.");
3546 _arg1
= (bool ) tempbool1
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 wxGridCellAttr_SetOverflow(_arg0
,_arg1
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3553 } Py_INCREF(Py_None
);
3554 _resultobj
= Py_None
;
3558 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3559 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3561 wxGridCellAttr
* _arg0
;
3562 bool _arg1
= (bool ) TRUE
;
3563 PyObject
* _argo0
= 0;
3564 int tempbool1
= (int) TRUE
;
3565 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3577 _arg1
= (bool ) tempbool1
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) return NULL
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3589 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3590 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3592 wxGridCellAttr
* _arg0
;
3593 wxGridCellRenderer
* _arg1
;
3594 PyObject
* _argo0
= 0;
3595 PyObject
* _argo1
= 0;
3596 char *_kwnames
[] = { "self","renderer", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) return NULL
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3626 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3627 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3629 wxGridCellAttr
* _arg0
;
3630 wxGridCellEditor
* _arg1
;
3631 PyObject
* _argo0
= 0;
3632 PyObject
* _argo1
= 0;
3633 char *_kwnames
[] = { "self","editor", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) return NULL
;
3658 } Py_INCREF(Py_None
);
3659 _resultobj
= Py_None
;
3663 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3664 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3666 wxGridCellAttr
* _arg0
;
3667 wxGridCellAttr::wxAttrKind _arg1
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self","kind", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3687 } Py_INCREF(Py_None
);
3688 _resultobj
= Py_None
;
3692 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3693 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxGridCellAttr
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3716 } _resultobj
= Py_BuildValue("i",_result
);
3720 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3721 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3724 wxGridCellAttr
* _arg0
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3744 } _resultobj
= Py_BuildValue("i",_result
);
3748 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3749 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxGridCellAttr
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3777 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxGridCellAttr
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3800 } _resultobj
= Py_BuildValue("i",_result
);
3804 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3805 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3808 wxGridCellAttr
* _arg0
;
3809 PyObject
* _argo0
= 0;
3810 char *_kwnames
[] = { "self", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) return NULL
;
3828 } _resultobj
= Py_BuildValue("i",_result
);
3832 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3833 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3836 wxGridCellAttr
* _arg0
;
3837 PyObject
* _argo0
= 0;
3838 char *_kwnames
[] = { "self", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3856 } _resultobj
= Py_BuildValue("i",_result
);
3860 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3861 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3864 wxGridCellAttr
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 char *_kwnames
[] = { "self", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) return NULL
;
3884 } _resultobj
= Py_BuildValue("i",_result
);
3888 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3889 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3892 wxGridCellAttr
* _arg0
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3913 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3914 _resultobj
= Py_BuildValue("s",_ptemp
);
3918 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3919 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3922 wxGridCellAttr
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3944 _resultobj
= Py_BuildValue("s",_ptemp
);
3948 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3949 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxGridCellAttr
* _arg0
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) return NULL
;
3973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3974 _resultobj
= Py_BuildValue("s",_ptemp
);
3978 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3979 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxGridCellAttr
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4015 o
= PyInt_FromLong((long) (*_arg1
));
4016 _resultobj
= t_output_helper(_resultobj
, o
);
4020 o
= PyInt_FromLong((long) (*_arg2
));
4021 _resultobj
= t_output_helper(_resultobj
, o
);
4026 #define wxGridCellAttr_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
4027 static PyObject
*_wrap_wxGridCellAttr_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4029 wxGridCellAttr
* _arg0
;
4032 PyObject
* _argo0
= 0;
4033 PyObject
* _argo1
= 0;
4034 PyObject
* _argo2
= 0;
4035 char *_kwnames
[] = { "self","num_rows","num_cols", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellAttr_GetSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetSize. Expected _wxGridCellAttr_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetSize. Expected _int_p.");
4055 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellAttr_GetSize. Expected _int_p.");
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 wxGridCellAttr_GetSize(_arg0
,_arg1
,_arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4067 } Py_INCREF(Py_None
);
4068 _resultobj
= Py_None
;
4072 #define wxGridCellAttr_GetOverflow(_swigobj) (_swigobj->GetOverflow())
4073 static PyObject
*_wrap_wxGridCellAttr_GetOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4076 wxGridCellAttr
* _arg0
;
4077 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetOverflow",_kwnames
,&_argo0
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetOverflow. Expected _wxGridCellAttr_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= (bool )wxGridCellAttr_GetOverflow(_arg0
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4096 } _resultobj
= Py_BuildValue("i",_result
);
4100 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
4101 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4103 wxGridCellRenderer
* _result
;
4104 wxGridCellAttr
* _arg0
;
4108 PyObject
* _argo0
= 0;
4109 PyObject
* _argo1
= 0;
4110 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
4123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) return NULL
;
4135 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4139 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4140 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4142 wxGridCellEditor
* _result
;
4143 wxGridCellAttr
* _arg0
;
4147 PyObject
* _argo0
= 0;
4148 PyObject
* _argo1
= 0;
4149 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) return NULL
;
4174 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4178 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4179 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4182 wxGridCellAttr
* _arg0
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) return NULL
;
4202 } _resultobj
= Py_BuildValue("i",_result
);
4206 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4207 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4209 wxGridCellAttr
* _arg0
;
4210 wxGridCellAttr
* _arg1
;
4211 PyObject
* _argo0
= 0;
4212 PyObject
* _argo1
= 0;
4213 char *_kwnames
[] = { "self","defAttr", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4243 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4244 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4246 wxGridCellAttrProvider
* _result
;
4247 char *_kwnames
[] = { NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) return NULL
;
4260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4261 _resultobj
= Py_BuildValue("s",_ptemp
);
4264 _resultobj
= Py_None
;
4269 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4270 self
->SetClientObject(new wxPyOORClientData(_self
));
4272 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4274 wxGridCellAttrProvider
* _arg0
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _obj1
= 0;
4278 char *_kwnames
[] = { "self","_self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4305 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4307 wxGridCellAttr
* _result
;
4308 wxGridCellAttrProvider
* _arg0
;
4311 wxGridCellAttr::wxAttrKind _arg3
;
4312 PyObject
* _argo0
= 0;
4313 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) return NULL
;
4331 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4335 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4336 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4338 wxGridCellAttrProvider
* _arg0
;
4339 wxGridCellAttr
* _arg1
;
4342 PyObject
* _argo0
= 0;
4343 PyObject
* _argo1
= 0;
4344 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) return NULL
;
4369 } Py_INCREF(Py_None
);
4370 _resultobj
= Py_None
;
4374 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4375 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4377 wxGridCellAttrProvider
* _arg0
;
4378 wxGridCellAttr
* _arg1
;
4380 PyObject
* _argo0
= 0;
4381 PyObject
* _argo1
= 0;
4382 char *_kwnames
[] = { "self","attr","row", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) return NULL
;
4407 } Py_INCREF(Py_None
);
4408 _resultobj
= Py_None
;
4412 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4413 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4415 wxGridCellAttrProvider
* _arg0
;
4416 wxGridCellAttr
* _arg1
;
4418 PyObject
* _argo0
= 0;
4419 PyObject
* _argo1
= 0;
4420 char *_kwnames
[] = { "self","attr","col", NULL
};
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } Py_INCREF(Py_None
);
4446 _resultobj
= Py_None
;
4450 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4451 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4453 wxGridCellAttrProvider
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) return NULL
;
4475 } Py_INCREF(Py_None
);
4476 _resultobj
= Py_None
;
4480 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4481 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4483 wxGridCellAttrProvider
* _arg0
;
4486 PyObject
* _argo0
= 0;
4487 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } Py_INCREF(Py_None
);
4506 _resultobj
= Py_None
;
4510 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4511 wxPyGridCellAttrProvider
*src
;
4512 wxGridCellAttrProvider
*dest
;
4513 src
= (wxPyGridCellAttrProvider
*) ptr
;
4514 dest
= (wxGridCellAttrProvider
*) src
;
4515 return (void *) dest
;
4518 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4519 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4521 wxPyGridCellAttrProvider
* _result
;
4522 char *_kwnames
[] = { NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) return NULL
;
4535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4536 _resultobj
= Py_BuildValue("s",_ptemp
);
4539 _resultobj
= Py_None
;
4544 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4545 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4547 wxPyGridCellAttrProvider
* _arg0
;
4550 PyObject
* _argo0
= 0;
4551 PyObject
* _obj1
= 0;
4552 PyObject
* _obj2
= 0;
4553 char *_kwnames
[] = { "self","self","_class", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4583 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4585 wxGridCellAttr
* _result
;
4586 wxPyGridCellAttrProvider
* _arg0
;
4589 wxGridCellAttr::wxAttrKind _arg3
;
4590 PyObject
* _argo0
= 0;
4591 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) return NULL
;
4609 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4613 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4614 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4616 wxPyGridCellAttrProvider
* _arg0
;
4617 wxGridCellAttr
* _arg1
;
4620 PyObject
* _argo0
= 0;
4621 PyObject
* _argo1
= 0;
4622 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) return NULL
;
4647 } Py_INCREF(Py_None
);
4648 _resultobj
= Py_None
;
4652 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4653 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4655 wxPyGridCellAttrProvider
* _arg0
;
4656 wxGridCellAttr
* _arg1
;
4658 PyObject
* _argo0
= 0;
4659 PyObject
* _argo1
= 0;
4660 char *_kwnames
[] = { "self","attr","row", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4685 } Py_INCREF(Py_None
);
4686 _resultobj
= Py_None
;
4690 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4691 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
* _resultobj
;
4693 wxPyGridCellAttrProvider
* _arg0
;
4694 wxGridCellAttr
* _arg1
;
4696 PyObject
* _argo0
= 0;
4697 PyObject
* _argo1
= 0;
4698 char *_kwnames
[] = { "self","attr","col", NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) return NULL
;
4723 } Py_INCREF(Py_None
);
4724 _resultobj
= Py_None
;
4728 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4729 wxGridTableBase
*src
;
4731 src
= (wxGridTableBase
*) ptr
;
4732 dest
= (wxObject
*) src
;
4733 return (void *) dest
;
4736 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
4737 self
->SetClientObject(new wxPyOORClientData(_self
));
4739 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4741 wxGridTableBase
* _arg0
;
4743 PyObject
* _argo0
= 0;
4744 PyObject
* _obj1
= 0;
4745 char *_kwnames
[] = { "self","_self", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4772 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4774 wxGridTableBase
* _arg0
;
4775 wxGridCellAttrProvider
* _arg1
;
4776 PyObject
* _argo0
= 0;
4777 PyObject
* _argo1
= 0;
4778 char *_kwnames
[] = { "self","attrProvider", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4791 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) return NULL
;
4803 } Py_INCREF(Py_None
);
4804 _resultobj
= Py_None
;
4808 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4809 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 wxGridCellAttrProvider
* _result
;
4812 wxGridTableBase
* _arg0
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) return NULL
;
4832 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
4836 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4837 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4839 wxGridTableBase
* _arg0
;
4841 PyObject
* _argo0
= 0;
4842 PyObject
* _argo1
= 0;
4843 char *_kwnames
[] = { "self","grid", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 wxGridTableBase_SetView(_arg0
,_arg1
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4873 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4874 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4877 wxGridTableBase
* _arg0
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4901 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4902 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4905 wxGridTableBase
* _arg0
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } _resultobj
= Py_BuildValue("i",_result
);
4929 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4930 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4933 wxGridTableBase
* _arg0
;
4934 PyObject
* _argo0
= 0;
4935 char *_kwnames
[] = { "self", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) return NULL
;
4953 } _resultobj
= Py_BuildValue("i",_result
);
4957 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4958 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4961 wxGridTableBase
* _arg0
;
4964 PyObject
* _argo0
= 0;
4965 char *_kwnames
[] = { "self","row","col", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) return NULL
;
4983 } _resultobj
= Py_BuildValue("i",_result
);
4987 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4988 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4991 wxGridTableBase
* _arg0
;
4994 PyObject
* _argo0
= 0;
4995 char *_kwnames
[] = { "self","row","col", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) return NULL
;
5015 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5017 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5026 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
5027 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5029 wxGridTableBase
* _arg0
;
5033 PyObject
* _argo0
= 0;
5034 PyObject
* _obj3
= 0;
5035 char *_kwnames
[] = { "self","row","col","value", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
5048 _arg3
= wxString_in_helper(_obj3
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) return NULL
;
5058 } Py_INCREF(Py_None
);
5059 _resultobj
= Py_None
;
5067 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
5068 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5071 wxGridTableBase
* _arg0
;
5074 PyObject
* _argo0
= 0;
5075 char *_kwnames
[] = { "self","row","col", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5095 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5097 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5106 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5107 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5110 wxGridTableBase
* _arg0
;
5114 PyObject
* _argo0
= 0;
5115 PyObject
* _obj3
= 0;
5116 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
5129 _arg3
= wxString_in_helper(_obj3
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5139 } _resultobj
= Py_BuildValue("i",_result
);
5147 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5148 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5151 wxGridTableBase
* _arg0
;
5155 PyObject
* _argo0
= 0;
5156 PyObject
* _obj3
= 0;
5157 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5170 _arg3
= wxString_in_helper(_obj3
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) return NULL
;
5180 } _resultobj
= Py_BuildValue("i",_result
);
5188 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5189 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5192 wxGridTableBase
* _arg0
;
5195 PyObject
* _argo0
= 0;
5196 char *_kwnames
[] = { "self","row","col", NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) return NULL
;
5214 } _resultobj
= Py_BuildValue("l",_result
);
5218 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5219 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5222 wxGridTableBase
* _arg0
;
5225 PyObject
* _argo0
= 0;
5226 char *_kwnames
[] = { "self","row","col", NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) return NULL
;
5244 } _resultobj
= Py_BuildValue("d",_result
);
5248 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5249 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5252 wxGridTableBase
* _arg0
;
5255 PyObject
* _argo0
= 0;
5256 char *_kwnames
[] = { "self","row","col", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) return NULL
;
5274 } _resultobj
= Py_BuildValue("i",_result
);
5278 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5279 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5281 wxGridTableBase
* _arg0
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self","row","col","value", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5310 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5312 wxGridTableBase
* _arg0
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self","row","col","value", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5335 } Py_INCREF(Py_None
);
5336 _resultobj
= Py_None
;
5340 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5341 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxGridTableBase
* _arg0
;
5347 PyObject
* _argo0
= 0;
5349 char *_kwnames
[] = { "self","row","col","value", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5361 _arg3
= (bool ) tempbool3
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5368 } Py_INCREF(Py_None
);
5369 _resultobj
= Py_None
;
5373 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5374 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxGridTableBase
* _arg0
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 wxGridTableBase_Clear(_arg0
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5402 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5405 wxGridTableBase
* _arg0
;
5406 size_t _arg1
= (size_t ) 0;
5407 size_t _arg2
= (size_t ) 1;
5408 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) return NULL
;
5427 } _resultobj
= Py_BuildValue("i",_result
);
5431 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5432 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5435 wxGridTableBase
* _arg0
;
5436 size_t _arg1
= (size_t ) 1;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self","numRows", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) return NULL
;
5456 } _resultobj
= Py_BuildValue("i",_result
);
5460 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5461 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5464 wxGridTableBase
* _arg0
;
5465 size_t _arg1
= (size_t ) 0;
5466 size_t _arg2
= (size_t ) 1;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } _resultobj
= Py_BuildValue("i",_result
);
5490 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5491 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5494 wxGridTableBase
* _arg0
;
5495 size_t _arg1
= (size_t ) 0;
5496 size_t _arg2
= (size_t ) 1;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) return NULL
;
5516 } _resultobj
= Py_BuildValue("i",_result
);
5520 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5521 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5524 wxGridTableBase
* _arg0
;
5525 size_t _arg1
= (size_t ) 1;
5526 PyObject
* _argo0
= 0;
5527 char *_kwnames
[] = { "self","numCols", NULL
};
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) return NULL
;
5545 } _resultobj
= Py_BuildValue("i",_result
);
5549 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5550 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5553 wxGridTableBase
* _arg0
;
5554 size_t _arg1
= (size_t ) 0;
5555 size_t _arg2
= (size_t ) 1;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) return NULL
;
5575 } _resultobj
= Py_BuildValue("i",_result
);
5579 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5580 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5583 wxGridTableBase
* _arg0
;
5585 PyObject
* _argo0
= 0;
5586 char *_kwnames
[] = { "self","row", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) return NULL
;
5606 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5608 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5617 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5618 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5621 wxGridTableBase
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self","col", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5644 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5655 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5656 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5658 wxGridTableBase
* _arg0
;
5661 PyObject
* _argo0
= 0;
5662 PyObject
* _obj2
= 0;
5663 char *_kwnames
[] = { "self","row","value", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5676 _arg2
= wxString_in_helper(_obj2
);
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5695 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5696 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5698 wxGridTableBase
* _arg0
;
5701 PyObject
* _argo0
= 0;
5702 PyObject
* _obj2
= 0;
5703 char *_kwnames
[] = { "self","col","value", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5716 _arg2
= wxString_in_helper(_obj2
);
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5726 } Py_INCREF(Py_None
);
5727 _resultobj
= Py_None
;
5735 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5736 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5739 wxGridTableBase
* _arg0
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) return NULL
;
5759 } _resultobj
= Py_BuildValue("i",_result
);
5763 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5764 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5766 wxGridCellAttr
* _result
;
5767 wxGridTableBase
* _arg0
;
5770 wxGridCellAttr::wxAttrKind _arg3
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5790 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
5794 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5795 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5797 wxGridTableBase
* _arg0
;
5798 wxGridCellAttr
* _arg1
;
5801 PyObject
* _argo0
= 0;
5802 PyObject
* _argo1
= 0;
5803 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5833 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5834 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5836 wxGridTableBase
* _arg0
;
5837 wxGridCellAttr
* _arg1
;
5839 PyObject
* _argo0
= 0;
5840 PyObject
* _argo1
= 0;
5841 char *_kwnames
[] = { "self","attr","row", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) return NULL
;
5866 } Py_INCREF(Py_None
);
5867 _resultobj
= Py_None
;
5871 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5872 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxGridTableBase
* _arg0
;
5875 wxGridCellAttr
* _arg1
;
5877 PyObject
* _argo0
= 0;
5878 PyObject
* _argo1
= 0;
5879 char *_kwnames
[] = { "self","attr","col", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5892 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) return NULL
;
5904 } Py_INCREF(Py_None
);
5905 _resultobj
= Py_None
;
5909 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5910 wxPyGridTableBase
*src
;
5911 wxGridTableBase
*dest
;
5912 src
= (wxPyGridTableBase
*) ptr
;
5913 dest
= (wxGridTableBase
*) src
;
5914 return (void *) dest
;
5917 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5918 wxPyGridTableBase
*src
;
5920 src
= (wxPyGridTableBase
*) ptr
;
5921 dest
= (wxObject
*) src
;
5922 return (void *) dest
;
5925 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5926 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5928 wxPyGridTableBase
* _result
;
5929 char *_kwnames
[] = { NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) return NULL
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5951 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5952 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxPyGridTableBase
* _arg0
;
5957 PyObject
* _argo0
= 0;
5958 PyObject
* _obj1
= 0;
5959 PyObject
* _obj2
= 0;
5960 char *_kwnames
[] = { "self","self","_class", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } Py_INCREF(Py_None
);
5985 _resultobj
= Py_None
;
5989 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5990 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5992 wxPyGridTableBase
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxPyGridTableBase_Destroy(_arg0
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6017 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
6018 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxPyGridTableBase
* _arg0
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self","row","col", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6045 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6047 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6056 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
6057 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6060 wxPyGridTableBase
* _arg0
;
6064 PyObject
* _argo0
= 0;
6065 PyObject
* _obj3
= 0;
6066 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
6079 _arg3
= wxString_in_helper(_obj3
);
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6089 } _resultobj
= Py_BuildValue("i",_result
);
6097 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
6098 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6101 wxPyGridTableBase
* _arg0
;
6105 PyObject
* _argo0
= 0;
6106 PyObject
* _obj3
= 0;
6107 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
6120 _arg3
= wxString_in_helper(_obj3
);
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) return NULL
;
6130 } _resultobj
= Py_BuildValue("i",_result
);
6138 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6139 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxPyGridTableBase
* _arg0
;
6142 PyObject
* _argo0
= 0;
6143 char *_kwnames
[] = { "self", NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 wxPyGridTableBase_base_Clear(_arg0
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) return NULL
;
6161 } Py_INCREF(Py_None
);
6162 _resultobj
= Py_None
;
6166 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6167 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
* _resultobj
;
6170 wxPyGridTableBase
* _arg0
;
6171 size_t _arg1
= (size_t ) 0;
6172 size_t _arg2
= (size_t ) 1;
6173 PyObject
* _argo0
= 0;
6174 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) return NULL
;
6192 } _resultobj
= Py_BuildValue("i",_result
);
6196 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6197 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6200 wxPyGridTableBase
* _arg0
;
6201 size_t _arg1
= (size_t ) 1;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self","numRows", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) return NULL
;
6221 } _resultobj
= Py_BuildValue("i",_result
);
6225 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6226 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6229 wxPyGridTableBase
* _arg0
;
6230 size_t _arg1
= (size_t ) 0;
6231 size_t _arg2
= (size_t ) 1;
6232 PyObject
* _argo0
= 0;
6233 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) return NULL
;
6251 } _resultobj
= Py_BuildValue("i",_result
);
6255 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6256 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6259 wxPyGridTableBase
* _arg0
;
6260 size_t _arg1
= (size_t ) 0;
6261 size_t _arg2
= (size_t ) 1;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) return NULL
;
6281 } _resultobj
= Py_BuildValue("i",_result
);
6285 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6286 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6289 wxPyGridTableBase
* _arg0
;
6290 size_t _arg1
= (size_t ) 1;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self","numCols", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) return NULL
;
6310 } _resultobj
= Py_BuildValue("i",_result
);
6314 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6315 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6318 wxPyGridTableBase
* _arg0
;
6319 size_t _arg1
= (size_t ) 0;
6320 size_t _arg2
= (size_t ) 1;
6321 PyObject
* _argo0
= 0;
6322 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) return NULL
;
6340 } _resultobj
= Py_BuildValue("i",_result
);
6344 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6345 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6348 wxPyGridTableBase
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self","row", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
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_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6371 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6373 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6382 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6383 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6386 wxPyGridTableBase
* _arg0
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self","col", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6409 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6411 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6420 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6421 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6423 wxPyGridTableBase
* _arg0
;
6426 PyObject
* _argo0
= 0;
6427 PyObject
* _obj2
= 0;
6428 char *_kwnames
[] = { "self","row","value", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6441 _arg2
= wxString_in_helper(_obj2
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } Py_INCREF(Py_None
);
6452 _resultobj
= Py_None
;
6460 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6461 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
* _resultobj
;
6463 wxPyGridTableBase
* _arg0
;
6466 PyObject
* _argo0
= 0;
6467 PyObject
* _obj2
= 0;
6468 char *_kwnames
[] = { "self","col","value", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6481 _arg2
= wxString_in_helper(_obj2
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } Py_INCREF(Py_None
);
6492 _resultobj
= Py_None
;
6500 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6501 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6504 wxPyGridTableBase
* _arg0
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) return NULL
;
6524 } _resultobj
= Py_BuildValue("i",_result
);
6528 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6529 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6531 wxGridCellAttr
* _result
;
6532 wxPyGridTableBase
* _arg0
;
6535 wxGridCellAttr::wxAttrKind _arg3
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) return NULL
;
6555 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6559 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6560 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6562 wxPyGridTableBase
* _arg0
;
6563 wxGridCellAttr
* _arg1
;
6566 PyObject
* _argo0
= 0;
6567 PyObject
* _argo1
= 0;
6568 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) return NULL
;
6593 } Py_INCREF(Py_None
);
6594 _resultobj
= Py_None
;
6598 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6599 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6601 wxPyGridTableBase
* _arg0
;
6602 wxGridCellAttr
* _arg1
;
6604 PyObject
* _argo0
= 0;
6605 PyObject
* _argo1
= 0;
6606 char *_kwnames
[] = { "self","attr","row", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) return NULL
;
6631 } Py_INCREF(Py_None
);
6632 _resultobj
= Py_None
;
6636 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6637 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6639 wxPyGridTableBase
* _arg0
;
6640 wxGridCellAttr
* _arg1
;
6642 PyObject
* _argo0
= 0;
6643 PyObject
* _argo1
= 0;
6644 char *_kwnames
[] = { "self","attr","col", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } Py_INCREF(Py_None
);
6670 _resultobj
= Py_None
;
6674 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6675 wxGridStringTable
*src
;
6676 wxGridTableBase
*dest
;
6677 src
= (wxGridStringTable
*) ptr
;
6678 dest
= (wxGridTableBase
*) src
;
6679 return (void *) dest
;
6682 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6683 wxGridStringTable
*src
;
6685 src
= (wxGridStringTable
*) ptr
;
6686 dest
= (wxObject
*) src
;
6687 return (void *) dest
;
6690 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6691 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6693 wxGridStringTable
* _result
;
6694 int _arg0
= (int ) 0;
6695 int _arg1
= (int ) 0;
6696 char *_kwnames
[] = { "numRows","numCols", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6710 _resultobj
= Py_BuildValue("s",_ptemp
);
6713 _resultobj
= Py_None
;
6718 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6719 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
* _resultobj
;
6721 wxGridTableMessage
* _result
;
6722 wxGridTableBase
* _arg0
;
6724 int _arg2
= (int ) -1;
6725 int _arg3
= (int ) -1;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) return NULL
;
6747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6748 _resultobj
= Py_BuildValue("s",_ptemp
);
6751 _resultobj
= Py_None
;
6756 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6757 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6759 wxGridTableMessage
* _arg0
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 delete_wxGridTableMessage(_arg0
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } Py_INCREF(Py_None
);
6780 _resultobj
= Py_None
;
6784 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6785 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6787 wxGridTableMessage
* _arg0
;
6788 wxGridTableBase
* _arg1
;
6789 PyObject
* _argo0
= 0;
6790 PyObject
* _argo1
= 0;
6791 char *_kwnames
[] = { "self","table", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) return NULL
;
6816 } Py_INCREF(Py_None
);
6817 _resultobj
= Py_None
;
6821 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6822 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6824 wxGridTableBase
* _result
;
6825 wxGridTableMessage
* _arg0
;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) return NULL
;
6845 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
6849 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6850 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6852 wxGridTableMessage
* _arg0
;
6854 PyObject
* _argo0
= 0;
6855 char *_kwnames
[] = { "self","id", NULL
};
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxGridTableMessage_SetId(_arg0
,_arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) return NULL
;
6873 } Py_INCREF(Py_None
);
6874 _resultobj
= Py_None
;
6878 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6879 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6882 wxGridTableMessage
* _arg0
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) return NULL
;
6902 } _resultobj
= Py_BuildValue("i",_result
);
6906 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6907 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6909 wxGridTableMessage
* _arg0
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self","comInt1", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6936 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6939 wxGridTableMessage
* _arg0
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("i",_result
);
6963 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6964 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6966 wxGridTableMessage
* _arg0
;
6968 PyObject
* _argo0
= 0;
6969 char *_kwnames
[] = { "self","comInt2", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) return NULL
;
6987 } Py_INCREF(Py_None
);
6988 _resultobj
= Py_None
;
6992 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6993 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6996 wxGridTableMessage
* _arg0
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) return NULL
;
7016 } _resultobj
= Py_BuildValue("i",_result
);
7020 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
7021 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7023 wxGridCellCoords
* _result
;
7024 int _arg0
= (int ) -1;
7025 int _arg1
= (int ) -1;
7026 char *_kwnames
[] = { "r","c", NULL
};
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) return NULL
;
7039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7040 _resultobj
= Py_BuildValue("s",_ptemp
);
7043 _resultobj
= Py_None
;
7048 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
7049 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7051 wxGridCellCoords
* _arg0
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 delete_wxGridCellCoords(_arg0
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } Py_INCREF(Py_None
);
7072 _resultobj
= Py_None
;
7076 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
7077 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7080 wxGridCellCoords
* _arg0
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) return NULL
;
7100 } _resultobj
= Py_BuildValue("i",_result
);
7104 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
7105 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
* _resultobj
;
7107 wxGridCellCoords
* _arg0
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self","n", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxGridCellCoords_SetRow(_arg0
,_arg1
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7134 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7137 wxGridCellCoords
* _arg0
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) return NULL
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7162 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7164 wxGridCellCoords
* _arg0
;
7166 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self","n", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) return NULL
;
7185 } Py_INCREF(Py_None
);
7186 _resultobj
= Py_None
;
7190 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7191 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7193 wxGridCellCoords
* _arg0
;
7196 PyObject
* _argo0
= 0;
7197 char *_kwnames
[] = { "self","row","col", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) return NULL
;
7215 } Py_INCREF(Py_None
);
7216 _resultobj
= Py_None
;
7220 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7221 PyObject
* tup
= PyTuple_New(2);
7222 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7223 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7226 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
* _resultobj
;
7229 wxGridCellCoords
* _arg0
;
7230 PyObject
* _argo0
= 0;
7231 char *_kwnames
[] = { "self", NULL
};
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7250 _resultobj
= _result
;
7255 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7256 return *self
!= other
;
7258 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
* _resultobj
;
7261 wxGridCellCoords
* _arg0
;
7262 wxGridCellCoords
* _arg1
;
7263 PyObject
* _argo0
= 0;
7264 PyObject
* _argo1
= 0;
7265 char *_kwnames
[] = { "self","other", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) return NULL
;
7290 } _resultobj
= Py_BuildValue("i",_result
);
7294 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7296 wxScrolledWindow
*dest
;
7297 src
= (wxGrid
*) ptr
;
7298 dest
= (wxScrolledWindow
*) src
;
7299 return (void *) dest
;
7302 static void *SwigwxGridTowxPanel(void *ptr
) {
7305 src
= (wxGrid
*) ptr
;
7306 dest
= (wxPanel
*) src
;
7307 return (void *) dest
;
7310 static void *SwigwxGridTowxWindow(void *ptr
) {
7313 src
= (wxGrid
*) ptr
;
7314 dest
= (wxWindow
*) src
;
7315 return (void *) dest
;
7318 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7321 src
= (wxGrid
*) ptr
;
7322 dest
= (wxEvtHandler
*) src
;
7323 return (void *) dest
;
7326 static void *SwigwxGridTowxObject(void *ptr
) {
7329 src
= (wxGrid
*) ptr
;
7330 dest
= (wxObject
*) src
;
7331 return (void *) dest
;
7334 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7335 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7340 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7341 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7342 long _arg4
= (long ) wxWANTS_CHARS
;
7343 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7344 PyObject
* _argo0
= 0;
7346 PyObject
* _obj2
= 0;
7348 PyObject
* _obj3
= 0;
7349 PyObject
* _obj5
= 0;
7350 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7366 if (! wxPoint_helper(_obj2
, &_arg2
))
7372 if (! wxSize_helper(_obj3
, &_arg3
))
7377 _arg5
= wxString_in_helper(_obj5
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7389 _resultobj
= Py_BuildValue("s",_ptemp
);
7392 _resultobj
= Py_None
;
7401 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7402 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
* _resultobj
;
7408 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7428 } _resultobj
= Py_BuildValue("i",_result
);
7432 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7433 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7436 WXGRIDSELECTIONMODES _arg1
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self","selmode", NULL
};
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } Py_INCREF(Py_None
);
7457 _resultobj
= Py_None
;
7461 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7462 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7490 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7494 PyObject
* _argo0
= 0;
7495 char *_kwnames
[] = { "self", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7518 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 wxGridTableMessage
* _arg1
;
7523 PyObject
* _argo0
= 0;
7524 PyObject
* _argo1
= 0;
7525 char *_kwnames
[] = { "self","arg2", NULL
};
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) return NULL
;
7550 } _resultobj
= Py_BuildValue("i",_result
);
7554 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7555 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
* _resultobj
;
7557 wxGridTableBase
* _result
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7582 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7583 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7587 wxGridTableBase
* _arg1
;
7588 bool _arg2
= (bool ) FALSE
;
7589 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _argo1
= 0;
7592 int tempbool2
= (int) FALSE
;
7593 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7612 _arg2
= (bool ) tempbool2
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) return NULL
;
7619 } _resultobj
= Py_BuildValue("i",_result
);
7623 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7624 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
* _resultobj
;
7627 PyObject
* _argo0
= 0;
7628 char *_kwnames
[] = { "self", NULL
};
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 wxGrid_ClearGrid(_arg0
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) return NULL
;
7646 } Py_INCREF(Py_None
);
7647 _resultobj
= Py_None
;
7651 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7652 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
* _resultobj
;
7656 int _arg1
= (int ) 0;
7657 int _arg2
= (int ) 1;
7658 bool _arg3
= (bool ) TRUE
;
7659 PyObject
* _argo0
= 0;
7660 int tempbool3
= (int) TRUE
;
7661 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7673 _arg3
= (bool ) tempbool3
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) return NULL
;
7680 } _resultobj
= Py_BuildValue("i",_result
);
7684 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7685 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7689 int _arg1
= (int ) 1;
7690 bool _arg2
= (bool ) TRUE
;
7691 PyObject
* _argo0
= 0;
7692 int tempbool2
= (int) TRUE
;
7693 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7705 _arg2
= (bool ) tempbool2
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) return NULL
;
7712 } _resultobj
= Py_BuildValue("i",_result
);
7716 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7717 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
* _resultobj
;
7721 int _arg1
= (int ) 0;
7722 int _arg2
= (int ) 1;
7723 bool _arg3
= (bool ) TRUE
;
7724 PyObject
* _argo0
= 0;
7725 int tempbool3
= (int) TRUE
;
7726 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7738 _arg3
= (bool ) tempbool3
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) return NULL
;
7745 } _resultobj
= Py_BuildValue("i",_result
);
7749 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7750 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
* _resultobj
;
7754 int _arg1
= (int ) 0;
7755 int _arg2
= (int ) 1;
7756 bool _arg3
= (bool ) TRUE
;
7757 PyObject
* _argo0
= 0;
7758 int tempbool3
= (int) TRUE
;
7759 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7771 _arg3
= (bool ) tempbool3
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } _resultobj
= Py_BuildValue("i",_result
);
7782 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7783 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7787 int _arg1
= (int ) 1;
7788 bool _arg2
= (bool ) TRUE
;
7789 PyObject
* _argo0
= 0;
7790 int tempbool2
= (int) TRUE
;
7791 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7803 _arg2
= (bool ) tempbool2
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7810 } _resultobj
= Py_BuildValue("i",_result
);
7814 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7815 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7819 int _arg1
= (int ) 0;
7820 int _arg2
= (int ) 1;
7821 bool _arg3
= (bool ) TRUE
;
7822 PyObject
* _argo0
= 0;
7823 int tempbool3
= (int) TRUE
;
7824 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7836 _arg3
= (bool ) tempbool3
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) return NULL
;
7843 } _resultobj
= Py_BuildValue("i",_result
);
7847 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7848 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
* _resultobj
;
7852 wxGridCellAttr
* _arg2
;
7853 PyObject
* _argo0
= 0;
7854 PyObject
* _argo1
= 0;
7855 PyObject
* _argo2
= 0;
7856 char *_kwnames
[] = { "self","dc","attr", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7876 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) return NULL
;
7888 } Py_INCREF(Py_None
);
7889 _resultobj
= Py_None
;
7893 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7894 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
* _resultobj
;
7900 int _arg4
= (int ) wxLEFT
;
7901 int _arg5
= (int ) wxTOP
;
7902 PyObject
* _argo0
= 0;
7903 PyObject
* _argo1
= 0;
7904 PyObject
* _obj2
= 0;
7906 PyObject
* _obj3
= 0;
7907 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7927 _arg2
= wxString_in_helper(_obj2
);
7933 if (! wxRect_helper(_obj3
, &_arg3
))
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) return NULL
;
7942 } Py_INCREF(Py_None
);
7943 _resultobj
= Py_None
;
7951 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7952 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
* _resultobj
;
7956 wxArrayString
* _arg2
;
7961 PyObject
* _argo0
= 0;
7962 PyObject
* _argo1
= 0;
7963 PyObject
* _obj2
= 0;
7964 char *_kwnames
[] = { "self","dc","lines", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7990 if (! PySequence_Check(_obj2
)) {
7991 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7994 _arg2
= new wxArrayString
;
7995 int i
, len
=PySequence_Length(_obj2
);
7996 for (i
=0; i
<len
; i
++) {
7997 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7999 PyObject
* str
= PyObject_Unicode(item
);
8000 _arg2
->Add(PyUnicode_AsUnicode(str
));
8002 PyObject
* str
= PyObject_Str(item
);
8003 _arg2
->Add(PyString_AsString(str
));
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8015 } Py_INCREF(Py_None
);
8016 _resultobj
= Py_None
;
8019 o
= PyInt_FromLong((long) (*_arg3
));
8020 _resultobj
= t_output_helper(_resultobj
, o
);
8024 o
= PyInt_FromLong((long) (*_arg4
));
8025 _resultobj
= t_output_helper(_resultobj
, o
);
8034 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8035 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8038 PyObject
* _argo0
= 0;
8039 char *_kwnames
[] = { "self", NULL
};
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
8045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 wxGrid_BeginBatch(_arg0
);
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) return NULL
;
8057 } Py_INCREF(Py_None
);
8058 _resultobj
= Py_None
;
8062 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8063 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
* _resultobj
;
8066 PyObject
* _argo0
= 0;
8067 char *_kwnames
[] = { "self", NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 wxGrid_EndBatch(_arg0
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) return NULL
;
8085 } Py_INCREF(Py_None
);
8086 _resultobj
= Py_None
;
8090 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8091 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
* _resultobj
;
8095 PyObject
* _argo0
= 0;
8096 char *_kwnames
[] = { "self", NULL
};
8099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) return NULL
;
8114 } _resultobj
= Py_BuildValue("i",_result
);
8118 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8119 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
* _resultobj
;
8122 PyObject
* _argo0
= 0;
8123 char *_kwnames
[] = { "self", NULL
};
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxGrid_ForceRefresh(_arg0
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) return NULL
;
8141 } Py_INCREF(Py_None
);
8142 _resultobj
= Py_None
;
8146 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8147 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 bool _arg1
= (bool ) TRUE
;
8151 wxRect
* _arg2
= (wxRect
*) NULL
;
8152 PyObject
* _argo0
= 0;
8153 int tempbool1
= (int) TRUE
;
8155 PyObject
* _obj2
= 0;
8156 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8168 _arg1
= (bool ) tempbool1
;
8172 if (! wxRect_helper(_obj2
, &_arg2
))
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) return NULL
;
8181 } Py_INCREF(Py_None
);
8182 _resultobj
= Py_None
;
8186 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8187 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
* _resultobj
;
8191 PyObject
* _argo0
= 0;
8192 char *_kwnames
[] = { "self", NULL
};
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 _result
= (bool )wxGrid_IsEditable(_arg0
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) return NULL
;
8210 } _resultobj
= Py_BuildValue("i",_result
);
8214 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8215 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8219 PyObject
* _argo0
= 0;
8221 char *_kwnames
[] = { "self","edit", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8233 _arg1
= (bool ) tempbool1
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 wxGrid_EnableEditing(_arg0
,_arg1
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) return NULL
;
8240 } Py_INCREF(Py_None
);
8241 _resultobj
= Py_None
;
8245 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8246 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8249 bool _arg1
= (bool ) TRUE
;
8250 PyObject
* _argo0
= 0;
8251 int tempbool1
= (int) TRUE
;
8252 char *_kwnames
[] = { "self","enable", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8264 _arg1
= (bool ) tempbool1
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) return NULL
;
8271 } Py_INCREF(Py_None
);
8272 _resultobj
= Py_None
;
8276 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8277 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8280 PyObject
* _argo0
= 0;
8281 char *_kwnames
[] = { "self", NULL
};
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 wxGrid_DisableCellEditControl(_arg0
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) return NULL
;
8299 } Py_INCREF(Py_None
);
8300 _resultobj
= Py_None
;
8304 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8305 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8309 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } _resultobj
= Py_BuildValue("i",_result
);
8332 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8333 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
* _resultobj
;
8337 PyObject
* _argo0
= 0;
8338 char *_kwnames
[] = { "self", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } _resultobj
= Py_BuildValue("i",_result
);
8360 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8361 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8365 PyObject
* _argo0
= 0;
8366 char *_kwnames
[] = { "self", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) return NULL
;
8384 } _resultobj
= Py_BuildValue("i",_result
);
8388 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8389 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
* _resultobj
;
8393 PyObject
* _argo0
= 0;
8394 char *_kwnames
[] = { "self", NULL
};
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) return NULL
;
8412 } _resultobj
= Py_BuildValue("i",_result
);
8416 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8417 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8420 PyObject
* _argo0
= 0;
8421 char *_kwnames
[] = { "self", NULL
};
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 wxGrid_ShowCellEditControl(_arg0
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) return NULL
;
8439 } Py_INCREF(Py_None
);
8440 _resultobj
= Py_None
;
8444 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8445 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
* _resultobj
;
8448 PyObject
* _argo0
= 0;
8449 char *_kwnames
[] = { "self", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 wxGrid_HideCellEditControl(_arg0
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8467 } Py_INCREF(Py_None
);
8468 _resultobj
= Py_None
;
8472 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8473 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
* _resultobj
;
8476 PyObject
* _argo0
= 0;
8477 char *_kwnames
[] = { "self", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxGrid_SaveEditControlValue(_arg0
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) return NULL
;
8495 } Py_INCREF(Py_None
);
8496 _resultobj
= Py_None
;
8500 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8501 wxGridCellCoords rv
;
8502 self
->XYToCell(x
, y
, rv
);
8503 return new wxGridCellCoords(rv
);
8505 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8507 wxGridCellCoords
* _result
;
8511 PyObject
* _argo0
= 0;
8512 char *_kwnames
[] = { "self","x","y", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) return NULL
;
8532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8533 _resultobj
= Py_BuildValue("s",_ptemp
);
8536 _resultobj
= Py_None
;
8541 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8542 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
* _resultobj
;
8547 PyObject
* _argo0
= 0;
8548 char *_kwnames
[] = { "self","y", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8566 } _resultobj
= Py_BuildValue("i",_result
);
8570 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8571 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8576 PyObject
* _argo0
= 0;
8577 char *_kwnames
[] = { "self","x", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) return NULL
;
8595 } _resultobj
= Py_BuildValue("i",_result
);
8599 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8600 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8605 PyObject
* _argo0
= 0;
8606 char *_kwnames
[] = { "self","y", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8624 } _resultobj
= Py_BuildValue("i",_result
);
8628 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8629 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self","x", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8658 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8664 PyObject
* _argo0
= 0;
8665 char *_kwnames
[] = { "self","row","col", NULL
};
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) return NULL
;
8684 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8685 _resultobj
= Py_BuildValue("s",_ptemp
);
8689 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8690 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
* _resultobj
;
8694 PyObject
* _argo0
= 0;
8695 char *_kwnames
[] = { "self", NULL
};
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) return NULL
;
8713 } _resultobj
= Py_BuildValue("i",_result
);
8717 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8718 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
* _resultobj
;
8722 PyObject
* _argo0
= 0;
8723 char *_kwnames
[] = { "self", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8741 } _resultobj
= Py_BuildValue("i",_result
);
8745 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8746 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8752 bool _arg3
= (bool ) TRUE
;
8753 PyObject
* _argo0
= 0;
8754 int tempbool3
= (int) TRUE
;
8755 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8767 _arg3
= (bool ) tempbool3
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) return NULL
;
8774 } _resultobj
= Py_BuildValue("i",_result
);
8778 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8779 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8784 PyObject
* _argo0
= 0;
8785 char *_kwnames
[] = { "self","row","col", NULL
};
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) return NULL
;
8803 } Py_INCREF(Py_None
);
8804 _resultobj
= Py_None
;
8808 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8809 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
* _resultobj
;
8814 PyObject
* _argo0
= 0;
8815 char *_kwnames
[] = { "self","row","col", NULL
};
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) return NULL
;
8833 } Py_INCREF(Py_None
);
8834 _resultobj
= Py_None
;
8838 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8839 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
* _resultobj
;
8844 PyObject
* _argo0
= 0;
8846 char *_kwnames
[] = { "self","expandSelection", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8858 _arg1
= (bool ) tempbool1
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) return NULL
;
8865 } _resultobj
= Py_BuildValue("i",_result
);
8869 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8870 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
* _resultobj
;
8875 PyObject
* _argo0
= 0;
8877 char *_kwnames
[] = { "self","expandSelection", NULL
};
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8889 _arg1
= (bool ) tempbool1
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 } _resultobj
= Py_BuildValue("i",_result
);
8900 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8901 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
* _resultobj
;
8906 PyObject
* _argo0
= 0;
8908 char *_kwnames
[] = { "self","expandSelection", NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8920 _arg1
= (bool ) tempbool1
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) return NULL
;
8927 } _resultobj
= Py_BuildValue("i",_result
);
8931 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8932 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8937 PyObject
* _argo0
= 0;
8939 char *_kwnames
[] = { "self","expandSelection", NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8951 _arg1
= (bool ) tempbool1
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } _resultobj
= Py_BuildValue("i",_result
);
8962 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8963 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8967 PyObject
* _argo0
= 0;
8968 char *_kwnames
[] = { "self", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } _resultobj
= Py_BuildValue("i",_result
);
8990 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8991 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
* _resultobj
;
8995 PyObject
* _argo0
= 0;
8996 char *_kwnames
[] = { "self", NULL
};
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
9002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } _resultobj
= Py_BuildValue("i",_result
);
9018 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9019 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9024 PyObject
* _argo0
= 0;
9026 char *_kwnames
[] = { "self","expandSelection", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9038 _arg1
= (bool ) tempbool1
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) return NULL
;
9045 } _resultobj
= Py_BuildValue("i",_result
);
9049 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9050 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
* _resultobj
;
9055 PyObject
* _argo0
= 0;
9057 char *_kwnames
[] = { "self","expandSelection", NULL
};
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9069 _arg1
= (bool ) tempbool1
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) return NULL
;
9076 } _resultobj
= Py_BuildValue("i",_result
);
9080 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9081 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9086 PyObject
* _argo0
= 0;
9088 char *_kwnames
[] = { "self","expandSelection", NULL
};
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9100 _arg1
= (bool ) tempbool1
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) return NULL
;
9107 } _resultobj
= Py_BuildValue("i",_result
);
9111 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9112 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
* _resultobj
;
9117 PyObject
* _argo0
= 0;
9119 char *_kwnames
[] = { "self","expandSelection", NULL
};
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9131 _arg1
= (bool ) tempbool1
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) return NULL
;
9138 } _resultobj
= Py_BuildValue("i",_result
);
9142 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9143 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
* _resultobj
;
9147 PyObject
* _argo0
= 0;
9148 char *_kwnames
[] = { "self", NULL
};
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) return NULL
;
9166 } _resultobj
= Py_BuildValue("i",_result
);
9170 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9171 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
* _resultobj
;
9175 PyObject
* _argo0
= 0;
9176 char *_kwnames
[] = { "self", NULL
};
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) return NULL
;
9194 } _resultobj
= Py_BuildValue("i",_result
);
9198 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9199 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
* _resultobj
;
9203 PyObject
* _argo0
= 0;
9204 char *_kwnames
[] = { "self", NULL
};
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) return NULL
;
9222 } _resultobj
= Py_BuildValue("i",_result
);
9226 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9227 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
* _resultobj
;
9231 PyObject
* _argo0
= 0;
9232 char *_kwnames
[] = { "self", NULL
};
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) return NULL
;
9250 } _resultobj
= Py_BuildValue("i",_result
);
9254 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9255 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
* _resultobj
;
9259 PyObject
* _argo0
= 0;
9260 char *_kwnames
[] = { "self", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9280 _resultobj
= Py_BuildValue("s",_ptemp
);
9284 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9285 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9290 char *_kwnames
[] = { "self", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) return NULL
;
9309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9310 _resultobj
= Py_BuildValue("s",_ptemp
);
9314 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9315 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9319 PyObject
* _argo0
= 0;
9320 char *_kwnames
[] = { "self", NULL
};
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) return NULL
;
9339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9340 _resultobj
= Py_BuildValue("s",_ptemp
);
9344 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9345 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
* _resultobj
;
9352 PyObject
* _argo0
= 0;
9353 char *_kwnames
[] = { "self", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) return NULL
;
9377 } Py_INCREF(Py_None
);
9378 _resultobj
= Py_None
;
9381 o
= PyInt_FromLong((long) (*_arg1
));
9382 _resultobj
= t_output_helper(_resultobj
, o
);
9386 o
= PyInt_FromLong((long) (*_arg2
));
9387 _resultobj
= t_output_helper(_resultobj
, o
);
9392 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9393 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
* _resultobj
;
9400 PyObject
* _argo0
= 0;
9401 char *_kwnames
[] = { "self", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } Py_INCREF(Py_None
);
9426 _resultobj
= Py_None
;
9429 o
= PyInt_FromLong((long) (*_arg1
));
9430 _resultobj
= t_output_helper(_resultobj
, o
);
9434 o
= PyInt_FromLong((long) (*_arg2
));
9435 _resultobj
= t_output_helper(_resultobj
, o
);
9440 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9441 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
* _resultobj
;
9446 PyObject
* _argo0
= 0;
9447 char *_kwnames
[] = { "self","row", NULL
};
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) return NULL
;
9467 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9469 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9478 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9479 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9484 PyObject
* _argo0
= 0;
9485 char *_kwnames
[] = { "self","col", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) return NULL
;
9505 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9507 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9516 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9517 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
* _resultobj
;
9521 PyObject
* _argo0
= 0;
9522 char *_kwnames
[] = { "self", NULL
};
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) return NULL
;
9541 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9542 _resultobj
= Py_BuildValue("s",_ptemp
);
9546 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9547 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
* _resultobj
;
9551 PyObject
* _argo0
= 0;
9552 char *_kwnames
[] = { "self", NULL
};
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9571 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9572 _resultobj
= Py_BuildValue("s",_ptemp
);
9576 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9577 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9581 PyObject
* _argo0
= 0;
9582 char *_kwnames
[] = { "self", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) return NULL
;
9600 } _resultobj
= Py_BuildValue("i",_result
);
9604 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9605 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
* _resultobj
;
9609 PyObject
* _argo0
= 0;
9610 char *_kwnames
[] = { "self", NULL
};
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) return NULL
;
9628 } _resultobj
= Py_BuildValue("i",_result
);
9632 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9633 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9637 PyObject
* _argo0
= 0;
9638 char *_kwnames
[] = { "self","width", NULL
};
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) return NULL
;
9656 } Py_INCREF(Py_None
);
9657 _resultobj
= Py_None
;
9661 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9662 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
* _resultobj
;
9666 PyObject
* _argo0
= 0;
9667 char *_kwnames
[] = { "self","height", NULL
};
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) return NULL
;
9685 } Py_INCREF(Py_None
);
9686 _resultobj
= Py_None
;
9690 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9691 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
* _resultobj
;
9695 PyObject
* _argo0
= 0;
9697 PyObject
* _obj1
= 0;
9698 char *_kwnames
[] = { "self","arg2", NULL
};
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9712 if (! wxColour_helper(_obj1
, &_arg1
))
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) return NULL
;
9721 } Py_INCREF(Py_None
);
9722 _resultobj
= Py_None
;
9726 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9727 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
* _resultobj
;
9731 PyObject
* _argo0
= 0;
9733 PyObject
* _obj1
= 0;
9734 char *_kwnames
[] = { "self","arg2", NULL
};
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9748 if (! wxColour_helper(_obj1
, &_arg1
))
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) return NULL
;
9757 } Py_INCREF(Py_None
);
9758 _resultobj
= Py_None
;
9762 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9763 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
* _resultobj
;
9767 PyObject
* _argo0
= 0;
9768 PyObject
* _argo1
= 0;
9769 char *_kwnames
[] = { "self","arg2", NULL
};
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) return NULL
;
9794 } Py_INCREF(Py_None
);
9795 _resultobj
= Py_None
;
9799 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9800 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
* _resultobj
;
9805 PyObject
* _argo0
= 0;
9806 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) return NULL
;
9824 } Py_INCREF(Py_None
);
9825 _resultobj
= Py_None
;
9829 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9830 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
* _resultobj
;
9835 PyObject
* _argo0
= 0;
9836 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) return NULL
;
9854 } Py_INCREF(Py_None
);
9855 _resultobj
= Py_None
;
9859 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9860 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
* _resultobj
;
9865 PyObject
* _argo0
= 0;
9866 PyObject
* _obj2
= 0;
9867 char *_kwnames
[] = { "self","row","arg3", NULL
};
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9880 _arg2
= wxString_in_helper(_obj2
);
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) return NULL
;
9890 } Py_INCREF(Py_None
);
9891 _resultobj
= Py_None
;
9899 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9900 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9905 PyObject
* _argo0
= 0;
9906 PyObject
* _obj2
= 0;
9907 char *_kwnames
[] = { "self","col","arg3", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9920 _arg2
= wxString_in_helper(_obj2
);
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) return NULL
;
9930 } Py_INCREF(Py_None
);
9931 _resultobj
= Py_None
;
9939 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9940 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
* _resultobj
;
9944 PyObject
* _argo0
= 0;
9946 PyObject
* _obj1
= 0;
9947 char *_kwnames
[] = { "self","arg2", NULL
};
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9961 if (! wxColour_helper(_obj1
, &_arg1
))
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) return NULL
;
9970 } Py_INCREF(Py_None
);
9971 _resultobj
= Py_None
;
9975 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9976 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
* _resultobj
;
9980 PyObject
* _argo0
= 0;
9982 PyObject
* _obj1
= 0;
9983 char *_kwnames
[] = { "self","arg2", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9997 if (! wxColour_helper(_obj1
, &_arg1
))
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10006 } Py_INCREF(Py_None
);
10007 _resultobj
= Py_None
;
10011 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10012 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
* _resultobj
;
10016 PyObject
* _argo0
= 0;
10017 char *_kwnames
[] = { "self","width", NULL
};
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) return NULL
;
10035 } Py_INCREF(Py_None
);
10036 _resultobj
= Py_None
;
10040 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10041 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(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_SetCellHighlightROPenWidth",_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_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) return NULL
;
10064 } Py_INCREF(Py_None
);
10065 _resultobj
= Py_None
;
10069 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10070 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
* _resultobj
;
10073 bool _arg1
= (bool ) TRUE
;
10074 PyObject
* _argo0
= 0;
10075 int tempbool1
= (int) TRUE
;
10076 char *_kwnames
[] = { "self","enable", NULL
};
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10088 _arg1
= (bool ) tempbool1
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) return NULL
;
10095 } Py_INCREF(Py_None
);
10096 _resultobj
= Py_None
;
10100 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10101 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
* _resultobj
;
10104 PyObject
* _argo0
= 0;
10105 char *_kwnames
[] = { "self", NULL
};
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 wxGrid_DisableDragRowSize(_arg0
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) return NULL
;
10123 } Py_INCREF(Py_None
);
10124 _resultobj
= Py_None
;
10128 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10129 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10133 PyObject
* _argo0
= 0;
10134 char *_kwnames
[] = { "self", NULL
};
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) return NULL
;
10152 } _resultobj
= Py_BuildValue("i",_result
);
10156 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10157 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
* _resultobj
;
10160 bool _arg1
= (bool ) TRUE
;
10161 PyObject
* _argo0
= 0;
10162 int tempbool1
= (int) TRUE
;
10163 char *_kwnames
[] = { "self","enable", NULL
};
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10175 _arg1
= (bool ) tempbool1
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) return NULL
;
10182 } Py_INCREF(Py_None
);
10183 _resultobj
= Py_None
;
10187 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10188 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
* _resultobj
;
10191 PyObject
* _argo0
= 0;
10192 char *_kwnames
[] = { "self", NULL
};
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 wxGrid_DisableDragColSize(_arg0
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) return NULL
;
10210 } Py_INCREF(Py_None
);
10211 _resultobj
= Py_None
;
10215 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10216 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10220 PyObject
* _argo0
= 0;
10221 char *_kwnames
[] = { "self", NULL
};
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) return NULL
;
10239 } _resultobj
= Py_BuildValue("i",_result
);
10243 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10244 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
* _resultobj
;
10247 bool _arg1
= (bool ) TRUE
;
10248 PyObject
* _argo0
= 0;
10249 int tempbool1
= (int) TRUE
;
10250 char *_kwnames
[] = { "self","enable", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10262 _arg1
= (bool ) tempbool1
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) return NULL
;
10269 } Py_INCREF(Py_None
);
10270 _resultobj
= Py_None
;
10274 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10275 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
* _resultobj
;
10278 PyObject
* _argo0
= 0;
10279 char *_kwnames
[] = { "self", NULL
};
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxGrid_DisableDragGridSize(_arg0
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) return NULL
;
10297 } Py_INCREF(Py_None
);
10298 _resultobj
= Py_None
;
10302 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10303 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10307 PyObject
* _argo0
= 0;
10308 char *_kwnames
[] = { "self", NULL
};
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) return NULL
;
10326 } _resultobj
= Py_BuildValue("i",_result
);
10330 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10331 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
* _resultobj
;
10336 wxGridCellAttr
* _arg3
;
10337 PyObject
* _argo0
= 0;
10338 PyObject
* _argo3
= 0;
10339 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10352 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10353 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) return NULL
;
10364 } Py_INCREF(Py_None
);
10365 _resultobj
= Py_None
;
10369 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10370 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
* _resultobj
;
10374 wxGridCellAttr
* _arg2
;
10375 PyObject
* _argo0
= 0;
10376 PyObject
* _argo2
= 0;
10377 char *_kwnames
[] = { "self","row","attr", NULL
};
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) return NULL
;
10402 } Py_INCREF(Py_None
);
10403 _resultobj
= Py_None
;
10407 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10408 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
* _resultobj
;
10412 wxGridCellAttr
* _arg2
;
10413 PyObject
* _argo0
= 0;
10414 PyObject
* _argo2
= 0;
10415 char *_kwnames
[] = { "self","col","attr", NULL
};
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10428 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10429 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) return NULL
;
10440 } Py_INCREF(Py_None
);
10441 _resultobj
= Py_None
;
10445 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10446 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
* _resultobj
;
10450 PyObject
* _argo0
= 0;
10451 char *_kwnames
[] = { "self","col", NULL
};
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) return NULL
;
10469 } Py_INCREF(Py_None
);
10470 _resultobj
= Py_None
;
10474 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10475 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
* _resultobj
;
10479 PyObject
* _argo0
= 0;
10480 char *_kwnames
[] = { "self","col", NULL
};
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) return NULL
;
10498 } Py_INCREF(Py_None
);
10499 _resultobj
= Py_None
;
10503 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10504 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
* _resultobj
;
10508 int _arg2
= (int ) -1;
10509 int _arg3
= (int ) -1;
10510 PyObject
* _argo0
= 0;
10511 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } Py_INCREF(Py_None
);
10530 _resultobj
= Py_None
;
10534 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10535 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
* _resultobj
;
10540 PyObject
* _argo0
= 0;
10541 PyObject
* _obj2
= 0;
10542 char *_kwnames
[] = { "self","col","typeName", NULL
};
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10555 _arg2
= wxString_in_helper(_obj2
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10565 } Py_INCREF(Py_None
);
10566 _resultobj
= Py_None
;
10574 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10575 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
* _resultobj
;
10578 bool _arg1
= (bool ) TRUE
;
10579 PyObject
* _argo0
= 0;
10580 int tempbool1
= (int) TRUE
;
10581 char *_kwnames
[] = { "self","enable", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10593 _arg1
= (bool ) tempbool1
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 wxGrid_EnableGridLines(_arg0
,_arg1
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) return NULL
;
10600 } Py_INCREF(Py_None
);
10601 _resultobj
= Py_None
;
10605 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10606 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
* _resultobj
;
10610 PyObject
* _argo0
= 0;
10611 char *_kwnames
[] = { "self", NULL
};
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) return NULL
;
10629 } _resultobj
= Py_BuildValue("i",_result
);
10633 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10634 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10638 PyObject
* _argo0
= 0;
10639 char *_kwnames
[] = { "self", NULL
};
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) return NULL
;
10657 } _resultobj
= Py_BuildValue("i",_result
);
10661 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10662 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self","row", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10686 } _resultobj
= Py_BuildValue("i",_result
);
10690 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10691 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
* _resultobj
;
10695 PyObject
* _argo0
= 0;
10696 char *_kwnames
[] = { "self", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } _resultobj
= Py_BuildValue("i",_result
);
10718 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10719 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
* _resultobj
;
10724 PyObject
* _argo0
= 0;
10725 char *_kwnames
[] = { "self","col", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) return NULL
;
10743 } _resultobj
= Py_BuildValue("i",_result
);
10747 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10748 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
* _resultobj
;
10750 wxColour
* _result
;
10752 PyObject
* _argo0
= 0;
10753 char *_kwnames
[] = { "self", NULL
};
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) return NULL
;
10772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10773 _resultobj
= Py_BuildValue("s",_ptemp
);
10777 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10778 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxColour
* _result
;
10784 PyObject
* _argo0
= 0;
10785 char *_kwnames
[] = { "self","row","col", NULL
};
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) return NULL
;
10804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10805 _resultobj
= Py_BuildValue("s",_ptemp
);
10809 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10810 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
* _resultobj
;
10812 wxColour
* _result
;
10814 PyObject
* _argo0
= 0;
10815 char *_kwnames
[] = { "self", NULL
};
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) return NULL
;
10834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10835 _resultobj
= Py_BuildValue("s",_ptemp
);
10839 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10840 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
* _resultobj
;
10842 wxColour
* _result
;
10846 PyObject
* _argo0
= 0;
10847 char *_kwnames
[] = { "self","row","col", NULL
};
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) return NULL
;
10866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10867 _resultobj
= Py_BuildValue("s",_ptemp
);
10871 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10872 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
* _resultobj
;
10876 PyObject
* _argo0
= 0;
10877 char *_kwnames
[] = { "self", NULL
};
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) return NULL
;
10896 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10897 _resultobj
= Py_BuildValue("s",_ptemp
);
10901 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10902 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
* _resultobj
;
10908 PyObject
* _argo0
= 0;
10909 char *_kwnames
[] = { "self","row","col", NULL
};
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) return NULL
;
10928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10929 _resultobj
= Py_BuildValue("s",_ptemp
);
10933 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10934 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
* _resultobj
;
10939 PyObject
* _argo0
= 0;
10940 PyObject
* _argo1
= 0;
10941 PyObject
* _argo2
= 0;
10942 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10962 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10963 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) return NULL
;
10974 } Py_INCREF(Py_None
);
10975 _resultobj
= Py_None
;
10979 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10980 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
* _resultobj
;
10987 PyObject
* _argo0
= 0;
10988 PyObject
* _argo3
= 0;
10989 PyObject
* _argo4
= 0;
10990 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11003 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11004 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
11005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11010 if (_argo4
== Py_None
) { _arg4
= NULL
; }
11011 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
11012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) return NULL
;
11022 } Py_INCREF(Py_None
);
11023 _resultobj
= Py_None
;
11027 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11028 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
* _resultobj
;
11032 PyObject
* _argo0
= 0;
11033 char *_kwnames
[] = { "self", NULL
};
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) return NULL
;
11051 } _resultobj
= Py_BuildValue("i",_result
);
11055 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11056 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
* _resultobj
;
11062 PyObject
* _argo0
= 0;
11063 char *_kwnames
[] = { "self","row","col", NULL
};
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) return NULL
;
11081 } _resultobj
= Py_BuildValue("i",_result
);
11085 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11086 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
* _resultobj
;
11095 PyObject
* _argo0
= 0;
11096 char *_kwnames
[] = { "self","row","col", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) return NULL
;
11120 } Py_INCREF(Py_None
);
11121 _resultobj
= Py_None
;
11124 o
= PyInt_FromLong((long) (*_arg3
));
11125 _resultobj
= t_output_helper(_resultobj
, o
);
11129 o
= PyInt_FromLong((long) (*_arg4
));
11130 _resultobj
= t_output_helper(_resultobj
, o
);
11135 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11136 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
* _resultobj
;
11140 bool _arg2
= (bool ) FALSE
;
11141 PyObject
* _argo0
= 0;
11142 int tempbool2
= (int) FALSE
;
11143 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11155 _arg2
= (bool ) tempbool2
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) return NULL
;
11162 } Py_INCREF(Py_None
);
11163 _resultobj
= Py_None
;
11167 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11168 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
* _resultobj
;
11173 PyObject
* _argo0
= 0;
11174 char *_kwnames
[] = { "self","row","height", NULL
};
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) return NULL
;
11192 } Py_INCREF(Py_None
);
11193 _resultobj
= Py_None
;
11197 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11198 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
* _resultobj
;
11202 bool _arg2
= (bool ) FALSE
;
11203 PyObject
* _argo0
= 0;
11204 int tempbool2
= (int) FALSE
;
11205 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11217 _arg2
= (bool ) tempbool2
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) return NULL
;
11224 } Py_INCREF(Py_None
);
11225 _resultobj
= Py_None
;
11229 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11230 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
* _resultobj
;
11235 PyObject
* _argo0
= 0;
11236 char *_kwnames
[] = { "self","col","width", NULL
};
11239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) return NULL
;
11254 } Py_INCREF(Py_None
);
11255 _resultobj
= Py_None
;
11259 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11260 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
* _resultobj
;
11264 bool _arg2
= (bool ) TRUE
;
11265 PyObject
* _argo0
= 0;
11266 int tempbool2
= (int) TRUE
;
11267 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11279 _arg2
= (bool ) tempbool2
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) return NULL
;
11286 } Py_INCREF(Py_None
);
11287 _resultobj
= Py_None
;
11291 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11292 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
* _resultobj
;
11296 bool _arg2
= (bool ) TRUE
;
11297 PyObject
* _argo0
= 0;
11298 int tempbool2
= (int) TRUE
;
11299 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11311 _arg2
= (bool ) tempbool2
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) return NULL
;
11318 } Py_INCREF(Py_None
);
11319 _resultobj
= Py_None
;
11323 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11324 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
* _resultobj
;
11327 bool _arg1
= (bool ) TRUE
;
11328 PyObject
* _argo0
= 0;
11329 int tempbool1
= (int) TRUE
;
11330 char *_kwnames
[] = { "self","setAsMin", NULL
};
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11342 _arg1
= (bool ) tempbool1
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) return NULL
;
11349 } Py_INCREF(Py_None
);
11350 _resultobj
= Py_None
;
11354 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11355 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
* _resultobj
;
11358 bool _arg1
= (bool ) TRUE
;
11359 PyObject
* _argo0
= 0;
11360 int tempbool1
= (int) TRUE
;
11361 char *_kwnames
[] = { "self","setAsMin", NULL
};
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11373 _arg1
= (bool ) tempbool1
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) return NULL
;
11380 } Py_INCREF(Py_None
);
11381 _resultobj
= Py_None
;
11385 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11386 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
* _resultobj
;
11389 PyObject
* _argo0
= 0;
11390 char *_kwnames
[] = { "self", NULL
};
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 wxGrid_AutoSize(_arg0
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) return NULL
;
11408 } Py_INCREF(Py_None
);
11409 _resultobj
= Py_None
;
11413 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11414 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
* _resultobj
;
11419 PyObject
* _argo0
= 0;
11420 char *_kwnames
[] = { "self","col","width", NULL
};
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) return NULL
;
11438 } Py_INCREF(Py_None
);
11439 _resultobj
= Py_None
;
11443 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11444 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
* _resultobj
;
11449 PyObject
* _argo0
= 0;
11450 char *_kwnames
[] = { "self","row","width", NULL
};
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) return NULL
;
11468 } Py_INCREF(Py_None
);
11469 _resultobj
= Py_None
;
11473 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11474 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
* _resultobj
;
11478 PyObject
* _argo0
= 0;
11480 PyObject
* _obj1
= 0;
11481 char *_kwnames
[] = { "self","arg2", NULL
};
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11495 if (! wxColour_helper(_obj1
, &_arg1
))
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) return NULL
;
11504 } Py_INCREF(Py_None
);
11505 _resultobj
= Py_None
;
11509 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11510 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
* _resultobj
;
11516 PyObject
* _argo0
= 0;
11518 PyObject
* _obj3
= 0;
11519 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11533 if (! wxColour_helper(_obj3
, &_arg3
))
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) return NULL
;
11542 } Py_INCREF(Py_None
);
11543 _resultobj
= Py_None
;
11547 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11548 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
* _resultobj
;
11552 PyObject
* _argo0
= 0;
11554 PyObject
* _obj1
= 0;
11555 char *_kwnames
[] = { "self","arg2", NULL
};
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11569 if (! wxColour_helper(_obj1
, &_arg1
))
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) return NULL
;
11578 } Py_INCREF(Py_None
);
11579 _resultobj
= Py_None
;
11583 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11584 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
* _resultobj
;
11590 PyObject
* _argo0
= 0;
11592 PyObject
* _obj3
= 0;
11593 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11607 if (! wxColour_helper(_obj3
, &_arg3
))
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) return NULL
;
11616 } Py_INCREF(Py_None
);
11617 _resultobj
= Py_None
;
11621 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11622 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
* _resultobj
;
11626 PyObject
* _argo0
= 0;
11627 PyObject
* _argo1
= 0;
11628 char *_kwnames
[] = { "self","arg2", NULL
};
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) return NULL
;
11653 } Py_INCREF(Py_None
);
11654 _resultobj
= Py_None
;
11658 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11659 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
* _resultobj
;
11665 PyObject
* _argo0
= 0;
11666 PyObject
* _argo3
= 0;
11667 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11680 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11681 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) return NULL
;
11692 } Py_INCREF(Py_None
);
11693 _resultobj
= Py_None
;
11697 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11698 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
* _resultobj
;
11703 PyObject
* _argo0
= 0;
11704 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) return NULL
;
11722 } Py_INCREF(Py_None
);
11723 _resultobj
= Py_None
;
11727 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11728 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
* _resultobj
;
11735 PyObject
* _argo0
= 0;
11736 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) return NULL
;
11754 } Py_INCREF(Py_None
);
11755 _resultobj
= Py_None
;
11759 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
11760 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
* _resultobj
;
11764 PyObject
* _argo0
= 0;
11766 char *_kwnames
[] = { "self","allow", NULL
};
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
11772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
11778 _arg1
= (bool ) tempbool1
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) return NULL
;
11785 } Py_INCREF(Py_None
);
11786 _resultobj
= Py_None
;
11790 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
11791 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
* _resultobj
;
11797 PyObject
* _argo0
= 0;
11799 char *_kwnames
[] = { "self","row","col","allow", NULL
};
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
11811 _arg3
= (bool ) tempbool3
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) return NULL
;
11818 } Py_INCREF(Py_None
);
11819 _resultobj
= Py_None
;
11823 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11824 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
* _resultobj
;
11831 PyObject
* _argo0
= 0;
11832 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
11835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) return NULL
;
11850 } Py_INCREF(Py_None
);
11851 _resultobj
= Py_None
;
11855 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11856 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
* _resultobj
;
11859 wxGridCellRenderer
* _arg1
;
11860 PyObject
* _argo0
= 0;
11861 PyObject
* _argo1
= 0;
11862 char *_kwnames
[] = { "self","renderer", NULL
};
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) return NULL
;
11887 } Py_INCREF(Py_None
);
11888 _resultobj
= Py_None
;
11892 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11893 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
* _resultobj
;
11898 wxGridCellRenderer
* _arg3
;
11899 PyObject
* _argo0
= 0;
11900 PyObject
* _argo3
= 0;
11901 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11914 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11915 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) return NULL
;
11926 } Py_INCREF(Py_None
);
11927 _resultobj
= Py_None
;
11931 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11932 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
* _resultobj
;
11934 wxGridCellRenderer
* _result
;
11936 PyObject
* _argo0
= 0;
11937 char *_kwnames
[] = { "self", NULL
};
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) return NULL
;
11955 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11959 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11960 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
* _resultobj
;
11962 wxGridCellRenderer
* _result
;
11966 PyObject
* _argo0
= 0;
11967 char *_kwnames
[] = { "self","row","col", NULL
};
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) return NULL
;
11985 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11989 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11990 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
* _resultobj
;
11993 wxGridCellEditor
* _arg1
;
11994 PyObject
* _argo0
= 0;
11995 PyObject
* _argo1
= 0;
11996 char *_kwnames
[] = { "self","editor", NULL
};
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12009 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12010 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) return NULL
;
12021 } Py_INCREF(Py_None
);
12022 _resultobj
= Py_None
;
12026 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12027 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
* _resultobj
;
12032 wxGridCellEditor
* _arg3
;
12033 PyObject
* _argo0
= 0;
12034 PyObject
* _argo3
= 0;
12035 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
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_SetCellEditor. Expected _wxGrid_p.");
12048 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12049 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) return NULL
;
12060 } Py_INCREF(Py_None
);
12061 _resultobj
= Py_None
;
12065 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12066 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
* _resultobj
;
12068 wxGridCellEditor
* _result
;
12070 PyObject
* _argo0
= 0;
12071 char *_kwnames
[] = { "self", NULL
};
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) return NULL
;
12089 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12093 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12094 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
* _resultobj
;
12096 wxGridCellEditor
* _result
;
12100 PyObject
* _argo0
= 0;
12101 char *_kwnames
[] = { "self","row","col", NULL
};
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) return NULL
;
12119 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12123 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12124 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
* _resultobj
;
12126 wxString
* _result
;
12130 PyObject
* _argo0
= 0;
12131 char *_kwnames
[] = { "self","row","col", NULL
};
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetCellValue. Expected _wxGrid_p.");
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) return NULL
;
12151 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
12153 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12162 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12163 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
* _resultobj
;
12169 PyObject
* _argo0
= 0;
12170 PyObject
* _obj3
= 0;
12171 char *_kwnames
[] = { "self","row","col","s", NULL
};
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12184 _arg3
= wxString_in_helper(_obj3
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) return NULL
;
12194 } Py_INCREF(Py_None
);
12195 _resultobj
= Py_None
;
12203 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12204 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
* _resultobj
;
12210 PyObject
* _argo0
= 0;
12211 char *_kwnames
[] = { "self","row","col", NULL
};
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) return NULL
;
12229 } _resultobj
= Py_BuildValue("i",_result
);
12233 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12234 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
* _resultobj
;
12239 bool _arg3
= (bool ) TRUE
;
12240 PyObject
* _argo0
= 0;
12241 int tempbool3
= (int) TRUE
;
12242 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12254 _arg3
= (bool ) tempbool3
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) return NULL
;
12261 } Py_INCREF(Py_None
);
12262 _resultobj
= Py_None
;
12266 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12267 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
* _resultobj
;
12271 bool _arg2
= (bool ) FALSE
;
12272 PyObject
* _argo0
= 0;
12273 int tempbool2
= (int) FALSE
;
12274 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12286 _arg2
= (bool ) tempbool2
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) return NULL
;
12293 } Py_INCREF(Py_None
);
12294 _resultobj
= Py_None
;
12298 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12299 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
* _resultobj
;
12303 bool _arg2
= (bool ) FALSE
;
12304 PyObject
* _argo0
= 0;
12305 int tempbool2
= (int) FALSE
;
12306 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12318 _arg2
= (bool ) tempbool2
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) return NULL
;
12325 } Py_INCREF(Py_None
);
12326 _resultobj
= Py_None
;
12330 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12331 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
* _resultobj
;
12338 bool _arg5
= (bool ) FALSE
;
12339 PyObject
* _argo0
= 0;
12340 int tempbool5
= (int) FALSE
;
12341 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12353 _arg5
= (bool ) tempbool5
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) return NULL
;
12360 } Py_INCREF(Py_None
);
12361 _resultobj
= Py_None
;
12365 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12366 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
* _resultobj
;
12369 PyObject
* _argo0
= 0;
12370 char *_kwnames
[] = { "self", NULL
};
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 wxGrid_SelectAll(_arg0
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) return NULL
;
12388 } Py_INCREF(Py_None
);
12389 _resultobj
= Py_None
;
12393 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12394 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
* _resultobj
;
12398 PyObject
* _argo0
= 0;
12399 char *_kwnames
[] = { "self", NULL
};
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 _result
= (bool )wxGrid_IsSelection(_arg0
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) return NULL
;
12417 } _resultobj
= Py_BuildValue("i",_result
);
12421 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12422 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
* _resultobj
;
12425 PyObject
* _argo0
= 0;
12426 char *_kwnames
[] = { "self", NULL
};
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 wxGrid_ClearSelection(_arg0
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) return NULL
;
12444 } Py_INCREF(Py_None
);
12445 _resultobj
= Py_None
;
12449 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12450 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
* _resultobj
;
12456 PyObject
* _argo0
= 0;
12457 char *_kwnames
[] = { "self","row","col", NULL
};
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) return NULL
;
12475 } _resultobj
= Py_BuildValue("i",_result
);
12479 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12480 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
* _resultobj
;
12484 wxGridCellCoords
* _arg1
;
12485 wxGridCellCoords
* _arg2
;
12486 PyObject
* _argo0
= 0;
12487 wxGridCellCoords temp
;
12488 PyObject
* _obj1
= 0;
12489 wxGridCellCoords temp0
;
12490 PyObject
* _obj2
= 0;
12491 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12506 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12511 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) return NULL
;
12520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12521 _resultobj
= Py_BuildValue("s",_ptemp
);
12525 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12526 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
* _resultobj
;
12528 wxColour
* _result
;
12530 PyObject
* _argo0
= 0;
12531 char *_kwnames
[] = { "self", NULL
};
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) return NULL
;
12550 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12551 _resultobj
= Py_BuildValue("s",_ptemp
);
12555 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12556 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
* _resultobj
;
12558 wxColour
* _result
;
12560 PyObject
* _argo0
= 0;
12561 char *_kwnames
[] = { "self", NULL
};
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) return NULL
;
12580 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12581 _resultobj
= Py_BuildValue("s",_ptemp
);
12585 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12586 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
* _resultobj
;
12590 PyObject
* _argo0
= 0;
12592 PyObject
* _obj1
= 0;
12593 char *_kwnames
[] = { "self","c", NULL
};
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12607 if (! wxColour_helper(_obj1
, &_arg1
))
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) return NULL
;
12616 } Py_INCREF(Py_None
);
12617 _resultobj
= Py_None
;
12621 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12622 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
* _resultobj
;
12626 PyObject
* _argo0
= 0;
12628 PyObject
* _obj1
= 0;
12629 char *_kwnames
[] = { "self","c", NULL
};
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12643 if (! wxColour_helper(_obj1
, &_arg1
))
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) return NULL
;
12652 } Py_INCREF(Py_None
);
12653 _resultobj
= Py_None
;
12657 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12658 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
* _resultobj
;
12662 wxGridCellRenderer
* _arg2
;
12663 wxGridCellEditor
* _arg3
;
12664 PyObject
* _argo0
= 0;
12665 PyObject
* _obj1
= 0;
12666 PyObject
* _argo2
= 0;
12667 PyObject
* _argo3
= 0;
12668 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12681 _arg1
= wxString_in_helper(_obj1
);
12686 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12687 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12693 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12694 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) return NULL
;
12705 } Py_INCREF(Py_None
);
12706 _resultobj
= Py_None
;
12714 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12715 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
* _resultobj
;
12717 wxGridCellEditor
* _result
;
12721 PyObject
* _argo0
= 0;
12722 char *_kwnames
[] = { "self","row","col", NULL
};
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) return NULL
;
12740 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12744 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12745 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
* _resultobj
;
12747 wxGridCellRenderer
* _result
;
12751 PyObject
* _argo0
= 0;
12752 char *_kwnames
[] = { "self","row","col", NULL
};
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) return NULL
;
12770 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12774 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12775 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
* _resultobj
;
12777 wxGridCellEditor
* _result
;
12780 PyObject
* _argo0
= 0;
12781 PyObject
* _obj1
= 0;
12782 char *_kwnames
[] = { "self","typeName", NULL
};
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12795 _arg1
= wxString_in_helper(_obj1
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) return NULL
;
12805 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12813 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12814 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
* _resultobj
;
12816 wxGridCellRenderer
* _result
;
12819 PyObject
* _argo0
= 0;
12820 PyObject
* _obj1
= 0;
12821 char *_kwnames
[] = { "self","typeName", NULL
};
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
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_GetDefaultRendererForType. Expected _wxGrid_p.");
12834 _arg1
= wxString_in_helper(_obj1
);
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) return NULL
;
12844 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12852 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12853 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
* _resultobj
;
12858 PyObject
* _argo0
= 0;
12859 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) return NULL
;
12877 } Py_INCREF(Py_None
);
12878 _resultobj
= Py_None
;
12882 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12883 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
* _resultobj
;
12885 wxWindow
* _result
;
12887 PyObject
* _argo0
= 0;
12888 char *_kwnames
[] = { "self", NULL
};
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) return NULL
;
12906 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12910 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12911 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
* _resultobj
;
12913 wxWindow
* _result
;
12915 PyObject
* _argo0
= 0;
12916 char *_kwnames
[] = { "self", NULL
};
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
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_GetGridRowLabelWindow. Expected _wxGrid_p.");
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) return NULL
;
12934 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12938 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12939 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
* _resultobj
;
12941 wxWindow
* _result
;
12943 PyObject
* _argo0
= 0;
12944 char *_kwnames
[] = { "self", NULL
};
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) return NULL
;
12962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12966 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12967 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
* _resultobj
;
12969 wxWindow
* _result
;
12971 PyObject
* _argo0
= 0;
12972 char *_kwnames
[] = { "self", NULL
};
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) return NULL
;
12990 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12994 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12996 wxNotifyEvent
*dest
;
12997 src
= (wxGridEvent
*) ptr
;
12998 dest
= (wxNotifyEvent
*) src
;
12999 return (void *) dest
;
13002 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13004 wxCommandEvent
*dest
;
13005 src
= (wxGridEvent
*) ptr
;
13006 dest
= (wxCommandEvent
*) src
;
13007 return (void *) dest
;
13010 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13013 src
= (wxGridEvent
*) ptr
;
13014 dest
= (wxEvent
*) src
;
13015 return (void *) dest
;
13018 static void *SwigwxGridEventTowxObject(void *ptr
) {
13021 src
= (wxGridEvent
*) ptr
;
13022 dest
= (wxObject
*) src
;
13023 return (void *) dest
;
13026 #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))
13027 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
* _resultobj
;
13029 wxGridEvent
* _result
;
13033 int _arg3
= (int ) -1;
13034 int _arg4
= (int ) -1;
13035 int _arg5
= (int ) -1;
13036 int _arg6
= (int ) -1;
13037 bool _arg7
= (bool ) TRUE
;
13038 bool _arg8
= (bool ) FALSE
;
13039 bool _arg9
= (bool ) FALSE
;
13040 bool _arg10
= (bool ) FALSE
;
13041 bool _arg11
= (bool ) FALSE
;
13042 PyObject
* _argo2
= 0;
13043 int tempbool7
= (int) TRUE
;
13044 int tempbool8
= (int) FALSE
;
13045 int tempbool9
= (int) FALSE
;
13046 int tempbool10
= (int) FALSE
;
13047 int tempbool11
= (int) FALSE
;
13048 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13055 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13056 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13061 _arg7
= (bool ) tempbool7
;
13062 _arg8
= (bool ) tempbool8
;
13063 _arg9
= (bool ) tempbool9
;
13064 _arg10
= (bool ) tempbool10
;
13065 _arg11
= (bool ) tempbool11
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) return NULL
;
13073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13074 _resultobj
= Py_BuildValue("s",_ptemp
);
13076 Py_INCREF(Py_None
);
13077 _resultobj
= Py_None
;
13082 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13083 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
* _resultobj
;
13086 wxGridEvent
* _arg0
;
13087 PyObject
* _argo0
= 0;
13088 char *_kwnames
[] = { "self", NULL
};
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
13094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 _result
= (int )wxGridEvent_GetRow(_arg0
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) return NULL
;
13106 } _resultobj
= Py_BuildValue("i",_result
);
13110 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13111 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
* _resultobj
;
13114 wxGridEvent
* _arg0
;
13115 PyObject
* _argo0
= 0;
13116 char *_kwnames
[] = { "self", NULL
};
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 _result
= (int )wxGridEvent_GetCol(_arg0
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) return NULL
;
13134 } _resultobj
= Py_BuildValue("i",_result
);
13138 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13139 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
* _resultobj
;
13142 wxGridEvent
* _arg0
;
13143 PyObject
* _argo0
= 0;
13144 char *_kwnames
[] = { "self", NULL
};
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
13151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) return NULL
;
13163 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13164 _resultobj
= Py_BuildValue("s",_ptemp
);
13168 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13169 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
* _resultobj
;
13172 wxGridEvent
* _arg0
;
13173 PyObject
* _argo0
= 0;
13174 char *_kwnames
[] = { "self", NULL
};
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
13180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 _result
= (bool )wxGridEvent_Selecting(_arg0
);
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) return NULL
;
13192 } _resultobj
= Py_BuildValue("i",_result
);
13196 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13197 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
* _resultobj
;
13200 wxGridEvent
* _arg0
;
13201 PyObject
* _argo0
= 0;
13202 char *_kwnames
[] = { "self", NULL
};
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
13208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) return NULL
;
13220 } _resultobj
= Py_BuildValue("i",_result
);
13224 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13225 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
* _resultobj
;
13228 wxGridEvent
* _arg0
;
13229 PyObject
* _argo0
= 0;
13230 char *_kwnames
[] = { "self", NULL
};
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
13236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) return NULL
;
13248 } _resultobj
= Py_BuildValue("i",_result
);
13252 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13253 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
* _resultobj
;
13256 wxGridEvent
* _arg0
;
13257 PyObject
* _argo0
= 0;
13258 char *_kwnames
[] = { "self", NULL
};
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
13264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) return NULL
;
13276 } _resultobj
= Py_BuildValue("i",_result
);
13280 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13281 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
* _resultobj
;
13284 wxGridEvent
* _arg0
;
13285 PyObject
* _argo0
= 0;
13286 char *_kwnames
[] = { "self", NULL
};
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
13292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) return NULL
;
13304 } _resultobj
= Py_BuildValue("i",_result
);
13308 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13309 wxGridSizeEvent
*src
;
13310 wxNotifyEvent
*dest
;
13311 src
= (wxGridSizeEvent
*) ptr
;
13312 dest
= (wxNotifyEvent
*) src
;
13313 return (void *) dest
;
13316 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13317 wxGridSizeEvent
*src
;
13318 wxCommandEvent
*dest
;
13319 src
= (wxGridSizeEvent
*) ptr
;
13320 dest
= (wxCommandEvent
*) src
;
13321 return (void *) dest
;
13324 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13325 wxGridSizeEvent
*src
;
13327 src
= (wxGridSizeEvent
*) ptr
;
13328 dest
= (wxEvent
*) src
;
13329 return (void *) dest
;
13332 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13333 wxGridSizeEvent
*src
;
13335 src
= (wxGridSizeEvent
*) ptr
;
13336 dest
= (wxObject
*) src
;
13337 return (void *) dest
;
13340 #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))
13341 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
* _resultobj
;
13343 wxGridSizeEvent
* _result
;
13347 int _arg3
= (int ) -1;
13348 int _arg4
= (int ) -1;
13349 int _arg5
= (int ) -1;
13350 bool _arg6
= (bool ) FALSE
;
13351 bool _arg7
= (bool ) FALSE
;
13352 bool _arg8
= (bool ) FALSE
;
13353 bool _arg9
= (bool ) FALSE
;
13354 PyObject
* _argo2
= 0;
13355 int tempbool6
= (int) FALSE
;
13356 int tempbool7
= (int) FALSE
;
13357 int tempbool8
= (int) FALSE
;
13358 int tempbool9
= (int) FALSE
;
13359 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13366 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13367 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13372 _arg6
= (bool ) tempbool6
;
13373 _arg7
= (bool ) tempbool7
;
13374 _arg8
= (bool ) tempbool8
;
13375 _arg9
= (bool ) tempbool9
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) return NULL
;
13383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13384 _resultobj
= Py_BuildValue("s",_ptemp
);
13386 Py_INCREF(Py_None
);
13387 _resultobj
= Py_None
;
13392 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13393 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
* _resultobj
;
13396 wxGridSizeEvent
* _arg0
;
13397 PyObject
* _argo0
= 0;
13398 char *_kwnames
[] = { "self", NULL
};
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) return NULL
;
13416 } _resultobj
= Py_BuildValue("i",_result
);
13420 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13421 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
* _resultobj
;
13424 wxGridSizeEvent
* _arg0
;
13425 PyObject
* _argo0
= 0;
13426 char *_kwnames
[] = { "self", NULL
};
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) return NULL
;
13445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13446 _resultobj
= Py_BuildValue("s",_ptemp
);
13450 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13451 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
* _resultobj
;
13454 wxGridSizeEvent
* _arg0
;
13455 PyObject
* _argo0
= 0;
13456 char *_kwnames
[] = { "self", NULL
};
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) return NULL
;
13474 } _resultobj
= Py_BuildValue("i",_result
);
13478 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13479 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
* _resultobj
;
13482 wxGridSizeEvent
* _arg0
;
13483 PyObject
* _argo0
= 0;
13484 char *_kwnames
[] = { "self", NULL
};
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) return NULL
;
13502 } _resultobj
= Py_BuildValue("i",_result
);
13506 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13507 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
* _resultobj
;
13510 wxGridSizeEvent
* _arg0
;
13511 PyObject
* _argo0
= 0;
13512 char *_kwnames
[] = { "self", NULL
};
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) return NULL
;
13530 } _resultobj
= Py_BuildValue("i",_result
);
13534 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13535 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
* _resultobj
;
13538 wxGridSizeEvent
* _arg0
;
13539 PyObject
* _argo0
= 0;
13540 char *_kwnames
[] = { "self", NULL
};
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) return NULL
;
13558 } _resultobj
= Py_BuildValue("i",_result
);
13562 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13563 wxGridRangeSelectEvent
*src
;
13564 wxNotifyEvent
*dest
;
13565 src
= (wxGridRangeSelectEvent
*) ptr
;
13566 dest
= (wxNotifyEvent
*) src
;
13567 return (void *) dest
;
13570 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13571 wxGridRangeSelectEvent
*src
;
13572 wxCommandEvent
*dest
;
13573 src
= (wxGridRangeSelectEvent
*) ptr
;
13574 dest
= (wxCommandEvent
*) src
;
13575 return (void *) dest
;
13578 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13579 wxGridRangeSelectEvent
*src
;
13581 src
= (wxGridRangeSelectEvent
*) ptr
;
13582 dest
= (wxEvent
*) src
;
13583 return (void *) dest
;
13586 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13587 wxGridRangeSelectEvent
*src
;
13589 src
= (wxGridRangeSelectEvent
*) ptr
;
13590 dest
= (wxObject
*) src
;
13591 return (void *) dest
;
13594 #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))
13595 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
* _resultobj
;
13597 wxGridRangeSelectEvent
* _result
;
13601 wxGridCellCoords
* _arg3
;
13602 wxGridCellCoords
* _arg4
;
13603 bool _arg5
= (bool ) TRUE
;
13604 bool _arg6
= (bool ) FALSE
;
13605 bool _arg7
= (bool ) FALSE
;
13606 bool _arg8
= (bool ) FALSE
;
13607 bool _arg9
= (bool ) FALSE
;
13608 PyObject
* _argo2
= 0;
13609 wxGridCellCoords temp
;
13610 PyObject
* _obj3
= 0;
13611 wxGridCellCoords temp0
;
13612 PyObject
* _obj4
= 0;
13613 int tempbool5
= (int) TRUE
;
13614 int tempbool6
= (int) FALSE
;
13615 int tempbool7
= (int) FALSE
;
13616 int tempbool8
= (int) FALSE
;
13617 int tempbool9
= (int) FALSE
;
13618 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13625 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13626 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13633 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13638 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13641 _arg5
= (bool ) tempbool5
;
13642 _arg6
= (bool ) tempbool6
;
13643 _arg7
= (bool ) tempbool7
;
13644 _arg8
= (bool ) tempbool8
;
13645 _arg9
= (bool ) tempbool9
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) return NULL
;
13653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13654 _resultobj
= Py_BuildValue("s",_ptemp
);
13656 Py_INCREF(Py_None
);
13657 _resultobj
= Py_None
;
13662 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13663 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
* _resultobj
;
13665 wxGridCellCoords
* _result
;
13666 wxGridRangeSelectEvent
* _arg0
;
13667 PyObject
* _argo0
= 0;
13668 char *_kwnames
[] = { "self", NULL
};
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) return NULL
;
13687 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13688 _resultobj
= Py_BuildValue("s",_ptemp
);
13692 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13693 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
* _resultobj
;
13695 wxGridCellCoords
* _result
;
13696 wxGridRangeSelectEvent
* _arg0
;
13697 PyObject
* _argo0
= 0;
13698 char *_kwnames
[] = { "self", NULL
};
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) return NULL
;
13717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13718 _resultobj
= Py_BuildValue("s",_ptemp
);
13722 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13723 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
* _resultobj
;
13726 wxGridRangeSelectEvent
* _arg0
;
13727 PyObject
* _argo0
= 0;
13728 char *_kwnames
[] = { "self", NULL
};
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) return NULL
;
13746 } _resultobj
= Py_BuildValue("i",_result
);
13750 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13751 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
* _resultobj
;
13754 wxGridRangeSelectEvent
* _arg0
;
13755 PyObject
* _argo0
= 0;
13756 char *_kwnames
[] = { "self", NULL
};
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) return NULL
;
13774 } _resultobj
= Py_BuildValue("i",_result
);
13778 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13779 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
* _resultobj
;
13782 wxGridRangeSelectEvent
* _arg0
;
13783 PyObject
* _argo0
= 0;
13784 char *_kwnames
[] = { "self", NULL
};
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) return NULL
;
13802 } _resultobj
= Py_BuildValue("i",_result
);
13806 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13807 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
* _resultobj
;
13810 wxGridRangeSelectEvent
* _arg0
;
13811 PyObject
* _argo0
= 0;
13812 char *_kwnames
[] = { "self", NULL
};
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) return NULL
;
13830 } _resultobj
= Py_BuildValue("i",_result
);
13834 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13835 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
* _resultobj
;
13838 wxGridRangeSelectEvent
* _arg0
;
13839 PyObject
* _argo0
= 0;
13840 char *_kwnames
[] = { "self", NULL
};
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) return NULL
;
13858 } _resultobj
= Py_BuildValue("i",_result
);
13862 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13863 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
* _resultobj
;
13866 wxGridRangeSelectEvent
* _arg0
;
13867 PyObject
* _argo0
= 0;
13868 char *_kwnames
[] = { "self", NULL
};
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) return NULL
;
13886 } _resultobj
= Py_BuildValue("i",_result
);
13890 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13891 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
* _resultobj
;
13894 wxGridRangeSelectEvent
* _arg0
;
13895 PyObject
* _argo0
= 0;
13896 char *_kwnames
[] = { "self", NULL
};
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) return NULL
;
13914 } _resultobj
= Py_BuildValue("i",_result
);
13918 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13919 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
* _resultobj
;
13922 wxGridRangeSelectEvent
* _arg0
;
13923 PyObject
* _argo0
= 0;
13924 char *_kwnames
[] = { "self", NULL
};
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) return NULL
;
13942 } _resultobj
= Py_BuildValue("i",_result
);
13946 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13947 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
* _resultobj
;
13950 wxGridRangeSelectEvent
* _arg0
;
13951 PyObject
* _argo0
= 0;
13952 char *_kwnames
[] = { "self", NULL
};
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) return NULL
;
13970 } _resultobj
= Py_BuildValue("i",_result
);
13974 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13975 wxGridEditorCreatedEvent
*src
;
13976 wxCommandEvent
*dest
;
13977 src
= (wxGridEditorCreatedEvent
*) ptr
;
13978 dest
= (wxCommandEvent
*) src
;
13979 return (void *) dest
;
13982 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13983 wxGridEditorCreatedEvent
*src
;
13985 src
= (wxGridEditorCreatedEvent
*) ptr
;
13986 dest
= (wxEvent
*) src
;
13987 return (void *) dest
;
13990 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13991 wxGridEditorCreatedEvent
*src
;
13993 src
= (wxGridEditorCreatedEvent
*) ptr
;
13994 dest
= (wxObject
*) src
;
13995 return (void *) dest
;
13998 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13999 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
* _resultobj
;
14001 wxGridEditorCreatedEvent
* _result
;
14008 PyObject
* _argo2
= 0;
14009 PyObject
* _argo5
= 0;
14010 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14017 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14018 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14024 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14025 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) return NULL
;
14037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14038 _resultobj
= Py_BuildValue("s",_ptemp
);
14040 Py_INCREF(Py_None
);
14041 _resultobj
= Py_None
;
14046 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14047 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
* _resultobj
;
14050 wxGridEditorCreatedEvent
* _arg0
;
14051 PyObject
* _argo0
= 0;
14052 char *_kwnames
[] = { "self", NULL
};
14055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
14058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) return NULL
;
14070 } _resultobj
= Py_BuildValue("i",_result
);
14074 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14075 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
* _resultobj
;
14078 wxGridEditorCreatedEvent
* _arg0
;
14079 PyObject
* _argo0
= 0;
14080 char *_kwnames
[] = { "self", NULL
};
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
14086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) return NULL
;
14098 } _resultobj
= Py_BuildValue("i",_result
);
14102 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14103 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
* _resultobj
;
14105 wxControl
* _result
;
14106 wxGridEditorCreatedEvent
* _arg0
;
14107 PyObject
* _argo0
= 0;
14108 char *_kwnames
[] = { "self", NULL
};
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
14114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) return NULL
;
14126 }{ _resultobj
= wxPyMake_wxObject(_result
); }
14130 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14131 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
* _resultobj
;
14133 wxGridEditorCreatedEvent
* _arg0
;
14135 PyObject
* _argo0
= 0;
14136 char *_kwnames
[] = { "self","row", NULL
};
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
14142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) return NULL
;
14154 } Py_INCREF(Py_None
);
14155 _resultobj
= Py_None
;
14159 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14160 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
* _resultobj
;
14162 wxGridEditorCreatedEvent
* _arg0
;
14164 PyObject
* _argo0
= 0;
14165 char *_kwnames
[] = { "self","col", NULL
};
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
14171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) return NULL
;
14183 } Py_INCREF(Py_None
);
14184 _resultobj
= Py_None
;
14188 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14189 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
* _resultobj
;
14191 wxGridEditorCreatedEvent
* _arg0
;
14193 PyObject
* _argo0
= 0;
14194 PyObject
* _argo1
= 0;
14195 char *_kwnames
[] = { "self","ctrl", NULL
};
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
14201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
14209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
14210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) return NULL
;
14220 } Py_INCREF(Py_None
);
14221 _resultobj
= Py_None
;
14225 static PyMethodDef gridcMethods
[] = {
14226 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14227 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14228 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14229 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14230 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14231 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14232 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14233 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14234 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14235 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14236 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14237 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14238 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14239 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14240 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14241 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14242 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14243 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14244 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14245 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14246 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14247 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14248 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14249 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14250 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14251 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14252 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14253 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14254 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14255 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14256 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14257 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14258 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14259 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14260 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14261 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14262 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14263 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14264 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14265 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14266 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14267 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14268 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14269 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14270 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14271 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14272 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14273 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14274 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14275 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14276 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14277 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14278 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14279 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14280 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14281 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14282 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14283 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14284 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14285 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14286 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14287 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14288 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14289 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14290 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14291 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14292 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14293 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14294 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14295 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14296 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14297 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14298 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14299 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14300 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14301 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14302 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14303 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14304 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14305 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14306 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14307 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14308 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14309 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14310 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14311 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14312 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14313 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14314 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14315 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14316 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14317 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14318 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14319 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14320 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14321 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14322 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14323 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14324 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14325 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14326 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14327 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14328 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14329 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14330 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14331 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14332 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14333 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14334 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14335 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14336 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14337 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14338 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14339 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14340 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14341 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14342 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14343 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14344 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14345 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14346 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14347 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14348 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14349 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14350 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14351 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14352 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14353 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14354 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14355 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14356 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14357 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14358 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14359 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14360 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14361 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14362 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14363 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14364 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14365 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14366 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14367 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14368 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14369 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14370 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14371 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14372 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14373 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14374 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14375 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14376 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14377 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14378 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14379 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14380 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14381 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14382 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14383 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14384 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14385 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14386 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14387 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14388 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14389 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14390 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14391 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14392 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14393 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14394 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14395 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14396 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14397 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14398 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14399 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14400 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14401 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14402 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14403 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14404 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14405 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14406 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14407 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14408 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14409 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14410 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
14411 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14412 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14413 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14414 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14415 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14416 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14417 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14418 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14419 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14420 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14421 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14422 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14423 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14424 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14425 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14426 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14427 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14428 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14429 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14430 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14431 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14432 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14433 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14434 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14435 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14436 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14437 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14438 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14439 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14440 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14441 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14442 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14443 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14444 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14445 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14446 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14447 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14448 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14449 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14450 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14451 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14452 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14453 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14454 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14455 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14456 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14457 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14458 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14459 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14460 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14461 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14462 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14463 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14464 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14465 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14466 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14467 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14468 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14469 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14470 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14471 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14472 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14473 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14474 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14475 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14476 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14477 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14478 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14479 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14480 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14481 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14482 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14483 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14484 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14485 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14486 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14487 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14488 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14489 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14490 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14491 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14492 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14493 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14494 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14495 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14496 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14497 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14498 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14499 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14500 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14501 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14502 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14503 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14504 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14505 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14506 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14507 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14508 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14509 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14510 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14511 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14512 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14513 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14514 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14515 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14516 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14517 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14518 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14519 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14520 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14521 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14522 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14523 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14524 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14525 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14526 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14527 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14528 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14529 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
14530 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14531 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14532 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14533 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14534 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14535 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14536 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14537 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14538 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14539 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14540 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14541 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14542 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14543 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14544 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14545 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14546 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14547 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14548 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14549 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14550 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14551 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14552 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14553 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14554 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14555 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14556 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14557 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14558 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14559 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14560 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14561 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14562 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14563 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14564 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14565 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14566 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14567 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14568 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14569 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14570 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14571 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14572 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14573 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14574 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14575 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14576 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14577 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14578 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14579 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14580 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14581 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14582 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14583 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14584 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14585 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14586 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14587 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14588 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14589 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14590 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14591 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14592 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14593 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14594 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14595 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14596 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14597 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14598 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14599 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14600 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14601 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14602 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14603 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14604 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14605 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14606 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14607 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14608 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14609 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14610 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14611 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14612 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14613 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14614 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14615 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14622 * This table is used by the pointer type-checker
14624 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14625 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14626 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14627 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14628 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14629 { "_signed_long","_long",0},
14630 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14631 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14632 { "_wxPrintQuality","_wxCoord",0},
14633 { "_wxPrintQuality","_int",0},
14634 { "_wxPrintQuality","_signed_int",0},
14635 { "_wxPrintQuality","_unsigned_int",0},
14636 { "_wxPrintQuality","_wxWindowID",0},
14637 { "_wxPrintQuality","_uint",0},
14638 { "_wxPrintQuality","_EBool",0},
14639 { "_wxPrintQuality","_size_t",0},
14640 { "_wxPrintQuality","_time_t",0},
14641 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14642 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14643 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14644 { "_byte","_unsigned_char",0},
14645 { "_long","_unsigned_long",0},
14646 { "_long","_signed_long",0},
14647 { "_size_t","_WXGRIDSELECTIONMODES",0},
14648 { "_size_t","_wxCoord",0},
14649 { "_size_t","_wxPrintQuality",0},
14650 { "_size_t","_time_t",0},
14651 { "_size_t","_unsigned_int",0},
14652 { "_size_t","_int",0},
14653 { "_size_t","_wxWindowID",0},
14654 { "_size_t","_uint",0},
14655 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14656 { "_uint","_WXGRIDSELECTIONMODES",0},
14657 { "_uint","_wxCoord",0},
14658 { "_uint","_wxPrintQuality",0},
14659 { "_uint","_time_t",0},
14660 { "_uint","_size_t",0},
14661 { "_uint","_unsigned_int",0},
14662 { "_uint","_int",0},
14663 { "_uint","_wxWindowID",0},
14664 { "_wxChar","_char",0},
14665 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14666 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14667 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14668 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14669 { "_char","_wxChar",0},
14670 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14671 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14672 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14673 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14674 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14675 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14676 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14677 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14678 { "_EBool","_WXGRIDSELECTIONMODES",0},
14679 { "_EBool","_wxCoord",0},
14680 { "_EBool","_wxPrintQuality",0},
14681 { "_EBool","_signed_int",0},
14682 { "_EBool","_int",0},
14683 { "_EBool","_wxWindowID",0},
14684 { "_unsigned_long","_long",0},
14685 { "_WXGRIDSELECTIONMODES","_int",0},
14686 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14687 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14688 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14689 { "_WXGRIDSELECTIONMODES","_uint",0},
14690 { "_WXGRIDSELECTIONMODES","_EBool",0},
14691 { "_WXGRIDSELECTIONMODES","_size_t",0},
14692 { "_WXGRIDSELECTIONMODES","_time_t",0},
14693 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14694 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14695 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14696 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14697 { "_signed_int","_wxCoord",0},
14698 { "_signed_int","_wxPrintQuality",0},
14699 { "_signed_int","_EBool",0},
14700 { "_signed_int","_wxWindowID",0},
14701 { "_signed_int","_int",0},
14702 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14703 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14704 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14705 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14706 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14707 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14708 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14709 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14710 { "_WXTYPE","_short",0},
14711 { "_WXTYPE","_signed_short",0},
14712 { "_WXTYPE","_unsigned_short",0},
14713 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14714 { "_unsigned_short","_WXTYPE",0},
14715 { "_unsigned_short","_short",0},
14716 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14717 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14718 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14719 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14720 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14721 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14722 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14723 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14724 { "_signed_short","_WXTYPE",0},
14725 { "_signed_short","_short",0},
14726 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14727 { "_unsigned_char","_byte",0},
14728 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14729 { "_unsigned_int","_wxCoord",0},
14730 { "_unsigned_int","_wxPrintQuality",0},
14731 { "_unsigned_int","_time_t",0},
14732 { "_unsigned_int","_size_t",0},
14733 { "_unsigned_int","_uint",0},
14734 { "_unsigned_int","_wxWindowID",0},
14735 { "_unsigned_int","_int",0},
14736 { "_short","_WXTYPE",0},
14737 { "_short","_unsigned_short",0},
14738 { "_short","_signed_short",0},
14739 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14740 { "_wxWindowID","_wxCoord",0},
14741 { "_wxWindowID","_wxPrintQuality",0},
14742 { "_wxWindowID","_time_t",0},
14743 { "_wxWindowID","_size_t",0},
14744 { "_wxWindowID","_EBool",0},
14745 { "_wxWindowID","_uint",0},
14746 { "_wxWindowID","_int",0},
14747 { "_wxWindowID","_signed_int",0},
14748 { "_wxWindowID","_unsigned_int",0},
14749 { "_int","_WXGRIDSELECTIONMODES",0},
14750 { "_int","_wxCoord",0},
14751 { "_int","_wxPrintQuality",0},
14752 { "_int","_time_t",0},
14753 { "_int","_size_t",0},
14754 { "_int","_EBool",0},
14755 { "_int","_uint",0},
14756 { "_int","_wxWindowID",0},
14757 { "_int","_unsigned_int",0},
14758 { "_int","_signed_int",0},
14759 { "_time_t","_WXGRIDSELECTIONMODES",0},
14760 { "_time_t","_wxCoord",0},
14761 { "_time_t","_wxPrintQuality",0},
14762 { "_time_t","_unsigned_int",0},
14763 { "_time_t","_int",0},
14764 { "_time_t","_wxWindowID",0},
14765 { "_time_t","_uint",0},
14766 { "_time_t","_size_t",0},
14767 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14768 { "_wxCoord","_int",0},
14769 { "_wxCoord","_signed_int",0},
14770 { "_wxCoord","_unsigned_int",0},
14771 { "_wxCoord","_wxWindowID",0},
14772 { "_wxCoord","_uint",0},
14773 { "_wxCoord","_EBool",0},
14774 { "_wxCoord","_size_t",0},
14775 { "_wxCoord","_time_t",0},
14776 { "_wxCoord","_wxPrintQuality",0},
14777 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14778 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14779 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14780 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14781 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14782 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14783 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14784 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14785 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14786 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14787 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14788 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14789 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14792 static PyObject
*SWIG_globals
;
14796 SWIGEXPORT(void) initgridc() {
14798 SWIG_globals
= SWIG_newvarlink();
14799 m
= Py_InitModule("gridc", gridcMethods
);
14800 d
= PyModule_GetDict(m
);
14801 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14802 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14803 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14804 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14805 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14806 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14807 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14808 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14809 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14810 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14811 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14812 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14813 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14814 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14815 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14816 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14817 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14818 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14819 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14820 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14821 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14822 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14823 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14824 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14825 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14826 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14827 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14828 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14829 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14830 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14831 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14832 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14833 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14834 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14835 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14836 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14838 wxClassInfo::CleanUpClasses();
14839 wxClassInfo::InitializeClasses();
14840 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14841 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14842 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14843 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14844 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14845 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14846 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14847 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14848 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14851 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14852 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);