2 * FILE : src/gtk/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3498 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
* _resultobj
;
3500 wxGridCellAttr
* _arg0
;
3501 bool _arg1
= (bool ) TRUE
;
3502 PyObject
* _argo0
= 0;
3503 int tempbool1
= (int) TRUE
;
3504 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
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_SetReadOnly. Expected _wxGridCellAttr_p.");
3516 _arg1
= (bool ) tempbool1
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3523 } Py_INCREF(Py_None
);
3524 _resultobj
= Py_None
;
3528 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3529 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxGridCellAttr
* _arg0
;
3532 wxGridCellRenderer
* _arg1
;
3533 PyObject
* _argo0
= 0;
3534 PyObject
* _argo1
= 0;
3535 char *_kwnames
[] = { "self","renderer", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) return NULL
;
3560 } Py_INCREF(Py_None
);
3561 _resultobj
= Py_None
;
3565 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3566 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxGridCellAttr
* _arg0
;
3569 wxGridCellEditor
* _arg1
;
3570 PyObject
* _argo0
= 0;
3571 PyObject
* _argo1
= 0;
3572 char *_kwnames
[] = { "self","editor", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3603 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxGridCellAttr
* _arg0
;
3606 wxGridCellAttr::wxAttrKind _arg1
;
3607 PyObject
* _argo0
= 0;
3608 char *_kwnames
[] = { "self","kind", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3626 } Py_INCREF(Py_None
);
3627 _resultobj
= Py_None
;
3631 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3632 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3635 wxGridCellAttr
* _arg0
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) return NULL
;
3655 } _resultobj
= Py_BuildValue("i",_result
);
3659 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3660 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3663 wxGridCellAttr
* _arg0
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) return NULL
;
3683 } _resultobj
= Py_BuildValue("i",_result
);
3687 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3688 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3691 wxGridCellAttr
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3711 } _resultobj
= Py_BuildValue("i",_result
);
3715 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3716 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 wxGridCellAttr
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3744 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 wxGridCellAttr
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3767 } _resultobj
= Py_BuildValue("i",_result
);
3771 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3772 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3775 wxGridCellAttr
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } _resultobj
= Py_BuildValue("i",_result
);
3799 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3800 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 wxGridCellAttr
* _arg0
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) return NULL
;
3823 } _resultobj
= Py_BuildValue("i",_result
);
3827 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3828 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3831 wxGridCellAttr
* _arg0
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3853 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3858 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3861 wxGridCellAttr
* _arg0
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3883 _resultobj
= Py_BuildValue("s",_ptemp
);
3887 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3888 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxGridCellAttr
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3913 _resultobj
= Py_BuildValue("s",_ptemp
);
3917 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3918 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3920 wxGridCellAttr
* _arg0
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) return NULL
;
3950 } Py_INCREF(Py_None
);
3951 _resultobj
= Py_None
;
3954 o
= PyInt_FromLong((long) (*_arg1
));
3955 _resultobj
= t_output_helper(_resultobj
, o
);
3959 o
= PyInt_FromLong((long) (*_arg2
));
3960 _resultobj
= t_output_helper(_resultobj
, o
);
3965 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3966 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3968 wxGridCellRenderer
* _result
;
3969 wxGridCellAttr
* _arg0
;
3973 PyObject
* _argo0
= 0;
3974 PyObject
* _argo1
= 0;
3975 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) return NULL
;
4000 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
4004 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
4005 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxGridCellEditor
* _result
;
4008 wxGridCellAttr
* _arg0
;
4012 PyObject
* _argo0
= 0;
4013 PyObject
* _argo1
= 0;
4014 char *_kwnames
[] = { "self","grid","row","col", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4027 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4037 wxPyEndAllowThreads(__tstate
);
4038 if (PyErr_Occurred()) return NULL
;
4039 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4043 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4044 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4047 wxGridCellAttr
* _arg0
;
4048 PyObject
* _argo0
= 0;
4049 char *_kwnames
[] = { "self", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4072 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxGridCellAttr
* _arg0
;
4075 wxGridCellAttr
* _arg1
;
4076 PyObject
* _argo0
= 0;
4077 PyObject
* _argo1
= 0;
4078 char *_kwnames
[] = { "self","defAttr", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
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_SetDefAttr. Expected _wxGridCellAttr_p.");
4091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) return NULL
;
4103 } Py_INCREF(Py_None
);
4104 _resultobj
= Py_None
;
4108 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4109 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4111 wxGridCellAttrProvider
* _result
;
4112 char *_kwnames
[] = { NULL
};
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) return NULL
;
4125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4126 _resultobj
= Py_BuildValue("s",_ptemp
);
4129 _resultobj
= Py_None
;
4134 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4135 self
->SetClientObject(new wxPyOORClientData(_self
));
4137 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 wxGridCellAttrProvider
* _arg0
;
4141 PyObject
* _argo0
= 0;
4142 PyObject
* _obj1
= 0;
4143 char *_kwnames
[] = { "self","_self", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) return NULL
;
4164 } Py_INCREF(Py_None
);
4165 _resultobj
= Py_None
;
4169 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4170 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4172 wxGridCellAttr
* _result
;
4173 wxGridCellAttrProvider
* _arg0
;
4176 wxGridCellAttr::wxAttrKind _arg3
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4196 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4200 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4201 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4203 wxGridCellAttrProvider
* _arg0
;
4204 wxGridCellAttr
* _arg1
;
4207 PyObject
* _argo0
= 0;
4208 PyObject
* _argo1
= 0;
4209 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4239 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4240 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4242 wxGridCellAttrProvider
* _arg0
;
4243 wxGridCellAttr
* _arg1
;
4245 PyObject
* _argo0
= 0;
4246 PyObject
* _argo1
= 0;
4247 char *_kwnames
[] = { "self","attr","row", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) return NULL
;
4272 } Py_INCREF(Py_None
);
4273 _resultobj
= Py_None
;
4277 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4278 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
* _resultobj
;
4280 wxGridCellAttrProvider
* _arg0
;
4281 wxGridCellAttr
* _arg1
;
4283 PyObject
* _argo0
= 0;
4284 PyObject
* _argo1
= 0;
4285 char *_kwnames
[] = { "self","attr","col", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4316 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4318 wxGridCellAttrProvider
* _arg0
;
4321 PyObject
* _argo0
= 0;
4322 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) return NULL
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4346 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4348 wxGridCellAttrProvider
* _arg0
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4376 wxPyGridCellAttrProvider
*src
;
4377 wxGridCellAttrProvider
*dest
;
4378 src
= (wxPyGridCellAttrProvider
*) ptr
;
4379 dest
= (wxGridCellAttrProvider
*) src
;
4380 return (void *) dest
;
4383 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4384 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4386 wxPyGridCellAttrProvider
* _result
;
4387 char *_kwnames
[] = { NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4401 _resultobj
= Py_BuildValue("s",_ptemp
);
4404 _resultobj
= Py_None
;
4409 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4410 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4412 wxPyGridCellAttrProvider
* _arg0
;
4415 PyObject
* _argo0
= 0;
4416 PyObject
* _obj1
= 0;
4417 PyObject
* _obj2
= 0;
4418 char *_kwnames
[] = { "self","self","_class", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) return NULL
;
4442 } Py_INCREF(Py_None
);
4443 _resultobj
= Py_None
;
4447 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4448 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4450 wxGridCellAttr
* _result
;
4451 wxPyGridCellAttrProvider
* _arg0
;
4454 wxGridCellAttr::wxAttrKind _arg3
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) return NULL
;
4474 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4478 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4479 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxPyGridCellAttrProvider
* _arg0
;
4482 wxGridCellAttr
* _arg1
;
4485 PyObject
* _argo0
= 0;
4486 PyObject
* _argo1
= 0;
4487 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4517 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4518 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4520 wxPyGridCellAttrProvider
* _arg0
;
4521 wxGridCellAttr
* _arg1
;
4523 PyObject
* _argo0
= 0;
4524 PyObject
* _argo1
= 0;
4525 char *_kwnames
[] = { "self","attr","row", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) return NULL
;
4550 } Py_INCREF(Py_None
);
4551 _resultobj
= Py_None
;
4555 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4556 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4558 wxPyGridCellAttrProvider
* _arg0
;
4559 wxGridCellAttr
* _arg1
;
4561 PyObject
* _argo0
= 0;
4562 PyObject
* _argo1
= 0;
4563 char *_kwnames
[] = { "self","attr","col", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } Py_INCREF(Py_None
);
4589 _resultobj
= Py_None
;
4593 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4594 wxGridTableBase
*src
;
4596 src
= (wxGridTableBase
*) ptr
;
4597 dest
= (wxObject
*) src
;
4598 return (void *) dest
;
4601 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
4602 self
->SetClientObject(new wxPyOORClientData(_self
));
4604 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4606 wxGridTableBase
* _arg0
;
4608 PyObject
* _argo0
= 0;
4609 PyObject
* _obj1
= 0;
4610 char *_kwnames
[] = { "self","_self", NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } Py_INCREF(Py_None
);
4632 _resultobj
= Py_None
;
4636 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4637 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4639 wxGridTableBase
* _arg0
;
4640 wxGridCellAttrProvider
* _arg1
;
4641 PyObject
* _argo0
= 0;
4642 PyObject
* _argo1
= 0;
4643 char *_kwnames
[] = { "self","attrProvider", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4673 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4674 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4676 wxGridCellAttrProvider
* _result
;
4677 wxGridTableBase
* _arg0
;
4678 PyObject
* _argo0
= 0;
4679 char *_kwnames
[] = { "self", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4697 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
4701 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4702 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4704 wxGridTableBase
* _arg0
;
4706 PyObject
* _argo0
= 0;
4707 PyObject
* _argo1
= 0;
4708 char *_kwnames
[] = { "self","grid", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxGridTableBase_SetView(_arg0
,_arg1
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4739 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 wxGridTableBase
* _arg0
;
4743 PyObject
* _argo0
= 0;
4744 char *_kwnames
[] = { "self", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) return NULL
;
4762 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4766 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4767 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 wxGridTableBase
* _arg0
;
4771 PyObject
* _argo0
= 0;
4772 char *_kwnames
[] = { "self", NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) return NULL
;
4790 } _resultobj
= Py_BuildValue("i",_result
);
4794 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4795 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4798 wxGridTableBase
* _arg0
;
4799 PyObject
* _argo0
= 0;
4800 char *_kwnames
[] = { "self", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } _resultobj
= Py_BuildValue("i",_result
);
4822 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4823 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4826 wxGridTableBase
* _arg0
;
4829 PyObject
* _argo0
= 0;
4830 char *_kwnames
[] = { "self","row","col", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) return NULL
;
4848 } _resultobj
= Py_BuildValue("i",_result
);
4852 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4853 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4856 wxGridTableBase
* _arg0
;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self","row","col", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) return NULL
;
4880 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4882 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4891 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4892 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
* _resultobj
;
4894 wxGridTableBase
* _arg0
;
4898 PyObject
* _argo0
= 0;
4899 PyObject
* _obj3
= 0;
4900 char *_kwnames
[] = { "self","row","col","value", NULL
};
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4913 _arg3
= wxString_in_helper(_obj3
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4932 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4933 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4936 wxGridTableBase
* _arg0
;
4939 PyObject
* _argo0
= 0;
4940 char *_kwnames
[] = { "self","row","col", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) return NULL
;
4960 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4962 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4971 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4972 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4975 wxGridTableBase
* _arg0
;
4979 PyObject
* _argo0
= 0;
4980 PyObject
* _obj3
= 0;
4981 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4994 _arg3
= wxString_in_helper(_obj3
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) return NULL
;
5004 } _resultobj
= Py_BuildValue("i",_result
);
5012 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5013 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5016 wxGridTableBase
* _arg0
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _obj3
= 0;
5022 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5035 _arg3
= wxString_in_helper(_obj3
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } _resultobj
= Py_BuildValue("i",_result
);
5053 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5054 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5057 wxGridTableBase
* _arg0
;
5060 PyObject
* _argo0
= 0;
5061 char *_kwnames
[] = { "self","row","col", NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) return NULL
;
5079 } _resultobj
= Py_BuildValue("l",_result
);
5083 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5084 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5087 wxGridTableBase
* _arg0
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self","row","col", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5109 } _resultobj
= Py_BuildValue("d",_result
);
5113 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5114 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5117 wxGridTableBase
* _arg0
;
5120 PyObject
* _argo0
= 0;
5121 char *_kwnames
[] = { "self","row","col", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) return NULL
;
5139 } _resultobj
= Py_BuildValue("i",_result
);
5143 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5144 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5146 wxGridTableBase
* _arg0
;
5150 PyObject
* _argo0
= 0;
5151 char *_kwnames
[] = { "self","row","col","value", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) return NULL
;
5169 } Py_INCREF(Py_None
);
5170 _resultobj
= Py_None
;
5174 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5175 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5177 wxGridTableBase
* _arg0
;
5181 PyObject
* _argo0
= 0;
5182 char *_kwnames
[] = { "self","row","col","value", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) return NULL
;
5200 } Py_INCREF(Py_None
);
5201 _resultobj
= Py_None
;
5205 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5206 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5208 wxGridTableBase
* _arg0
;
5212 PyObject
* _argo0
= 0;
5214 char *_kwnames
[] = { "self","row","col","value", NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5226 _arg3
= (bool ) tempbool3
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) return NULL
;
5233 } Py_INCREF(Py_None
);
5234 _resultobj
= Py_None
;
5238 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5239 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5241 wxGridTableBase
* _arg0
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 wxGridTableBase_Clear(_arg0
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) return NULL
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5267 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5270 wxGridTableBase
* _arg0
;
5271 size_t _arg1
= (size_t ) 0;
5272 size_t _arg2
= (size_t ) 1;
5273 PyObject
* _argo0
= 0;
5274 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) return NULL
;
5292 } _resultobj
= Py_BuildValue("i",_result
);
5296 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5297 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5300 wxGridTableBase
* _arg0
;
5301 size_t _arg1
= (size_t ) 1;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self","numRows", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) return NULL
;
5321 } _resultobj
= Py_BuildValue("i",_result
);
5325 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5326 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5329 wxGridTableBase
* _arg0
;
5330 size_t _arg1
= (size_t ) 0;
5331 size_t _arg2
= (size_t ) 1;
5332 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) return NULL
;
5351 } _resultobj
= Py_BuildValue("i",_result
);
5355 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5356 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5359 wxGridTableBase
* _arg0
;
5360 size_t _arg1
= (size_t ) 0;
5361 size_t _arg2
= (size_t ) 1;
5362 PyObject
* _argo0
= 0;
5363 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5381 } _resultobj
= Py_BuildValue("i",_result
);
5385 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5386 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
* _resultobj
;
5389 wxGridTableBase
* _arg0
;
5390 size_t _arg1
= (size_t ) 1;
5391 PyObject
* _argo0
= 0;
5392 char *_kwnames
[] = { "self","numCols", NULL
};
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) return NULL
;
5410 } _resultobj
= Py_BuildValue("i",_result
);
5414 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5415 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
* _resultobj
;
5418 wxGridTableBase
* _arg0
;
5419 size_t _arg1
= (size_t ) 0;
5420 size_t _arg2
= (size_t ) 1;
5421 PyObject
* _argo0
= 0;
5422 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) return NULL
;
5440 } _resultobj
= Py_BuildValue("i",_result
);
5444 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5445 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5448 wxGridTableBase
* _arg0
;
5450 PyObject
* _argo0
= 0;
5451 char *_kwnames
[] = { "self","row", NULL
};
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) return NULL
;
5471 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5473 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5482 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5483 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5486 wxGridTableBase
* _arg0
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self","col", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5509 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5520 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5521 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5523 wxGridTableBase
* _arg0
;
5526 PyObject
* _argo0
= 0;
5527 PyObject
* _obj2
= 0;
5528 char *_kwnames
[] = { "self","row","value", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5541 _arg2
= wxString_in_helper(_obj2
);
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) return NULL
;
5551 } Py_INCREF(Py_None
);
5552 _resultobj
= Py_None
;
5560 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5561 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5563 wxGridTableBase
* _arg0
;
5566 PyObject
* _argo0
= 0;
5567 PyObject
* _obj2
= 0;
5568 char *_kwnames
[] = { "self","col","value", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5581 _arg2
= wxString_in_helper(_obj2
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5591 } Py_INCREF(Py_None
);
5592 _resultobj
= Py_None
;
5600 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5601 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5604 wxGridTableBase
* _arg0
;
5605 PyObject
* _argo0
= 0;
5606 char *_kwnames
[] = { "self", NULL
};
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) return NULL
;
5624 } _resultobj
= Py_BuildValue("i",_result
);
5628 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5629 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxGridCellAttr
* _result
;
5632 wxGridTableBase
* _arg0
;
5635 wxGridCellAttr::wxAttrKind _arg3
;
5636 PyObject
* _argo0
= 0;
5637 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) return NULL
;
5655 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
5659 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5660 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5662 wxGridTableBase
* _arg0
;
5663 wxGridCellAttr
* _arg1
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _argo1
= 0;
5668 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } Py_INCREF(Py_None
);
5694 _resultobj
= Py_None
;
5698 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5699 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5701 wxGridTableBase
* _arg0
;
5702 wxGridCellAttr
* _arg1
;
5704 PyObject
* _argo0
= 0;
5705 PyObject
* _argo1
= 0;
5706 char *_kwnames
[] = { "self","attr","row", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5737 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5739 wxGridTableBase
* _arg0
;
5740 wxGridCellAttr
* _arg1
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _argo1
= 0;
5744 char *_kwnames
[] = { "self","attr","col", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) return NULL
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5774 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5775 wxPyGridTableBase
*src
;
5776 wxGridTableBase
*dest
;
5777 src
= (wxPyGridTableBase
*) ptr
;
5778 dest
= (wxGridTableBase
*) src
;
5779 return (void *) dest
;
5782 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5783 wxPyGridTableBase
*src
;
5785 src
= (wxPyGridTableBase
*) ptr
;
5786 dest
= (wxObject
*) src
;
5787 return (void *) dest
;
5790 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5791 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxPyGridTableBase
* _result
;
5794 char *_kwnames
[] = { NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) return NULL
;
5807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5808 _resultobj
= Py_BuildValue("s",_ptemp
);
5811 _resultobj
= Py_None
;
5816 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5817 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5819 wxPyGridTableBase
* _arg0
;
5822 PyObject
* _argo0
= 0;
5823 PyObject
* _obj1
= 0;
5824 PyObject
* _obj2
= 0;
5825 char *_kwnames
[] = { "self","self","_class", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) return NULL
;
5849 } Py_INCREF(Py_None
);
5850 _resultobj
= Py_None
;
5854 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5855 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5857 wxPyGridTableBase
* _arg0
;
5858 PyObject
* _argo0
= 0;
5859 char *_kwnames
[] = { "self", NULL
};
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 wxPyGridTableBase_Destroy(_arg0
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) return NULL
;
5877 } Py_INCREF(Py_None
);
5878 _resultobj
= Py_None
;
5882 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5883 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5886 wxPyGridTableBase
* _arg0
;
5889 PyObject
* _argo0
= 0;
5890 char *_kwnames
[] = { "self","row","col", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) return NULL
;
5910 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5912 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5921 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5922 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5925 wxPyGridTableBase
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 PyObject
* _obj3
= 0;
5931 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5944 _arg3
= wxString_in_helper(_obj3
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) return NULL
;
5954 } _resultobj
= Py_BuildValue("i",_result
);
5962 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5963 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5966 wxPyGridTableBase
* _arg0
;
5970 PyObject
* _argo0
= 0;
5971 PyObject
* _obj3
= 0;
5972 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5985 _arg3
= wxString_in_helper(_obj3
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) return NULL
;
5995 } _resultobj
= Py_BuildValue("i",_result
);
6003 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
6004 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6006 wxPyGridTableBase
* _arg0
;
6007 PyObject
* _argo0
= 0;
6008 char *_kwnames
[] = { "self", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 wxPyGridTableBase_base_Clear(_arg0
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) return NULL
;
6026 } Py_INCREF(Py_None
);
6027 _resultobj
= Py_None
;
6031 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6032 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6035 wxPyGridTableBase
* _arg0
;
6036 size_t _arg1
= (size_t ) 0;
6037 size_t _arg2
= (size_t ) 1;
6038 PyObject
* _argo0
= 0;
6039 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) return NULL
;
6057 } _resultobj
= Py_BuildValue("i",_result
);
6061 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6062 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6065 wxPyGridTableBase
* _arg0
;
6066 size_t _arg1
= (size_t ) 1;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "self","numRows", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6086 } _resultobj
= Py_BuildValue("i",_result
);
6090 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6091 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6094 wxPyGridTableBase
* _arg0
;
6095 size_t _arg1
= (size_t ) 0;
6096 size_t _arg2
= (size_t ) 1;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) return NULL
;
6116 } _resultobj
= Py_BuildValue("i",_result
);
6120 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6121 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6124 wxPyGridTableBase
* _arg0
;
6125 size_t _arg1
= (size_t ) 0;
6126 size_t _arg2
= (size_t ) 1;
6127 PyObject
* _argo0
= 0;
6128 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) return NULL
;
6146 } _resultobj
= Py_BuildValue("i",_result
);
6150 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6151 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6154 wxPyGridTableBase
* _arg0
;
6155 size_t _arg1
= (size_t ) 1;
6156 PyObject
* _argo0
= 0;
6157 char *_kwnames
[] = { "self","numCols", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) return NULL
;
6175 } _resultobj
= Py_BuildValue("i",_result
);
6179 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6180 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
* _resultobj
;
6183 wxPyGridTableBase
* _arg0
;
6184 size_t _arg1
= (size_t ) 0;
6185 size_t _arg2
= (size_t ) 1;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) return NULL
;
6205 } _resultobj
= Py_BuildValue("i",_result
);
6209 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6210 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6213 wxPyGridTableBase
* _arg0
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self","row", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) return NULL
;
6236 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6238 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6247 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6248 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6251 wxPyGridTableBase
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self","col", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6274 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6276 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6285 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6286 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6288 wxPyGridTableBase
* _arg0
;
6291 PyObject
* _argo0
= 0;
6292 PyObject
* _obj2
= 0;
6293 char *_kwnames
[] = { "self","row","value", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6306 _arg2
= wxString_in_helper(_obj2
);
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) return NULL
;
6316 } Py_INCREF(Py_None
);
6317 _resultobj
= Py_None
;
6325 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6326 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
* _resultobj
;
6328 wxPyGridTableBase
* _arg0
;
6331 PyObject
* _argo0
= 0;
6332 PyObject
* _obj2
= 0;
6333 char *_kwnames
[] = { "self","col","value", NULL
};
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6346 _arg2
= wxString_in_helper(_obj2
);
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) return NULL
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6365 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6366 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6369 wxPyGridTableBase
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) return NULL
;
6389 } _resultobj
= Py_BuildValue("i",_result
);
6393 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6394 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6396 wxGridCellAttr
* _result
;
6397 wxPyGridTableBase
* _arg0
;
6400 wxGridCellAttr::wxAttrKind _arg3
;
6401 PyObject
* _argo0
= 0;
6402 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6420 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6424 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6425 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6427 wxPyGridTableBase
* _arg0
;
6428 wxGridCellAttr
* _arg1
;
6431 PyObject
* _argo0
= 0;
6432 PyObject
* _argo1
= 0;
6433 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } Py_INCREF(Py_None
);
6459 _resultobj
= Py_None
;
6463 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6464 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6466 wxPyGridTableBase
* _arg0
;
6467 wxGridCellAttr
* _arg1
;
6469 PyObject
* _argo0
= 0;
6470 PyObject
* _argo1
= 0;
6471 char *_kwnames
[] = { "self","attr","row", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) return NULL
;
6496 } Py_INCREF(Py_None
);
6497 _resultobj
= Py_None
;
6501 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6502 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6504 wxPyGridTableBase
* _arg0
;
6505 wxGridCellAttr
* _arg1
;
6507 PyObject
* _argo0
= 0;
6508 PyObject
* _argo1
= 0;
6509 char *_kwnames
[] = { "self","attr","col", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) return NULL
;
6534 } Py_INCREF(Py_None
);
6535 _resultobj
= Py_None
;
6539 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6540 wxGridStringTable
*src
;
6541 wxGridTableBase
*dest
;
6542 src
= (wxGridStringTable
*) ptr
;
6543 dest
= (wxGridTableBase
*) src
;
6544 return (void *) dest
;
6547 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6548 wxGridStringTable
*src
;
6550 src
= (wxGridStringTable
*) ptr
;
6551 dest
= (wxObject
*) src
;
6552 return (void *) dest
;
6555 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6556 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6558 wxGridStringTable
* _result
;
6559 int _arg0
= (int ) 0;
6560 int _arg1
= (int ) 0;
6561 char *_kwnames
[] = { "numRows","numCols", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) return NULL
;
6574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6575 _resultobj
= Py_BuildValue("s",_ptemp
);
6578 _resultobj
= Py_None
;
6583 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6584 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6586 wxGridTableMessage
* _result
;
6587 wxGridTableBase
* _arg0
;
6589 int _arg2
= (int ) -1;
6590 int _arg3
= (int ) -1;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6613 _resultobj
= Py_BuildValue("s",_ptemp
);
6616 _resultobj
= Py_None
;
6621 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6622 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6624 wxGridTableMessage
* _arg0
;
6625 PyObject
* _argo0
= 0;
6626 char *_kwnames
[] = { "self", NULL
};
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 delete_wxGridTableMessage(_arg0
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) return NULL
;
6644 } Py_INCREF(Py_None
);
6645 _resultobj
= Py_None
;
6649 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6650 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6652 wxGridTableMessage
* _arg0
;
6653 wxGridTableBase
* _arg1
;
6654 PyObject
* _argo0
= 0;
6655 PyObject
* _argo1
= 0;
6656 char *_kwnames
[] = { "self","table", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) return NULL
;
6681 } Py_INCREF(Py_None
);
6682 _resultobj
= Py_None
;
6686 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6687 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6689 wxGridTableBase
* _result
;
6690 wxGridTableMessage
* _arg0
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) return NULL
;
6710 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
6714 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6715 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6717 wxGridTableMessage
* _arg0
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self","id", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 wxGridTableMessage_SetId(_arg0
,_arg1
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } Py_INCREF(Py_None
);
6739 _resultobj
= Py_None
;
6743 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6744 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6747 wxGridTableMessage
* _arg0
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) return NULL
;
6767 } _resultobj
= Py_BuildValue("i",_result
);
6771 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6772 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6774 wxGridTableMessage
* _arg0
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self","comInt1", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) return NULL
;
6795 } Py_INCREF(Py_None
);
6796 _resultobj
= Py_None
;
6800 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6801 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
* _resultobj
;
6804 wxGridTableMessage
* _arg0
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) return NULL
;
6824 } _resultobj
= Py_BuildValue("i",_result
);
6828 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6829 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6831 wxGridTableMessage
* _arg0
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self","comInt2", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) return NULL
;
6852 } Py_INCREF(Py_None
);
6853 _resultobj
= Py_None
;
6857 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6858 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6861 wxGridTableMessage
* _arg0
;
6862 PyObject
* _argo0
= 0;
6863 char *_kwnames
[] = { "self", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } _resultobj
= Py_BuildValue("i",_result
);
6885 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6886 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6888 wxGridCellCoords
* _result
;
6889 int _arg0
= (int ) -1;
6890 int _arg1
= (int ) -1;
6891 char *_kwnames
[] = { "r","c", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) return NULL
;
6904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6905 _resultobj
= Py_BuildValue("s",_ptemp
);
6908 _resultobj
= Py_None
;
6913 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6914 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6916 wxGridCellCoords
* _arg0
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 delete_wxGridCellCoords(_arg0
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) return NULL
;
6936 } Py_INCREF(Py_None
);
6937 _resultobj
= Py_None
;
6941 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6942 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6945 wxGridCellCoords
* _arg0
;
6946 PyObject
* _argo0
= 0;
6947 char *_kwnames
[] = { "self", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } _resultobj
= Py_BuildValue("i",_result
);
6969 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6970 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6972 wxGridCellCoords
* _arg0
;
6974 PyObject
* _argo0
= 0;
6975 char *_kwnames
[] = { "self","n", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) return NULL
;
6993 } Py_INCREF(Py_None
);
6994 _resultobj
= Py_None
;
6998 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6999 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
* _resultobj
;
7002 wxGridCellCoords
* _arg0
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self", NULL
};
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) return NULL
;
7022 } _resultobj
= Py_BuildValue("i",_result
);
7026 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7027 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
* _resultobj
;
7029 wxGridCellCoords
* _arg0
;
7031 PyObject
* _argo0
= 0;
7032 char *_kwnames
[] = { "self","n", NULL
};
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) return NULL
;
7050 } Py_INCREF(Py_None
);
7051 _resultobj
= Py_None
;
7055 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7056 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
* _resultobj
;
7058 wxGridCellCoords
* _arg0
;
7061 PyObject
* _argo0
= 0;
7062 char *_kwnames
[] = { "self","row","col", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } Py_INCREF(Py_None
);
7081 _resultobj
= Py_None
;
7085 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7086 PyObject
* tup
= PyTuple_New(2);
7087 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7088 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7091 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7094 wxGridCellCoords
* _arg0
;
7095 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7115 _resultobj
= _result
;
7120 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7121 return *self
!= other
;
7123 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
* _resultobj
;
7126 wxGridCellCoords
* _arg0
;
7127 wxGridCellCoords
* _arg1
;
7128 PyObject
* _argo0
= 0;
7129 PyObject
* _argo1
= 0;
7130 char *_kwnames
[] = { "self","other", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7161 wxScrolledWindow
*dest
;
7162 src
= (wxGrid
*) ptr
;
7163 dest
= (wxScrolledWindow
*) src
;
7164 return (void *) dest
;
7167 static void *SwigwxGridTowxPanel(void *ptr
) {
7170 src
= (wxGrid
*) ptr
;
7171 dest
= (wxPanel
*) src
;
7172 return (void *) dest
;
7175 static void *SwigwxGridTowxWindow(void *ptr
) {
7178 src
= (wxGrid
*) ptr
;
7179 dest
= (wxWindow
*) src
;
7180 return (void *) dest
;
7183 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7186 src
= (wxGrid
*) ptr
;
7187 dest
= (wxEvtHandler
*) src
;
7188 return (void *) dest
;
7191 static void *SwigwxGridTowxObject(void *ptr
) {
7194 src
= (wxGrid
*) ptr
;
7195 dest
= (wxObject
*) src
;
7196 return (void *) dest
;
7199 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7200 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
* _resultobj
;
7205 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7206 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7207 long _arg4
= (long ) wxWANTS_CHARS
;
7208 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7209 PyObject
* _argo0
= 0;
7211 PyObject
* _obj2
= 0;
7213 PyObject
* _obj3
= 0;
7214 PyObject
* _obj5
= 0;
7215 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7231 if (! wxPoint_helper(_obj2
, &_arg2
))
7237 if (! wxSize_helper(_obj3
, &_arg3
))
7242 _arg5
= wxString_in_helper(_obj5
);
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) return NULL
;
7253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7254 _resultobj
= Py_BuildValue("s",_ptemp
);
7257 _resultobj
= Py_None
;
7266 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7267 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
* _resultobj
;
7273 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } _resultobj
= Py_BuildValue("i",_result
);
7297 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7298 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7301 WXGRIDSELECTIONMODES _arg1
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self","selmode", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7327 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7355 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7382 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7383 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 wxGridTableMessage
* _arg1
;
7388 PyObject
* _argo0
= 0;
7389 PyObject
* _argo1
= 0;
7390 char *_kwnames
[] = { "self","arg2", NULL
};
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) return NULL
;
7415 } _resultobj
= Py_BuildValue("i",_result
);
7419 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7420 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7422 wxGridTableBase
* _result
;
7424 PyObject
* _argo0
= 0;
7425 char *_kwnames
[] = { "self", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) return NULL
;
7443 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7447 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7448 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
* _resultobj
;
7452 wxGridTableBase
* _arg1
;
7453 bool _arg2
= (bool ) FALSE
;
7454 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7455 PyObject
* _argo0
= 0;
7456 PyObject
* _argo1
= 0;
7457 int tempbool2
= (int) FALSE
;
7458 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7477 _arg2
= (bool ) tempbool2
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } _resultobj
= Py_BuildValue("i",_result
);
7488 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7489 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
* _resultobj
;
7492 PyObject
* _argo0
= 0;
7493 char *_kwnames
[] = { "self", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxGrid_ClearGrid(_arg0
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) return NULL
;
7511 } Py_INCREF(Py_None
);
7512 _resultobj
= Py_None
;
7516 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7517 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
* _resultobj
;
7521 int _arg1
= (int ) 0;
7522 int _arg2
= (int ) 1;
7523 bool _arg3
= (bool ) TRUE
;
7524 PyObject
* _argo0
= 0;
7525 int tempbool3
= (int) TRUE
;
7526 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7538 _arg3
= (bool ) tempbool3
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) return NULL
;
7545 } _resultobj
= Py_BuildValue("i",_result
);
7549 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7550 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
* _resultobj
;
7554 int _arg1
= (int ) 1;
7555 bool _arg2
= (bool ) TRUE
;
7556 PyObject
* _argo0
= 0;
7557 int tempbool2
= (int) TRUE
;
7558 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7570 _arg2
= (bool ) tempbool2
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } _resultobj
= Py_BuildValue("i",_result
);
7581 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7582 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
* _resultobj
;
7586 int _arg1
= (int ) 0;
7587 int _arg2
= (int ) 1;
7588 bool _arg3
= (bool ) TRUE
;
7589 PyObject
* _argo0
= 0;
7590 int tempbool3
= (int) TRUE
;
7591 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7603 _arg3
= (bool ) tempbool3
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } _resultobj
= Py_BuildValue("i",_result
);
7614 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7615 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7619 int _arg1
= (int ) 0;
7620 int _arg2
= (int ) 1;
7621 bool _arg3
= (bool ) TRUE
;
7622 PyObject
* _argo0
= 0;
7623 int tempbool3
= (int) TRUE
;
7624 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7636 _arg3
= (bool ) tempbool3
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) return NULL
;
7643 } _resultobj
= Py_BuildValue("i",_result
);
7647 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7648 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
* _resultobj
;
7652 int _arg1
= (int ) 1;
7653 bool _arg2
= (bool ) TRUE
;
7654 PyObject
* _argo0
= 0;
7655 int tempbool2
= (int) TRUE
;
7656 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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_AppendCols. Expected _wxGrid_p.");
7668 _arg2
= (bool ) tempbool2
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) return NULL
;
7675 } _resultobj
= Py_BuildValue("i",_result
);
7679 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7680 static PyObject
*_wrap_wxGrid_DeleteCols(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","numCols","updateLabels", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_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_DeleteCols. Expected _wxGrid_p.");
7701 _arg3
= (bool ) tempbool3
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) return NULL
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7712 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7713 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7717 wxGridCellAttr
* _arg2
;
7718 PyObject
* _argo0
= 0;
7719 PyObject
* _argo1
= 0;
7720 PyObject
* _argo2
= 0;
7721 char *_kwnames
[] = { "self","dc","attr", NULL
};
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
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_DrawCellHighlight. Expected _wxGrid_p.");
7734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7741 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7753 } Py_INCREF(Py_None
);
7754 _resultobj
= Py_None
;
7758 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7759 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7765 int _arg4
= (int ) wxLEFT
;
7766 int _arg5
= (int ) wxTOP
;
7767 PyObject
* _argo0
= 0;
7768 PyObject
* _argo1
= 0;
7769 PyObject
* _obj2
= 0;
7771 PyObject
* _obj3
= 0;
7772 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7785 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7792 _arg2
= wxString_in_helper(_obj2
);
7798 if (! wxRect_helper(_obj3
, &_arg3
))
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7816 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7817 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7821 wxArrayString
* _arg2
;
7826 PyObject
* _argo0
= 0;
7827 PyObject
* _argo1
= 0;
7828 PyObject
* _obj2
= 0;
7829 char *_kwnames
[] = { "self","dc","lines", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7855 if (! PySequence_Check(_obj2
)) {
7856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7859 _arg2
= new wxArrayString
;
7860 int i
, len
=PySequence_Length(_obj2
);
7861 for (i
=0; i
<len
; i
++) {
7862 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7864 PyObject
* str
= PyObject_Unicode(item
);
7865 _arg2
->Add(PyUnicode_AsUnicode(str
));
7867 PyObject
* str
= PyObject_Str(item
);
7868 _arg2
->Add(PyString_AsString(str
));
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7880 } Py_INCREF(Py_None
);
7881 _resultobj
= Py_None
;
7884 o
= PyInt_FromLong((long) (*_arg3
));
7885 _resultobj
= t_output_helper(_resultobj
, o
);
7889 o
= PyInt_FromLong((long) (*_arg4
));
7890 _resultobj
= t_output_helper(_resultobj
, o
);
7899 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7900 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 wxGrid_BeginBatch(_arg0
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) return NULL
;
7922 } Py_INCREF(Py_None
);
7923 _resultobj
= Py_None
;
7927 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7928 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7931 PyObject
* _argo0
= 0;
7932 char *_kwnames
[] = { "self", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 wxGrid_EndBatch(_arg0
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) return NULL
;
7950 } Py_INCREF(Py_None
);
7951 _resultobj
= Py_None
;
7955 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7956 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) return NULL
;
7979 } _resultobj
= Py_BuildValue("i",_result
);
7983 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7984 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7987 PyObject
* _argo0
= 0;
7988 char *_kwnames
[] = { "self", NULL
};
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 wxGrid_ForceRefresh(_arg0
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) return NULL
;
8006 } Py_INCREF(Py_None
);
8007 _resultobj
= Py_None
;
8011 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8012 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "self", NULL
};
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 _result
= (bool )wxGrid_IsEditable(_arg0
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) return NULL
;
8035 } _resultobj
= Py_BuildValue("i",_result
);
8039 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8040 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8044 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self","edit", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8058 _arg1
= (bool ) tempbool1
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxGrid_EnableEditing(_arg0
,_arg1
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8065 } Py_INCREF(Py_None
);
8066 _resultobj
= Py_None
;
8070 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8071 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8074 bool _arg1
= (bool ) TRUE
;
8075 PyObject
* _argo0
= 0;
8076 int tempbool1
= (int) TRUE
;
8077 char *_kwnames
[] = { "self","enable", NULL
};
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8089 _arg1
= (bool ) tempbool1
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) return NULL
;
8096 } Py_INCREF(Py_None
);
8097 _resultobj
= Py_None
;
8101 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8102 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
* _resultobj
;
8105 PyObject
* _argo0
= 0;
8106 char *_kwnames
[] = { "self", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 wxGrid_DisableCellEditControl(_arg0
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) return NULL
;
8124 } Py_INCREF(Py_None
);
8125 _resultobj
= Py_None
;
8129 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8130 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8134 PyObject
* _argo0
= 0;
8135 char *_kwnames
[] = { "self", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) return NULL
;
8153 } _resultobj
= Py_BuildValue("i",_result
);
8157 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8158 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8162 PyObject
* _argo0
= 0;
8163 char *_kwnames
[] = { "self", NULL
};
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) return NULL
;
8181 } _resultobj
= Py_BuildValue("i",_result
);
8185 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8186 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
* _resultobj
;
8190 PyObject
* _argo0
= 0;
8191 char *_kwnames
[] = { "self", NULL
};
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8209 } _resultobj
= Py_BuildValue("i",_result
);
8213 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8214 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
* _resultobj
;
8218 PyObject
* _argo0
= 0;
8219 char *_kwnames
[] = { "self", NULL
};
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8237 } _resultobj
= Py_BuildValue("i",_result
);
8241 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8242 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
* _resultobj
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 wxGrid_ShowCellEditControl(_arg0
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) return NULL
;
8264 } Py_INCREF(Py_None
);
8265 _resultobj
= Py_None
;
8269 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8270 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8273 PyObject
* _argo0
= 0;
8274 char *_kwnames
[] = { "self", NULL
};
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8288 wxGrid_HideCellEditControl(_arg0
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) return NULL
;
8292 } Py_INCREF(Py_None
);
8293 _resultobj
= Py_None
;
8297 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8298 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8301 PyObject
* _argo0
= 0;
8302 char *_kwnames
[] = { "self", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 wxGrid_SaveEditControlValue(_arg0
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) return NULL
;
8320 } Py_INCREF(Py_None
);
8321 _resultobj
= Py_None
;
8325 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8326 wxGridCellCoords rv
;
8327 self
->XYToCell(x
, y
, rv
);
8328 return new wxGridCellCoords(rv
);
8330 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8332 wxGridCellCoords
* _result
;
8336 PyObject
* _argo0
= 0;
8337 char *_kwnames
[] = { "self","x","y", NULL
};
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_XYToCell. Expected _wxGrid_p.");
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8358 _resultobj
= Py_BuildValue("s",_ptemp
);
8361 _resultobj
= Py_None
;
8366 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8367 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8372 PyObject
* _argo0
= 0;
8373 char *_kwnames
[] = { "self","y", NULL
};
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) return NULL
;
8391 } _resultobj
= Py_BuildValue("i",_result
);
8395 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8396 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
* _resultobj
;
8401 PyObject
* _argo0
= 0;
8402 char *_kwnames
[] = { "self","x", NULL
};
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) return NULL
;
8420 } _resultobj
= Py_BuildValue("i",_result
);
8424 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8425 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
* _resultobj
;
8430 PyObject
* _argo0
= 0;
8431 char *_kwnames
[] = { "self","y", NULL
};
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) return NULL
;
8449 } _resultobj
= Py_BuildValue("i",_result
);
8453 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8454 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
* _resultobj
;
8459 PyObject
* _argo0
= 0;
8460 char *_kwnames
[] = { "self","x", NULL
};
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) return NULL
;
8478 } _resultobj
= Py_BuildValue("i",_result
);
8482 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8483 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
* _resultobj
;
8489 PyObject
* _argo0
= 0;
8490 char *_kwnames
[] = { "self","row","col", NULL
};
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) return NULL
;
8509 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8510 _resultobj
= Py_BuildValue("s",_ptemp
);
8514 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8515 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
* _resultobj
;
8519 PyObject
* _argo0
= 0;
8520 char *_kwnames
[] = { "self", NULL
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) return NULL
;
8538 } _resultobj
= Py_BuildValue("i",_result
);
8542 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8543 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
* _resultobj
;
8547 PyObject
* _argo0
= 0;
8548 char *_kwnames
[] = { "self", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8566 } _resultobj
= Py_BuildValue("i",_result
);
8570 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8571 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8577 bool _arg3
= (bool ) TRUE
;
8578 PyObject
* _argo0
= 0;
8579 int tempbool3
= (int) TRUE
;
8580 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8592 _arg3
= (bool ) tempbool3
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8599 } _resultobj
= Py_BuildValue("i",_result
);
8603 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8604 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
* _resultobj
;
8609 PyObject
* _argo0
= 0;
8610 char *_kwnames
[] = { "self","row","col", NULL
};
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) return NULL
;
8628 } Py_INCREF(Py_None
);
8629 _resultobj
= Py_None
;
8633 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8634 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
* _resultobj
;
8639 PyObject
* _argo0
= 0;
8640 char *_kwnames
[] = { "self","row","col", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) return NULL
;
8658 } Py_INCREF(Py_None
);
8659 _resultobj
= Py_None
;
8663 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8664 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8669 PyObject
* _argo0
= 0;
8671 char *_kwnames
[] = { "self","expandSelection", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8683 _arg1
= (bool ) tempbool1
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } _resultobj
= Py_BuildValue("i",_result
);
8694 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8695 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8700 PyObject
* _argo0
= 0;
8702 char *_kwnames
[] = { "self","expandSelection", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8714 _arg1
= (bool ) tempbool1
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8721 } _resultobj
= Py_BuildValue("i",_result
);
8725 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8726 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8733 char *_kwnames
[] = { "self","expandSelection", NULL
};
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8745 _arg1
= (bool ) tempbool1
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) return NULL
;
8752 } _resultobj
= Py_BuildValue("i",_result
);
8756 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8757 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
* _resultobj
;
8762 PyObject
* _argo0
= 0;
8764 char *_kwnames
[] = { "self","expandSelection", NULL
};
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8776 _arg1
= (bool ) tempbool1
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } _resultobj
= Py_BuildValue("i",_result
);
8787 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8788 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
* _resultobj
;
8792 PyObject
* _argo0
= 0;
8793 char *_kwnames
[] = { "self", NULL
};
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8811 } _resultobj
= Py_BuildValue("i",_result
);
8815 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8816 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
* _resultobj
;
8820 PyObject
* _argo0
= 0;
8821 char *_kwnames
[] = { "self", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) return NULL
;
8839 } _resultobj
= Py_BuildValue("i",_result
);
8843 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8844 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
* _resultobj
;
8849 PyObject
* _argo0
= 0;
8851 char *_kwnames
[] = { "self","expandSelection", NULL
};
8854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8863 _arg1
= (bool ) tempbool1
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8870 } _resultobj
= Py_BuildValue("i",_result
);
8874 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8875 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
* _resultobj
;
8880 PyObject
* _argo0
= 0;
8882 char *_kwnames
[] = { "self","expandSelection", NULL
};
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8894 _arg1
= (bool ) tempbool1
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) return NULL
;
8901 } _resultobj
= Py_BuildValue("i",_result
);
8905 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8906 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
* _resultobj
;
8911 PyObject
* _argo0
= 0;
8913 char *_kwnames
[] = { "self","expandSelection", NULL
};
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8925 _arg1
= (bool ) tempbool1
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) return NULL
;
8932 } _resultobj
= Py_BuildValue("i",_result
);
8936 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8937 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
* _resultobj
;
8942 PyObject
* _argo0
= 0;
8944 char *_kwnames
[] = { "self","expandSelection", NULL
};
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8956 _arg1
= (bool ) tempbool1
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) return NULL
;
8963 } _resultobj
= Py_BuildValue("i",_result
);
8967 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8968 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
* _resultobj
;
8972 PyObject
* _argo0
= 0;
8973 char *_kwnames
[] = { "self", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) return NULL
;
8991 } _resultobj
= Py_BuildValue("i",_result
);
8995 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8996 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
* _resultobj
;
9000 PyObject
* _argo0
= 0;
9001 char *_kwnames
[] = { "self", NULL
};
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) return NULL
;
9019 } _resultobj
= Py_BuildValue("i",_result
);
9023 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9024 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9028 PyObject
* _argo0
= 0;
9029 char *_kwnames
[] = { "self", NULL
};
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) return NULL
;
9047 } _resultobj
= Py_BuildValue("i",_result
);
9051 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9052 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
* _resultobj
;
9056 PyObject
* _argo0
= 0;
9057 char *_kwnames
[] = { "self", NULL
};
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) return NULL
;
9075 } _resultobj
= Py_BuildValue("i",_result
);
9079 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9080 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
* _resultobj
;
9084 PyObject
* _argo0
= 0;
9085 char *_kwnames
[] = { "self", NULL
};
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) return NULL
;
9104 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9105 _resultobj
= Py_BuildValue("s",_ptemp
);
9109 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9110 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9114 PyObject
* _argo0
= 0;
9115 char *_kwnames
[] = { "self", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
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_GetLabelTextColour. Expected _wxGrid_p.");
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) return NULL
;
9134 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9135 _resultobj
= Py_BuildValue("s",_ptemp
);
9139 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9140 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
* _resultobj
;
9144 PyObject
* _argo0
= 0;
9145 char *_kwnames
[] = { "self", NULL
};
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) return NULL
;
9164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9165 _resultobj
= Py_BuildValue("s",_ptemp
);
9169 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9170 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
* _resultobj
;
9177 PyObject
* _argo0
= 0;
9178 char *_kwnames
[] = { "self", NULL
};
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) return NULL
;
9202 } Py_INCREF(Py_None
);
9203 _resultobj
= Py_None
;
9206 o
= PyInt_FromLong((long) (*_arg1
));
9207 _resultobj
= t_output_helper(_resultobj
, o
);
9211 o
= PyInt_FromLong((long) (*_arg2
));
9212 _resultobj
= t_output_helper(_resultobj
, o
);
9217 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9218 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
* _resultobj
;
9225 PyObject
* _argo0
= 0;
9226 char *_kwnames
[] = { "self", NULL
};
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_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_GetColLabelAlignment. Expected _wxGrid_p.");
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) return NULL
;
9250 } Py_INCREF(Py_None
);
9251 _resultobj
= Py_None
;
9254 o
= PyInt_FromLong((long) (*_arg1
));
9255 _resultobj
= t_output_helper(_resultobj
, o
);
9259 o
= PyInt_FromLong((long) (*_arg2
));
9260 _resultobj
= t_output_helper(_resultobj
, o
);
9265 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9266 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
* _resultobj
;
9271 PyObject
* _argo0
= 0;
9272 char *_kwnames
[] = { "self","row", NULL
};
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9292 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9294 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9303 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9304 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
* _resultobj
;
9309 PyObject
* _argo0
= 0;
9310 char *_kwnames
[] = { "self","col", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) return NULL
;
9330 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9332 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9341 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9342 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9347 char *_kwnames
[] = { "self", NULL
};
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9367 _resultobj
= Py_BuildValue("s",_ptemp
);
9371 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9372 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9376 PyObject
* _argo0
= 0;
9377 char *_kwnames
[] = { "self", NULL
};
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) return NULL
;
9396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9397 _resultobj
= Py_BuildValue("s",_ptemp
);
9401 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9402 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9406 PyObject
* _argo0
= 0;
9407 char *_kwnames
[] = { "self", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } _resultobj
= Py_BuildValue("i",_result
);
9429 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9430 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9434 PyObject
* _argo0
= 0;
9435 char *_kwnames
[] = { "self", NULL
};
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_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_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) return NULL
;
9453 } _resultobj
= Py_BuildValue("i",_result
);
9457 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9458 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
* _resultobj
;
9462 PyObject
* _argo0
= 0;
9463 char *_kwnames
[] = { "self","width", NULL
};
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) return NULL
;
9481 } Py_INCREF(Py_None
);
9482 _resultobj
= Py_None
;
9486 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9487 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
* _resultobj
;
9491 PyObject
* _argo0
= 0;
9492 char *_kwnames
[] = { "self","height", NULL
};
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) return NULL
;
9510 } Py_INCREF(Py_None
);
9511 _resultobj
= Py_None
;
9515 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9516 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
* _resultobj
;
9520 PyObject
* _argo0
= 0;
9522 PyObject
* _obj1
= 0;
9523 char *_kwnames
[] = { "self","arg2", NULL
};
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9537 if (! wxColour_helper(_obj1
, &_arg1
))
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) return NULL
;
9546 } Py_INCREF(Py_None
);
9547 _resultobj
= Py_None
;
9551 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9552 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
* _resultobj
;
9556 PyObject
* _argo0
= 0;
9558 PyObject
* _obj1
= 0;
9559 char *_kwnames
[] = { "self","arg2", NULL
};
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9573 if (! wxColour_helper(_obj1
, &_arg1
))
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) return NULL
;
9582 } Py_INCREF(Py_None
);
9583 _resultobj
= Py_None
;
9587 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9588 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
* _resultobj
;
9592 PyObject
* _argo0
= 0;
9593 PyObject
* _argo1
= 0;
9594 char *_kwnames
[] = { "self","arg2", NULL
};
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) return NULL
;
9619 } Py_INCREF(Py_None
);
9620 _resultobj
= Py_None
;
9624 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9625 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
* _resultobj
;
9630 PyObject
* _argo0
= 0;
9631 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) return NULL
;
9649 } Py_INCREF(Py_None
);
9650 _resultobj
= Py_None
;
9654 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9655 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
* _resultobj
;
9660 PyObject
* _argo0
= 0;
9661 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) return NULL
;
9679 } Py_INCREF(Py_None
);
9680 _resultobj
= Py_None
;
9684 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9685 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
* _resultobj
;
9690 PyObject
* _argo0
= 0;
9691 PyObject
* _obj2
= 0;
9692 char *_kwnames
[] = { "self","row","arg3", NULL
};
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9705 _arg2
= wxString_in_helper(_obj2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) return NULL
;
9715 } Py_INCREF(Py_None
);
9716 _resultobj
= Py_None
;
9724 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9725 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
* _resultobj
;
9730 PyObject
* _argo0
= 0;
9731 PyObject
* _obj2
= 0;
9732 char *_kwnames
[] = { "self","col","arg3", NULL
};
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9745 _arg2
= wxString_in_helper(_obj2
);
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) return NULL
;
9755 } Py_INCREF(Py_None
);
9756 _resultobj
= Py_None
;
9764 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9765 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
* _resultobj
;
9769 PyObject
* _argo0
= 0;
9771 PyObject
* _obj1
= 0;
9772 char *_kwnames
[] = { "self","arg2", NULL
};
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9786 if (! wxColour_helper(_obj1
, &_arg1
))
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) return NULL
;
9795 } Py_INCREF(Py_None
);
9796 _resultobj
= Py_None
;
9800 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9801 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
* _resultobj
;
9805 PyObject
* _argo0
= 0;
9807 PyObject
* _obj1
= 0;
9808 char *_kwnames
[] = { "self","arg2", NULL
};
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9822 if (! wxColour_helper(_obj1
, &_arg1
))
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) return NULL
;
9831 } Py_INCREF(Py_None
);
9832 _resultobj
= Py_None
;
9836 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9837 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
* _resultobj
;
9841 PyObject
* _argo0
= 0;
9842 char *_kwnames
[] = { "self","width", NULL
};
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) return NULL
;
9860 } Py_INCREF(Py_None
);
9861 _resultobj
= Py_None
;
9865 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9866 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
* _resultobj
;
9870 PyObject
* _argo0
= 0;
9871 char *_kwnames
[] = { "self","width", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } Py_INCREF(Py_None
);
9890 _resultobj
= Py_None
;
9894 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9895 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
* _resultobj
;
9898 bool _arg1
= (bool ) TRUE
;
9899 PyObject
* _argo0
= 0;
9900 int tempbool1
= (int) TRUE
;
9901 char *_kwnames
[] = { "self","enable", NULL
};
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9913 _arg1
= (bool ) tempbool1
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) return NULL
;
9920 } Py_INCREF(Py_None
);
9921 _resultobj
= Py_None
;
9925 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9926 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9929 PyObject
* _argo0
= 0;
9930 char *_kwnames
[] = { "self", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxGrid_DisableDragRowSize(_arg0
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) return NULL
;
9948 } Py_INCREF(Py_None
);
9949 _resultobj
= Py_None
;
9953 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9954 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
* _resultobj
;
9958 PyObject
* _argo0
= 0;
9959 char *_kwnames
[] = { "self", NULL
};
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) return NULL
;
9977 } _resultobj
= Py_BuildValue("i",_result
);
9981 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9982 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
* _resultobj
;
9985 bool _arg1
= (bool ) TRUE
;
9986 PyObject
* _argo0
= 0;
9987 int tempbool1
= (int) TRUE
;
9988 char *_kwnames
[] = { "self","enable", NULL
};
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10000 _arg1
= (bool ) tempbool1
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) return NULL
;
10007 } Py_INCREF(Py_None
);
10008 _resultobj
= Py_None
;
10012 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10013 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10016 PyObject
* _argo0
= 0;
10017 char *_kwnames
[] = { "self", NULL
};
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 wxGrid_DisableDragColSize(_arg0
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) return NULL
;
10035 } Py_INCREF(Py_None
);
10036 _resultobj
= Py_None
;
10040 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10041 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
* _resultobj
;
10045 PyObject
* _argo0
= 0;
10046 char *_kwnames
[] = { "self", NULL
};
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) return NULL
;
10064 } _resultobj
= Py_BuildValue("i",_result
);
10068 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10069 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
* _resultobj
;
10072 bool _arg1
= (bool ) TRUE
;
10073 PyObject
* _argo0
= 0;
10074 int tempbool1
= (int) TRUE
;
10075 char *_kwnames
[] = { "self","enable", NULL
};
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10087 _arg1
= (bool ) tempbool1
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) return NULL
;
10094 } Py_INCREF(Py_None
);
10095 _resultobj
= Py_None
;
10099 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10100 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
* _resultobj
;
10103 PyObject
* _argo0
= 0;
10104 char *_kwnames
[] = { "self", NULL
};
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
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_DisableDragGridSize. Expected _wxGrid_p.");
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 wxGrid_DisableDragGridSize(_arg0
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) return NULL
;
10122 } Py_INCREF(Py_None
);
10123 _resultobj
= Py_None
;
10127 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10128 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
* _resultobj
;
10132 PyObject
* _argo0
= 0;
10133 char *_kwnames
[] = { "self", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_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_CanDragGridSize. Expected _wxGrid_p.");
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 } _resultobj
= Py_BuildValue("i",_result
);
10155 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10156 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
* _resultobj
;
10160 wxGridCellAttr
* _arg2
;
10161 PyObject
* _argo0
= 0;
10162 PyObject
* _argo2
= 0;
10163 char *_kwnames
[] = { "self","row","attr", NULL
};
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) return NULL
;
10188 } Py_INCREF(Py_None
);
10189 _resultobj
= Py_None
;
10193 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10194 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
* _resultobj
;
10198 wxGridCellAttr
* _arg2
;
10199 PyObject
* _argo0
= 0;
10200 PyObject
* _argo2
= 0;
10201 char *_kwnames
[] = { "self","col","attr", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10214 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10215 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) return NULL
;
10226 } Py_INCREF(Py_None
);
10227 _resultobj
= Py_None
;
10231 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10232 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
* _resultobj
;
10236 PyObject
* _argo0
= 0;
10237 char *_kwnames
[] = { "self","col", NULL
};
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) return NULL
;
10255 } Py_INCREF(Py_None
);
10256 _resultobj
= Py_None
;
10260 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10261 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
* _resultobj
;
10265 PyObject
* _argo0
= 0;
10266 char *_kwnames
[] = { "self","col", NULL
};
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) return NULL
;
10284 } Py_INCREF(Py_None
);
10285 _resultobj
= Py_None
;
10289 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10290 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
* _resultobj
;
10294 int _arg2
= (int ) -1;
10295 int _arg3
= (int ) -1;
10296 PyObject
* _argo0
= 0;
10297 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) return NULL
;
10315 } Py_INCREF(Py_None
);
10316 _resultobj
= Py_None
;
10320 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10321 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
* _resultobj
;
10326 PyObject
* _argo0
= 0;
10327 PyObject
* _obj2
= 0;
10328 char *_kwnames
[] = { "self","col","typeName", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10341 _arg2
= wxString_in_helper(_obj2
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) return NULL
;
10351 } Py_INCREF(Py_None
);
10352 _resultobj
= Py_None
;
10360 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10361 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
* _resultobj
;
10364 bool _arg1
= (bool ) TRUE
;
10365 PyObject
* _argo0
= 0;
10366 int tempbool1
= (int) TRUE
;
10367 char *_kwnames
[] = { "self","enable", NULL
};
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
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_EnableGridLines. Expected _wxGrid_p.");
10379 _arg1
= (bool ) tempbool1
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 wxGrid_EnableGridLines(_arg0
,_arg1
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) return NULL
;
10386 } Py_INCREF(Py_None
);
10387 _resultobj
= Py_None
;
10391 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10392 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10396 PyObject
* _argo0
= 0;
10397 char *_kwnames
[] = { "self", NULL
};
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) return NULL
;
10415 } _resultobj
= Py_BuildValue("i",_result
);
10419 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10420 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
* _resultobj
;
10424 PyObject
* _argo0
= 0;
10425 char *_kwnames
[] = { "self", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) return NULL
;
10443 } _resultobj
= Py_BuildValue("i",_result
);
10447 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10448 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
* _resultobj
;
10453 PyObject
* _argo0
= 0;
10454 char *_kwnames
[] = { "self","row", NULL
};
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) return NULL
;
10472 } _resultobj
= Py_BuildValue("i",_result
);
10476 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10477 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
* _resultobj
;
10481 PyObject
* _argo0
= 0;
10482 char *_kwnames
[] = { "self", NULL
};
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) return NULL
;
10500 } _resultobj
= Py_BuildValue("i",_result
);
10504 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10505 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
* _resultobj
;
10510 PyObject
* _argo0
= 0;
10511 char *_kwnames
[] = { "self","col", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } _resultobj
= Py_BuildValue("i",_result
);
10533 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10534 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
* _resultobj
;
10536 wxColour
* _result
;
10538 PyObject
* _argo0
= 0;
10539 char *_kwnames
[] = { "self", NULL
};
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) return NULL
;
10558 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10559 _resultobj
= Py_BuildValue("s",_ptemp
);
10563 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10564 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
* _resultobj
;
10566 wxColour
* _result
;
10570 PyObject
* _argo0
= 0;
10571 char *_kwnames
[] = { "self","row","col", NULL
};
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) return NULL
;
10590 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10591 _resultobj
= Py_BuildValue("s",_ptemp
);
10595 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10596 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
* _resultobj
;
10598 wxColour
* _result
;
10600 PyObject
* _argo0
= 0;
10601 char *_kwnames
[] = { "self", NULL
};
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) return NULL
;
10620 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10621 _resultobj
= Py_BuildValue("s",_ptemp
);
10625 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10626 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
* _resultobj
;
10628 wxColour
* _result
;
10632 PyObject
* _argo0
= 0;
10633 char *_kwnames
[] = { "self","row","col", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) return NULL
;
10652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10653 _resultobj
= Py_BuildValue("s",_ptemp
);
10657 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10658 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10662 PyObject
* _argo0
= 0;
10663 char *_kwnames
[] = { "self", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) return NULL
;
10682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10683 _resultobj
= Py_BuildValue("s",_ptemp
);
10687 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10688 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10694 PyObject
* _argo0
= 0;
10695 char *_kwnames
[] = { "self","row","col", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetCellFont. Expected _wxGrid_p.");
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10715 _resultobj
= Py_BuildValue("s",_ptemp
);
10719 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10720 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
* _resultobj
;
10725 PyObject
* _argo0
= 0;
10726 PyObject
* _argo1
= 0;
10727 PyObject
* _argo2
= 0;
10728 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10748 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10749 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) return NULL
;
10760 } Py_INCREF(Py_None
);
10761 _resultobj
= Py_None
;
10765 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10766 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
* _resultobj
;
10773 PyObject
* _argo0
= 0;
10774 PyObject
* _argo3
= 0;
10775 PyObject
* _argo4
= 0;
10776 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10789 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10790 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10796 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10797 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) return NULL
;
10808 } Py_INCREF(Py_None
);
10809 _resultobj
= Py_None
;
10813 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10814 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
* _resultobj
;
10818 bool _arg2
= (bool ) FALSE
;
10819 PyObject
* _argo0
= 0;
10820 int tempbool2
= (int) FALSE
;
10821 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10833 _arg2
= (bool ) tempbool2
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) return NULL
;
10840 } Py_INCREF(Py_None
);
10841 _resultobj
= Py_None
;
10845 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10846 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
* _resultobj
;
10851 PyObject
* _argo0
= 0;
10852 char *_kwnames
[] = { "self","row","height", NULL
};
10855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) return NULL
;
10870 } Py_INCREF(Py_None
);
10871 _resultobj
= Py_None
;
10875 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10876 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
* _resultobj
;
10880 bool _arg2
= (bool ) FALSE
;
10881 PyObject
* _argo0
= 0;
10882 int tempbool2
= (int) FALSE
;
10883 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10895 _arg2
= (bool ) tempbool2
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) return NULL
;
10902 } Py_INCREF(Py_None
);
10903 _resultobj
= Py_None
;
10907 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10908 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
* _resultobj
;
10913 PyObject
* _argo0
= 0;
10914 char *_kwnames
[] = { "self","col","width", NULL
};
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) return NULL
;
10932 } Py_INCREF(Py_None
);
10933 _resultobj
= Py_None
;
10937 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10938 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
* _resultobj
;
10942 bool _arg2
= (bool ) TRUE
;
10943 PyObject
* _argo0
= 0;
10944 int tempbool2
= (int) TRUE
;
10945 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10957 _arg2
= (bool ) tempbool2
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) return NULL
;
10964 } Py_INCREF(Py_None
);
10965 _resultobj
= Py_None
;
10969 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10970 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
* _resultobj
;
10974 bool _arg2
= (bool ) TRUE
;
10975 PyObject
* _argo0
= 0;
10976 int tempbool2
= (int) TRUE
;
10977 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10989 _arg2
= (bool ) tempbool2
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) return NULL
;
10996 } Py_INCREF(Py_None
);
10997 _resultobj
= Py_None
;
11001 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11002 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
* _resultobj
;
11005 bool _arg1
= (bool ) TRUE
;
11006 PyObject
* _argo0
= 0;
11007 int tempbool1
= (int) TRUE
;
11008 char *_kwnames
[] = { "self","setAsMin", NULL
};
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11020 _arg1
= (bool ) tempbool1
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) return NULL
;
11027 } Py_INCREF(Py_None
);
11028 _resultobj
= Py_None
;
11032 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11033 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
* _resultobj
;
11036 bool _arg1
= (bool ) TRUE
;
11037 PyObject
* _argo0
= 0;
11038 int tempbool1
= (int) TRUE
;
11039 char *_kwnames
[] = { "self","setAsMin", NULL
};
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11051 _arg1
= (bool ) tempbool1
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) return NULL
;
11058 } Py_INCREF(Py_None
);
11059 _resultobj
= Py_None
;
11063 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11064 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
* _resultobj
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self", NULL
};
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxGrid_AutoSize(_arg0
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) return NULL
;
11086 } Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11091 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11092 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
* _resultobj
;
11097 PyObject
* _argo0
= 0;
11098 char *_kwnames
[] = { "self","col","width", NULL
};
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) return NULL
;
11116 } Py_INCREF(Py_None
);
11117 _resultobj
= Py_None
;
11121 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11122 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
* _resultobj
;
11127 PyObject
* _argo0
= 0;
11128 char *_kwnames
[] = { "self","row","width", NULL
};
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) return NULL
;
11146 } Py_INCREF(Py_None
);
11147 _resultobj
= Py_None
;
11151 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11152 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
* _resultobj
;
11156 PyObject
* _argo0
= 0;
11158 PyObject
* _obj1
= 0;
11159 char *_kwnames
[] = { "self","arg2", NULL
};
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11173 if (! wxColour_helper(_obj1
, &_arg1
))
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) return NULL
;
11182 } Py_INCREF(Py_None
);
11183 _resultobj
= Py_None
;
11187 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11188 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
* _resultobj
;
11194 PyObject
* _argo0
= 0;
11196 PyObject
* _obj3
= 0;
11197 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11211 if (! wxColour_helper(_obj3
, &_arg3
))
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) return NULL
;
11220 } Py_INCREF(Py_None
);
11221 _resultobj
= Py_None
;
11225 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11226 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
* _resultobj
;
11230 PyObject
* _argo0
= 0;
11232 PyObject
* _obj1
= 0;
11233 char *_kwnames
[] = { "self","arg2", NULL
};
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
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_SetDefaultCellTextColour. Expected _wxGrid_p.");
11247 if (! wxColour_helper(_obj1
, &_arg1
))
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) return NULL
;
11256 } Py_INCREF(Py_None
);
11257 _resultobj
= Py_None
;
11261 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11262 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
* _resultobj
;
11268 PyObject
* _argo0
= 0;
11270 PyObject
* _obj3
= 0;
11271 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11285 if (! wxColour_helper(_obj3
, &_arg3
))
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) return NULL
;
11294 } Py_INCREF(Py_None
);
11295 _resultobj
= Py_None
;
11299 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11300 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
* _resultobj
;
11304 PyObject
* _argo0
= 0;
11305 PyObject
* _argo1
= 0;
11306 char *_kwnames
[] = { "self","arg2", NULL
};
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) return NULL
;
11331 } Py_INCREF(Py_None
);
11332 _resultobj
= Py_None
;
11336 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11337 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
* _resultobj
;
11343 PyObject
* _argo0
= 0;
11344 PyObject
* _argo3
= 0;
11345 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11358 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11359 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) return NULL
;
11370 } Py_INCREF(Py_None
);
11371 _resultobj
= Py_None
;
11375 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11376 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
* _resultobj
;
11381 PyObject
* _argo0
= 0;
11382 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) return NULL
;
11400 } Py_INCREF(Py_None
);
11401 _resultobj
= Py_None
;
11405 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11406 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
* _resultobj
;
11413 PyObject
* _argo0
= 0;
11414 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) return NULL
;
11432 } Py_INCREF(Py_None
);
11433 _resultobj
= Py_None
;
11437 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11438 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
* _resultobj
;
11441 wxGridCellRenderer
* _arg1
;
11442 PyObject
* _argo0
= 0;
11443 PyObject
* _argo1
= 0;
11444 char *_kwnames
[] = { "self","renderer", NULL
};
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) return NULL
;
11469 } Py_INCREF(Py_None
);
11470 _resultobj
= Py_None
;
11474 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11475 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
* _resultobj
;
11480 wxGridCellRenderer
* _arg3
;
11481 PyObject
* _argo0
= 0;
11482 PyObject
* _argo3
= 0;
11483 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11496 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11497 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) return NULL
;
11508 } Py_INCREF(Py_None
);
11509 _resultobj
= Py_None
;
11513 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11514 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
* _resultobj
;
11516 wxGridCellRenderer
* _result
;
11518 PyObject
* _argo0
= 0;
11519 char *_kwnames
[] = { "self", NULL
};
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) return NULL
;
11537 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11541 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11542 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
* _resultobj
;
11544 wxGridCellRenderer
* _result
;
11548 PyObject
* _argo0
= 0;
11549 char *_kwnames
[] = { "self","row","col", NULL
};
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) return NULL
;
11567 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11571 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11572 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
* _resultobj
;
11575 wxGridCellEditor
* _arg1
;
11576 PyObject
* _argo0
= 0;
11577 PyObject
* _argo1
= 0;
11578 char *_kwnames
[] = { "self","editor", NULL
};
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) return NULL
;
11603 } Py_INCREF(Py_None
);
11604 _resultobj
= Py_None
;
11608 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11609 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
* _resultobj
;
11614 wxGridCellEditor
* _arg3
;
11615 PyObject
* _argo0
= 0;
11616 PyObject
* _argo3
= 0;
11617 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11630 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11631 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) return NULL
;
11642 } Py_INCREF(Py_None
);
11643 _resultobj
= Py_None
;
11647 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11648 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
* _resultobj
;
11650 wxGridCellEditor
* _result
;
11652 PyObject
* _argo0
= 0;
11653 char *_kwnames
[] = { "self", NULL
};
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) return NULL
;
11671 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
11675 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11676 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
* _resultobj
;
11678 wxGridCellEditor
* _result
;
11682 PyObject
* _argo0
= 0;
11683 char *_kwnames
[] = { "self","row","col", NULL
};
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) return NULL
;
11701 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
11705 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11706 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
* _resultobj
;
11708 wxString
* _result
;
11712 PyObject
* _argo0
= 0;
11713 char *_kwnames
[] = { "self","row","col", NULL
};
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) return NULL
;
11733 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11735 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11744 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11745 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
* _resultobj
;
11751 PyObject
* _argo0
= 0;
11752 PyObject
* _obj3
= 0;
11753 char *_kwnames
[] = { "self","row","col","s", NULL
};
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11766 _arg3
= wxString_in_helper(_obj3
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) return NULL
;
11776 } Py_INCREF(Py_None
);
11777 _resultobj
= Py_None
;
11785 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11786 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
* _resultobj
;
11792 PyObject
* _argo0
= 0;
11793 char *_kwnames
[] = { "self","row","col", NULL
};
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) return NULL
;
11811 } _resultobj
= Py_BuildValue("i",_result
);
11815 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11816 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
* _resultobj
;
11821 bool _arg3
= (bool ) TRUE
;
11822 PyObject
* _argo0
= 0;
11823 int tempbool3
= (int) TRUE
;
11824 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11836 _arg3
= (bool ) tempbool3
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) return NULL
;
11843 } Py_INCREF(Py_None
);
11844 _resultobj
= Py_None
;
11848 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11849 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
* _resultobj
;
11853 bool _arg2
= (bool ) FALSE
;
11854 PyObject
* _argo0
= 0;
11855 int tempbool2
= (int) FALSE
;
11856 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11868 _arg2
= (bool ) tempbool2
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) return NULL
;
11875 } Py_INCREF(Py_None
);
11876 _resultobj
= Py_None
;
11880 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11881 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
* _resultobj
;
11885 bool _arg2
= (bool ) FALSE
;
11886 PyObject
* _argo0
= 0;
11887 int tempbool2
= (int) FALSE
;
11888 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11900 _arg2
= (bool ) tempbool2
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) return NULL
;
11907 } Py_INCREF(Py_None
);
11908 _resultobj
= Py_None
;
11912 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11913 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
* _resultobj
;
11920 bool _arg5
= (bool ) FALSE
;
11921 PyObject
* _argo0
= 0;
11922 int tempbool5
= (int) FALSE
;
11923 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11935 _arg5
= (bool ) tempbool5
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) return NULL
;
11942 } Py_INCREF(Py_None
);
11943 _resultobj
= Py_None
;
11947 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11948 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
* _resultobj
;
11951 PyObject
* _argo0
= 0;
11952 char *_kwnames
[] = { "self", NULL
};
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxGrid_SelectAll(_arg0
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) return NULL
;
11970 } Py_INCREF(Py_None
);
11971 _resultobj
= Py_None
;
11975 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11976 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
* _resultobj
;
11980 PyObject
* _argo0
= 0;
11981 char *_kwnames
[] = { "self", NULL
};
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 _result
= (bool )wxGrid_IsSelection(_arg0
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) return NULL
;
11999 } _resultobj
= Py_BuildValue("i",_result
);
12003 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12004 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
* _resultobj
;
12007 PyObject
* _argo0
= 0;
12008 char *_kwnames
[] = { "self", NULL
};
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 wxGrid_ClearSelection(_arg0
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) return NULL
;
12026 } Py_INCREF(Py_None
);
12027 _resultobj
= Py_None
;
12031 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12032 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
* _resultobj
;
12038 PyObject
* _argo0
= 0;
12039 char *_kwnames
[] = { "self","row","col", NULL
};
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) return NULL
;
12057 } _resultobj
= Py_BuildValue("i",_result
);
12061 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12062 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
* _resultobj
;
12066 wxGridCellCoords
* _arg1
;
12067 wxGridCellCoords
* _arg2
;
12068 PyObject
* _argo0
= 0;
12069 wxGridCellCoords temp
;
12070 PyObject
* _obj1
= 0;
12071 wxGridCellCoords temp0
;
12072 PyObject
* _obj2
= 0;
12073 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12088 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12093 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) return NULL
;
12102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12103 _resultobj
= Py_BuildValue("s",_ptemp
);
12107 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12108 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
* _resultobj
;
12110 wxColour
* _result
;
12112 PyObject
* _argo0
= 0;
12113 char *_kwnames
[] = { "self", NULL
};
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) return NULL
;
12132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12133 _resultobj
= Py_BuildValue("s",_ptemp
);
12137 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12138 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
* _resultobj
;
12140 wxColour
* _result
;
12142 PyObject
* _argo0
= 0;
12143 char *_kwnames
[] = { "self", NULL
};
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) return NULL
;
12162 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12163 _resultobj
= Py_BuildValue("s",_ptemp
);
12167 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12168 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
* _resultobj
;
12172 PyObject
* _argo0
= 0;
12174 PyObject
* _obj1
= 0;
12175 char *_kwnames
[] = { "self","c", NULL
};
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12189 if (! wxColour_helper(_obj1
, &_arg1
))
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) return NULL
;
12198 } Py_INCREF(Py_None
);
12199 _resultobj
= Py_None
;
12203 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12204 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
* _resultobj
;
12208 PyObject
* _argo0
= 0;
12210 PyObject
* _obj1
= 0;
12211 char *_kwnames
[] = { "self","c", NULL
};
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12225 if (! wxColour_helper(_obj1
, &_arg1
))
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) return NULL
;
12234 } Py_INCREF(Py_None
);
12235 _resultobj
= Py_None
;
12239 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12240 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
* _resultobj
;
12244 wxGridCellRenderer
* _arg2
;
12245 wxGridCellEditor
* _arg3
;
12246 PyObject
* _argo0
= 0;
12247 PyObject
* _obj1
= 0;
12248 PyObject
* _argo2
= 0;
12249 PyObject
* _argo3
= 0;
12250 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12263 _arg1
= wxString_in_helper(_obj1
);
12268 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12269 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12275 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12276 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) return NULL
;
12287 } Py_INCREF(Py_None
);
12288 _resultobj
= Py_None
;
12296 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12297 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
* _resultobj
;
12299 wxGridCellEditor
* _result
;
12303 PyObject
* _argo0
= 0;
12304 char *_kwnames
[] = { "self","row","col", NULL
};
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) return NULL
;
12322 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12326 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12327 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
* _resultobj
;
12329 wxGridCellRenderer
* _result
;
12333 PyObject
* _argo0
= 0;
12334 char *_kwnames
[] = { "self","row","col", NULL
};
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetDefaultRendererForCell. Expected _wxGrid_p.");
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) return NULL
;
12352 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12356 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12357 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
* _resultobj
;
12359 wxGridCellEditor
* _result
;
12362 PyObject
* _argo0
= 0;
12363 PyObject
* _obj1
= 0;
12364 char *_kwnames
[] = { "self","typeName", NULL
};
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12377 _arg1
= wxString_in_helper(_obj1
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) return NULL
;
12387 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12395 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12396 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
* _resultobj
;
12398 wxGridCellRenderer
* _result
;
12401 PyObject
* _argo0
= 0;
12402 PyObject
* _obj1
= 0;
12403 char *_kwnames
[] = { "self","typeName", NULL
};
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12416 _arg1
= wxString_in_helper(_obj1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) return NULL
;
12426 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12434 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12435 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
* _resultobj
;
12440 PyObject
* _argo0
= 0;
12441 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) return NULL
;
12459 } Py_INCREF(Py_None
);
12460 _resultobj
= Py_None
;
12464 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12465 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
* _resultobj
;
12467 wxWindow
* _result
;
12469 PyObject
* _argo0
= 0;
12470 char *_kwnames
[] = { "self", NULL
};
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) return NULL
;
12488 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12492 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12493 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
* _resultobj
;
12495 wxWindow
* _result
;
12497 PyObject
* _argo0
= 0;
12498 char *_kwnames
[] = { "self", NULL
};
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) return NULL
;
12516 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12520 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12521 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
* _resultobj
;
12523 wxWindow
* _result
;
12525 PyObject
* _argo0
= 0;
12526 char *_kwnames
[] = { "self", NULL
};
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) return NULL
;
12544 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12548 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12549 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
* _resultobj
;
12551 wxWindow
* _result
;
12553 PyObject
* _argo0
= 0;
12554 char *_kwnames
[] = { "self", NULL
};
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) return NULL
;
12572 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12576 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12578 wxNotifyEvent
*dest
;
12579 src
= (wxGridEvent
*) ptr
;
12580 dest
= (wxNotifyEvent
*) src
;
12581 return (void *) dest
;
12584 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12586 wxCommandEvent
*dest
;
12587 src
= (wxGridEvent
*) ptr
;
12588 dest
= (wxCommandEvent
*) src
;
12589 return (void *) dest
;
12592 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12595 src
= (wxGridEvent
*) ptr
;
12596 dest
= (wxEvent
*) src
;
12597 return (void *) dest
;
12600 static void *SwigwxGridEventTowxObject(void *ptr
) {
12603 src
= (wxGridEvent
*) ptr
;
12604 dest
= (wxObject
*) src
;
12605 return (void *) dest
;
12608 #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))
12609 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
* _resultobj
;
12611 wxGridEvent
* _result
;
12615 int _arg3
= (int ) -1;
12616 int _arg4
= (int ) -1;
12617 int _arg5
= (int ) -1;
12618 int _arg6
= (int ) -1;
12619 bool _arg7
= (bool ) TRUE
;
12620 bool _arg8
= (bool ) FALSE
;
12621 bool _arg9
= (bool ) FALSE
;
12622 bool _arg10
= (bool ) FALSE
;
12623 bool _arg11
= (bool ) FALSE
;
12624 PyObject
* _argo2
= 0;
12625 int tempbool7
= (int) TRUE
;
12626 int tempbool8
= (int) FALSE
;
12627 int tempbool9
= (int) FALSE
;
12628 int tempbool10
= (int) FALSE
;
12629 int tempbool11
= (int) FALSE
;
12630 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12637 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12638 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12643 _arg7
= (bool ) tempbool7
;
12644 _arg8
= (bool ) tempbool8
;
12645 _arg9
= (bool ) tempbool9
;
12646 _arg10
= (bool ) tempbool10
;
12647 _arg11
= (bool ) tempbool11
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) return NULL
;
12655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12656 _resultobj
= Py_BuildValue("s",_ptemp
);
12658 Py_INCREF(Py_None
);
12659 _resultobj
= Py_None
;
12664 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12665 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
* _resultobj
;
12668 wxGridEvent
* _arg0
;
12669 PyObject
* _argo0
= 0;
12670 char *_kwnames
[] = { "self", NULL
};
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 _result
= (int )wxGridEvent_GetRow(_arg0
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) return NULL
;
12688 } _resultobj
= Py_BuildValue("i",_result
);
12692 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12693 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
* _resultobj
;
12696 wxGridEvent
* _arg0
;
12697 PyObject
* _argo0
= 0;
12698 char *_kwnames
[] = { "self", NULL
};
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 _result
= (int )wxGridEvent_GetCol(_arg0
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) return NULL
;
12716 } _resultobj
= Py_BuildValue("i",_result
);
12720 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12721 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
* _resultobj
;
12724 wxGridEvent
* _arg0
;
12725 PyObject
* _argo0
= 0;
12726 char *_kwnames
[] = { "self", NULL
};
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) return NULL
;
12745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12746 _resultobj
= Py_BuildValue("s",_ptemp
);
12750 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12751 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
* _resultobj
;
12754 wxGridEvent
* _arg0
;
12755 PyObject
* _argo0
= 0;
12756 char *_kwnames
[] = { "self", NULL
};
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) return NULL
;
12774 } _resultobj
= Py_BuildValue("i",_result
);
12778 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12779 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
* _resultobj
;
12782 wxGridEvent
* _arg0
;
12783 PyObject
* _argo0
= 0;
12784 char *_kwnames
[] = { "self", NULL
};
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) return NULL
;
12802 } _resultobj
= Py_BuildValue("i",_result
);
12806 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12807 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
* _resultobj
;
12810 wxGridEvent
* _arg0
;
12811 PyObject
* _argo0
= 0;
12812 char *_kwnames
[] = { "self", NULL
};
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) return NULL
;
12830 } _resultobj
= Py_BuildValue("i",_result
);
12834 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12835 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
* _resultobj
;
12838 wxGridEvent
* _arg0
;
12839 PyObject
* _argo0
= 0;
12840 char *_kwnames
[] = { "self", NULL
};
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) return NULL
;
12858 } _resultobj
= Py_BuildValue("i",_result
);
12862 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12863 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
* _resultobj
;
12866 wxGridEvent
* _arg0
;
12867 PyObject
* _argo0
= 0;
12868 char *_kwnames
[] = { "self", NULL
};
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) return NULL
;
12886 } _resultobj
= Py_BuildValue("i",_result
);
12890 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12891 wxGridSizeEvent
*src
;
12892 wxNotifyEvent
*dest
;
12893 src
= (wxGridSizeEvent
*) ptr
;
12894 dest
= (wxNotifyEvent
*) src
;
12895 return (void *) dest
;
12898 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12899 wxGridSizeEvent
*src
;
12900 wxCommandEvent
*dest
;
12901 src
= (wxGridSizeEvent
*) ptr
;
12902 dest
= (wxCommandEvent
*) src
;
12903 return (void *) dest
;
12906 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12907 wxGridSizeEvent
*src
;
12909 src
= (wxGridSizeEvent
*) ptr
;
12910 dest
= (wxEvent
*) src
;
12911 return (void *) dest
;
12914 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12915 wxGridSizeEvent
*src
;
12917 src
= (wxGridSizeEvent
*) ptr
;
12918 dest
= (wxObject
*) src
;
12919 return (void *) dest
;
12922 #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))
12923 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
* _resultobj
;
12925 wxGridSizeEvent
* _result
;
12929 int _arg3
= (int ) -1;
12930 int _arg4
= (int ) -1;
12931 int _arg5
= (int ) -1;
12932 bool _arg6
= (bool ) FALSE
;
12933 bool _arg7
= (bool ) FALSE
;
12934 bool _arg8
= (bool ) FALSE
;
12935 bool _arg9
= (bool ) FALSE
;
12936 PyObject
* _argo2
= 0;
12937 int tempbool6
= (int) FALSE
;
12938 int tempbool7
= (int) FALSE
;
12939 int tempbool8
= (int) FALSE
;
12940 int tempbool9
= (int) FALSE
;
12941 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12948 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12949 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12954 _arg6
= (bool ) tempbool6
;
12955 _arg7
= (bool ) tempbool7
;
12956 _arg8
= (bool ) tempbool8
;
12957 _arg9
= (bool ) tempbool9
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) return NULL
;
12965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12966 _resultobj
= Py_BuildValue("s",_ptemp
);
12968 Py_INCREF(Py_None
);
12969 _resultobj
= Py_None
;
12974 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12975 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
* _resultobj
;
12978 wxGridSizeEvent
* _arg0
;
12979 PyObject
* _argo0
= 0;
12980 char *_kwnames
[] = { "self", NULL
};
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) return NULL
;
12998 } _resultobj
= Py_BuildValue("i",_result
);
13002 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13003 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
* _resultobj
;
13006 wxGridSizeEvent
* _arg0
;
13007 PyObject
* _argo0
= 0;
13008 char *_kwnames
[] = { "self", NULL
};
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) return NULL
;
13027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13028 _resultobj
= Py_BuildValue("s",_ptemp
);
13032 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13033 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
* _resultobj
;
13036 wxGridSizeEvent
* _arg0
;
13037 PyObject
* _argo0
= 0;
13038 char *_kwnames
[] = { "self", NULL
};
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) return NULL
;
13056 } _resultobj
= Py_BuildValue("i",_result
);
13060 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13061 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
* _resultobj
;
13064 wxGridSizeEvent
* _arg0
;
13065 PyObject
* _argo0
= 0;
13066 char *_kwnames
[] = { "self", NULL
};
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) return NULL
;
13084 } _resultobj
= Py_BuildValue("i",_result
);
13088 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13089 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
* _resultobj
;
13092 wxGridSizeEvent
* _arg0
;
13093 PyObject
* _argo0
= 0;
13094 char *_kwnames
[] = { "self", NULL
};
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) return NULL
;
13112 } _resultobj
= Py_BuildValue("i",_result
);
13116 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13117 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
* _resultobj
;
13120 wxGridSizeEvent
* _arg0
;
13121 PyObject
* _argo0
= 0;
13122 char *_kwnames
[] = { "self", NULL
};
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) return NULL
;
13140 } _resultobj
= Py_BuildValue("i",_result
);
13144 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13145 wxGridRangeSelectEvent
*src
;
13146 wxNotifyEvent
*dest
;
13147 src
= (wxGridRangeSelectEvent
*) ptr
;
13148 dest
= (wxNotifyEvent
*) src
;
13149 return (void *) dest
;
13152 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13153 wxGridRangeSelectEvent
*src
;
13154 wxCommandEvent
*dest
;
13155 src
= (wxGridRangeSelectEvent
*) ptr
;
13156 dest
= (wxCommandEvent
*) src
;
13157 return (void *) dest
;
13160 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13161 wxGridRangeSelectEvent
*src
;
13163 src
= (wxGridRangeSelectEvent
*) ptr
;
13164 dest
= (wxEvent
*) src
;
13165 return (void *) dest
;
13168 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13169 wxGridRangeSelectEvent
*src
;
13171 src
= (wxGridRangeSelectEvent
*) ptr
;
13172 dest
= (wxObject
*) src
;
13173 return (void *) dest
;
13176 #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))
13177 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
* _resultobj
;
13179 wxGridRangeSelectEvent
* _result
;
13183 wxGridCellCoords
* _arg3
;
13184 wxGridCellCoords
* _arg4
;
13185 bool _arg5
= (bool ) TRUE
;
13186 bool _arg6
= (bool ) FALSE
;
13187 bool _arg7
= (bool ) FALSE
;
13188 bool _arg8
= (bool ) FALSE
;
13189 bool _arg9
= (bool ) FALSE
;
13190 PyObject
* _argo2
= 0;
13191 wxGridCellCoords temp
;
13192 PyObject
* _obj3
= 0;
13193 wxGridCellCoords temp0
;
13194 PyObject
* _obj4
= 0;
13195 int tempbool5
= (int) TRUE
;
13196 int tempbool6
= (int) FALSE
;
13197 int tempbool7
= (int) FALSE
;
13198 int tempbool8
= (int) FALSE
;
13199 int tempbool9
= (int) FALSE
;
13200 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13207 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13208 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13215 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13220 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13223 _arg5
= (bool ) tempbool5
;
13224 _arg6
= (bool ) tempbool6
;
13225 _arg7
= (bool ) tempbool7
;
13226 _arg8
= (bool ) tempbool8
;
13227 _arg9
= (bool ) tempbool9
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) return NULL
;
13235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13236 _resultobj
= Py_BuildValue("s",_ptemp
);
13238 Py_INCREF(Py_None
);
13239 _resultobj
= Py_None
;
13244 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13245 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
* _resultobj
;
13247 wxGridCellCoords
* _result
;
13248 wxGridRangeSelectEvent
* _arg0
;
13249 PyObject
* _argo0
= 0;
13250 char *_kwnames
[] = { "self", NULL
};
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) return NULL
;
13269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13270 _resultobj
= Py_BuildValue("s",_ptemp
);
13274 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13275 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
* _resultobj
;
13277 wxGridCellCoords
* _result
;
13278 wxGridRangeSelectEvent
* _arg0
;
13279 PyObject
* _argo0
= 0;
13280 char *_kwnames
[] = { "self", NULL
};
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) return NULL
;
13299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13300 _resultobj
= Py_BuildValue("s",_ptemp
);
13304 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13305 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
* _resultobj
;
13308 wxGridRangeSelectEvent
* _arg0
;
13309 PyObject
* _argo0
= 0;
13310 char *_kwnames
[] = { "self", NULL
};
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) return NULL
;
13328 } _resultobj
= Py_BuildValue("i",_result
);
13332 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13333 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
* _resultobj
;
13336 wxGridRangeSelectEvent
* _arg0
;
13337 PyObject
* _argo0
= 0;
13338 char *_kwnames
[] = { "self", NULL
};
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) return NULL
;
13356 } _resultobj
= Py_BuildValue("i",_result
);
13360 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13361 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
* _resultobj
;
13364 wxGridRangeSelectEvent
* _arg0
;
13365 PyObject
* _argo0
= 0;
13366 char *_kwnames
[] = { "self", NULL
};
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) return NULL
;
13384 } _resultobj
= Py_BuildValue("i",_result
);
13388 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13389 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
* _resultobj
;
13392 wxGridRangeSelectEvent
* _arg0
;
13393 PyObject
* _argo0
= 0;
13394 char *_kwnames
[] = { "self", NULL
};
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) return NULL
;
13412 } _resultobj
= Py_BuildValue("i",_result
);
13416 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13417 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
* _resultobj
;
13420 wxGridRangeSelectEvent
* _arg0
;
13421 PyObject
* _argo0
= 0;
13422 char *_kwnames
[] = { "self", NULL
};
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) return NULL
;
13440 } _resultobj
= Py_BuildValue("i",_result
);
13444 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13445 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
* _resultobj
;
13448 wxGridRangeSelectEvent
* _arg0
;
13449 PyObject
* _argo0
= 0;
13450 char *_kwnames
[] = { "self", NULL
};
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) return NULL
;
13468 } _resultobj
= Py_BuildValue("i",_result
);
13472 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13473 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
* _resultobj
;
13476 wxGridRangeSelectEvent
* _arg0
;
13477 PyObject
* _argo0
= 0;
13478 char *_kwnames
[] = { "self", NULL
};
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) return NULL
;
13496 } _resultobj
= Py_BuildValue("i",_result
);
13500 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13501 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
* _resultobj
;
13504 wxGridRangeSelectEvent
* _arg0
;
13505 PyObject
* _argo0
= 0;
13506 char *_kwnames
[] = { "self", NULL
};
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) return NULL
;
13524 } _resultobj
= Py_BuildValue("i",_result
);
13528 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13529 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
* _resultobj
;
13532 wxGridRangeSelectEvent
* _arg0
;
13533 PyObject
* _argo0
= 0;
13534 char *_kwnames
[] = { "self", NULL
};
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) return NULL
;
13552 } _resultobj
= Py_BuildValue("i",_result
);
13556 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13557 wxGridEditorCreatedEvent
*src
;
13558 wxCommandEvent
*dest
;
13559 src
= (wxGridEditorCreatedEvent
*) ptr
;
13560 dest
= (wxCommandEvent
*) src
;
13561 return (void *) dest
;
13564 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13565 wxGridEditorCreatedEvent
*src
;
13567 src
= (wxGridEditorCreatedEvent
*) ptr
;
13568 dest
= (wxEvent
*) src
;
13569 return (void *) dest
;
13572 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13573 wxGridEditorCreatedEvent
*src
;
13575 src
= (wxGridEditorCreatedEvent
*) ptr
;
13576 dest
= (wxObject
*) src
;
13577 return (void *) dest
;
13580 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13581 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
* _resultobj
;
13583 wxGridEditorCreatedEvent
* _result
;
13590 PyObject
* _argo2
= 0;
13591 PyObject
* _argo5
= 0;
13592 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13599 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13600 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13606 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13607 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) return NULL
;
13619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13620 _resultobj
= Py_BuildValue("s",_ptemp
);
13622 Py_INCREF(Py_None
);
13623 _resultobj
= Py_None
;
13628 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13629 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
* _resultobj
;
13632 wxGridEditorCreatedEvent
* _arg0
;
13633 PyObject
* _argo0
= 0;
13634 char *_kwnames
[] = { "self", NULL
};
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) return NULL
;
13652 } _resultobj
= Py_BuildValue("i",_result
);
13656 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13657 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
* _resultobj
;
13660 wxGridEditorCreatedEvent
* _arg0
;
13661 PyObject
* _argo0
= 0;
13662 char *_kwnames
[] = { "self", NULL
};
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) return NULL
;
13680 } _resultobj
= Py_BuildValue("i",_result
);
13684 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13685 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
* _resultobj
;
13687 wxControl
* _result
;
13688 wxGridEditorCreatedEvent
* _arg0
;
13689 PyObject
* _argo0
= 0;
13690 char *_kwnames
[] = { "self", NULL
};
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) return NULL
;
13708 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13712 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13713 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
* _resultobj
;
13715 wxGridEditorCreatedEvent
* _arg0
;
13717 PyObject
* _argo0
= 0;
13718 char *_kwnames
[] = { "self","row", NULL
};
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) return NULL
;
13736 } Py_INCREF(Py_None
);
13737 _resultobj
= Py_None
;
13741 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13742 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
* _resultobj
;
13744 wxGridEditorCreatedEvent
* _arg0
;
13746 PyObject
* _argo0
= 0;
13747 char *_kwnames
[] = { "self","col", NULL
};
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) return NULL
;
13765 } Py_INCREF(Py_None
);
13766 _resultobj
= Py_None
;
13770 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13771 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
* _resultobj
;
13773 wxGridEditorCreatedEvent
* _arg0
;
13775 PyObject
* _argo0
= 0;
13776 PyObject
* _argo1
= 0;
13777 char *_kwnames
[] = { "self","ctrl", NULL
};
13780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) return NULL
;
13802 } Py_INCREF(Py_None
);
13803 _resultobj
= Py_None
;
13807 static PyMethodDef gridcMethods
[] = {
13808 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14071 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14072 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14073 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14074 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14075 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14076 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14077 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14078 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14079 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14080 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14081 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14082 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14083 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14084 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14085 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14086 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14087 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14088 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14089 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14090 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14091 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14092 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14093 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14094 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14095 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14096 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14097 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14098 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14099 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14100 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14101 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14102 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14103 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14104 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14105 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14106 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14107 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14108 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14109 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14110 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14111 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14112 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14113 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14114 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14115 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14116 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14117 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14118 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14119 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14120 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14121 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14122 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14123 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14124 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14125 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14126 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14127 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14128 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14129 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14130 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14131 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14132 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14133 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14134 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14135 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14136 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14137 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14138 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14139 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14140 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14141 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14142 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14143 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14144 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14145 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14146 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14147 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14148 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14149 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14150 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14151 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14152 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14153 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14154 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14155 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14156 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14157 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14158 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14159 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14160 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14161 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14162 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14163 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14164 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14165 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14166 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14167 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14168 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14169 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14170 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14171 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14172 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14173 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14174 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14175 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14176 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14177 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14178 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14179 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14180 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14181 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14182 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14183 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14184 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14185 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14192 * This table is used by the pointer type-checker
14194 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14195 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14196 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14197 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14198 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14199 { "_signed_long","_long",0},
14200 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14201 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14202 { "_wxPrintQuality","_wxCoord",0},
14203 { "_wxPrintQuality","_int",0},
14204 { "_wxPrintQuality","_signed_int",0},
14205 { "_wxPrintQuality","_unsigned_int",0},
14206 { "_wxPrintQuality","_wxWindowID",0},
14207 { "_wxPrintQuality","_uint",0},
14208 { "_wxPrintQuality","_EBool",0},
14209 { "_wxPrintQuality","_size_t",0},
14210 { "_wxPrintQuality","_time_t",0},
14211 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14212 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14213 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14214 { "_byte","_unsigned_char",0},
14215 { "_long","_unsigned_long",0},
14216 { "_long","_signed_long",0},
14217 { "_size_t","_WXGRIDSELECTIONMODES",0},
14218 { "_size_t","_wxCoord",0},
14219 { "_size_t","_wxPrintQuality",0},
14220 { "_size_t","_time_t",0},
14221 { "_size_t","_unsigned_int",0},
14222 { "_size_t","_int",0},
14223 { "_size_t","_wxWindowID",0},
14224 { "_size_t","_uint",0},
14225 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14226 { "_uint","_WXGRIDSELECTIONMODES",0},
14227 { "_uint","_wxCoord",0},
14228 { "_uint","_wxPrintQuality",0},
14229 { "_uint","_time_t",0},
14230 { "_uint","_size_t",0},
14231 { "_uint","_unsigned_int",0},
14232 { "_uint","_int",0},
14233 { "_uint","_wxWindowID",0},
14234 { "_wxChar","_char",0},
14235 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14236 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14237 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14238 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14239 { "_char","_wxChar",0},
14240 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14241 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14242 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14243 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14244 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14245 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14246 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14247 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14248 { "_EBool","_WXGRIDSELECTIONMODES",0},
14249 { "_EBool","_wxCoord",0},
14250 { "_EBool","_wxPrintQuality",0},
14251 { "_EBool","_signed_int",0},
14252 { "_EBool","_int",0},
14253 { "_EBool","_wxWindowID",0},
14254 { "_unsigned_long","_long",0},
14255 { "_WXGRIDSELECTIONMODES","_int",0},
14256 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14257 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14258 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14259 { "_WXGRIDSELECTIONMODES","_uint",0},
14260 { "_WXGRIDSELECTIONMODES","_EBool",0},
14261 { "_WXGRIDSELECTIONMODES","_size_t",0},
14262 { "_WXGRIDSELECTIONMODES","_time_t",0},
14263 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14264 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14265 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14266 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14267 { "_signed_int","_wxCoord",0},
14268 { "_signed_int","_wxPrintQuality",0},
14269 { "_signed_int","_EBool",0},
14270 { "_signed_int","_wxWindowID",0},
14271 { "_signed_int","_int",0},
14272 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14273 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14274 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14275 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14276 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14277 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14278 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14279 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14280 { "_WXTYPE","_short",0},
14281 { "_WXTYPE","_signed_short",0},
14282 { "_WXTYPE","_unsigned_short",0},
14283 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14284 { "_unsigned_short","_WXTYPE",0},
14285 { "_unsigned_short","_short",0},
14286 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14287 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14288 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14289 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14290 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14291 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14292 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14293 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14294 { "_signed_short","_WXTYPE",0},
14295 { "_signed_short","_short",0},
14296 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14297 { "_unsigned_char","_byte",0},
14298 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14299 { "_unsigned_int","_wxCoord",0},
14300 { "_unsigned_int","_wxPrintQuality",0},
14301 { "_unsigned_int","_time_t",0},
14302 { "_unsigned_int","_size_t",0},
14303 { "_unsigned_int","_uint",0},
14304 { "_unsigned_int","_wxWindowID",0},
14305 { "_unsigned_int","_int",0},
14306 { "_short","_WXTYPE",0},
14307 { "_short","_unsigned_short",0},
14308 { "_short","_signed_short",0},
14309 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14310 { "_wxWindowID","_wxCoord",0},
14311 { "_wxWindowID","_wxPrintQuality",0},
14312 { "_wxWindowID","_time_t",0},
14313 { "_wxWindowID","_size_t",0},
14314 { "_wxWindowID","_EBool",0},
14315 { "_wxWindowID","_uint",0},
14316 { "_wxWindowID","_int",0},
14317 { "_wxWindowID","_signed_int",0},
14318 { "_wxWindowID","_unsigned_int",0},
14319 { "_int","_WXGRIDSELECTIONMODES",0},
14320 { "_int","_wxCoord",0},
14321 { "_int","_wxPrintQuality",0},
14322 { "_int","_time_t",0},
14323 { "_int","_size_t",0},
14324 { "_int","_EBool",0},
14325 { "_int","_uint",0},
14326 { "_int","_wxWindowID",0},
14327 { "_int","_unsigned_int",0},
14328 { "_int","_signed_int",0},
14329 { "_time_t","_WXGRIDSELECTIONMODES",0},
14330 { "_time_t","_wxCoord",0},
14331 { "_time_t","_wxPrintQuality",0},
14332 { "_time_t","_unsigned_int",0},
14333 { "_time_t","_int",0},
14334 { "_time_t","_wxWindowID",0},
14335 { "_time_t","_uint",0},
14336 { "_time_t","_size_t",0},
14337 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14338 { "_wxCoord","_int",0},
14339 { "_wxCoord","_signed_int",0},
14340 { "_wxCoord","_unsigned_int",0},
14341 { "_wxCoord","_wxWindowID",0},
14342 { "_wxCoord","_uint",0},
14343 { "_wxCoord","_EBool",0},
14344 { "_wxCoord","_size_t",0},
14345 { "_wxCoord","_time_t",0},
14346 { "_wxCoord","_wxPrintQuality",0},
14347 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14348 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14349 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14350 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14351 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14352 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14353 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14354 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14355 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14356 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14357 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14358 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14359 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14362 static PyObject
*SWIG_globals
;
14366 SWIGEXPORT(void) initgridc() {
14368 SWIG_globals
= SWIG_newvarlink();
14369 m
= Py_InitModule("gridc", gridcMethods
);
14370 d
= PyModule_GetDict(m
);
14371 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14372 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14373 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14374 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14375 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14376 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14377 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14378 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14379 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14380 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14381 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14382 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14383 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14384 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14385 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14386 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14387 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14388 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14389 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14390 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14391 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14392 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14393 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14394 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14395 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14396 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14397 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14398 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14399 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14400 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14401 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14402 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14403 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14404 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14405 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14406 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14408 wxClassInfo::CleanUpClasses();
14409 wxClassInfo::InitializeClasses();
14410 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14411 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14412 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14413 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14414 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14415 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14416 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14417 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14418 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14421 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14422 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);