2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_GetSelectionMode(_swigobj) (_swigobj->GetSelectionMode())
7462 static PyObject
*_wrap_wxGrid_GetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7464 WXGRIDSELECTIONMODES _result
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionMode",_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_GetSelectionMode. Expected _wxGrid_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 _result
= (WXGRIDSELECTIONMODES
)wxGrid_GetSelectionMode(_arg0
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7490 static PyObject
*_wrap_wxGrid_GetNumberRows(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_GetNumberRows",_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_GetNumberRows. Expected _wxGrid_p.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7518 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) return NULL
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7546 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 wxGridTableMessage
* _arg1
;
7551 PyObject
* _argo0
= 0;
7552 PyObject
* _argo1
= 0;
7553 char *_kwnames
[] = { "self","arg2", NULL
};
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 } _resultobj
= Py_BuildValue("i",_result
);
7582 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7583 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7585 wxGridTableBase
* _result
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7606 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7610 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7611 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7615 wxGridTableBase
* _arg1
;
7616 bool _arg2
= (bool ) FALSE
;
7617 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7618 PyObject
* _argo0
= 0;
7619 PyObject
* _argo1
= 0;
7620 int tempbool2
= (int) FALSE
;
7621 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7640 _arg2
= (bool ) tempbool2
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) return NULL
;
7647 } _resultobj
= Py_BuildValue("i",_result
);
7651 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7652 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
* _resultobj
;
7655 PyObject
* _argo0
= 0;
7656 char *_kwnames
[] = { "self", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 wxGrid_ClearGrid(_arg0
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) return NULL
;
7674 } Py_INCREF(Py_None
);
7675 _resultobj
= Py_None
;
7679 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7680 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7684 int _arg1
= (int ) 0;
7685 int _arg2
= (int ) 1;
7686 bool _arg3
= (bool ) TRUE
;
7687 PyObject
* _argo0
= 0;
7688 int tempbool3
= (int) TRUE
;
7689 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7701 _arg3
= (bool ) tempbool3
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) return NULL
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7712 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7713 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7717 int _arg1
= (int ) 1;
7718 bool _arg2
= (bool ) TRUE
;
7719 PyObject
* _argo0
= 0;
7720 int tempbool2
= (int) TRUE
;
7721 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7733 _arg2
= (bool ) tempbool2
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7745 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7749 int _arg1
= (int ) 0;
7750 int _arg2
= (int ) 1;
7751 bool _arg3
= (bool ) TRUE
;
7752 PyObject
* _argo0
= 0;
7753 int tempbool3
= (int) TRUE
;
7754 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7766 _arg3
= (bool ) tempbool3
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) return NULL
;
7773 } _resultobj
= Py_BuildValue("i",_result
);
7777 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7778 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
* _resultobj
;
7782 int _arg1
= (int ) 0;
7783 int _arg2
= (int ) 1;
7784 bool _arg3
= (bool ) TRUE
;
7785 PyObject
* _argo0
= 0;
7786 int tempbool3
= (int) TRUE
;
7787 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7799 _arg3
= (bool ) tempbool3
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) return NULL
;
7806 } _resultobj
= Py_BuildValue("i",_result
);
7810 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7811 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
* _resultobj
;
7815 int _arg1
= (int ) 1;
7816 bool _arg2
= (bool ) TRUE
;
7817 PyObject
* _argo0
= 0;
7818 int tempbool2
= (int) TRUE
;
7819 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7831 _arg2
= (bool ) tempbool2
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) return NULL
;
7838 } _resultobj
= Py_BuildValue("i",_result
);
7842 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7843 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
* _resultobj
;
7847 int _arg1
= (int ) 0;
7848 int _arg2
= (int ) 1;
7849 bool _arg3
= (bool ) TRUE
;
7850 PyObject
* _argo0
= 0;
7851 int tempbool3
= (int) TRUE
;
7852 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7864 _arg3
= (bool ) tempbool3
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) return NULL
;
7871 } _resultobj
= Py_BuildValue("i",_result
);
7875 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7876 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
* _resultobj
;
7880 wxGridCellAttr
* _arg2
;
7881 PyObject
* _argo0
= 0;
7882 PyObject
* _argo1
= 0;
7883 PyObject
* _argo2
= 0;
7884 char *_kwnames
[] = { "self","dc","attr", NULL
};
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7904 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) return NULL
;
7916 } Py_INCREF(Py_None
);
7917 _resultobj
= Py_None
;
7921 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7922 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7928 int _arg4
= (int ) wxLEFT
;
7929 int _arg5
= (int ) wxTOP
;
7930 PyObject
* _argo0
= 0;
7931 PyObject
* _argo1
= 0;
7932 PyObject
* _obj2
= 0;
7934 PyObject
* _obj3
= 0;
7935 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7955 _arg2
= wxString_in_helper(_obj2
);
7961 if (! wxRect_helper(_obj3
, &_arg3
))
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) return NULL
;
7970 } Py_INCREF(Py_None
);
7971 _resultobj
= Py_None
;
7979 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7980 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
* _resultobj
;
7984 wxArrayString
* _arg2
;
7989 PyObject
* _argo0
= 0;
7990 PyObject
* _argo1
= 0;
7991 PyObject
* _obj2
= 0;
7992 char *_kwnames
[] = { "self","dc","lines", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
8011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
8013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
8018 if (! PySequence_Check(_obj2
)) {
8019 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8022 _arg2
= new wxArrayString
;
8023 int i
, len
=PySequence_Length(_obj2
);
8024 for (i
=0; i
<len
; i
++) {
8025 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
8027 PyObject
* str
= PyObject_Unicode(item
);
8028 _arg2
->Add(PyUnicode_AsUnicode(str
));
8030 PyObject
* str
= PyObject_Str(item
);
8031 _arg2
->Add(PyString_AsString(str
));
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8043 } Py_INCREF(Py_None
);
8044 _resultobj
= Py_None
;
8047 o
= PyInt_FromLong((long) (*_arg3
));
8048 _resultobj
= t_output_helper(_resultobj
, o
);
8052 o
= PyInt_FromLong((long) (*_arg4
));
8053 _resultobj
= t_output_helper(_resultobj
, o
);
8062 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
8063 static PyObject
*_wrap_wxGrid_BeginBatch(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_BeginBatch",_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_BeginBatch. Expected _wxGrid_p.");
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 wxGrid_BeginBatch(_arg0
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) return NULL
;
8085 } Py_INCREF(Py_None
);
8086 _resultobj
= Py_None
;
8090 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
8091 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
* _resultobj
;
8094 PyObject
* _argo0
= 0;
8095 char *_kwnames
[] = { "self", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 wxGrid_EndBatch(_arg0
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) return NULL
;
8113 } Py_INCREF(Py_None
);
8114 _resultobj
= Py_None
;
8118 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8119 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
* _resultobj
;
8123 PyObject
* _argo0
= 0;
8124 char *_kwnames
[] = { "self", NULL
};
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) return NULL
;
8142 } _resultobj
= Py_BuildValue("i",_result
);
8146 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8147 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 PyObject
* _argo0
= 0;
8151 char *_kwnames
[] = { "self", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 wxGrid_ForceRefresh(_arg0
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) return NULL
;
8169 } Py_INCREF(Py_None
);
8170 _resultobj
= Py_None
;
8174 #define wxGrid_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
8175 static PyObject
*_wrap_wxGrid_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8178 bool _arg1
= (bool ) TRUE
;
8179 wxRect
* _arg2
= (wxRect
*) NULL
;
8180 PyObject
* _argo0
= 0;
8181 int tempbool1
= (int) TRUE
;
8183 PyObject
* _obj2
= 0;
8184 char *_kwnames
[] = { "self","eraseb","rect", NULL
};
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxGrid_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
8190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_Refresh. Expected _wxGrid_p.");
8196 _arg1
= (bool ) tempbool1
;
8200 if (! wxRect_helper(_obj2
, &_arg2
))
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 wxGrid_Refresh(_arg0
,_arg1
,_arg2
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8209 } Py_INCREF(Py_None
);
8210 _resultobj
= Py_None
;
8214 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8215 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8219 PyObject
* _argo0
= 0;
8220 char *_kwnames
[] = { "self", NULL
};
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 _result
= (bool )wxGrid_IsEditable(_arg0
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) return NULL
;
8238 } _resultobj
= Py_BuildValue("i",_result
);
8242 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8243 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
* _resultobj
;
8247 PyObject
* _argo0
= 0;
8249 char *_kwnames
[] = { "self","edit", NULL
};
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8261 _arg1
= (bool ) tempbool1
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 wxGrid_EnableEditing(_arg0
,_arg1
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8268 } Py_INCREF(Py_None
);
8269 _resultobj
= Py_None
;
8273 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8274 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
* _resultobj
;
8277 bool _arg1
= (bool ) TRUE
;
8278 PyObject
* _argo0
= 0;
8279 int tempbool1
= (int) TRUE
;
8280 char *_kwnames
[] = { "self","enable", NULL
};
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8292 _arg1
= (bool ) tempbool1
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) return NULL
;
8299 } Py_INCREF(Py_None
);
8300 _resultobj
= Py_None
;
8304 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8305 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 wxGrid_DisableCellEditControl(_arg0
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) return NULL
;
8327 } Py_INCREF(Py_None
);
8328 _resultobj
= Py_None
;
8332 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8333 static PyObject
*_wrap_wxGrid_CanEnableCellControl(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_CanEnableCellControl",_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_CanEnableCellControl. Expected _wxGrid_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } _resultobj
= Py_BuildValue("i",_result
);
8360 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8361 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(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_IsCellEditControlEnabled",_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_IsCellEditControlEnabled. Expected _wxGrid_p.");
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) return NULL
;
8384 } _resultobj
= Py_BuildValue("i",_result
);
8388 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8389 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(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_IsCellEditControlShown",_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_IsCellEditControlShown. Expected _wxGrid_p.");
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) return NULL
;
8412 } _resultobj
= Py_BuildValue("i",_result
);
8416 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8417 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8421 PyObject
* _argo0
= 0;
8422 char *_kwnames
[] = { "self", NULL
};
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) return NULL
;
8440 } _resultobj
= Py_BuildValue("i",_result
);
8444 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8445 static PyObject
*_wrap_wxGrid_ShowCellEditControl(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_ShowCellEditControl",_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_ShowCellEditControl. Expected _wxGrid_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 wxGrid_ShowCellEditControl(_arg0
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8467 } Py_INCREF(Py_None
);
8468 _resultobj
= Py_None
;
8472 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8473 static PyObject
*_wrap_wxGrid_HideCellEditControl(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_HideCellEditControl",_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_HideCellEditControl. Expected _wxGrid_p.");
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxGrid_HideCellEditControl(_arg0
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) return NULL
;
8495 } Py_INCREF(Py_None
);
8496 _resultobj
= Py_None
;
8500 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8501 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
* _resultobj
;
8504 PyObject
* _argo0
= 0;
8505 char *_kwnames
[] = { "self", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 wxGrid_SaveEditControlValue(_arg0
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) return NULL
;
8523 } Py_INCREF(Py_None
);
8524 _resultobj
= Py_None
;
8528 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8529 wxGridCellCoords rv
;
8530 self
->XYToCell(x
, y
, rv
);
8531 return new wxGridCellCoords(rv
);
8533 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8535 wxGridCellCoords
* _result
;
8539 PyObject
* _argo0
= 0;
8540 char *_kwnames
[] = { "self","x","y", NULL
};
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) return NULL
;
8560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8561 _resultobj
= Py_BuildValue("s",_ptemp
);
8564 _resultobj
= Py_None
;
8569 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8570 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
* _resultobj
;
8575 PyObject
* _argo0
= 0;
8576 char *_kwnames
[] = { "self","y", NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) return NULL
;
8594 } _resultobj
= Py_BuildValue("i",_result
);
8598 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8599 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self","x", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } _resultobj
= Py_BuildValue("i",_result
);
8627 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8628 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
* _resultobj
;
8633 PyObject
* _argo0
= 0;
8634 char *_kwnames
[] = { "self","y", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) return NULL
;
8652 } _resultobj
= Py_BuildValue("i",_result
);
8656 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8657 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8662 PyObject
* _argo0
= 0;
8663 char *_kwnames
[] = { "self","x", NULL
};
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) return NULL
;
8681 } _resultobj
= Py_BuildValue("i",_result
);
8685 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8686 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
* _resultobj
;
8692 PyObject
* _argo0
= 0;
8693 char *_kwnames
[] = { "self","row","col", NULL
};
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) return NULL
;
8712 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8713 _resultobj
= Py_BuildValue("s",_ptemp
);
8717 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8718 static PyObject
*_wrap_wxGrid_GetGridCursorRow(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_GetGridCursorRow",_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_GetGridCursorRow. Expected _wxGrid_p.");
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8741 } _resultobj
= Py_BuildValue("i",_result
);
8745 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8746 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8750 PyObject
* _argo0
= 0;
8751 char *_kwnames
[] = { "self", NULL
};
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) return NULL
;
8769 } _resultobj
= Py_BuildValue("i",_result
);
8773 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8774 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
* _resultobj
;
8780 bool _arg3
= (bool ) TRUE
;
8781 PyObject
* _argo0
= 0;
8782 int tempbool3
= (int) TRUE
;
8783 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8795 _arg3
= (bool ) tempbool3
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) return NULL
;
8802 } _resultobj
= Py_BuildValue("i",_result
);
8806 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8807 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
* _resultobj
;
8812 PyObject
* _argo0
= 0;
8813 char *_kwnames
[] = { "self","row","col", NULL
};
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) return NULL
;
8831 } Py_INCREF(Py_None
);
8832 _resultobj
= Py_None
;
8836 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8837 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
* _resultobj
;
8842 PyObject
* _argo0
= 0;
8843 char *_kwnames
[] = { "self","row","col", NULL
};
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) return NULL
;
8861 } Py_INCREF(Py_None
);
8862 _resultobj
= Py_None
;
8866 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8867 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
* _resultobj
;
8872 PyObject
* _argo0
= 0;
8874 char *_kwnames
[] = { "self","expandSelection", NULL
};
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8886 _arg1
= (bool ) tempbool1
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) return NULL
;
8893 } _resultobj
= Py_BuildValue("i",_result
);
8897 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8898 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
* _resultobj
;
8903 PyObject
* _argo0
= 0;
8905 char *_kwnames
[] = { "self","expandSelection", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8917 _arg1
= (bool ) tempbool1
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) return NULL
;
8924 } _resultobj
= Py_BuildValue("i",_result
);
8928 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8929 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8934 PyObject
* _argo0
= 0;
8936 char *_kwnames
[] = { "self","expandSelection", NULL
};
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8948 _arg1
= (bool ) tempbool1
;
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) return NULL
;
8955 } _resultobj
= Py_BuildValue("i",_result
);
8959 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8960 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
* _resultobj
;
8965 PyObject
* _argo0
= 0;
8967 char *_kwnames
[] = { "self","expandSelection", NULL
};
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8979 _arg1
= (bool ) tempbool1
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } _resultobj
= Py_BuildValue("i",_result
);
8990 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8991 static PyObject
*_wrap_wxGrid_MovePageDown(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_MovePageDown",_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_MovePageDown. Expected _wxGrid_p.");
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 _result
= (bool )wxGrid_MovePageDown(_arg0
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } _resultobj
= Py_BuildValue("i",_result
);
9018 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
9019 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9023 PyObject
* _argo0
= 0;
9024 char *_kwnames
[] = { "self", NULL
};
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
9030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 _result
= (bool )wxGrid_MovePageUp(_arg0
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) return NULL
;
9042 } _resultobj
= Py_BuildValue("i",_result
);
9046 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
9047 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9052 PyObject
* _argo0
= 0;
9054 char *_kwnames
[] = { "self","expandSelection", NULL
};
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
9060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
9066 _arg1
= (bool ) tempbool1
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) return NULL
;
9073 } _resultobj
= Py_BuildValue("i",_result
);
9077 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
9078 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
* _resultobj
;
9083 PyObject
* _argo0
= 0;
9085 char *_kwnames
[] = { "self","expandSelection", NULL
};
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
9091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
9097 _arg1
= (bool ) tempbool1
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) return NULL
;
9104 } _resultobj
= Py_BuildValue("i",_result
);
9108 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
9109 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9114 PyObject
* _argo0
= 0;
9116 char *_kwnames
[] = { "self","expandSelection", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
9128 _arg1
= (bool ) tempbool1
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) return NULL
;
9135 } _resultobj
= Py_BuildValue("i",_result
);
9139 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
9140 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9145 PyObject
* _argo0
= 0;
9147 char *_kwnames
[] = { "self","expandSelection", NULL
};
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9159 _arg1
= (bool ) tempbool1
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) return NULL
;
9166 } _resultobj
= Py_BuildValue("i",_result
);
9170 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9171 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(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_GetDefaultRowLabelSize",_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_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) return NULL
;
9194 } _resultobj
= Py_BuildValue("i",_result
);
9198 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9199 static PyObject
*_wrap_wxGrid_GetRowLabelSize(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_GetRowLabelSize",_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_GetRowLabelSize. Expected _wxGrid_p.");
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) return NULL
;
9222 } _resultobj
= Py_BuildValue("i",_result
);
9226 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9227 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(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_GetDefaultColLabelSize",_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_GetDefaultColLabelSize. Expected _wxGrid_p.");
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) return NULL
;
9250 } _resultobj
= Py_BuildValue("i",_result
);
9254 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9255 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
* _resultobj
;
9259 PyObject
* _argo0
= 0;
9260 char *_kwnames
[] = { "self", NULL
};
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) return NULL
;
9278 } _resultobj
= Py_BuildValue("i",_result
);
9282 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9283 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self", NULL
};
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) return NULL
;
9307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9308 _resultobj
= Py_BuildValue("s",_ptemp
);
9312 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9313 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
* _resultobj
;
9317 PyObject
* _argo0
= 0;
9318 char *_kwnames
[] = { "self", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) return NULL
;
9337 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9338 _resultobj
= Py_BuildValue("s",_ptemp
);
9342 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9343 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9347 PyObject
* _argo0
= 0;
9348 char *_kwnames
[] = { "self", NULL
};
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) return NULL
;
9367 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9368 _resultobj
= Py_BuildValue("s",_ptemp
);
9372 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9373 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
* _resultobj
;
9380 PyObject
* _argo0
= 0;
9381 char *_kwnames
[] = { "self", NULL
};
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) return NULL
;
9405 } Py_INCREF(Py_None
);
9406 _resultobj
= Py_None
;
9409 o
= PyInt_FromLong((long) (*_arg1
));
9410 _resultobj
= t_output_helper(_resultobj
, o
);
9414 o
= PyInt_FromLong((long) (*_arg2
));
9415 _resultobj
= t_output_helper(_resultobj
, o
);
9420 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9421 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
* _resultobj
;
9428 PyObject
* _argo0
= 0;
9429 char *_kwnames
[] = { "self", NULL
};
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) return NULL
;
9453 } Py_INCREF(Py_None
);
9454 _resultobj
= Py_None
;
9457 o
= PyInt_FromLong((long) (*_arg1
));
9458 _resultobj
= t_output_helper(_resultobj
, o
);
9462 o
= PyInt_FromLong((long) (*_arg2
));
9463 _resultobj
= t_output_helper(_resultobj
, o
);
9468 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9469 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
* _resultobj
;
9474 PyObject
* _argo0
= 0;
9475 char *_kwnames
[] = { "self","row", NULL
};
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) return NULL
;
9495 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9506 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9507 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
* _resultobj
;
9512 PyObject
* _argo0
= 0;
9513 char *_kwnames
[] = { "self","col", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9533 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9544 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9545 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
* _resultobj
;
9549 PyObject
* _argo0
= 0;
9550 char *_kwnames
[] = { "self", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9570 _resultobj
= Py_BuildValue("s",_ptemp
);
9574 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9575 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
* _resultobj
;
9579 PyObject
* _argo0
= 0;
9580 char *_kwnames
[] = { "self", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) return NULL
;
9599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9600 _resultobj
= Py_BuildValue("s",_ptemp
);
9604 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9605 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(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_GetCellHighlightPenWidth",_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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) return NULL
;
9628 } _resultobj
= Py_BuildValue("i",_result
);
9632 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9633 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9637 PyObject
* _argo0
= 0;
9638 char *_kwnames
[] = { "self", NULL
};
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
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_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) return NULL
;
9656 } _resultobj
= Py_BuildValue("i",_result
);
9660 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9661 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9665 PyObject
* _argo0
= 0;
9666 char *_kwnames
[] = { "self","width", NULL
};
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) return NULL
;
9684 } Py_INCREF(Py_None
);
9685 _resultobj
= Py_None
;
9689 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9690 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9694 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self","height", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 } Py_INCREF(Py_None
);
9714 _resultobj
= Py_None
;
9718 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9719 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
* _resultobj
;
9723 PyObject
* _argo0
= 0;
9725 PyObject
* _obj1
= 0;
9726 char *_kwnames
[] = { "self","arg2", NULL
};
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9740 if (! wxColour_helper(_obj1
, &_arg1
))
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) return NULL
;
9749 } Py_INCREF(Py_None
);
9750 _resultobj
= Py_None
;
9754 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9755 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
* _resultobj
;
9759 PyObject
* _argo0
= 0;
9761 PyObject
* _obj1
= 0;
9762 char *_kwnames
[] = { "self","arg2", NULL
};
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9776 if (! wxColour_helper(_obj1
, &_arg1
))
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) return NULL
;
9785 } Py_INCREF(Py_None
);
9786 _resultobj
= Py_None
;
9790 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9791 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9795 PyObject
* _argo0
= 0;
9796 PyObject
* _argo1
= 0;
9797 char *_kwnames
[] = { "self","arg2", NULL
};
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) return NULL
;
9822 } Py_INCREF(Py_None
);
9823 _resultobj
= Py_None
;
9827 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9828 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
* _resultobj
;
9833 PyObject
* _argo0
= 0;
9834 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) return NULL
;
9852 } Py_INCREF(Py_None
);
9853 _resultobj
= Py_None
;
9857 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9858 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9863 PyObject
* _argo0
= 0;
9864 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) return NULL
;
9882 } Py_INCREF(Py_None
);
9883 _resultobj
= Py_None
;
9887 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9888 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
* _resultobj
;
9893 PyObject
* _argo0
= 0;
9894 PyObject
* _obj2
= 0;
9895 char *_kwnames
[] = { "self","row","arg3", NULL
};
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9908 _arg2
= wxString_in_helper(_obj2
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9918 } Py_INCREF(Py_None
);
9919 _resultobj
= Py_None
;
9927 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9928 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
* _resultobj
;
9933 PyObject
* _argo0
= 0;
9934 PyObject
* _obj2
= 0;
9935 char *_kwnames
[] = { "self","col","arg3", NULL
};
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9948 _arg2
= wxString_in_helper(_obj2
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) return NULL
;
9958 } Py_INCREF(Py_None
);
9959 _resultobj
= Py_None
;
9967 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9968 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
* _resultobj
;
9972 PyObject
* _argo0
= 0;
9974 PyObject
* _obj1
= 0;
9975 char *_kwnames
[] = { "self","arg2", NULL
};
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9989 if (! wxColour_helper(_obj1
, &_arg1
))
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) return NULL
;
9998 } Py_INCREF(Py_None
);
9999 _resultobj
= Py_None
;
10003 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
10004 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
* _resultobj
;
10008 PyObject
* _argo0
= 0;
10010 PyObject
* _obj1
= 0;
10011 char *_kwnames
[] = { "self","arg2", NULL
};
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
10025 if (! wxColour_helper(_obj1
, &_arg1
))
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) return NULL
;
10034 } Py_INCREF(Py_None
);
10035 _resultobj
= Py_None
;
10039 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
10040 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
* _resultobj
;
10044 PyObject
* _argo0
= 0;
10045 char *_kwnames
[] = { "self","width", NULL
};
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
10051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) return NULL
;
10063 } Py_INCREF(Py_None
);
10064 _resultobj
= Py_None
;
10068 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
10069 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
* _resultobj
;
10073 PyObject
* _argo0
= 0;
10074 char *_kwnames
[] = { "self","width", NULL
};
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
10080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) return NULL
;
10092 } Py_INCREF(Py_None
);
10093 _resultobj
= Py_None
;
10097 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
10098 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
* _resultobj
;
10101 bool _arg1
= (bool ) TRUE
;
10102 PyObject
* _argo0
= 0;
10103 int tempbool1
= (int) TRUE
;
10104 char *_kwnames
[] = { "self","enable", NULL
};
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
10110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
10116 _arg1
= (bool ) tempbool1
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) return NULL
;
10123 } Py_INCREF(Py_None
);
10124 _resultobj
= Py_None
;
10128 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
10129 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10132 PyObject
* _argo0
= 0;
10133 char *_kwnames
[] = { "self", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxGrid_DisableDragRowSize(_arg0
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 } Py_INCREF(Py_None
);
10152 _resultobj
= Py_None
;
10156 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10157 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
* _resultobj
;
10161 PyObject
* _argo0
= 0;
10162 char *_kwnames
[] = { "self", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) return NULL
;
10180 } _resultobj
= Py_BuildValue("i",_result
);
10184 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10185 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10188 bool _arg1
= (bool ) TRUE
;
10189 PyObject
* _argo0
= 0;
10190 int tempbool1
= (int) TRUE
;
10191 char *_kwnames
[] = { "self","enable", NULL
};
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10203 _arg1
= (bool ) tempbool1
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) return NULL
;
10210 } Py_INCREF(Py_None
);
10211 _resultobj
= Py_None
;
10215 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10216 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10219 PyObject
* _argo0
= 0;
10220 char *_kwnames
[] = { "self", NULL
};
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 wxGrid_DisableDragColSize(_arg0
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) return NULL
;
10238 } Py_INCREF(Py_None
);
10239 _resultobj
= Py_None
;
10243 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10244 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
* _resultobj
;
10248 PyObject
* _argo0
= 0;
10249 char *_kwnames
[] = { "self", NULL
};
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) return NULL
;
10267 } _resultobj
= Py_BuildValue("i",_result
);
10271 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10272 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
* _resultobj
;
10275 bool _arg1
= (bool ) TRUE
;
10276 PyObject
* _argo0
= 0;
10277 int tempbool1
= (int) TRUE
;
10278 char *_kwnames
[] = { "self","enable", NULL
};
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10290 _arg1
= (bool ) tempbool1
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) return NULL
;
10297 } Py_INCREF(Py_None
);
10298 _resultobj
= Py_None
;
10302 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10303 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10306 PyObject
* _argo0
= 0;
10307 char *_kwnames
[] = { "self", NULL
};
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 wxGrid_DisableDragGridSize(_arg0
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) return NULL
;
10325 } Py_INCREF(Py_None
);
10326 _resultobj
= Py_None
;
10330 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10331 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
* _resultobj
;
10335 PyObject
* _argo0
= 0;
10336 char *_kwnames
[] = { "self", NULL
};
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) return NULL
;
10354 } _resultobj
= Py_BuildValue("i",_result
);
10358 #define wxGrid_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
10359 static PyObject
*_wrap_wxGrid_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
* _resultobj
;
10364 wxGridCellAttr
* _arg3
;
10365 PyObject
* _argo0
= 0;
10366 PyObject
* _argo3
= 0;
10367 char *_kwnames
[] = { "self","row","col","attr", NULL
};
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetAttr. Expected _wxGrid_p.");
10380 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10381 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellAttr_p")) {
10382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetAttr. Expected _wxGridCellAttr_p.");
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 wxGrid_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) return NULL
;
10392 } Py_INCREF(Py_None
);
10393 _resultobj
= Py_None
;
10397 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10398 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
* _resultobj
;
10402 wxGridCellAttr
* _arg2
;
10403 PyObject
* _argo0
= 0;
10404 PyObject
* _argo2
= 0;
10405 char *_kwnames
[] = { "self","row","attr", NULL
};
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10418 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) return NULL
;
10430 } Py_INCREF(Py_None
);
10431 _resultobj
= Py_None
;
10435 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10436 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10440 wxGridCellAttr
* _arg2
;
10441 PyObject
* _argo0
= 0;
10442 PyObject
* _argo2
= 0;
10443 char *_kwnames
[] = { "self","col","attr", NULL
};
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10456 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10457 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) return NULL
;
10468 } Py_INCREF(Py_None
);
10469 _resultobj
= Py_None
;
10473 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10474 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
* _resultobj
;
10478 PyObject
* _argo0
= 0;
10479 char *_kwnames
[] = { "self","col", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) return NULL
;
10497 } Py_INCREF(Py_None
);
10498 _resultobj
= Py_None
;
10502 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10503 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
* _resultobj
;
10507 PyObject
* _argo0
= 0;
10508 char *_kwnames
[] = { "self","col", NULL
};
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) return NULL
;
10526 } Py_INCREF(Py_None
);
10527 _resultobj
= Py_None
;
10531 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10532 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
* _resultobj
;
10536 int _arg2
= (int ) -1;
10537 int _arg3
= (int ) -1;
10538 PyObject
* _argo0
= 0;
10539 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) return NULL
;
10557 } Py_INCREF(Py_None
);
10558 _resultobj
= Py_None
;
10562 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10563 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
* _resultobj
;
10568 PyObject
* _argo0
= 0;
10569 PyObject
* _obj2
= 0;
10570 char *_kwnames
[] = { "self","col","typeName", NULL
};
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10583 _arg2
= wxString_in_helper(_obj2
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) return NULL
;
10593 } Py_INCREF(Py_None
);
10594 _resultobj
= Py_None
;
10602 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10603 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10606 bool _arg1
= (bool ) TRUE
;
10607 PyObject
* _argo0
= 0;
10608 int tempbool1
= (int) TRUE
;
10609 char *_kwnames
[] = { "self","enable", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10621 _arg1
= (bool ) tempbool1
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxGrid_EnableGridLines(_arg0
,_arg1
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10628 } Py_INCREF(Py_None
);
10629 _resultobj
= Py_None
;
10633 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10634 static PyObject
*_wrap_wxGrid_GridLinesEnabled(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_GridLinesEnabled",_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_GridLinesEnabled. Expected _wxGrid_p.");
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) return NULL
;
10657 } _resultobj
= Py_BuildValue("i",_result
);
10661 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10662 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10666 PyObject
* _argo0
= 0;
10667 char *_kwnames
[] = { "self", NULL
};
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) return NULL
;
10685 } _resultobj
= Py_BuildValue("i",_result
);
10689 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10690 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
* _resultobj
;
10695 PyObject
* _argo0
= 0;
10696 char *_kwnames
[] = { "self","row", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
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_GetRowSize. Expected _wxGrid_p.");
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } _resultobj
= Py_BuildValue("i",_result
);
10718 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10719 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
* _resultobj
;
10723 PyObject
* _argo0
= 0;
10724 char *_kwnames
[] = { "self", NULL
};
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) return NULL
;
10742 } _resultobj
= Py_BuildValue("i",_result
);
10746 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10747 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
* _resultobj
;
10752 PyObject
* _argo0
= 0;
10753 char *_kwnames
[] = { "self","col", NULL
};
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) return NULL
;
10771 } _resultobj
= Py_BuildValue("i",_result
);
10775 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10776 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
* _resultobj
;
10778 wxColour
* _result
;
10780 PyObject
* _argo0
= 0;
10781 char *_kwnames
[] = { "self", NULL
};
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) return NULL
;
10800 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10801 _resultobj
= Py_BuildValue("s",_ptemp
);
10805 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10806 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
* _resultobj
;
10808 wxColour
* _result
;
10812 PyObject
* _argo0
= 0;
10813 char *_kwnames
[] = { "self","row","col", NULL
};
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) return NULL
;
10832 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10833 _resultobj
= Py_BuildValue("s",_ptemp
);
10837 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10838 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
* _resultobj
;
10840 wxColour
* _result
;
10842 PyObject
* _argo0
= 0;
10843 char *_kwnames
[] = { "self", NULL
};
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) return NULL
;
10862 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10863 _resultobj
= Py_BuildValue("s",_ptemp
);
10867 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10868 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
* _resultobj
;
10870 wxColour
* _result
;
10874 PyObject
* _argo0
= 0;
10875 char *_kwnames
[] = { "self","row","col", NULL
};
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) return NULL
;
10894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10895 _resultobj
= Py_BuildValue("s",_ptemp
);
10899 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10900 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
* _resultobj
;
10904 PyObject
* _argo0
= 0;
10905 char *_kwnames
[] = { "self", NULL
};
10909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) return NULL
;
10924 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10925 _resultobj
= Py_BuildValue("s",_ptemp
);
10929 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10930 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
* _resultobj
;
10936 PyObject
* _argo0
= 0;
10937 char *_kwnames
[] = { "self","row","col", NULL
};
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) return NULL
;
10956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10957 _resultobj
= Py_BuildValue("s",_ptemp
);
10961 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10962 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
* _resultobj
;
10967 PyObject
* _argo0
= 0;
10968 PyObject
* _argo1
= 0;
10969 PyObject
* _argo2
= 0;
10970 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10990 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10991 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) return NULL
;
11002 } Py_INCREF(Py_None
);
11003 _resultobj
= Py_None
;
11007 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11008 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
* _resultobj
;
11015 PyObject
* _argo0
= 0;
11016 PyObject
* _argo3
= 0;
11017 PyObject
* _argo4
= 0;
11018 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
11024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
11031 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11032 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
11033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
11038 if (_argo4
== Py_None
) { _arg4
= NULL
; }
11039 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
11040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) return NULL
;
11050 } Py_INCREF(Py_None
);
11051 _resultobj
= Py_None
;
11055 #define wxGrid_GetDefaultCellOverflow(_swigobj) (_swigobj->GetDefaultCellOverflow())
11056 static PyObject
*_wrap_wxGrid_GetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
* _resultobj
;
11060 PyObject
* _argo0
= 0;
11061 char *_kwnames
[] = { "self", NULL
};
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellOverflow",_kwnames
,&_argo0
))
11067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellOverflow. Expected _wxGrid_p.");
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 _result
= (bool )wxGrid_GetDefaultCellOverflow(_arg0
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) return NULL
;
11079 } _resultobj
= Py_BuildValue("i",_result
);
11083 #define wxGrid_GetCellOverflow(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellOverflow(_swigarg0,_swigarg1))
11084 static PyObject
*_wrap_wxGrid_GetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
* _resultobj
;
11090 PyObject
* _argo0
= 0;
11091 char *_kwnames
[] = { "self","row","col", NULL
};
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellOverflow. Expected _wxGrid_p.");
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 _result
= (bool )wxGrid_GetCellOverflow(_arg0
,_arg1
,_arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) return NULL
;
11109 } _resultobj
= Py_BuildValue("i",_result
);
11113 #define wxGrid_GetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11114 static PyObject
*_wrap_wxGrid_GetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
* _resultobj
;
11123 PyObject
* _argo0
= 0;
11124 char *_kwnames
[] = { "self","row","col", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellSize. Expected _wxGrid_p.");
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 wxGrid_GetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) return NULL
;
11148 } Py_INCREF(Py_None
);
11149 _resultobj
= Py_None
;
11152 o
= PyInt_FromLong((long) (*_arg3
));
11153 _resultobj
= t_output_helper(_resultobj
, o
);
11157 o
= PyInt_FromLong((long) (*_arg4
));
11158 _resultobj
= t_output_helper(_resultobj
, o
);
11163 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
11164 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
* _resultobj
;
11168 bool _arg2
= (bool ) FALSE
;
11169 PyObject
* _argo0
= 0;
11170 int tempbool2
= (int) FALSE
;
11171 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
11183 _arg2
= (bool ) tempbool2
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) return NULL
;
11190 } Py_INCREF(Py_None
);
11191 _resultobj
= Py_None
;
11195 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
11196 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
* _resultobj
;
11201 PyObject
* _argo0
= 0;
11202 char *_kwnames
[] = { "self","row","height", NULL
};
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) return NULL
;
11220 } Py_INCREF(Py_None
);
11221 _resultobj
= Py_None
;
11225 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
11226 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
* _resultobj
;
11230 bool _arg2
= (bool ) FALSE
;
11231 PyObject
* _argo0
= 0;
11232 int tempbool2
= (int) FALSE
;
11233 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
11245 _arg2
= (bool ) tempbool2
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) return NULL
;
11252 } Py_INCREF(Py_None
);
11253 _resultobj
= Py_None
;
11257 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
11258 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
* _resultobj
;
11263 PyObject
* _argo0
= 0;
11264 char *_kwnames
[] = { "self","col","width", NULL
};
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) return NULL
;
11282 } Py_INCREF(Py_None
);
11283 _resultobj
= Py_None
;
11287 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11288 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
* _resultobj
;
11292 bool _arg2
= (bool ) TRUE
;
11293 PyObject
* _argo0
= 0;
11294 int tempbool2
= (int) TRUE
;
11295 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11307 _arg2
= (bool ) tempbool2
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) return NULL
;
11314 } Py_INCREF(Py_None
);
11315 _resultobj
= Py_None
;
11319 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11320 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
* _resultobj
;
11324 bool _arg2
= (bool ) TRUE
;
11325 PyObject
* _argo0
= 0;
11326 int tempbool2
= (int) TRUE
;
11327 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11339 _arg2
= (bool ) tempbool2
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) return NULL
;
11346 } Py_INCREF(Py_None
);
11347 _resultobj
= Py_None
;
11351 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11352 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
* _resultobj
;
11355 bool _arg1
= (bool ) TRUE
;
11356 PyObject
* _argo0
= 0;
11357 int tempbool1
= (int) TRUE
;
11358 char *_kwnames
[] = { "self","setAsMin", NULL
};
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11370 _arg1
= (bool ) tempbool1
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) return NULL
;
11377 } Py_INCREF(Py_None
);
11378 _resultobj
= Py_None
;
11382 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11383 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
* _resultobj
;
11386 bool _arg1
= (bool ) TRUE
;
11387 PyObject
* _argo0
= 0;
11388 int tempbool1
= (int) TRUE
;
11389 char *_kwnames
[] = { "self","setAsMin", NULL
};
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11401 _arg1
= (bool ) tempbool1
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) return NULL
;
11408 } Py_INCREF(Py_None
);
11409 _resultobj
= Py_None
;
11413 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11414 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
* _resultobj
;
11417 PyObject
* _argo0
= 0;
11418 char *_kwnames
[] = { "self", NULL
};
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 wxGrid_AutoSize(_arg0
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) return NULL
;
11436 } Py_INCREF(Py_None
);
11437 _resultobj
= Py_None
;
11441 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11442 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
* _resultobj
;
11447 PyObject
* _argo0
= 0;
11448 char *_kwnames
[] = { "self","col","width", NULL
};
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) return NULL
;
11466 } Py_INCREF(Py_None
);
11467 _resultobj
= Py_None
;
11471 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11472 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
* _resultobj
;
11477 PyObject
* _argo0
= 0;
11478 char *_kwnames
[] = { "self","row","width", NULL
};
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) return NULL
;
11496 } Py_INCREF(Py_None
);
11497 _resultobj
= Py_None
;
11501 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11502 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
* _resultobj
;
11506 PyObject
* _argo0
= 0;
11508 PyObject
* _obj1
= 0;
11509 char *_kwnames
[] = { "self","arg2", NULL
};
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11523 if (! wxColour_helper(_obj1
, &_arg1
))
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) return NULL
;
11532 } Py_INCREF(Py_None
);
11533 _resultobj
= Py_None
;
11537 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11538 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
* _resultobj
;
11544 PyObject
* _argo0
= 0;
11546 PyObject
* _obj3
= 0;
11547 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11561 if (! wxColour_helper(_obj3
, &_arg3
))
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) return NULL
;
11570 } Py_INCREF(Py_None
);
11571 _resultobj
= Py_None
;
11575 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11576 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
* _resultobj
;
11580 PyObject
* _argo0
= 0;
11582 PyObject
* _obj1
= 0;
11583 char *_kwnames
[] = { "self","arg2", NULL
};
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11597 if (! wxColour_helper(_obj1
, &_arg1
))
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) return NULL
;
11606 } Py_INCREF(Py_None
);
11607 _resultobj
= Py_None
;
11611 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11612 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
* _resultobj
;
11618 PyObject
* _argo0
= 0;
11620 PyObject
* _obj3
= 0;
11621 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11635 if (! wxColour_helper(_obj3
, &_arg3
))
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) return NULL
;
11644 } Py_INCREF(Py_None
);
11645 _resultobj
= Py_None
;
11649 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11650 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
* _resultobj
;
11654 PyObject
* _argo0
= 0;
11655 PyObject
* _argo1
= 0;
11656 char *_kwnames
[] = { "self","arg2", NULL
};
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) return NULL
;
11681 } Py_INCREF(Py_None
);
11682 _resultobj
= Py_None
;
11686 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11687 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
* _resultobj
;
11693 PyObject
* _argo0
= 0;
11694 PyObject
* _argo3
= 0;
11695 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11708 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11709 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) return NULL
;
11720 } Py_INCREF(Py_None
);
11721 _resultobj
= Py_None
;
11725 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11726 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
* _resultobj
;
11731 PyObject
* _argo0
= 0;
11732 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) return NULL
;
11750 } Py_INCREF(Py_None
);
11751 _resultobj
= Py_None
;
11755 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11756 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
* _resultobj
;
11763 PyObject
* _argo0
= 0;
11764 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) return NULL
;
11782 } Py_INCREF(Py_None
);
11783 _resultobj
= Py_None
;
11787 #define wxGrid_SetDefaultCellOverflow(_swigobj,_swigarg0) (_swigobj->SetDefaultCellOverflow(_swigarg0))
11788 static PyObject
*_wrap_wxGrid_SetDefaultCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
* _resultobj
;
11792 PyObject
* _argo0
= 0;
11794 char *_kwnames
[] = { "self","allow", NULL
};
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetDefaultCellOverflow",_kwnames
,&_argo0
,&tempbool1
))
11800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellOverflow. Expected _wxGrid_p.");
11806 _arg1
= (bool ) tempbool1
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 wxGrid_SetDefaultCellOverflow(_arg0
,_arg1
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) return NULL
;
11813 } Py_INCREF(Py_None
);
11814 _resultobj
= Py_None
;
11818 #define wxGrid_SetCellOverflow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellOverflow(_swigarg0,_swigarg1,_swigarg2))
11819 static PyObject
*_wrap_wxGrid_SetCellOverflow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
* _resultobj
;
11825 PyObject
* _argo0
= 0;
11827 char *_kwnames
[] = { "self","row","col","allow", NULL
};
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGrid_SetCellOverflow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellOverflow. Expected _wxGrid_p.");
11839 _arg3
= (bool ) tempbool3
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 wxGrid_SetCellOverflow(_arg0
,_arg1
,_arg2
,_arg3
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) return NULL
;
11846 } Py_INCREF(Py_None
);
11847 _resultobj
= Py_None
;
11851 #define wxGrid_SetCellSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11852 static PyObject
*_wrap_wxGrid_SetCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
* _resultobj
;
11859 PyObject
* _argo0
= 0;
11860 char *_kwnames
[] = { "self","row","col","num_rows","num_cols", NULL
};
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellSize. Expected _wxGrid_p.");
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 wxGrid_SetCellSize(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) return NULL
;
11878 } Py_INCREF(Py_None
);
11879 _resultobj
= Py_None
;
11883 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11884 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
* _resultobj
;
11887 wxGridCellRenderer
* _arg1
;
11888 PyObject
* _argo0
= 0;
11889 PyObject
* _argo1
= 0;
11890 char *_kwnames
[] = { "self","renderer", NULL
};
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11903 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11904 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) return NULL
;
11915 } Py_INCREF(Py_None
);
11916 _resultobj
= Py_None
;
11920 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11921 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
* _resultobj
;
11926 wxGridCellRenderer
* _arg3
;
11927 PyObject
* _argo0
= 0;
11928 PyObject
* _argo3
= 0;
11929 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11942 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11943 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) return NULL
;
11954 } Py_INCREF(Py_None
);
11955 _resultobj
= Py_None
;
11959 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11960 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
* _resultobj
;
11962 wxGridCellRenderer
* _result
;
11964 PyObject
* _argo0
= 0;
11965 char *_kwnames
[] = { "self", NULL
};
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) return NULL
;
11983 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11987 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11988 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
* _resultobj
;
11990 wxGridCellRenderer
* _result
;
11994 PyObject
* _argo0
= 0;
11995 char *_kwnames
[] = { "self","row","col", NULL
};
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) return NULL
;
12013 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12017 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
12018 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
* _resultobj
;
12021 wxGridCellEditor
* _arg1
;
12022 PyObject
* _argo0
= 0;
12023 PyObject
* _argo1
= 0;
12024 char *_kwnames
[] = { "self","editor", NULL
};
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
12030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
12037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
12039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) return NULL
;
12049 } Py_INCREF(Py_None
);
12050 _resultobj
= Py_None
;
12054 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
12055 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
* _resultobj
;
12060 wxGridCellEditor
* _arg3
;
12061 PyObject
* _argo0
= 0;
12062 PyObject
* _argo3
= 0;
12063 char *_kwnames
[] = { "self","row","col","editor", NULL
};
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
12069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
12076 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12077 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) return NULL
;
12088 } Py_INCREF(Py_None
);
12089 _resultobj
= Py_None
;
12093 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
12094 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
* _resultobj
;
12096 wxGridCellEditor
* _result
;
12098 PyObject
* _argo0
= 0;
12099 char *_kwnames
[] = { "self", NULL
};
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
12105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) return NULL
;
12117 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12121 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
12122 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
* _resultobj
;
12124 wxGridCellEditor
* _result
;
12128 PyObject
* _argo0
= 0;
12129 char *_kwnames
[] = { "self","row","col", NULL
};
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) return NULL
;
12147 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12151 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
12152 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
* _resultobj
;
12154 wxString
* _result
;
12158 PyObject
* _argo0
= 0;
12159 char *_kwnames
[] = { "self","row","col", NULL
};
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) return NULL
;
12179 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
12181 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
12190 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
12191 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
* _resultobj
;
12197 PyObject
* _argo0
= 0;
12198 PyObject
* _obj3
= 0;
12199 char *_kwnames
[] = { "self","row","col","s", NULL
};
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
12205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
12212 _arg3
= wxString_in_helper(_obj3
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) return NULL
;
12222 } Py_INCREF(Py_None
);
12223 _resultobj
= Py_None
;
12231 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
12232 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
* _resultobj
;
12238 PyObject
* _argo0
= 0;
12239 char *_kwnames
[] = { "self","row","col", NULL
};
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) return NULL
;
12257 } _resultobj
= Py_BuildValue("i",_result
);
12261 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
12262 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
* _resultobj
;
12267 bool _arg3
= (bool ) TRUE
;
12268 PyObject
* _argo0
= 0;
12269 int tempbool3
= (int) TRUE
;
12270 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
12276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
12282 _arg3
= (bool ) tempbool3
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) return NULL
;
12289 } Py_INCREF(Py_None
);
12290 _resultobj
= Py_None
;
12294 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
12295 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
* _resultobj
;
12299 bool _arg2
= (bool ) FALSE
;
12300 PyObject
* _argo0
= 0;
12301 int tempbool2
= (int) FALSE
;
12302 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
12314 _arg2
= (bool ) tempbool2
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) return NULL
;
12321 } Py_INCREF(Py_None
);
12322 _resultobj
= Py_None
;
12326 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12327 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
* _resultobj
;
12331 bool _arg2
= (bool ) FALSE
;
12332 PyObject
* _argo0
= 0;
12333 int tempbool2
= (int) FALSE
;
12334 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12346 _arg2
= (bool ) tempbool2
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) return NULL
;
12353 } Py_INCREF(Py_None
);
12354 _resultobj
= Py_None
;
12358 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12359 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
* _resultobj
;
12366 bool _arg5
= (bool ) FALSE
;
12367 PyObject
* _argo0
= 0;
12368 int tempbool5
= (int) FALSE
;
12369 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12381 _arg5
= (bool ) tempbool5
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) return NULL
;
12388 } Py_INCREF(Py_None
);
12389 _resultobj
= Py_None
;
12393 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12394 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
* _resultobj
;
12397 PyObject
* _argo0
= 0;
12398 char *_kwnames
[] = { "self", NULL
};
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 wxGrid_SelectAll(_arg0
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) return NULL
;
12416 } Py_INCREF(Py_None
);
12417 _resultobj
= Py_None
;
12421 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12422 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
* _resultobj
;
12426 PyObject
* _argo0
= 0;
12427 char *_kwnames
[] = { "self", NULL
};
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 _result
= (bool )wxGrid_IsSelection(_arg0
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) return NULL
;
12445 } _resultobj
= Py_BuildValue("i",_result
);
12449 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12450 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
* _resultobj
;
12453 PyObject
* _argo0
= 0;
12454 char *_kwnames
[] = { "self", NULL
};
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxGrid_ClearSelection(_arg0
);
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) return NULL
;
12472 } Py_INCREF(Py_None
);
12473 _resultobj
= Py_None
;
12477 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12478 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
* _resultobj
;
12484 PyObject
* _argo0
= 0;
12485 char *_kwnames
[] = { "self","row","col", NULL
};
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) return NULL
;
12503 } _resultobj
= Py_BuildValue("i",_result
);
12507 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12508 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
* _resultobj
;
12512 wxGridCellCoords
* _arg1
;
12513 wxGridCellCoords
* _arg2
;
12514 PyObject
* _argo0
= 0;
12515 wxGridCellCoords temp
;
12516 PyObject
* _obj1
= 0;
12517 wxGridCellCoords temp0
;
12518 PyObject
* _obj2
= 0;
12519 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12534 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12539 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) return NULL
;
12548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12549 _resultobj
= Py_BuildValue("s",_ptemp
);
12553 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12554 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
* _resultobj
;
12556 wxColour
* _result
;
12558 PyObject
* _argo0
= 0;
12559 char *_kwnames
[] = { "self", NULL
};
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) return NULL
;
12578 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12579 _resultobj
= Py_BuildValue("s",_ptemp
);
12583 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12584 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
* _resultobj
;
12586 wxColour
* _result
;
12588 PyObject
* _argo0
= 0;
12589 char *_kwnames
[] = { "self", NULL
};
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) return NULL
;
12608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12609 _resultobj
= Py_BuildValue("s",_ptemp
);
12613 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12614 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
* _resultobj
;
12618 PyObject
* _argo0
= 0;
12620 PyObject
* _obj1
= 0;
12621 char *_kwnames
[] = { "self","c", NULL
};
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12635 if (! wxColour_helper(_obj1
, &_arg1
))
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) return NULL
;
12644 } Py_INCREF(Py_None
);
12645 _resultobj
= Py_None
;
12649 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12650 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
* _resultobj
;
12654 PyObject
* _argo0
= 0;
12656 PyObject
* _obj1
= 0;
12657 char *_kwnames
[] = { "self","c", NULL
};
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12671 if (! wxColour_helper(_obj1
, &_arg1
))
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) return NULL
;
12680 } Py_INCREF(Py_None
);
12681 _resultobj
= Py_None
;
12685 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12686 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
* _resultobj
;
12690 wxGridCellRenderer
* _arg2
;
12691 wxGridCellEditor
* _arg3
;
12692 PyObject
* _argo0
= 0;
12693 PyObject
* _obj1
= 0;
12694 PyObject
* _argo2
= 0;
12695 PyObject
* _argo3
= 0;
12696 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12709 _arg1
= wxString_in_helper(_obj1
);
12714 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12715 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12721 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12722 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) return NULL
;
12733 } Py_INCREF(Py_None
);
12734 _resultobj
= Py_None
;
12742 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12743 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
* _resultobj
;
12745 wxGridCellEditor
* _result
;
12749 PyObject
* _argo0
= 0;
12750 char *_kwnames
[] = { "self","row","col", NULL
};
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) return NULL
;
12768 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12772 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12773 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
* _resultobj
;
12775 wxGridCellRenderer
* _result
;
12779 PyObject
* _argo0
= 0;
12780 char *_kwnames
[] = { "self","row","col", NULL
};
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) return NULL
;
12798 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12802 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12803 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
* _resultobj
;
12805 wxGridCellEditor
* _result
;
12808 PyObject
* _argo0
= 0;
12809 PyObject
* _obj1
= 0;
12810 char *_kwnames
[] = { "self","typeName", NULL
};
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12823 _arg1
= wxString_in_helper(_obj1
);
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) return NULL
;
12833 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12841 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12842 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
* _resultobj
;
12844 wxGridCellRenderer
* _result
;
12847 PyObject
* _argo0
= 0;
12848 PyObject
* _obj1
= 0;
12849 char *_kwnames
[] = { "self","typeName", NULL
};
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12862 _arg1
= wxString_in_helper(_obj1
);
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) return NULL
;
12872 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12880 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12881 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
* _resultobj
;
12886 PyObject
* _argo0
= 0;
12887 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) return NULL
;
12905 } Py_INCREF(Py_None
);
12906 _resultobj
= Py_None
;
12910 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12911 static PyObject
*_wrap_wxGrid_GetGridWindow(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_GetGridWindow",_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_GetGridWindow. Expected _wxGrid_p.");
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) return NULL
;
12934 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12938 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12939 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(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_GetGridRowLabelWindow",_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_GetGridRowLabelWindow. Expected _wxGrid_p.");
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) return NULL
;
12962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12966 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12967 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(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_GetGridColLabelWindow",_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_GetGridColLabelWindow. Expected _wxGrid_p.");
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) return NULL
;
12990 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12994 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12995 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
* _resultobj
;
12997 wxWindow
* _result
;
12999 PyObject
* _argo0
= 0;
13000 char *_kwnames
[] = { "self", NULL
};
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
13006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
13008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) return NULL
;
13018 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13022 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
13024 wxNotifyEvent
*dest
;
13025 src
= (wxGridEvent
*) ptr
;
13026 dest
= (wxNotifyEvent
*) src
;
13027 return (void *) dest
;
13030 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
13032 wxCommandEvent
*dest
;
13033 src
= (wxGridEvent
*) ptr
;
13034 dest
= (wxCommandEvent
*) src
;
13035 return (void *) dest
;
13038 static void *SwigwxGridEventTowxEvent(void *ptr
) {
13041 src
= (wxGridEvent
*) ptr
;
13042 dest
= (wxEvent
*) src
;
13043 return (void *) dest
;
13046 static void *SwigwxGridEventTowxObject(void *ptr
) {
13049 src
= (wxGridEvent
*) ptr
;
13050 dest
= (wxObject
*) src
;
13051 return (void *) dest
;
13054 #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))
13055 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
* _resultobj
;
13057 wxGridEvent
* _result
;
13061 int _arg3
= (int ) -1;
13062 int _arg4
= (int ) -1;
13063 int _arg5
= (int ) -1;
13064 int _arg6
= (int ) -1;
13065 bool _arg7
= (bool ) TRUE
;
13066 bool _arg8
= (bool ) FALSE
;
13067 bool _arg9
= (bool ) FALSE
;
13068 bool _arg10
= (bool ) FALSE
;
13069 bool _arg11
= (bool ) FALSE
;
13070 PyObject
* _argo2
= 0;
13071 int tempbool7
= (int) TRUE
;
13072 int tempbool8
= (int) FALSE
;
13073 int tempbool9
= (int) FALSE
;
13074 int tempbool10
= (int) FALSE
;
13075 int tempbool11
= (int) FALSE
;
13076 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
13083 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13084 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
13089 _arg7
= (bool ) tempbool7
;
13090 _arg8
= (bool ) tempbool8
;
13091 _arg9
= (bool ) tempbool9
;
13092 _arg10
= (bool ) tempbool10
;
13093 _arg11
= (bool ) tempbool11
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) return NULL
;
13101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
13102 _resultobj
= Py_BuildValue("s",_ptemp
);
13104 Py_INCREF(Py_None
);
13105 _resultobj
= Py_None
;
13110 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
13111 static PyObject
*_wrap_wxGridEvent_GetRow(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_GetRow",_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_GetRow. Expected _wxGridEvent_p.");
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 _result
= (int )wxGridEvent_GetRow(_arg0
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) return NULL
;
13134 } _resultobj
= Py_BuildValue("i",_result
);
13138 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
13139 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
* _resultobj
;
13142 wxGridEvent
* _arg0
;
13143 PyObject
* _argo0
= 0;
13144 char *_kwnames
[] = { "self", NULL
};
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
13150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 _result
= (int )wxGridEvent_GetCol(_arg0
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) return NULL
;
13162 } _resultobj
= Py_BuildValue("i",_result
);
13166 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13167 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
* _resultobj
;
13170 wxGridEvent
* _arg0
;
13171 PyObject
* _argo0
= 0;
13172 char *_kwnames
[] = { "self", NULL
};
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
13179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) return NULL
;
13191 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13192 _resultobj
= Py_BuildValue("s",_ptemp
);
13196 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
13197 static PyObject
*_wrap_wxGridEvent_Selecting(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_Selecting",_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_Selecting. Expected _wxGridEvent_p.");
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 _result
= (bool )wxGridEvent_Selecting(_arg0
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) return NULL
;
13220 } _resultobj
= Py_BuildValue("i",_result
);
13224 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13225 static PyObject
*_wrap_wxGridEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridEvent_p.");
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) return NULL
;
13248 } _resultobj
= Py_BuildValue("i",_result
);
13252 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13253 static PyObject
*_wrap_wxGridEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridEvent_p.");
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) return NULL
;
13276 } _resultobj
= Py_BuildValue("i",_result
);
13280 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13281 static PyObject
*_wrap_wxGridEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridEvent_p.");
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) return NULL
;
13304 } _resultobj
= Py_BuildValue("i",_result
);
13308 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13309 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
* _resultobj
;
13312 wxGridEvent
* _arg0
;
13313 PyObject
* _argo0
= 0;
13314 char *_kwnames
[] = { "self", NULL
};
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
13320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) return NULL
;
13332 } _resultobj
= Py_BuildValue("i",_result
);
13336 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13337 wxGridSizeEvent
*src
;
13338 wxNotifyEvent
*dest
;
13339 src
= (wxGridSizeEvent
*) ptr
;
13340 dest
= (wxNotifyEvent
*) src
;
13341 return (void *) dest
;
13344 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13345 wxGridSizeEvent
*src
;
13346 wxCommandEvent
*dest
;
13347 src
= (wxGridSizeEvent
*) ptr
;
13348 dest
= (wxCommandEvent
*) src
;
13349 return (void *) dest
;
13352 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13353 wxGridSizeEvent
*src
;
13355 src
= (wxGridSizeEvent
*) ptr
;
13356 dest
= (wxEvent
*) src
;
13357 return (void *) dest
;
13360 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13361 wxGridSizeEvent
*src
;
13363 src
= (wxGridSizeEvent
*) ptr
;
13364 dest
= (wxObject
*) src
;
13365 return (void *) dest
;
13368 #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))
13369 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
* _resultobj
;
13371 wxGridSizeEvent
* _result
;
13375 int _arg3
= (int ) -1;
13376 int _arg4
= (int ) -1;
13377 int _arg5
= (int ) -1;
13378 bool _arg6
= (bool ) FALSE
;
13379 bool _arg7
= (bool ) FALSE
;
13380 bool _arg8
= (bool ) FALSE
;
13381 bool _arg9
= (bool ) FALSE
;
13382 PyObject
* _argo2
= 0;
13383 int tempbool6
= (int) FALSE
;
13384 int tempbool7
= (int) FALSE
;
13385 int tempbool8
= (int) FALSE
;
13386 int tempbool9
= (int) FALSE
;
13387 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13394 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13395 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13400 _arg6
= (bool ) tempbool6
;
13401 _arg7
= (bool ) tempbool7
;
13402 _arg8
= (bool ) tempbool8
;
13403 _arg9
= (bool ) tempbool9
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) return NULL
;
13411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13412 _resultobj
= Py_BuildValue("s",_ptemp
);
13414 Py_INCREF(Py_None
);
13415 _resultobj
= Py_None
;
13420 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13421 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
* _resultobj
;
13424 wxGridSizeEvent
* _arg0
;
13425 PyObject
* _argo0
= 0;
13426 char *_kwnames
[] = { "self", NULL
};
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) return NULL
;
13444 } _resultobj
= Py_BuildValue("i",_result
);
13448 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13449 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
* _resultobj
;
13452 wxGridSizeEvent
* _arg0
;
13453 PyObject
* _argo0
= 0;
13454 char *_kwnames
[] = { "self", NULL
};
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) return NULL
;
13473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13474 _resultobj
= Py_BuildValue("s",_ptemp
);
13478 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13479 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridSizeEvent_p.");
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) return NULL
;
13502 } _resultobj
= Py_BuildValue("i",_result
);
13506 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13507 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridSizeEvent_p.");
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) return NULL
;
13530 } _resultobj
= Py_BuildValue("i",_result
);
13534 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13535 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridSizeEvent_p.");
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) return NULL
;
13558 } _resultobj
= Py_BuildValue("i",_result
);
13562 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13563 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
* _resultobj
;
13566 wxGridSizeEvent
* _arg0
;
13567 PyObject
* _argo0
= 0;
13568 char *_kwnames
[] = { "self", NULL
};
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) return NULL
;
13586 } _resultobj
= Py_BuildValue("i",_result
);
13590 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13591 wxGridRangeSelectEvent
*src
;
13592 wxNotifyEvent
*dest
;
13593 src
= (wxGridRangeSelectEvent
*) ptr
;
13594 dest
= (wxNotifyEvent
*) src
;
13595 return (void *) dest
;
13598 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13599 wxGridRangeSelectEvent
*src
;
13600 wxCommandEvent
*dest
;
13601 src
= (wxGridRangeSelectEvent
*) ptr
;
13602 dest
= (wxCommandEvent
*) src
;
13603 return (void *) dest
;
13606 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13607 wxGridRangeSelectEvent
*src
;
13609 src
= (wxGridRangeSelectEvent
*) ptr
;
13610 dest
= (wxEvent
*) src
;
13611 return (void *) dest
;
13614 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13615 wxGridRangeSelectEvent
*src
;
13617 src
= (wxGridRangeSelectEvent
*) ptr
;
13618 dest
= (wxObject
*) src
;
13619 return (void *) dest
;
13622 #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))
13623 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
* _resultobj
;
13625 wxGridRangeSelectEvent
* _result
;
13629 wxGridCellCoords
* _arg3
;
13630 wxGridCellCoords
* _arg4
;
13631 bool _arg5
= (bool ) TRUE
;
13632 bool _arg6
= (bool ) FALSE
;
13633 bool _arg7
= (bool ) FALSE
;
13634 bool _arg8
= (bool ) FALSE
;
13635 bool _arg9
= (bool ) FALSE
;
13636 PyObject
* _argo2
= 0;
13637 wxGridCellCoords temp
;
13638 PyObject
* _obj3
= 0;
13639 wxGridCellCoords temp0
;
13640 PyObject
* _obj4
= 0;
13641 int tempbool5
= (int) TRUE
;
13642 int tempbool6
= (int) FALSE
;
13643 int tempbool7
= (int) FALSE
;
13644 int tempbool8
= (int) FALSE
;
13645 int tempbool9
= (int) FALSE
;
13646 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13653 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13654 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13661 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13666 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13669 _arg5
= (bool ) tempbool5
;
13670 _arg6
= (bool ) tempbool6
;
13671 _arg7
= (bool ) tempbool7
;
13672 _arg8
= (bool ) tempbool8
;
13673 _arg9
= (bool ) tempbool9
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) return NULL
;
13681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13682 _resultobj
= Py_BuildValue("s",_ptemp
);
13684 Py_INCREF(Py_None
);
13685 _resultobj
= Py_None
;
13690 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13691 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
* _resultobj
;
13693 wxGridCellCoords
* _result
;
13694 wxGridRangeSelectEvent
* _arg0
;
13695 PyObject
* _argo0
= 0;
13696 char *_kwnames
[] = { "self", NULL
};
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) return NULL
;
13715 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13716 _resultobj
= Py_BuildValue("s",_ptemp
);
13720 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13721 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
* _resultobj
;
13723 wxGridCellCoords
* _result
;
13724 wxGridRangeSelectEvent
* _arg0
;
13725 PyObject
* _argo0
= 0;
13726 char *_kwnames
[] = { "self", NULL
};
13730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) return NULL
;
13745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13746 _resultobj
= Py_BuildValue("s",_ptemp
);
13750 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13751 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(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_GetTopRow",_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_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) return NULL
;
13774 } _resultobj
= Py_BuildValue("i",_result
);
13778 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13779 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(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_GetBottomRow",_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_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) return NULL
;
13802 } _resultobj
= Py_BuildValue("i",_result
);
13806 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13807 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(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_GetLeftCol",_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_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) return NULL
;
13830 } _resultobj
= Py_BuildValue("i",_result
);
13834 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13835 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(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_GetRightCol",_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_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) return NULL
;
13858 } _resultobj
= Py_BuildValue("i",_result
);
13862 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13863 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(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_Selecting",_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_Selecting. Expected _wxGridRangeSelectEvent_p.");
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) return NULL
;
13886 } _resultobj
= Py_BuildValue("i",_result
);
13890 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13891 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(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_ControlDown",_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_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) return NULL
;
13914 } _resultobj
= Py_BuildValue("i",_result
);
13918 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13919 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(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_MetaDown",_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_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) return NULL
;
13942 } _resultobj
= Py_BuildValue("i",_result
);
13946 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13947 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(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_ShiftDown",_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_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) return NULL
;
13970 } _resultobj
= Py_BuildValue("i",_result
);
13974 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13975 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
* _resultobj
;
13978 wxGridRangeSelectEvent
* _arg0
;
13979 PyObject
* _argo0
= 0;
13980 char *_kwnames
[] = { "self", NULL
};
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) return NULL
;
13998 } _resultobj
= Py_BuildValue("i",_result
);
14002 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
14003 wxGridEditorCreatedEvent
*src
;
14004 wxCommandEvent
*dest
;
14005 src
= (wxGridEditorCreatedEvent
*) ptr
;
14006 dest
= (wxCommandEvent
*) src
;
14007 return (void *) dest
;
14010 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
14011 wxGridEditorCreatedEvent
*src
;
14013 src
= (wxGridEditorCreatedEvent
*) ptr
;
14014 dest
= (wxEvent
*) src
;
14015 return (void *) dest
;
14018 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
14019 wxGridEditorCreatedEvent
*src
;
14021 src
= (wxGridEditorCreatedEvent
*) ptr
;
14022 dest
= (wxObject
*) src
;
14023 return (void *) dest
;
14026 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
14027 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
* _resultobj
;
14029 wxGridEditorCreatedEvent
* _result
;
14036 PyObject
* _argo2
= 0;
14037 PyObject
* _argo5
= 0;
14038 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
14045 if (_argo2
== Py_None
) { _arg2
= NULL
; }
14046 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
14047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
14052 if (_argo5
== Py_None
) { _arg5
= NULL
; }
14053 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
14054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) return NULL
;
14065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
14066 _resultobj
= Py_BuildValue("s",_ptemp
);
14068 Py_INCREF(Py_None
);
14069 _resultobj
= Py_None
;
14074 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
14075 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(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_GetRow",_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_GetRow. Expected _wxGridEditorCreatedEvent_p.");
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) return NULL
;
14098 } _resultobj
= Py_BuildValue("i",_result
);
14102 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
14103 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
* _resultobj
;
14106 wxGridEditorCreatedEvent
* _arg0
;
14107 PyObject
* _argo0
= 0;
14108 char *_kwnames
[] = { "self", NULL
};
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_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_GetCol. Expected _wxGridEditorCreatedEvent_p.");
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) return NULL
;
14126 } _resultobj
= Py_BuildValue("i",_result
);
14130 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
14131 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
* _resultobj
;
14133 wxControl
* _result
;
14134 wxGridEditorCreatedEvent
* _arg0
;
14135 PyObject
* _argo0
= 0;
14136 char *_kwnames
[] = { "self", NULL
};
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
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_GetControl. Expected _wxGridEditorCreatedEvent_p.");
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) return NULL
;
14154 }{ _resultobj
= wxPyMake_wxObject(_result
); }
14158 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
14159 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
* _resultobj
;
14161 wxGridEditorCreatedEvent
* _arg0
;
14163 PyObject
* _argo0
= 0;
14164 char *_kwnames
[] = { "self","row", NULL
};
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
14170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) return NULL
;
14182 } Py_INCREF(Py_None
);
14183 _resultobj
= Py_None
;
14187 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
14188 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
* _resultobj
;
14190 wxGridEditorCreatedEvent
* _arg0
;
14192 PyObject
* _argo0
= 0;
14193 char *_kwnames
[] = { "self","col", NULL
};
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
14199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) return NULL
;
14211 } Py_INCREF(Py_None
);
14212 _resultobj
= Py_None
;
14216 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
14217 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
* _resultobj
;
14219 wxGridEditorCreatedEvent
* _arg0
;
14221 PyObject
* _argo0
= 0;
14222 PyObject
* _argo1
= 0;
14223 char *_kwnames
[] = { "self","ctrl", NULL
};
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
14229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
14230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
14231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
14236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
14237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
14238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) return NULL
;
14248 } Py_INCREF(Py_None
);
14249 _resultobj
= Py_None
;
14253 static PyMethodDef gridcMethods
[] = {
14254 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14255 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14256 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14257 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14258 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14259 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14260 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14261 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14262 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14263 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14264 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14265 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14266 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14267 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14268 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14269 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14270 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14271 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14272 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14273 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14274 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14275 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14276 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14277 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14278 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14279 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14280 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14281 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14282 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14283 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14284 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14285 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14286 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14287 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14288 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14289 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14290 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14291 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14292 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14293 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14294 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14295 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14296 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14297 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14298 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14299 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14300 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14301 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14302 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14303 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14304 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14305 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14306 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14307 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14308 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14309 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14310 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14311 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14312 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14313 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14314 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14315 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14316 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14317 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14318 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14319 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14320 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14321 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14322 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14323 { "wxGrid_SetCellSize", (PyCFunction
) _wrap_wxGrid_SetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14324 { "wxGrid_SetCellOverflow", (PyCFunction
) _wrap_wxGrid_SetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14325 { "wxGrid_SetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_SetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14326 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14327 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14328 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14329 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14330 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14331 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14332 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14333 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14334 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14335 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14336 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14337 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14338 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14339 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14340 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14341 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14342 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14343 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14344 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14345 { "wxGrid_GetCellSize", (PyCFunction
) _wrap_wxGrid_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
},
14346 { "wxGrid_GetCellOverflow", (PyCFunction
) _wrap_wxGrid_GetCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14347 { "wxGrid_GetDefaultCellOverflow", (PyCFunction
) _wrap_wxGrid_GetDefaultCellOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14348 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14349 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14350 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14351 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14352 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14353 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14354 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14355 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14356 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14357 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14358 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14359 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14360 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14361 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14362 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14363 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14364 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14365 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14366 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14367 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14368 { "wxGrid_SetAttr", (PyCFunction
) _wrap_wxGrid_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14369 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14370 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14371 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14372 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14373 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14374 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14375 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14376 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14377 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14378 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14379 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14380 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14381 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14382 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14383 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14384 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14385 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14386 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14387 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14388 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14389 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14390 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14391 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14392 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14393 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14394 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14395 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14396 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14397 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14398 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14399 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14400 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14401 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14402 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14403 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14404 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14405 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14406 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14407 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14408 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14409 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14410 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14411 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14412 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14413 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14414 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14415 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14416 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14417 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14418 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14419 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14420 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14421 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14422 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14423 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14424 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14425 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14426 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14427 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14428 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14429 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14430 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14431 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14432 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14433 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14434 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14435 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14436 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14437 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14438 { "wxGrid_Refresh", (PyCFunction
) _wrap_wxGrid_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
14439 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14440 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14441 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14442 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14443 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14444 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14445 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14446 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14447 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14448 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14449 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14450 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14451 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14452 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14453 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14454 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14455 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14456 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14457 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14458 { "wxGrid_GetSelectionMode", (PyCFunction
) _wrap_wxGrid_GetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14459 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14460 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14461 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14462 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14463 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14464 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14465 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14466 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14467 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14468 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14469 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14470 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14471 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14472 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14473 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14474 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14475 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14476 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14477 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14478 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14479 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14480 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14481 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14482 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14483 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14484 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14485 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14486 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14487 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14488 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14489 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14490 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14491 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14492 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14493 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14494 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14495 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14496 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14497 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14498 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14499 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14500 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14501 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14502 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14503 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14504 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14505 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14506 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14507 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14508 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14509 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14510 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14511 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14512 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14513 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14514 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14515 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14516 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14517 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14518 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14519 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14520 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14521 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14522 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14523 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14524 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14525 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14526 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14527 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14528 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14529 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14530 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14531 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14532 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14533 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14534 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14535 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14536 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14537 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14538 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14539 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14540 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14541 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14542 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14543 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14544 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14545 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14546 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14547 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14548 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14549 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14550 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14551 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14552 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14553 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14554 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14555 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14556 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14557 { "wxGridCellAttr_GetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_GetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14558 { "wxGridCellAttr_GetSize", (PyCFunction
) _wrap_wxGridCellAttr_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
14559 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14560 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14561 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14562 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14563 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14564 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14565 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14566 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14567 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14568 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14569 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14570 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14571 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14572 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14573 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14574 { "wxGridCellAttr_SetOverflow", (PyCFunction
) _wrap_wxGridCellAttr_SetOverflow
, METH_VARARGS
| METH_KEYWORDS
},
14575 { "wxGridCellAttr_SetSize", (PyCFunction
) _wrap_wxGridCellAttr_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14576 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14577 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14578 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14579 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14580 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14581 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14582 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14583 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14584 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14585 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14586 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14587 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14588 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14589 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14590 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14591 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14592 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14593 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14594 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14595 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14596 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14597 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14598 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14599 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14600 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14601 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14602 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14603 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14604 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14605 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14606 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14607 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14608 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14609 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14610 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14611 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14612 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14613 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14614 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14615 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14616 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14617 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14618 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14619 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14620 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14621 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14622 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14623 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14624 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14625 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14626 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14627 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14628 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14629 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14630 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14631 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14632 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14633 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14634 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14635 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14636 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14637 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14638 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14639 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14640 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14641 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14642 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14643 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14644 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14651 * This table is used by the pointer type-checker
14653 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14654 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14655 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14656 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14657 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14658 { "_signed_long","_long",0},
14659 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14660 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14661 { "_wxPrintQuality","_wxCoord",0},
14662 { "_wxPrintQuality","_int",0},
14663 { "_wxPrintQuality","_signed_int",0},
14664 { "_wxPrintQuality","_unsigned_int",0},
14665 { "_wxPrintQuality","_wxWindowID",0},
14666 { "_wxPrintQuality","_uint",0},
14667 { "_wxPrintQuality","_EBool",0},
14668 { "_wxPrintQuality","_size_t",0},
14669 { "_wxPrintQuality","_time_t",0},
14670 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14671 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14672 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14673 { "_byte","_unsigned_char",0},
14674 { "_long","_unsigned_long",0},
14675 { "_long","_signed_long",0},
14676 { "_size_t","_WXGRIDSELECTIONMODES",0},
14677 { "_size_t","_wxCoord",0},
14678 { "_size_t","_wxPrintQuality",0},
14679 { "_size_t","_time_t",0},
14680 { "_size_t","_unsigned_int",0},
14681 { "_size_t","_int",0},
14682 { "_size_t","_wxWindowID",0},
14683 { "_size_t","_uint",0},
14684 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14685 { "_uint","_WXGRIDSELECTIONMODES",0},
14686 { "_uint","_wxCoord",0},
14687 { "_uint","_wxPrintQuality",0},
14688 { "_uint","_time_t",0},
14689 { "_uint","_size_t",0},
14690 { "_uint","_unsigned_int",0},
14691 { "_uint","_int",0},
14692 { "_uint","_wxWindowID",0},
14693 { "_wxChar","_char",0},
14694 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14695 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14696 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14697 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14698 { "_char","_wxChar",0},
14699 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14700 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14701 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14702 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14703 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14704 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14705 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14706 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14707 { "_EBool","_WXGRIDSELECTIONMODES",0},
14708 { "_EBool","_wxCoord",0},
14709 { "_EBool","_wxPrintQuality",0},
14710 { "_EBool","_signed_int",0},
14711 { "_EBool","_int",0},
14712 { "_EBool","_wxWindowID",0},
14713 { "_unsigned_long","_long",0},
14714 { "_WXGRIDSELECTIONMODES","_int",0},
14715 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14716 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14717 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14718 { "_WXGRIDSELECTIONMODES","_uint",0},
14719 { "_WXGRIDSELECTIONMODES","_EBool",0},
14720 { "_WXGRIDSELECTIONMODES","_size_t",0},
14721 { "_WXGRIDSELECTIONMODES","_time_t",0},
14722 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14723 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14724 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14725 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14726 { "_signed_int","_wxCoord",0},
14727 { "_signed_int","_wxPrintQuality",0},
14728 { "_signed_int","_EBool",0},
14729 { "_signed_int","_wxWindowID",0},
14730 { "_signed_int","_int",0},
14731 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14732 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14733 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14734 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14735 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14736 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14737 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14738 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14739 { "_WXTYPE","_short",0},
14740 { "_WXTYPE","_signed_short",0},
14741 { "_WXTYPE","_unsigned_short",0},
14742 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14743 { "_unsigned_short","_WXTYPE",0},
14744 { "_unsigned_short","_short",0},
14745 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14746 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14747 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14748 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14749 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14750 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14751 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14752 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14753 { "_signed_short","_WXTYPE",0},
14754 { "_signed_short","_short",0},
14755 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14756 { "_unsigned_char","_byte",0},
14757 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14758 { "_unsigned_int","_wxCoord",0},
14759 { "_unsigned_int","_wxPrintQuality",0},
14760 { "_unsigned_int","_time_t",0},
14761 { "_unsigned_int","_size_t",0},
14762 { "_unsigned_int","_uint",0},
14763 { "_unsigned_int","_wxWindowID",0},
14764 { "_unsigned_int","_int",0},
14765 { "_short","_WXTYPE",0},
14766 { "_short","_unsigned_short",0},
14767 { "_short","_signed_short",0},
14768 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14769 { "_wxWindowID","_wxCoord",0},
14770 { "_wxWindowID","_wxPrintQuality",0},
14771 { "_wxWindowID","_time_t",0},
14772 { "_wxWindowID","_size_t",0},
14773 { "_wxWindowID","_EBool",0},
14774 { "_wxWindowID","_uint",0},
14775 { "_wxWindowID","_int",0},
14776 { "_wxWindowID","_signed_int",0},
14777 { "_wxWindowID","_unsigned_int",0},
14778 { "_int","_WXGRIDSELECTIONMODES",0},
14779 { "_int","_wxCoord",0},
14780 { "_int","_wxPrintQuality",0},
14781 { "_int","_time_t",0},
14782 { "_int","_size_t",0},
14783 { "_int","_EBool",0},
14784 { "_int","_uint",0},
14785 { "_int","_wxWindowID",0},
14786 { "_int","_unsigned_int",0},
14787 { "_int","_signed_int",0},
14788 { "_time_t","_WXGRIDSELECTIONMODES",0},
14789 { "_time_t","_wxCoord",0},
14790 { "_time_t","_wxPrintQuality",0},
14791 { "_time_t","_unsigned_int",0},
14792 { "_time_t","_int",0},
14793 { "_time_t","_wxWindowID",0},
14794 { "_time_t","_uint",0},
14795 { "_time_t","_size_t",0},
14796 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14797 { "_wxCoord","_int",0},
14798 { "_wxCoord","_signed_int",0},
14799 { "_wxCoord","_unsigned_int",0},
14800 { "_wxCoord","_wxWindowID",0},
14801 { "_wxCoord","_uint",0},
14802 { "_wxCoord","_EBool",0},
14803 { "_wxCoord","_size_t",0},
14804 { "_wxCoord","_time_t",0},
14805 { "_wxCoord","_wxPrintQuality",0},
14806 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14807 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14808 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14809 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14810 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14811 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14812 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14813 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14814 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14815 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14816 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14817 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14818 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14821 static PyObject
*SWIG_globals
;
14825 SWIGEXPORT(void) initgridc() {
14827 SWIG_globals
= SWIG_newvarlink();
14828 m
= Py_InitModule("gridc", gridcMethods
);
14829 d
= PyModule_GetDict(m
);
14830 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14831 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14832 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14833 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14834 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14835 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14836 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14837 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14838 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14839 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14840 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14841 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14842 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14843 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14844 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14845 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14846 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14847 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14848 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14849 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14850 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14851 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14852 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14853 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14854 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14855 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14856 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14857 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14858 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14859 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14860 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14861 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14862 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14863 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14864 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14865 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14867 wxClassInfo::CleanUpClasses();
14868 wxClassInfo::InitializeClasses();
14869 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14870 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14871 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14872 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14873 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14874 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14875 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14876 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14877 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14880 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14881 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);