2 * FILE : src/mac/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
90 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
91 wxGridCellAttr* rval = NULL; \
93 wxPyBeginBlockThreads(); \
94 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
96 wxGridCellAttr* ptr; \
97 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
99 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
104 wxPyEndBlockThreads(); \
106 rval = PCLASS::CBNAME(a, b, c); \
109 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
110 return PCLASS::CBNAME(a, b, c); \
115 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
116 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
117 wxPyBeginBlockThreads(); \
119 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
120 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
121 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
124 wxPyEndBlockThreads(); \
126 PCLASS::CBNAME(attr, a, b); \
128 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
129 PCLASS::CBNAME(attr, a, b); \
134 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int val) { \
136 wxPyBeginBlockThreads(); \
138 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
139 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
143 wxPyEndBlockThreads(); \
145 PCLASS::CBNAME(attr, val); \
147 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
148 PCLASS::CBNAME(attr, val); \
153 #define PYCALLBACK_INT__pure(CBNAME) \
155 wxPyBeginBlockThreads(); \
157 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
158 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
159 wxPyEndBlockThreads(); \
165 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
166 bool CBNAME(int a, int b) { \
167 wxPyBeginBlockThreads(); \
169 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
170 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
171 wxPyEndBlockThreads(); \
177 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
178 wxString CBNAME(int a, int b) { \
179 wxPyBeginBlockThreads(); \
181 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
183 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
185 PyObject* str = PyObject_Str(ro); \
186 rval = PyString_AsString(str); \
187 Py_DECREF(ro); Py_DECREF(str); \
190 wxPyEndBlockThreads(); \
196 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
197 void CBNAME(int a, int b, const wxString& c) { \
198 wxPyBeginBlockThreads(); \
199 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
200 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
201 wxPyEndBlockThreads(); \
205 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
206 wxString CBNAME(int a, int b) { \
208 wxPyBeginBlockThreads(); \
210 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
214 PyObject* str = PyObject_Str(ro); \
215 rval = PyString_AsString(str); \
216 Py_DECREF(ro); Py_DECREF(str); \
219 wxPyEndBlockThreads(); \
221 rval = PCLASS::CBNAME(a, b); \
224 wxString base_##CBNAME(int a, int b) { \
225 return PCLASS::CBNAME(a, b); \
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
234 wxPyBeginBlockThreads(); \
235 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
237 wxPyEndBlockThreads(); \
239 rval = PCLASS::CBNAME(a,b,c); \
242 bool base_##CBNAME(int a, int b, const wxString& c) { \
243 return PCLASS::CBNAME(a,b,c); \
249 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
250 long CBNAME(int a, int b) { \
253 wxPyBeginBlockThreads(); \
254 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
255 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
256 wxPyEndBlockThreads(); \
258 rval = PCLASS::CBNAME(a,b); \
261 long base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a,b); \
267 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
268 bool CBNAME(int a, int b) { \
271 wxPyBeginBlockThreads(); \
272 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
274 wxPyEndBlockThreads(); \
276 rval = PCLASS::CBNAME(a,b); \
279 bool base_##CBNAME(int a, int b) { \
280 return PCLASS::CBNAME(a,b); \
285 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
286 double CBNAME(int a, int b) { \
288 wxPyBeginBlockThreads(); \
290 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
292 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
294 PyObject* str = PyObject_Str(ro); \
295 rval = PyFloat_AsDouble(str); \
296 Py_DECREF(ro); Py_DECREF(str); \
299 wxPyEndBlockThreads(); \
301 rval = PCLASS::CBNAME(a, b); \
304 double base_##CBNAME(int a, int b) { \
305 return PCLASS::CBNAME(a, b); \
310 #define PYCALLBACK__(PCLASS, CBNAME) \
313 wxPyBeginBlockThreads(); \
314 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
315 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
316 wxPyEndBlockThreads(); \
320 void base_##CBNAME() { \
327 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
328 bool CBNAME(size_t a, size_t b) { \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
333 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
334 wxPyEndBlockThreads(); \
336 rval = PCLASS::CBNAME(a,b); \
339 bool base_##CBNAME(size_t a, size_t b) { \
340 return PCLASS::CBNAME(a,b); \
345 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
346 bool CBNAME(size_t a) { \
349 wxPyBeginBlockThreads(); \
350 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
351 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
352 wxPyEndBlockThreads(); \
354 rval = PCLASS::CBNAME(a); \
357 bool base_##CBNAME(size_t a) { \
358 return PCLASS::CBNAME(a); \
363 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
364 wxString CBNAME(int a) { \
366 wxPyBeginBlockThreads(); \
368 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
370 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
372 PyObject* str = PyObject_Str(ro); \
373 rval = PyString_AsString(str); \
374 Py_DECREF(ro); Py_DECREF(str); \
377 wxPyEndBlockThreads(); \
379 rval = PCLASS::CBNAME(a); \
382 wxString base_##CBNAME(int a) { \
383 return PCLASS::CBNAME(a); \
388 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
389 void CBNAME(int a, const wxString& c) { \
391 wxPyBeginBlockThreads(); \
392 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
393 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
394 wxPyEndBlockThreads(); \
396 PCLASS::CBNAME(a,c); \
398 void base_##CBNAME(int a, const wxString& c) { \
399 PCLASS::CBNAME(a,c); \
405 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
409 wxPyBeginBlockThreads(); \
410 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
411 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
412 wxPyEndBlockThreads(); \
414 rval = PCLASS::CBNAME(); \
417 bool base_##CBNAME() { \
418 return PCLASS::CBNAME(); \
423 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
424 void CBNAME(size_t a, int b) { \
426 wxPyBeginBlockThreads(); \
427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
428 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
429 wxPyEndBlockThreads(); \
431 PCLASS::CBNAME(a,b); \
433 void base_##CBNAME(size_t a, int b) { \
434 PCLASS::CBNAME(a,b); \
440 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
441 void CBNAME(int a, int b, long c) { \
443 wxPyBeginBlockThreads(); \
444 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
445 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
446 wxPyEndBlockThreads(); \
448 PCLASS::CBNAME(a,b,c); \
450 void base_##CBNAME(int a, int b, long c) { \
451 PCLASS::CBNAME(a,b,c); \
457 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
458 void CBNAME(int a, int b, double c) { \
460 wxPyBeginBlockThreads(); \
461 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
463 wxPyEndBlockThreads(); \
465 PCLASS::CBNAME(a,b,c); \
467 void base_##CBNAME(int a, int b, double c) { \
468 PCLASS::CBNAME(a,b,c); \
473 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
474 void CBNAME(int a, int b, bool c) { \
476 wxPyBeginBlockThreads(); \
477 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
478 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
479 wxPyEndBlockThreads(); \
481 PCLASS::CBNAME(a,b,c); \
483 void base_##CBNAME(int a, int b, bool c) { \
484 PCLASS::CBNAME(a,b,c); \
491 class wxPyGridCellRenderer
: public wxGridCellRenderer
494 wxPyGridCellRenderer() : wxGridCellRenderer() {};
496 // Implement Python callback aware virtual methods
497 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
498 wxDC
& dc
, const wxRect
& rect
,
499 int row
, int col
, bool isSelected
) {
500 wxPyBeginBlockThreads();
501 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
502 wxPyCBH_callCallback(m_myInst
,
503 Py_BuildValue("(OOOOiii)",
504 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
505 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
506 wxPyConstructObject((void*)&dc
, "wxDC", 0),
507 wxPyConstructObject((void*)&rect
, "wxRect", 0),
508 row
, col
, isSelected
));
510 wxPyEndBlockThreads();
513 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
516 wxPyBeginBlockThreads();
517 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
520 ro
= wxPyCBH_callCallbackObj(m_myInst
,
521 Py_BuildValue("(OOOii)",
522 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
523 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
524 wxPyConstructObject((void*)&dc
, "wxDC", 0),
527 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
532 wxPyEndBlockThreads();
537 wxGridCellRenderer
*Clone() const {
538 wxGridCellRenderer
* rval
= NULL
;
539 wxPyBeginBlockThreads();
540 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
542 wxGridCellRenderer
* ptr
;
543 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
545 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
550 wxPyEndBlockThreads();
554 DEC_PYCALLBACK__STRING(SetParameters
);
559 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
562 class wxPyGridCellEditor
: public wxGridCellEditor
565 wxPyGridCellEditor() : wxGridCellEditor() {}
567 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
568 wxPyBeginBlockThreads();
569 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
570 wxPyCBH_callCallback(m_myInst
,
571 Py_BuildValue("(OiO)",
572 wxPyConstructObject((void*)parent
, "wxWindow", 0),
574 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
576 wxPyEndBlockThreads();
580 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
581 wxPyBeginBlockThreads();
582 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
583 wxPyCBH_callCallback(m_myInst
,
584 Py_BuildValue("(iiO)", row
, col
,
585 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
587 wxPyEndBlockThreads();
591 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
593 wxPyBeginBlockThreads();
594 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
595 rv
= wxPyCBH_callCallback(m_myInst
,
596 Py_BuildValue("(iiO)", row
, col
,
597 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
599 wxPyEndBlockThreads();
604 wxGridCellEditor
*Clone() const {
605 wxGridCellEditor
* rval
= NULL
;
606 wxPyBeginBlockThreads();
607 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
609 wxGridCellEditor
* ptr
;
610 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
612 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
617 wxPyEndBlockThreads();
622 void Show(bool show
, wxGridCellAttr
*attr
) {
624 wxPyBeginBlockThreads();
625 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
626 wxPyCBH_callCallback(m_myInst
,
627 Py_BuildValue("(iO)", show
,
628 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
629 wxPyEndBlockThreads();
631 wxGridCellEditor::Show(show
, attr
);
633 void base_Show(bool show
, wxGridCellAttr
*attr
) {
634 wxGridCellEditor::Show(show
, attr
);
638 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
640 wxPyBeginBlockThreads();
641 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
642 wxPyCBH_callCallback(m_myInst
,
643 Py_BuildValue("(OO)",
644 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
645 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
646 wxPyEndBlockThreads();
648 wxGridCellEditor::PaintBackground(rectCell
, attr
);
650 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
651 wxGridCellEditor::PaintBackground(rectCell
, attr
);
655 DEC_PYCALLBACK___pure(Reset
);
656 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
657 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
658 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
659 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
660 DEC_PYCALLBACK__(StartingClick
);
661 DEC_PYCALLBACK__(Destroy
);
662 DEC_PYCALLBACK__STRING(SetParameters
);
668 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
669 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
670 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
671 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
672 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
673 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
674 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
675 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
678 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
681 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
683 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
684 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
685 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
686 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
691 class wxPyGridTableBase
: public wxGridTableBase
694 wxPyGridTableBase() : wxGridTableBase() {}
696 PYCALLBACK_INT__pure(GetNumberRows
);
697 PYCALLBACK_INT__pure(GetNumberCols
);
698 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
699 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
700 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
701 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
702 PYCALLBACK__(wxGridTableBase
, Clear
);
703 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
704 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
705 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
706 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
707 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
708 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
709 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
710 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
711 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
712 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
713 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
714 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
715 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
716 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
717 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
720 wxString
GetValue(int row
, int col
) {
721 wxPyBeginBlockThreads();
723 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
725 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
728 PyObject
* str
= PyObject_Unicode(ro
);
729 rval
= PyUnicode_AS_UNICODE(str
);
731 PyObject
* str
= PyObject_Str(ro
);
732 rval
= PyString_AsString(str
);
738 wxPyEndBlockThreads();
742 void SetValue(int row
, int col
, const wxString
& val
) {
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
746 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiu)",row
,col
,val
.c_str()));
748 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
751 wxPyEndBlockThreads();
755 // Map the Get/Set methods for the standard non-string types to
756 // the GetValue and SetValue python methods.
757 long GetValueAsLong( int row
, int col
) {
759 wxPyBeginBlockThreads();
760 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
763 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
764 if (ro
&& PyNumber_Check(ro
)) {
765 num
= PyNumber_Int(ro
);
767 rval
= PyInt_AsLong(num
);
773 wxPyEndBlockThreads();
777 double GetValueAsDouble( int row
, int col
) {
779 wxPyBeginBlockThreads();
780 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
783 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
784 if (ro
&& PyNumber_Check(ro
)) {
785 num
= PyNumber_Float(ro
);
787 rval
= PyFloat_AsDouble(num
);
793 wxPyEndBlockThreads();
797 bool GetValueAsBool( int row
, int col
) {
798 return (bool)GetValueAsLong(row
, col
);
801 void SetValueAsLong( int row
, int col
, long value
) {
802 wxPyBeginBlockThreads();
803 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
804 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
806 wxPyEndBlockThreads();
809 void SetValueAsDouble( int row
, int col
, double value
) {
810 wxPyBeginBlockThreads();
811 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
812 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
814 wxPyEndBlockThreads();
817 void SetValueAsBool( int row
, int col
, bool value
) {
818 SetValueAsLong( row
, col
, (long)value
);
825 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
827 // If source is an object instance then it may already be the right type
828 if (PyInstance_Check(source
)) {
829 wxGridCellCoords
* ptr
;
830 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
835 // otherwise a 2-tuple of integers is expected
836 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
837 PyObject
* o1
= PySequence_GetItem(source
, 0);
838 PyObject
* o2
= PySequence_GetItem(source
, 1);
839 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
844 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
848 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
852 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
854 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
858 static PyObject
*_wrap_wxGridNoCellCoords_get() {
862 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
863 pyobj
= PyString_FromString(ptemp
);
867 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
869 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
873 static PyObject
*_wrap_wxGridNoCellRect_get() {
877 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
878 pyobj
= PyString_FromString(ptemp
);
882 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
883 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
885 wxGridCellRenderer
* _arg0
;
887 PyObject
* _argo0
= 0;
888 PyObject
* _obj1
= 0;
889 char *_kwnames
[] = { "self","params", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
902 _arg1
= wxString_in_helper(_obj1
);
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) return NULL
;
912 } Py_INCREF(Py_None
);
913 _resultobj
= Py_None
;
921 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
922 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
924 wxGridCellRenderer
* _arg0
;
925 PyObject
* _argo0
= 0;
926 char *_kwnames
[] = { "self", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
940 wxGridCellRenderer_IncRef(_arg0
);
942 wxPyEndAllowThreads(__tstate
);
943 if (PyErr_Occurred()) return NULL
;
944 } Py_INCREF(Py_None
);
945 _resultobj
= Py_None
;
949 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
950 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
952 wxGridCellRenderer
* _arg0
;
953 PyObject
* _argo0
= 0;
954 char *_kwnames
[] = { "self", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 wxGridCellRenderer_DecRef(_arg0
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) return NULL
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
978 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
980 wxGridCellRenderer
* _arg0
;
982 wxGridCellAttr
* _arg2
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _argo1
= 0;
990 PyObject
* _argo2
= 0;
991 PyObject
* _argo3
= 0;
993 PyObject
* _obj4
= 0;
995 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1015 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1016 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1022 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1023 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1030 if (! wxRect_helper(_obj4
, &_arg4
))
1033 _arg7
= (bool ) tempbool7
;
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) return NULL
;
1040 } Py_INCREF(Py_None
);
1041 _resultobj
= Py_None
;
1045 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1046 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 wxGridCellRenderer
* _arg0
;
1051 wxGridCellAttr
* _arg2
;
1055 PyObject
* _argo0
= 0;
1056 PyObject
* _argo1
= 0;
1057 PyObject
* _argo2
= 0;
1058 PyObject
* _argo3
= 0;
1059 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1080 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1087 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1104 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1105 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1107 wxGridCellRenderer
* _result
;
1108 wxGridCellRenderer
* _arg0
;
1109 PyObject
* _argo0
= 0;
1110 char *_kwnames
[] = { "self", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1134 _resultobj
= Py_None
;
1139 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1140 wxPyGridCellRenderer
*src
;
1141 wxGridCellRenderer
*dest
;
1142 src
= (wxPyGridCellRenderer
*) ptr
;
1143 dest
= (wxGridCellRenderer
*) src
;
1144 return (void *) dest
;
1147 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1148 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 wxPyGridCellRenderer
* _result
;
1151 char *_kwnames
[] = { NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) return NULL
;
1164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1165 _resultobj
= Py_BuildValue("s",_ptemp
);
1168 _resultobj
= Py_None
;
1173 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1174 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxPyGridCellRenderer
* _arg0
;
1179 PyObject
* _argo0
= 0;
1180 PyObject
* _obj1
= 0;
1181 PyObject
* _obj2
= 0;
1182 char *_kwnames
[] = { "self","self","_class", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1211 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1212 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1214 wxPyGridCellRenderer
* _arg0
;
1216 PyObject
* _argo0
= 0;
1217 PyObject
* _obj1
= 0;
1218 char *_kwnames
[] = { "self","params", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1231 _arg1
= wxString_in_helper(_obj1
);
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1241 } Py_INCREF(Py_None
);
1242 _resultobj
= Py_None
;
1250 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1251 wxGridCellStringRenderer
*src
;
1252 wxGridCellRenderer
*dest
;
1253 src
= (wxGridCellStringRenderer
*) ptr
;
1254 dest
= (wxGridCellRenderer
*) src
;
1255 return (void *) dest
;
1258 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1259 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1261 wxGridCellStringRenderer
* _result
;
1262 char *_kwnames
[] = { NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) return NULL
;
1275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1276 _resultobj
= Py_BuildValue("s",_ptemp
);
1279 _resultobj
= Py_None
;
1284 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1285 wxGridCellNumberRenderer
*src
;
1286 wxGridCellStringRenderer
*dest
;
1287 src
= (wxGridCellNumberRenderer
*) ptr
;
1288 dest
= (wxGridCellStringRenderer
*) src
;
1289 return (void *) dest
;
1292 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1293 wxGridCellNumberRenderer
*src
;
1294 wxGridCellRenderer
*dest
;
1295 src
= (wxGridCellNumberRenderer
*) ptr
;
1296 dest
= (wxGridCellRenderer
*) src
;
1297 return (void *) dest
;
1300 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1301 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1303 wxGridCellNumberRenderer
* _result
;
1304 char *_kwnames
[] = { NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) return NULL
;
1317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1318 _resultobj
= Py_BuildValue("s",_ptemp
);
1321 _resultobj
= Py_None
;
1326 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1327 wxGridCellFloatRenderer
*src
;
1328 wxGridCellStringRenderer
*dest
;
1329 src
= (wxGridCellFloatRenderer
*) ptr
;
1330 dest
= (wxGridCellStringRenderer
*) src
;
1331 return (void *) dest
;
1334 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1335 wxGridCellFloatRenderer
*src
;
1336 wxGridCellRenderer
*dest
;
1337 src
= (wxGridCellFloatRenderer
*) ptr
;
1338 dest
= (wxGridCellRenderer
*) src
;
1339 return (void *) dest
;
1342 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1343 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxGridCellFloatRenderer
* _result
;
1346 int _arg0
= (int ) -1;
1347 int _arg1
= (int ) -1;
1348 char *_kwnames
[] = { "width","precision", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1362 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 _resultobj
= Py_None
;
1370 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1371 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
* _resultobj
;
1374 wxGridCellFloatRenderer
* _arg0
;
1375 PyObject
* _argo0
= 0;
1376 char *_kwnames
[] = { "self", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) return NULL
;
1394 } _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1399 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxGridCellFloatRenderer
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self","width", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) return NULL
;
1422 } Py_INCREF(Py_None
);
1423 _resultobj
= Py_None
;
1427 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1428 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxGridCellFloatRenderer
* _arg0
;
1432 PyObject
* _argo0
= 0;
1433 char *_kwnames
[] = { "self", NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) return NULL
;
1451 } _resultobj
= Py_BuildValue("i",_result
);
1455 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1456 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 wxGridCellFloatRenderer
* _arg0
;
1460 PyObject
* _argo0
= 0;
1461 char *_kwnames
[] = { "self","precision", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1485 wxGridCellBoolRenderer
*src
;
1486 wxGridCellRenderer
*dest
;
1487 src
= (wxGridCellBoolRenderer
*) ptr
;
1488 dest
= (wxGridCellRenderer
*) src
;
1489 return (void *) dest
;
1492 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1493 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxGridCellBoolRenderer
* _result
;
1496 char *_kwnames
[] = { NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1510 _resultobj
= Py_BuildValue("s",_ptemp
);
1513 _resultobj
= Py_None
;
1518 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1519 wxGridCellDateTimeRenderer
*src
;
1520 wxGridCellStringRenderer
*dest
;
1521 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1522 dest
= (wxGridCellStringRenderer
*) src
;
1523 return (void *) dest
;
1526 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1527 wxGridCellDateTimeRenderer
*src
;
1528 wxGridCellRenderer
*dest
;
1529 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1530 dest
= (wxGridCellRenderer
*) src
;
1531 return (void *) dest
;
1534 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1535 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1537 wxGridCellDateTimeRenderer
* _result
;
1538 wxString
* _arg0
= (wxString
*) &"%c";
1539 wxString
* _arg1
= (wxString
*) &"%c";
1540 PyObject
* _obj0
= 0;
1541 PyObject
* _obj1
= 0;
1542 char *_kwnames
[] = { "outformat","informat", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1550 _arg0
= wxString_in_helper(_obj0
);
1556 _arg1
= wxString_in_helper(_obj1
);
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1571 _resultobj
= Py_None
;
1584 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1585 wxGridCellEnumRenderer
*src
;
1586 wxGridCellStringRenderer
*dest
;
1587 src
= (wxGridCellEnumRenderer
*) ptr
;
1588 dest
= (wxGridCellStringRenderer
*) src
;
1589 return (void *) dest
;
1592 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1593 wxGridCellEnumRenderer
*src
;
1594 wxGridCellRenderer
*dest
;
1595 src
= (wxGridCellEnumRenderer
*) ptr
;
1596 dest
= (wxGridCellRenderer
*) src
;
1597 return (void *) dest
;
1600 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1601 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 wxGridCellEnumRenderer
* _result
;
1604 wxString
* _arg0
= (wxString
*) &"";
1605 PyObject
* _obj0
= 0;
1606 char *_kwnames
[] = { "choices", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1614 _arg0
= wxString_LIST_helper(_obj0
);
1615 if (_arg0
== NULL
) {
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) return NULL
;
1626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1627 _resultobj
= Py_BuildValue("s",_ptemp
);
1630 _resultobj
= Py_None
;
1638 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1639 wxGridCellAutoWrapStringRenderer
*src
;
1640 wxGridCellStringRenderer
*dest
;
1641 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1642 dest
= (wxGridCellStringRenderer
*) src
;
1643 return (void *) dest
;
1646 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1647 wxGridCellAutoWrapStringRenderer
*src
;
1648 wxGridCellRenderer
*dest
;
1649 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1650 dest
= (wxGridCellRenderer
*) src
;
1651 return (void *) dest
;
1654 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1655 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1657 wxGridCellAutoWrapStringRenderer
* _result
;
1658 char *_kwnames
[] = { NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) return NULL
;
1671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1672 _resultobj
= Py_BuildValue("s",_ptemp
);
1675 _resultobj
= Py_None
;
1680 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1681 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1684 wxGridCellEditor
* _arg0
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1709 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxControl
* _result
;
1712 wxGridCellEditor
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1736 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1737 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxGridCellEditor
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo1
= 0;
1743 char *_kwnames
[] = { "self","control", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1774 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1776 wxGridCellEditor
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _obj1
= 0;
1780 char *_kwnames
[] = { "self","params", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1793 _arg1
= wxString_in_helper(_obj1
);
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } Py_INCREF(Py_None
);
1804 _resultobj
= Py_None
;
1812 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1813 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1815 wxGridCellEditor
* _arg0
;
1816 PyObject
* _argo0
= 0;
1817 char *_kwnames
[] = { "self", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 wxGridCellEditor_IncRef(_arg0
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } Py_INCREF(Py_None
);
1836 _resultobj
= Py_None
;
1840 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1841 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxGridCellEditor
* _arg0
;
1844 PyObject
* _argo0
= 0;
1845 char *_kwnames
[] = { "self", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 wxGridCellEditor_DecRef(_arg0
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } Py_INCREF(Py_None
);
1864 _resultobj
= Py_None
;
1868 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1869 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1871 wxGridCellEditor
* _arg0
;
1874 wxEvtHandler
* _arg3
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _argo1
= 0;
1877 PyObject
* _argo3
= 0;
1878 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1898 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1899 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1916 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 wxGridCellEditor
* _arg0
;
1922 PyObject
* _argo0
= 0;
1923 PyObject
* _argo3
= 0;
1924 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1937 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } Py_INCREF(Py_None
);
1950 _resultobj
= Py_None
;
1954 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1955 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1958 wxGridCellEditor
* _arg0
;
1962 PyObject
* _argo0
= 0;
1963 PyObject
* _argo3
= 0;
1964 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1977 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) return NULL
;
1989 } _resultobj
= Py_BuildValue("i",_result
);
1993 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1994 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1996 wxGridCellEditor
* _arg0
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 wxGridCellEditor_Reset(_arg0
);
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) return NULL
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2022 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2024 wxGridCellEditor
* _result
;
2025 wxGridCellEditor
* _arg0
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2048 _resultobj
= Py_BuildValue("s",_ptemp
);
2051 _resultobj
= Py_None
;
2056 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2057 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2059 wxGridCellEditor
* _arg0
;
2061 PyObject
* _argo0
= 0;
2063 PyObject
* _obj1
= 0;
2064 char *_kwnames
[] = { "self","rect", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2078 if (! wxRect_helper(_obj1
, &_arg1
))
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) return NULL
;
2087 } Py_INCREF(Py_None
);
2088 _resultobj
= Py_None
;
2092 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2093 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2095 wxGridCellEditor
* _arg0
;
2097 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2098 PyObject
* _argo0
= 0;
2100 PyObject
* _argo2
= 0;
2101 char *_kwnames
[] = { "self","show","attr", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2113 _arg1
= (bool ) tempbool1
;
2115 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2127 } Py_INCREF(Py_None
);
2128 _resultobj
= Py_None
;
2132 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2133 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxGridCellEditor
* _arg0
;
2137 wxGridCellAttr
* _arg2
;
2138 PyObject
* _argo0
= 0;
2140 PyObject
* _obj1
= 0;
2141 PyObject
* _argo2
= 0;
2142 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2156 if (! wxRect_helper(_obj1
, &_arg1
))
2160 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) return NULL
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2177 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2178 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2181 wxGridCellEditor
* _arg0
;
2183 PyObject
* _argo0
= 0;
2184 PyObject
* _argo1
= 0;
2185 char *_kwnames
[] = { "self","event", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) return NULL
;
2210 } _resultobj
= Py_BuildValue("i",_result
);
2214 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2215 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2217 wxGridCellEditor
* _arg0
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _argo1
= 0;
2221 char *_kwnames
[] = { "self","event", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2246 } Py_INCREF(Py_None
);
2247 _resultobj
= Py_None
;
2251 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2252 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2254 wxGridCellEditor
* _arg0
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxGridCellEditor_StartingClick(_arg0
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2280 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2282 wxGridCellEditor
* _arg0
;
2284 PyObject
* _argo0
= 0;
2285 PyObject
* _argo1
= 0;
2286 char *_kwnames
[] = { "self","event", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) return NULL
;
2311 } Py_INCREF(Py_None
);
2312 _resultobj
= Py_None
;
2316 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2317 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
* _resultobj
;
2319 wxGridCellEditor
* _arg0
;
2320 PyObject
* _argo0
= 0;
2321 char *_kwnames
[] = { "self", NULL
};
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 wxGridCellEditor_Destroy(_arg0
);
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) return NULL
;
2339 } Py_INCREF(Py_None
);
2340 _resultobj
= Py_None
;
2344 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2345 wxPyGridCellEditor
*src
;
2346 wxGridCellEditor
*dest
;
2347 src
= (wxPyGridCellEditor
*) ptr
;
2348 dest
= (wxGridCellEditor
*) src
;
2349 return (void *) dest
;
2352 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2353 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2355 wxPyGridCellEditor
* _result
;
2356 char *_kwnames
[] = { NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) return NULL
;
2369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2370 _resultobj
= Py_BuildValue("s",_ptemp
);
2373 _resultobj
= Py_None
;
2378 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2379 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2381 wxPyGridCellEditor
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 PyObject
* _obj1
= 0;
2386 PyObject
* _obj2
= 0;
2387 char *_kwnames
[] = { "self","self","_class", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) return NULL
;
2411 } Py_INCREF(Py_None
);
2412 _resultobj
= Py_None
;
2416 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2417 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2419 wxPyGridCellEditor
* _arg0
;
2421 PyObject
* _argo0
= 0;
2423 PyObject
* _obj1
= 0;
2424 char *_kwnames
[] = { "self","rect", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2438 if (! wxRect_helper(_obj1
, &_arg1
))
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } Py_INCREF(Py_None
);
2448 _resultobj
= Py_None
;
2452 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2453 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2455 wxPyGridCellEditor
* _arg0
;
2457 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2458 PyObject
* _argo0
= 0;
2460 PyObject
* _argo2
= 0;
2461 char *_kwnames
[] = { "self","show","attr", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2473 _arg1
= (bool ) tempbool1
;
2475 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) return NULL
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2493 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2495 wxPyGridCellEditor
* _arg0
;
2497 wxGridCellAttr
* _arg2
;
2498 PyObject
* _argo0
= 0;
2500 PyObject
* _obj1
= 0;
2501 PyObject
* _argo2
= 0;
2502 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2516 if (! wxRect_helper(_obj1
, &_arg1
))
2520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) return NULL
;
2532 } Py_INCREF(Py_None
);
2533 _resultobj
= Py_None
;
2537 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2538 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2540 wxPyGridCellEditor
* _arg0
;
2542 PyObject
* _argo0
= 0;
2543 PyObject
* _argo1
= 0;
2544 char *_kwnames
[] = { "self","event", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2575 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxPyGridCellEditor
* _arg0
;
2579 PyObject
* _argo0
= 0;
2580 PyObject
* _argo1
= 0;
2581 char *_kwnames
[] = { "self","event", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2612 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxPyGridCellEditor
* _arg0
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 wxPyGridCellEditor_base_StartingClick(_arg0
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) return NULL
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2640 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2642 wxPyGridCellEditor
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 PyObject
* _argo1
= 0;
2646 char *_kwnames
[] = { "self","event", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) return NULL
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2676 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2677 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2679 wxPyGridCellEditor
* _arg0
;
2680 PyObject
* _argo0
= 0;
2681 char *_kwnames
[] = { "self", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 wxPyGridCellEditor_base_Destroy(_arg0
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) return NULL
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2705 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2707 wxPyGridCellEditor
* _arg0
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _obj1
= 0;
2711 char *_kwnames
[] = { "self","params", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2724 _arg1
= wxString_in_helper(_obj1
);
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2743 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2744 wxGridCellTextEditor
*src
;
2745 wxGridCellEditor
*dest
;
2746 src
= (wxGridCellTextEditor
*) ptr
;
2747 dest
= (wxGridCellEditor
*) src
;
2748 return (void *) dest
;
2751 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2752 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2754 wxGridCellTextEditor
* _result
;
2755 char *_kwnames
[] = { NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2763 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) return NULL
;
2768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2769 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 _resultobj
= Py_None
;
2777 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2778 wxGridCellNumberEditor
*src
;
2779 wxGridCellTextEditor
*dest
;
2780 src
= (wxGridCellNumberEditor
*) ptr
;
2781 dest
= (wxGridCellTextEditor
*) src
;
2782 return (void *) dest
;
2785 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2786 wxGridCellNumberEditor
*src
;
2787 wxGridCellEditor
*dest
;
2788 src
= (wxGridCellNumberEditor
*) ptr
;
2789 dest
= (wxGridCellEditor
*) src
;
2790 return (void *) dest
;
2793 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2794 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2796 wxGridCellNumberEditor
* _result
;
2797 int _arg0
= (int ) -1;
2798 int _arg1
= (int ) -1;
2799 char *_kwnames
[] = { "min","max", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2813 _resultobj
= Py_BuildValue("s",_ptemp
);
2816 _resultobj
= Py_None
;
2821 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2822 wxGridCellFloatEditor
*src
;
2823 wxGridCellTextEditor
*dest
;
2824 src
= (wxGridCellFloatEditor
*) ptr
;
2825 dest
= (wxGridCellTextEditor
*) src
;
2826 return (void *) dest
;
2829 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2830 wxGridCellFloatEditor
*src
;
2831 wxGridCellEditor
*dest
;
2832 src
= (wxGridCellFloatEditor
*) ptr
;
2833 dest
= (wxGridCellEditor
*) src
;
2834 return (void *) dest
;
2837 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2838 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2840 wxGridCellFloatEditor
* _result
;
2841 char *_kwnames
[] = { NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2855 _resultobj
= Py_BuildValue("s",_ptemp
);
2858 _resultobj
= Py_None
;
2863 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2864 wxGridCellBoolEditor
*src
;
2865 wxGridCellEditor
*dest
;
2866 src
= (wxGridCellBoolEditor
*) ptr
;
2867 dest
= (wxGridCellEditor
*) src
;
2868 return (void *) dest
;
2871 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2872 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
* _resultobj
;
2874 wxGridCellBoolEditor
* _result
;
2875 char *_kwnames
[] = { NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2889 _resultobj
= Py_BuildValue("s",_ptemp
);
2892 _resultobj
= Py_None
;
2897 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2898 wxGridCellChoiceEditor
*src
;
2899 wxGridCellEditor
*dest
;
2900 src
= (wxGridCellChoiceEditor
*) ptr
;
2901 dest
= (wxGridCellEditor
*) src
;
2902 return (void *) dest
;
2905 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2906 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxGridCellChoiceEditor
* _result
;
2909 int _arg0
= (int ) 0;
2910 wxString
* _arg1
= (wxString
*) NULL
;
2911 bool _arg2
= (bool ) FALSE
;
2912 PyObject
* _obj1
= 0;
2913 int tempbool2
= (int) FALSE
;
2914 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2922 _arg1
= wxString_LIST_helper(_obj1
);
2923 if (_arg1
== NULL
) {
2927 _arg2
= (bool ) tempbool2
;
2930 _arg0
= PyList_Size(_obj1
);
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2944 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 _resultobj
= Py_None
;
2955 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
2956 wxGridCellEnumEditor
*src
;
2957 wxGridCellChoiceEditor
*dest
;
2958 src
= (wxGridCellEnumEditor
*) ptr
;
2959 dest
= (wxGridCellChoiceEditor
*) src
;
2960 return (void *) dest
;
2963 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
2964 wxGridCellEnumEditor
*src
;
2965 wxGridCellEditor
*dest
;
2966 src
= (wxGridCellEnumEditor
*) ptr
;
2967 dest
= (wxGridCellEditor
*) src
;
2968 return (void *) dest
;
2971 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2972 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxGridCellEnumEditor
* _result
;
2975 wxString
* _arg0
= (wxString
*) &"";
2976 PyObject
* _obj0
= 0;
2977 char *_kwnames
[] = { "choices", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
2985 _arg0
= wxString_LIST_helper(_obj0
);
2986 if (_arg0
== NULL
) {
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
2998 _resultobj
= Py_BuildValue("s",_ptemp
);
3001 _resultobj
= Py_None
;
3009 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3010 wxGridCellAutoWrapStringEditor
*src
;
3011 wxGridCellTextEditor
*dest
;
3012 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3013 dest
= (wxGridCellTextEditor
*) src
;
3014 return (void *) dest
;
3017 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3018 wxGridCellAutoWrapStringEditor
*src
;
3019 wxGridCellEditor
*dest
;
3020 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3021 dest
= (wxGridCellEditor
*) src
;
3022 return (void *) dest
;
3025 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3026 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3028 wxGridCellAutoWrapStringEditor
* _result
;
3029 char *_kwnames
[] = { NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3043 _resultobj
= Py_BuildValue("s",_ptemp
);
3046 _resultobj
= Py_None
;
3051 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3052 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxGridCellAttr
* _result
;
3055 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "attrDefault", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3078 _resultobj
= Py_BuildValue("s",_ptemp
);
3081 _resultobj
= Py_None
;
3086 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3087 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3089 wxGridCellAttr
* _result
;
3090 wxGridCellAttr
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) return NULL
;
3112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3116 _resultobj
= Py_None
;
3121 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3122 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3124 wxGridCellAttr
* _arg0
;
3125 wxGridCellAttr
* _arg1
;
3126 PyObject
* _argo0
= 0;
3127 PyObject
* _argo1
= 0;
3128 char *_kwnames
[] = { "self","mergefrom", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } Py_INCREF(Py_None
);
3154 _resultobj
= Py_None
;
3158 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3159 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3161 wxGridCellAttr
* _arg0
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "self", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxGridCellAttr_IncRef(_arg0
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3187 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxGridCellAttr
* _arg0
;
3190 PyObject
* _argo0
= 0;
3191 char *_kwnames
[] = { "self", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 wxGridCellAttr_DecRef(_arg0
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) return NULL
;
3209 } Py_INCREF(Py_None
);
3210 _resultobj
= Py_None
;
3214 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3215 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3217 wxGridCellAttr
* _arg0
;
3219 PyObject
* _argo0
= 0;
3221 PyObject
* _obj1
= 0;
3222 char *_kwnames
[] = { "self","colText", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3236 if (! wxColour_helper(_obj1
, &_arg1
))
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3251 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxGridCellAttr
* _arg0
;
3255 PyObject
* _argo0
= 0;
3257 PyObject
* _obj1
= 0;
3258 char *_kwnames
[] = { "self","colBack", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3272 if (! wxColour_helper(_obj1
, &_arg1
))
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3287 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3289 wxGridCellAttr
* _arg0
;
3291 PyObject
* _argo0
= 0;
3292 PyObject
* _argo1
= 0;
3293 char *_kwnames
[] = { "self","font", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3318 } Py_INCREF(Py_None
);
3319 _resultobj
= Py_None
;
3323 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3324 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3326 wxGridCellAttr
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) return NULL
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3354 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 wxGridCellAttr
* _arg0
;
3357 bool _arg1
= (bool ) TRUE
;
3358 PyObject
* _argo0
= 0;
3359 int tempbool1
= (int) TRUE
;
3360 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3372 _arg1
= (bool ) tempbool1
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) return NULL
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3385 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3387 wxGridCellAttr
* _arg0
;
3388 wxGridCellRenderer
* _arg1
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _argo1
= 0;
3391 char *_kwnames
[] = { "self","renderer", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3416 } Py_INCREF(Py_None
);
3417 _resultobj
= Py_None
;
3421 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3422 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3424 wxGridCellAttr
* _arg0
;
3425 wxGridCellEditor
* _arg1
;
3426 PyObject
* _argo0
= 0;
3427 PyObject
* _argo1
= 0;
3428 char *_kwnames
[] = { "self","editor", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) return NULL
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3459 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 wxGridCellAttr
* _arg0
;
3462 wxGridCellAttr::wxAttrKind _arg1
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self","kind", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) return NULL
;
3482 } Py_INCREF(Py_None
);
3483 _resultobj
= Py_None
;
3487 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3488 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3491 wxGridCellAttr
* _arg0
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) return NULL
;
3511 } _resultobj
= Py_BuildValue("i",_result
);
3515 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3516 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3519 wxGridCellAttr
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) return NULL
;
3539 } _resultobj
= Py_BuildValue("i",_result
);
3543 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3544 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3547 wxGridCellAttr
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } _resultobj
= Py_BuildValue("i",_result
);
3571 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3572 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3575 wxGridCellAttr
* _arg0
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } _resultobj
= Py_BuildValue("i",_result
);
3599 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3600 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3603 wxGridCellAttr
* _arg0
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3623 } _resultobj
= Py_BuildValue("i",_result
);
3627 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3628 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3631 wxGridCellAttr
* _arg0
;
3632 PyObject
* _argo0
= 0;
3633 char *_kwnames
[] = { "self", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) return NULL
;
3651 } _resultobj
= Py_BuildValue("i",_result
);
3655 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3656 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3659 wxGridCellAttr
* _arg0
;
3660 PyObject
* _argo0
= 0;
3661 char *_kwnames
[] = { "self", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) return NULL
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3684 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3687 wxGridCellAttr
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3708 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3713 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3714 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxGridCellAttr
* _arg0
;
3718 PyObject
* _argo0
= 0;
3719 char *_kwnames
[] = { "self", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3738 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3739 _resultobj
= Py_BuildValue("s",_ptemp
);
3743 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3744 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 wxGridCellAttr
* _arg0
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) return NULL
;
3768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3773 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3774 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxGridCellAttr
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) return NULL
;
3806 } Py_INCREF(Py_None
);
3807 _resultobj
= Py_None
;
3810 o
= PyInt_FromLong((long) (*_arg1
));
3811 _resultobj
= t_output_helper(_resultobj
, o
);
3815 o
= PyInt_FromLong((long) (*_arg2
));
3816 _resultobj
= t_output_helper(_resultobj
, o
);
3821 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3822 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxGridCellRenderer
* _result
;
3825 wxGridCellAttr
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 PyObject
* _argo1
= 0;
3831 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3845 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) return NULL
;
3858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3859 _resultobj
= Py_BuildValue("s",_ptemp
);
3862 _resultobj
= Py_None
;
3867 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3868 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3870 wxGridCellEditor
* _result
;
3871 wxGridCellAttr
* _arg0
;
3875 PyObject
* _argo0
= 0;
3876 PyObject
* _argo1
= 0;
3877 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3905 _resultobj
= Py_BuildValue("s",_ptemp
);
3908 _resultobj
= Py_None
;
3913 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3914 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3917 wxGridCellAttr
* _arg0
;
3918 PyObject
* _argo0
= 0;
3919 char *_kwnames
[] = { "self", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) return NULL
;
3937 } _resultobj
= Py_BuildValue("i",_result
);
3941 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3942 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxGridCellAttr
* _arg0
;
3945 wxGridCellAttr
* _arg1
;
3946 PyObject
* _argo0
= 0;
3947 PyObject
* _argo1
= 0;
3948 char *_kwnames
[] = { "self","defAttr", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) return NULL
;
3973 } Py_INCREF(Py_None
);
3974 _resultobj
= Py_None
;
3978 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3979 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxGridCellAttrProvider
* _result
;
3982 char *_kwnames
[] = { NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3996 _resultobj
= Py_BuildValue("s",_ptemp
);
3999 _resultobj
= Py_None
;
4004 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4005 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4007 wxGridCellAttr
* _result
;
4008 wxGridCellAttrProvider
* _arg0
;
4011 wxGridCellAttr::wxAttrKind _arg3
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4034 _resultobj
= Py_BuildValue("s",_ptemp
);
4037 _resultobj
= Py_None
;
4042 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4043 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxGridCellAttrProvider
* _arg0
;
4046 wxGridCellAttr
* _arg1
;
4049 PyObject
* _argo0
= 0;
4050 PyObject
* _argo1
= 0;
4051 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) return NULL
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4082 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxGridCellAttrProvider
* _arg0
;
4085 wxGridCellAttr
* _arg1
;
4087 PyObject
* _argo0
= 0;
4088 PyObject
* _argo1
= 0;
4089 char *_kwnames
[] = { "self","attr","row", NULL
};
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4114 } Py_INCREF(Py_None
);
4115 _resultobj
= Py_None
;
4119 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4120 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 wxGridCellAttrProvider
* _arg0
;
4123 wxGridCellAttr
* _arg1
;
4125 PyObject
* _argo0
= 0;
4126 PyObject
* _argo1
= 0;
4127 char *_kwnames
[] = { "self","attr","col", NULL
};
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) return NULL
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4157 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4158 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4160 wxGridCellAttrProvider
* _arg0
;
4163 PyObject
* _argo0
= 0;
4164 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4188 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4190 wxGridCellAttrProvider
* _arg0
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4217 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4218 wxPyGridCellAttrProvider
*src
;
4219 wxGridCellAttrProvider
*dest
;
4220 src
= (wxPyGridCellAttrProvider
*) ptr
;
4221 dest
= (wxGridCellAttrProvider
*) src
;
4222 return (void *) dest
;
4225 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4226 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4228 wxPyGridCellAttrProvider
* _result
;
4229 char *_kwnames
[] = { NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) return NULL
;
4242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4243 _resultobj
= Py_BuildValue("s",_ptemp
);
4246 _resultobj
= Py_None
;
4251 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4252 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4254 wxPyGridCellAttrProvider
* _arg0
;
4257 PyObject
* _argo0
= 0;
4258 PyObject
* _obj1
= 0;
4259 PyObject
* _obj2
= 0;
4260 char *_kwnames
[] = { "self","self","_class", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4290 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4292 wxGridCellAttr
* _result
;
4293 wxPyGridCellAttrProvider
* _arg0
;
4296 wxGridCellAttr::wxAttrKind _arg3
;
4297 PyObject
* _argo0
= 0;
4298 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) return NULL
;
4318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4319 _resultobj
= Py_BuildValue("s",_ptemp
);
4322 _resultobj
= Py_None
;
4327 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4328 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4330 wxPyGridCellAttrProvider
* _arg0
;
4331 wxGridCellAttr
* _arg1
;
4334 PyObject
* _argo0
= 0;
4335 PyObject
* _argo1
= 0;
4336 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4367 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4369 wxPyGridCellAttrProvider
* _arg0
;
4370 wxGridCellAttr
* _arg1
;
4372 PyObject
* _argo0
= 0;
4373 PyObject
* _argo1
= 0;
4374 char *_kwnames
[] = { "self","attr","row", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4405 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxPyGridCellAttrProvider
* _arg0
;
4408 wxGridCellAttr
* _arg1
;
4410 PyObject
* _argo0
= 0;
4411 PyObject
* _argo1
= 0;
4412 char *_kwnames
[] = { "self","attr","col", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) return NULL
;
4437 } Py_INCREF(Py_None
);
4438 _resultobj
= Py_None
;
4442 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4443 wxGridTableBase
*src
;
4445 src
= (wxGridTableBase
*) ptr
;
4446 dest
= (wxObject
*) src
;
4447 return (void *) dest
;
4450 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4451 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4453 wxGridTableBase
* _arg0
;
4454 wxGridCellAttrProvider
* _arg1
;
4455 PyObject
* _argo0
= 0;
4456 PyObject
* _argo1
= 0;
4457 char *_kwnames
[] = { "self","attrProvider", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4488 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4490 wxGridCellAttrProvider
* _result
;
4491 wxGridTableBase
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4514 _resultobj
= Py_BuildValue("s",_ptemp
);
4517 _resultobj
= Py_None
;
4522 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4523 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxGridTableBase
* _arg0
;
4527 PyObject
* _argo0
= 0;
4528 PyObject
* _argo1
= 0;
4529 char *_kwnames
[] = { "self","grid", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4542 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4543 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 wxGridTableBase_SetView(_arg0
,_arg1
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) return NULL
;
4554 } Py_INCREF(Py_None
);
4555 _resultobj
= Py_None
;
4559 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4560 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4563 wxGridTableBase
* _arg0
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4587 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4588 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4591 wxGridTableBase
* _arg0
;
4592 PyObject
* _argo0
= 0;
4593 char *_kwnames
[] = { "self", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) return NULL
;
4611 } _resultobj
= Py_BuildValue("i",_result
);
4615 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4616 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4619 wxGridTableBase
* _arg0
;
4620 PyObject
* _argo0
= 0;
4621 char *_kwnames
[] = { "self", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) return NULL
;
4639 } _resultobj
= Py_BuildValue("i",_result
);
4643 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4644 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4647 wxGridTableBase
* _arg0
;
4650 PyObject
* _argo0
= 0;
4651 char *_kwnames
[] = { "self","row","col", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) return NULL
;
4669 } _resultobj
= Py_BuildValue("i",_result
);
4673 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4674 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4677 wxGridTableBase
* _arg0
;
4680 PyObject
* _argo0
= 0;
4681 char *_kwnames
[] = { "self","row","col", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4701 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4703 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4712 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4713 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4715 wxGridTableBase
* _arg0
;
4719 PyObject
* _argo0
= 0;
4720 PyObject
* _obj3
= 0;
4721 char *_kwnames
[] = { "self","row","col","value", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4734 _arg3
= wxString_in_helper(_obj3
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4744 } Py_INCREF(Py_None
);
4745 _resultobj
= Py_None
;
4753 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4754 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4757 wxGridTableBase
* _arg0
;
4760 PyObject
* _argo0
= 0;
4761 char *_kwnames
[] = { "self","row","col", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) return NULL
;
4781 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4783 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4792 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4793 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 wxGridTableBase
* _arg0
;
4800 PyObject
* _argo0
= 0;
4801 PyObject
* _obj3
= 0;
4802 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4815 _arg3
= wxString_in_helper(_obj3
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) return NULL
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4833 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4834 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4837 wxGridTableBase
* _arg0
;
4841 PyObject
* _argo0
= 0;
4842 PyObject
* _obj3
= 0;
4843 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4856 _arg3
= wxString_in_helper(_obj3
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 } _resultobj
= Py_BuildValue("i",_result
);
4874 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4875 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4878 wxGridTableBase
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 char *_kwnames
[] = { "self","row","col", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } _resultobj
= Py_BuildValue("l",_result
);
4904 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4905 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4908 wxGridTableBase
* _arg0
;
4911 PyObject
* _argo0
= 0;
4912 char *_kwnames
[] = { "self","row","col", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) return NULL
;
4930 } _resultobj
= Py_BuildValue("d",_result
);
4934 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4935 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4938 wxGridTableBase
* _arg0
;
4941 PyObject
* _argo0
= 0;
4942 char *_kwnames
[] = { "self","row","col", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4960 } _resultobj
= Py_BuildValue("i",_result
);
4964 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4965 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4967 wxGridTableBase
* _arg0
;
4971 PyObject
* _argo0
= 0;
4972 char *_kwnames
[] = { "self","row","col","value", NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) return NULL
;
4990 } Py_INCREF(Py_None
);
4991 _resultobj
= Py_None
;
4995 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4996 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4998 wxGridTableBase
* _arg0
;
5002 PyObject
* _argo0
= 0;
5003 char *_kwnames
[] = { "self","row","col","value", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) return NULL
;
5021 } Py_INCREF(Py_None
);
5022 _resultobj
= Py_None
;
5026 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5027 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5029 wxGridTableBase
* _arg0
;
5033 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self","row","col","value", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5047 _arg3
= (bool ) tempbool3
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) return NULL
;
5054 } Py_INCREF(Py_None
);
5055 _resultobj
= Py_None
;
5059 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5060 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5062 wxGridTableBase
* _arg0
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 wxGridTableBase_Clear(_arg0
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) return NULL
;
5082 } Py_INCREF(Py_None
);
5083 _resultobj
= Py_None
;
5087 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5088 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 wxGridTableBase
* _arg0
;
5092 size_t _arg1
= (size_t ) 0;
5093 size_t _arg2
= (size_t ) 1;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5113 } _resultobj
= Py_BuildValue("i",_result
);
5117 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5118 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5121 wxGridTableBase
* _arg0
;
5122 size_t _arg1
= (size_t ) 1;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self","numRows", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) return NULL
;
5142 } _resultobj
= Py_BuildValue("i",_result
);
5146 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5147 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5150 wxGridTableBase
* _arg0
;
5151 size_t _arg1
= (size_t ) 0;
5152 size_t _arg2
= (size_t ) 1;
5153 PyObject
* _argo0
= 0;
5154 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) return NULL
;
5172 } _resultobj
= Py_BuildValue("i",_result
);
5176 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5177 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5180 wxGridTableBase
* _arg0
;
5181 size_t _arg1
= (size_t ) 0;
5182 size_t _arg2
= (size_t ) 1;
5183 PyObject
* _argo0
= 0;
5184 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) return NULL
;
5202 } _resultobj
= Py_BuildValue("i",_result
);
5206 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5207 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5210 wxGridTableBase
* _arg0
;
5211 size_t _arg1
= (size_t ) 1;
5212 PyObject
* _argo0
= 0;
5213 char *_kwnames
[] = { "self","numCols", NULL
};
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) return NULL
;
5231 } _resultobj
= Py_BuildValue("i",_result
);
5235 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5236 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5239 wxGridTableBase
* _arg0
;
5240 size_t _arg1
= (size_t ) 0;
5241 size_t _arg2
= (size_t ) 1;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_DeleteCols. Expected _wxGridTableBase_p.");
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) return NULL
;
5261 } _resultobj
= Py_BuildValue("i",_result
);
5265 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5266 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5269 wxGridTableBase
* _arg0
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self","row", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) return NULL
;
5292 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5294 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5303 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5304 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5307 wxGridTableBase
* _arg0
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self","col", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5330 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5332 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5341 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5342 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5344 wxGridTableBase
* _arg0
;
5347 PyObject
* _argo0
= 0;
5348 PyObject
* _obj2
= 0;
5349 char *_kwnames
[] = { "self","row","value", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5362 _arg2
= wxString_in_helper(_obj2
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) return NULL
;
5372 } Py_INCREF(Py_None
);
5373 _resultobj
= Py_None
;
5381 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5382 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5384 wxGridTableBase
* _arg0
;
5387 PyObject
* _argo0
= 0;
5388 PyObject
* _obj2
= 0;
5389 char *_kwnames
[] = { "self","col","value", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5402 _arg2
= wxString_in_helper(_obj2
);
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) return NULL
;
5412 } Py_INCREF(Py_None
);
5413 _resultobj
= Py_None
;
5421 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5422 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5425 wxGridTableBase
* _arg0
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5441 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) return NULL
;
5445 } _resultobj
= Py_BuildValue("i",_result
);
5449 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5450 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5452 wxGridCellAttr
* _result
;
5453 wxGridTableBase
* _arg0
;
5456 wxGridCellAttr::wxAttrKind _arg3
;
5457 PyObject
* _argo0
= 0;
5458 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5479 _resultobj
= Py_BuildValue("s",_ptemp
);
5482 _resultobj
= Py_None
;
5487 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5488 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5490 wxGridTableBase
* _arg0
;
5491 wxGridCellAttr
* _arg1
;
5494 PyObject
* _argo0
= 0;
5495 PyObject
* _argo1
= 0;
5496 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5509 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) return NULL
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5526 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5527 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
* _resultobj
;
5529 wxGridTableBase
* _arg0
;
5530 wxGridCellAttr
* _arg1
;
5532 PyObject
* _argo0
= 0;
5533 PyObject
* _argo1
= 0;
5534 char *_kwnames
[] = { "self","attr","row", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) return NULL
;
5559 } Py_INCREF(Py_None
);
5560 _resultobj
= Py_None
;
5564 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5565 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5567 wxGridTableBase
* _arg0
;
5568 wxGridCellAttr
* _arg1
;
5570 PyObject
* _argo0
= 0;
5571 PyObject
* _argo1
= 0;
5572 char *_kwnames
[] = { "self","attr","col", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) return NULL
;
5597 } Py_INCREF(Py_None
);
5598 _resultobj
= Py_None
;
5602 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5603 wxPyGridTableBase
*src
;
5604 wxGridTableBase
*dest
;
5605 src
= (wxPyGridTableBase
*) ptr
;
5606 dest
= (wxGridTableBase
*) src
;
5607 return (void *) dest
;
5610 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5611 wxPyGridTableBase
*src
;
5613 src
= (wxPyGridTableBase
*) ptr
;
5614 dest
= (wxObject
*) src
;
5615 return (void *) dest
;
5618 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5619 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5621 wxPyGridTableBase
* _result
;
5622 char *_kwnames
[] = { NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) return NULL
;
5635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5636 _resultobj
= Py_BuildValue("s",_ptemp
);
5639 _resultobj
= Py_None
;
5644 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5645 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
* _resultobj
;
5647 wxPyGridTableBase
* _arg0
;
5650 PyObject
* _argo0
= 0;
5651 PyObject
* _obj1
= 0;
5652 PyObject
* _obj2
= 0;
5653 char *_kwnames
[] = { "self","self","_class", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) return NULL
;
5677 } Py_INCREF(Py_None
);
5678 _resultobj
= Py_None
;
5682 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5683 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5685 wxPyGridTableBase
* _arg0
;
5686 PyObject
* _argo0
= 0;
5687 char *_kwnames
[] = { "self", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 wxPyGridTableBase_Destroy(_arg0
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5705 } Py_INCREF(Py_None
);
5706 _resultobj
= Py_None
;
5710 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5711 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5714 wxPyGridTableBase
* _arg0
;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self","row","col", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5738 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5749 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5750 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5753 wxPyGridTableBase
* _arg0
;
5757 PyObject
* _argo0
= 0;
5758 PyObject
* _obj3
= 0;
5759 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5772 _arg3
= wxString_in_helper(_obj3
);
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } _resultobj
= Py_BuildValue("i",_result
);
5790 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5791 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5794 wxPyGridTableBase
* _arg0
;
5798 PyObject
* _argo0
= 0;
5799 PyObject
* _obj3
= 0;
5800 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5813 _arg3
= wxString_in_helper(_obj3
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } _resultobj
= Py_BuildValue("i",_result
);
5831 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5832 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5834 wxPyGridTableBase
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 wxPyGridTableBase_base_Clear(_arg0
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5854 } Py_INCREF(Py_None
);
5855 _resultobj
= Py_None
;
5859 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5860 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5863 wxPyGridTableBase
* _arg0
;
5864 size_t _arg1
= (size_t ) 0;
5865 size_t _arg2
= (size_t ) 1;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) return NULL
;
5885 } _resultobj
= Py_BuildValue("i",_result
);
5889 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5890 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5893 wxPyGridTableBase
* _arg0
;
5894 size_t _arg1
= (size_t ) 1;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self","numRows", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) return NULL
;
5914 } _resultobj
= Py_BuildValue("i",_result
);
5918 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5919 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
* _resultobj
;
5922 wxPyGridTableBase
* _arg0
;
5923 size_t _arg1
= (size_t ) 0;
5924 size_t _arg2
= (size_t ) 1;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5948 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5949 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5952 wxPyGridTableBase
* _arg0
;
5953 size_t _arg1
= (size_t ) 0;
5954 size_t _arg2
= (size_t ) 1;
5955 PyObject
* _argo0
= 0;
5956 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) return NULL
;
5974 } _resultobj
= Py_BuildValue("i",_result
);
5978 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5979 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
* _resultobj
;
5982 wxPyGridTableBase
* _arg0
;
5983 size_t _arg1
= (size_t ) 1;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self","numCols", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } _resultobj
= Py_BuildValue("i",_result
);
6007 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6008 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6011 wxPyGridTableBase
* _arg0
;
6012 size_t _arg1
= (size_t ) 0;
6013 size_t _arg2
= (size_t ) 1;
6014 PyObject
* _argo0
= 0;
6015 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) return NULL
;
6033 } _resultobj
= Py_BuildValue("i",_result
);
6037 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6038 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
* _resultobj
;
6041 wxPyGridTableBase
* _arg0
;
6043 PyObject
* _argo0
= 0;
6044 char *_kwnames
[] = { "self","row", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) return NULL
;
6064 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6066 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6075 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6076 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6079 wxPyGridTableBase
* _arg0
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self","col", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6102 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6104 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6113 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6114 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6116 wxPyGridTableBase
* _arg0
;
6119 PyObject
* _argo0
= 0;
6120 PyObject
* _obj2
= 0;
6121 char *_kwnames
[] = { "self","row","value", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6134 _arg2
= wxString_in_helper(_obj2
);
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) return NULL
;
6144 } Py_INCREF(Py_None
);
6145 _resultobj
= Py_None
;
6153 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6154 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6156 wxPyGridTableBase
* _arg0
;
6159 PyObject
* _argo0
= 0;
6160 PyObject
* _obj2
= 0;
6161 char *_kwnames
[] = { "self","col","value", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6174 _arg2
= wxString_in_helper(_obj2
);
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) return NULL
;
6184 } Py_INCREF(Py_None
);
6185 _resultobj
= Py_None
;
6193 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6194 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6197 wxPyGridTableBase
* _arg0
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) return NULL
;
6217 } _resultobj
= Py_BuildValue("i",_result
);
6221 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6222 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6224 wxGridCellAttr
* _result
;
6225 wxPyGridTableBase
* _arg0
;
6228 wxGridCellAttr::wxAttrKind _arg3
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) return NULL
;
6250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6251 _resultobj
= Py_BuildValue("s",_ptemp
);
6254 _resultobj
= Py_None
;
6259 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6260 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxPyGridTableBase
* _arg0
;
6263 wxGridCellAttr
* _arg1
;
6266 PyObject
* _argo0
= 0;
6267 PyObject
* _argo1
= 0;
6268 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6293 } Py_INCREF(Py_None
);
6294 _resultobj
= Py_None
;
6298 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6299 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxPyGridTableBase
* _arg0
;
6302 wxGridCellAttr
* _arg1
;
6304 PyObject
* _argo0
= 0;
6305 PyObject
* _argo1
= 0;
6306 char *_kwnames
[] = { "self","attr","row", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) return NULL
;
6331 } Py_INCREF(Py_None
);
6332 _resultobj
= Py_None
;
6336 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6337 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6339 wxPyGridTableBase
* _arg0
;
6340 wxGridCellAttr
* _arg1
;
6342 PyObject
* _argo0
= 0;
6343 PyObject
* _argo1
= 0;
6344 char *_kwnames
[] = { "self","attr","col", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6375 wxGridStringTable
*src
;
6376 wxGridTableBase
*dest
;
6377 src
= (wxGridStringTable
*) ptr
;
6378 dest
= (wxGridTableBase
*) src
;
6379 return (void *) dest
;
6382 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6383 wxGridStringTable
*src
;
6385 src
= (wxGridStringTable
*) ptr
;
6386 dest
= (wxObject
*) src
;
6387 return (void *) dest
;
6390 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6391 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6393 wxGridStringTable
* _result
;
6394 int _arg0
= (int ) 0;
6395 int _arg1
= (int ) 0;
6396 char *_kwnames
[] = { "numRows","numCols", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) return NULL
;
6409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6410 _resultobj
= Py_BuildValue("s",_ptemp
);
6413 _resultobj
= Py_None
;
6418 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6419 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6421 wxGridTableMessage
* _result
;
6422 wxGridTableBase
* _arg0
;
6424 int _arg2
= (int ) -1;
6425 int _arg3
= (int ) -1;
6426 PyObject
* _argo0
= 0;
6427 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6447 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6448 _resultobj
= Py_BuildValue("s",_ptemp
);
6451 _resultobj
= Py_None
;
6456 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6457 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6459 wxGridTableMessage
* _arg0
;
6460 PyObject
* _argo0
= 0;
6461 char *_kwnames
[] = { "self", NULL
};
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 delete_wxGridTableMessage(_arg0
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) return NULL
;
6479 } Py_INCREF(Py_None
);
6480 _resultobj
= Py_None
;
6484 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6485 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
* _resultobj
;
6487 wxGridTableMessage
* _arg0
;
6488 wxGridTableBase
* _arg1
;
6489 PyObject
* _argo0
= 0;
6490 PyObject
* _argo1
= 0;
6491 char *_kwnames
[] = { "self","table", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) return NULL
;
6516 } Py_INCREF(Py_None
);
6517 _resultobj
= Py_None
;
6521 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6522 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
* _resultobj
;
6524 wxGridTableBase
* _result
;
6525 wxGridTableMessage
* _arg0
;
6526 PyObject
* _argo0
= 0;
6527 char *_kwnames
[] = { "self", NULL
};
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) return NULL
;
6545 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6549 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6550 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
* _resultobj
;
6552 wxGridTableMessage
* _arg0
;
6554 PyObject
* _argo0
= 0;
6555 char *_kwnames
[] = { "self","id", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 wxGridTableMessage_SetId(_arg0
,_arg1
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) return NULL
;
6573 } Py_INCREF(Py_None
);
6574 _resultobj
= Py_None
;
6578 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6579 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
* _resultobj
;
6582 wxGridTableMessage
* _arg0
;
6583 PyObject
* _argo0
= 0;
6584 char *_kwnames
[] = { "self", NULL
};
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) return NULL
;
6602 } _resultobj
= Py_BuildValue("i",_result
);
6606 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6607 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
* _resultobj
;
6609 wxGridTableMessage
* _arg0
;
6611 PyObject
* _argo0
= 0;
6612 char *_kwnames
[] = { "self","comInt1", NULL
};
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) return NULL
;
6630 } Py_INCREF(Py_None
);
6631 _resultobj
= Py_None
;
6635 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6636 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6639 wxGridTableMessage
* _arg0
;
6640 PyObject
* _argo0
= 0;
6641 char *_kwnames
[] = { "self", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) return NULL
;
6659 } _resultobj
= Py_BuildValue("i",_result
);
6663 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6664 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6666 wxGridTableMessage
* _arg0
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self","comInt2", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) return NULL
;
6687 } Py_INCREF(Py_None
);
6688 _resultobj
= Py_None
;
6692 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6693 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
* _resultobj
;
6696 wxGridTableMessage
* _arg0
;
6697 PyObject
* _argo0
= 0;
6698 char *_kwnames
[] = { "self", NULL
};
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) return NULL
;
6716 } _resultobj
= Py_BuildValue("i",_result
);
6720 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6721 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6723 wxGridCellCoords
* _result
;
6724 int _arg0
= (int ) -1;
6725 int _arg1
= (int ) -1;
6726 char *_kwnames
[] = { "r","c", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6740 _resultobj
= Py_BuildValue("s",_ptemp
);
6743 _resultobj
= Py_None
;
6748 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6749 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6751 wxGridCellCoords
* _arg0
;
6752 PyObject
* _argo0
= 0;
6753 char *_kwnames
[] = { "self", NULL
};
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 delete_wxGridCellCoords(_arg0
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) return NULL
;
6771 } Py_INCREF(Py_None
);
6772 _resultobj
= Py_None
;
6776 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6777 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6780 wxGridCellCoords
* _arg0
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6804 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6805 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6807 wxGridCellCoords
* _arg0
;
6809 PyObject
* _argo0
= 0;
6810 char *_kwnames
[] = { "self","n", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } Py_INCREF(Py_None
);
6829 _resultobj
= Py_None
;
6833 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6834 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6837 wxGridCellCoords
* _arg0
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } _resultobj
= Py_BuildValue("i",_result
);
6861 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6862 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6864 wxGridCellCoords
* _arg0
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self","n", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) return NULL
;
6885 } Py_INCREF(Py_None
);
6886 _resultobj
= Py_None
;
6890 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6891 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6893 wxGridCellCoords
* _arg0
;
6896 PyObject
* _argo0
= 0;
6897 char *_kwnames
[] = { "self","row","col", NULL
};
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) return NULL
;
6915 } Py_INCREF(Py_None
);
6916 _resultobj
= Py_None
;
6920 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6921 PyObject
* tup
= PyTuple_New(2);
6922 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6923 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6926 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6929 wxGridCellCoords
* _arg0
;
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) return NULL
;
6950 _resultobj
= _result
;
6955 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6956 return *self
!= other
;
6958 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6961 wxGridCellCoords
* _arg0
;
6962 wxGridCellCoords
* _arg1
;
6963 PyObject
* _argo0
= 0;
6964 PyObject
* _argo1
= 0;
6965 char *_kwnames
[] = { "self","other", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) return NULL
;
6990 } _resultobj
= Py_BuildValue("i",_result
);
6994 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6996 wxScrolledWindow
*dest
;
6997 src
= (wxGrid
*) ptr
;
6998 dest
= (wxScrolledWindow
*) src
;
6999 return (void *) dest
;
7002 static void *SwigwxGridTowxPanel(void *ptr
) {
7005 src
= (wxGrid
*) ptr
;
7006 dest
= (wxPanel
*) src
;
7007 return (void *) dest
;
7010 static void *SwigwxGridTowxWindow(void *ptr
) {
7013 src
= (wxGrid
*) ptr
;
7014 dest
= (wxWindow
*) src
;
7015 return (void *) dest
;
7018 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7021 src
= (wxGrid
*) ptr
;
7022 dest
= (wxEvtHandler
*) src
;
7023 return (void *) dest
;
7026 static void *SwigwxGridTowxObject(void *ptr
) {
7029 src
= (wxGrid
*) ptr
;
7030 dest
= (wxObject
*) src
;
7031 return (void *) dest
;
7034 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7035 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7040 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7041 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7042 long _arg4
= (long ) wxWANTS_CHARS
;
7043 char * _arg5
= (char *) wxPanelNameStr
;
7044 PyObject
* _argo0
= 0;
7046 PyObject
* _obj2
= 0;
7048 PyObject
* _obj3
= 0;
7049 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7065 if (! wxPoint_helper(_obj2
, &_arg2
))
7071 if (! wxSize_helper(_obj3
, &_arg3
))
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7081 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7082 _resultobj
= Py_BuildValue("s",_ptemp
);
7085 _resultobj
= Py_None
;
7090 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7091 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7097 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) return NULL
;
7117 } _resultobj
= Py_BuildValue("i",_result
);
7121 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7122 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7125 WXGRIDSELECTIONMODES _arg1
;
7126 PyObject
* _argo0
= 0;
7127 char *_kwnames
[] = { "self","selmode", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) return NULL
;
7145 } Py_INCREF(Py_None
);
7146 _resultobj
= Py_None
;
7150 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7151 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
* _resultobj
;
7155 PyObject
* _argo0
= 0;
7156 char *_kwnames
[] = { "self", NULL
};
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) return NULL
;
7174 } _resultobj
= Py_BuildValue("i",_result
);
7178 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7179 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
* _resultobj
;
7183 PyObject
* _argo0
= 0;
7184 char *_kwnames
[] = { "self", NULL
};
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) return NULL
;
7202 } _resultobj
= Py_BuildValue("i",_result
);
7206 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7207 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7211 wxGridTableMessage
* _arg1
;
7212 PyObject
* _argo0
= 0;
7213 PyObject
* _argo1
= 0;
7214 char *_kwnames
[] = { "self","arg2", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) return NULL
;
7239 } _resultobj
= Py_BuildValue("i",_result
);
7243 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7244 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7246 wxGridTableBase
* _result
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) return NULL
;
7267 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7271 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7272 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7276 wxGridTableBase
* _arg1
;
7277 bool _arg2
= (bool ) FALSE
;
7278 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7279 PyObject
* _argo0
= 0;
7280 PyObject
* _argo1
= 0;
7281 int tempbool2
= (int) FALSE
;
7282 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7301 _arg2
= (bool ) tempbool2
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } _resultobj
= Py_BuildValue("i",_result
);
7312 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7313 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7316 PyObject
* _argo0
= 0;
7317 char *_kwnames
[] = { "self", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 wxGrid_ClearGrid(_arg0
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) return NULL
;
7335 } Py_INCREF(Py_None
);
7336 _resultobj
= Py_None
;
7340 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7341 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
* _resultobj
;
7345 int _arg1
= (int ) 0;
7346 int _arg2
= (int ) 1;
7347 bool _arg3
= (bool ) TRUE
;
7348 PyObject
* _argo0
= 0;
7349 int tempbool3
= (int) TRUE
;
7350 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7362 _arg3
= (bool ) tempbool3
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) return NULL
;
7369 } _resultobj
= Py_BuildValue("i",_result
);
7373 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7374 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7378 int _arg1
= (int ) 1;
7379 bool _arg2
= (bool ) TRUE
;
7380 PyObject
* _argo0
= 0;
7381 int tempbool2
= (int) TRUE
;
7382 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7394 _arg2
= (bool ) tempbool2
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } _resultobj
= Py_BuildValue("i",_result
);
7405 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7406 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7410 int _arg1
= (int ) 0;
7411 int _arg2
= (int ) 1;
7412 bool _arg3
= (bool ) TRUE
;
7413 PyObject
* _argo0
= 0;
7414 int tempbool3
= (int) TRUE
;
7415 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7427 _arg3
= (bool ) tempbool3
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7438 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7439 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7443 int _arg1
= (int ) 0;
7444 int _arg2
= (int ) 1;
7445 bool _arg3
= (bool ) TRUE
;
7446 PyObject
* _argo0
= 0;
7447 int tempbool3
= (int) TRUE
;
7448 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7460 _arg3
= (bool ) tempbool3
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) return NULL
;
7467 } _resultobj
= Py_BuildValue("i",_result
);
7471 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7472 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7476 int _arg1
= (int ) 1;
7477 bool _arg2
= (bool ) TRUE
;
7478 PyObject
* _argo0
= 0;
7479 int tempbool2
= (int) TRUE
;
7480 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7492 _arg2
= (bool ) tempbool2
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) return NULL
;
7499 } _resultobj
= Py_BuildValue("i",_result
);
7503 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7504 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
* _resultobj
;
7508 int _arg1
= (int ) 0;
7509 int _arg2
= (int ) 1;
7510 bool _arg3
= (bool ) TRUE
;
7511 PyObject
* _argo0
= 0;
7512 int tempbool3
= (int) TRUE
;
7513 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7525 _arg3
= (bool ) tempbool3
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) return NULL
;
7532 } _resultobj
= Py_BuildValue("i",_result
);
7536 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7537 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
* _resultobj
;
7541 wxGridCellAttr
* _arg2
;
7542 PyObject
* _argo0
= 0;
7543 PyObject
* _argo1
= 0;
7544 PyObject
* _argo2
= 0;
7545 char *_kwnames
[] = { "self","dc","attr", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7565 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } Py_INCREF(Py_None
);
7578 _resultobj
= Py_None
;
7582 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7583 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7589 int _arg4
= (int ) wxLEFT
;
7590 int _arg5
= (int ) wxTOP
;
7591 PyObject
* _argo0
= 0;
7592 PyObject
* _argo1
= 0;
7593 PyObject
* _obj2
= 0;
7595 PyObject
* _obj3
= 0;
7596 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7616 _arg2
= wxString_in_helper(_obj2
);
7622 if (! wxRect_helper(_obj3
, &_arg3
))
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } Py_INCREF(Py_None
);
7632 _resultobj
= Py_None
;
7640 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7641 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7645 wxArrayString
* _arg2
;
7650 PyObject
* _argo0
= 0;
7651 PyObject
* _argo1
= 0;
7652 PyObject
* _obj2
= 0;
7653 char *_kwnames
[] = { "self","dc","lines", NULL
};
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7679 if (! PySequence_Check(_obj2
)) {
7680 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7683 _arg2
= new wxArrayString
;
7684 int i
, len
=PySequence_Length(_obj2
);
7685 for (i
=0; i
<len
; i
++) {
7686 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7688 PyObject
* str
= PyObject_Unicode(item
);
7689 _arg2
->Add(PyUnicode_AsUnicode(str
));
7691 PyObject
* str
= PyObject_Str(item
);
7692 _arg2
->Add(PyString_AsString(str
));
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } Py_INCREF(Py_None
);
7705 _resultobj
= Py_None
;
7708 o
= PyInt_FromLong((long) (*_arg3
));
7709 _resultobj
= t_output_helper(_resultobj
, o
);
7713 o
= PyInt_FromLong((long) (*_arg4
));
7714 _resultobj
= t_output_helper(_resultobj
, o
);
7723 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7724 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
* _resultobj
;
7727 PyObject
* _argo0
= 0;
7728 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxGrid_BeginBatch(_arg0
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } Py_INCREF(Py_None
);
7747 _resultobj
= Py_None
;
7751 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7752 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7755 PyObject
* _argo0
= 0;
7756 char *_kwnames
[] = { "self", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxGrid_EndBatch(_arg0
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) return NULL
;
7774 } Py_INCREF(Py_None
);
7775 _resultobj
= Py_None
;
7779 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7780 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 PyObject
* _argo0
= 0;
7785 char *_kwnames
[] = { "self", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) return NULL
;
7803 } _resultobj
= Py_BuildValue("i",_result
);
7807 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7808 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7811 PyObject
* _argo0
= 0;
7812 char *_kwnames
[] = { "self", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 wxGrid_ForceRefresh(_arg0
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) return NULL
;
7830 } Py_INCREF(Py_None
);
7831 _resultobj
= Py_None
;
7835 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7836 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7840 PyObject
* _argo0
= 0;
7841 char *_kwnames
[] = { "self", NULL
};
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 _result
= (bool )wxGrid_IsEditable(_arg0
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) return NULL
;
7859 } _resultobj
= Py_BuildValue("i",_result
);
7863 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7864 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7868 PyObject
* _argo0
= 0;
7870 char *_kwnames
[] = { "self","edit", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7882 _arg1
= (bool ) tempbool1
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxGrid_EnableEditing(_arg0
,_arg1
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) return NULL
;
7889 } Py_INCREF(Py_None
);
7890 _resultobj
= Py_None
;
7894 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7895 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7898 bool _arg1
= (bool ) TRUE
;
7899 PyObject
* _argo0
= 0;
7900 int tempbool1
= (int) TRUE
;
7901 char *_kwnames
[] = { "self","enable", NULL
};
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7913 _arg1
= (bool ) tempbool1
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) return NULL
;
7920 } Py_INCREF(Py_None
);
7921 _resultobj
= Py_None
;
7925 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7926 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
* _resultobj
;
7929 PyObject
* _argo0
= 0;
7930 char *_kwnames
[] = { "self", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 wxGrid_DisableCellEditControl(_arg0
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) return NULL
;
7948 } Py_INCREF(Py_None
);
7949 _resultobj
= Py_None
;
7953 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7954 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
* _resultobj
;
7958 PyObject
* _argo0
= 0;
7959 char *_kwnames
[] = { "self", NULL
};
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) return NULL
;
7977 } _resultobj
= Py_BuildValue("i",_result
);
7981 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7982 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
* _resultobj
;
7986 PyObject
* _argo0
= 0;
7987 char *_kwnames
[] = { "self", NULL
};
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) return NULL
;
8005 } _resultobj
= Py_BuildValue("i",_result
);
8009 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8010 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
* _resultobj
;
8014 PyObject
* _argo0
= 0;
8015 char *_kwnames
[] = { "self", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) return NULL
;
8033 } _resultobj
= Py_BuildValue("i",_result
);
8037 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8038 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
* _resultobj
;
8042 PyObject
* _argo0
= 0;
8043 char *_kwnames
[] = { "self", NULL
};
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) return NULL
;
8061 } _resultobj
= Py_BuildValue("i",_result
);
8065 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8066 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8070 char *_kwnames
[] = { "self", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 wxGrid_ShowCellEditControl(_arg0
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) return NULL
;
8088 } Py_INCREF(Py_None
);
8089 _resultobj
= Py_None
;
8093 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8094 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8097 PyObject
* _argo0
= 0;
8098 char *_kwnames
[] = { "self", NULL
};
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 wxGrid_HideCellEditControl(_arg0
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) return NULL
;
8116 } Py_INCREF(Py_None
);
8117 _resultobj
= Py_None
;
8121 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8122 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8125 PyObject
* _argo0
= 0;
8126 char *_kwnames
[] = { "self", NULL
};
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 wxGrid_SaveEditControlValue(_arg0
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) return NULL
;
8144 } Py_INCREF(Py_None
);
8145 _resultobj
= Py_None
;
8149 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8150 wxGridCellCoords rv
;
8151 self
->XYToCell(x
, y
, rv
);
8152 return new wxGridCellCoords(rv
);
8154 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
* _resultobj
;
8156 wxGridCellCoords
* _result
;
8160 PyObject
* _argo0
= 0;
8161 char *_kwnames
[] = { "self","x","y", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8182 _resultobj
= Py_BuildValue("s",_ptemp
);
8185 _resultobj
= Py_None
;
8190 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8191 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self","y", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } _resultobj
= Py_BuildValue("i",_result
);
8219 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8220 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8225 PyObject
* _argo0
= 0;
8226 char *_kwnames
[] = { "self","x", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) return NULL
;
8244 } _resultobj
= Py_BuildValue("i",_result
);
8248 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8249 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
* _resultobj
;
8254 PyObject
* _argo0
= 0;
8255 char *_kwnames
[] = { "self","y", NULL
};
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) return NULL
;
8273 } _resultobj
= Py_BuildValue("i",_result
);
8277 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8278 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
* _resultobj
;
8283 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "self","x", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) return NULL
;
8302 } _resultobj
= Py_BuildValue("i",_result
);
8306 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8307 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
* _resultobj
;
8313 PyObject
* _argo0
= 0;
8314 char *_kwnames
[] = { "self","row","col", NULL
};
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) return NULL
;
8333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8334 _resultobj
= Py_BuildValue("s",_ptemp
);
8338 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8339 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
* _resultobj
;
8343 PyObject
* _argo0
= 0;
8344 char *_kwnames
[] = { "self", NULL
};
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) return NULL
;
8362 } _resultobj
= Py_BuildValue("i",_result
);
8366 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8367 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
* _resultobj
;
8371 PyObject
* _argo0
= 0;
8372 char *_kwnames
[] = { "self", NULL
};
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) return NULL
;
8390 } _resultobj
= Py_BuildValue("i",_result
);
8394 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8395 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
* _resultobj
;
8401 bool _arg3
= (bool ) TRUE
;
8402 PyObject
* _argo0
= 0;
8403 int tempbool3
= (int) TRUE
;
8404 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8416 _arg3
= (bool ) tempbool3
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) return NULL
;
8423 } _resultobj
= Py_BuildValue("i",_result
);
8427 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8428 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8433 PyObject
* _argo0
= 0;
8434 char *_kwnames
[] = { "self","row","col", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) return NULL
;
8452 } Py_INCREF(Py_None
);
8453 _resultobj
= Py_None
;
8457 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8458 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
* _resultobj
;
8463 PyObject
* _argo0
= 0;
8464 char *_kwnames
[] = { "self","row","col", NULL
};
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) return NULL
;
8482 } Py_INCREF(Py_None
);
8483 _resultobj
= Py_None
;
8487 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8488 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
* _resultobj
;
8493 PyObject
* _argo0
= 0;
8495 char *_kwnames
[] = { "self","expandSelection", NULL
};
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8507 _arg1
= (bool ) tempbool1
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8514 } _resultobj
= Py_BuildValue("i",_result
);
8518 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8519 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
* _resultobj
;
8524 PyObject
* _argo0
= 0;
8526 char *_kwnames
[] = { "self","expandSelection", NULL
};
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8538 _arg1
= (bool ) tempbool1
;
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) return NULL
;
8545 } _resultobj
= Py_BuildValue("i",_result
);
8549 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8550 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
* _resultobj
;
8555 PyObject
* _argo0
= 0;
8557 char *_kwnames
[] = { "self","expandSelection", NULL
};
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8569 _arg1
= (bool ) tempbool1
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) return NULL
;
8576 } _resultobj
= Py_BuildValue("i",_result
);
8580 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8581 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8586 PyObject
* _argo0
= 0;
8588 char *_kwnames
[] = { "self","expandSelection", NULL
};
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8600 _arg1
= (bool ) tempbool1
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) return NULL
;
8607 } _resultobj
= Py_BuildValue("i",_result
);
8611 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8612 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
* _resultobj
;
8616 PyObject
* _argo0
= 0;
8617 char *_kwnames
[] = { "self", NULL
};
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) return NULL
;
8635 } _resultobj
= Py_BuildValue("i",_result
);
8639 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8640 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
* _resultobj
;
8644 PyObject
* _argo0
= 0;
8645 char *_kwnames
[] = { "self", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) return NULL
;
8663 } _resultobj
= Py_BuildValue("i",_result
);
8667 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8668 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
* _resultobj
;
8673 PyObject
* _argo0
= 0;
8675 char *_kwnames
[] = { "self","expandSelection", NULL
};
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8687 _arg1
= (bool ) tempbool1
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) return NULL
;
8694 } _resultobj
= Py_BuildValue("i",_result
);
8698 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8699 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8704 PyObject
* _argo0
= 0;
8706 char *_kwnames
[] = { "self","expandSelection", NULL
};
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8718 _arg1
= (bool ) tempbool1
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) return NULL
;
8725 } _resultobj
= Py_BuildValue("i",_result
);
8729 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8730 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
* _resultobj
;
8735 PyObject
* _argo0
= 0;
8737 char *_kwnames
[] = { "self","expandSelection", NULL
};
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8749 _arg1
= (bool ) tempbool1
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) return NULL
;
8756 } _resultobj
= Py_BuildValue("i",_result
);
8760 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8761 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8766 PyObject
* _argo0
= 0;
8768 char *_kwnames
[] = { "self","expandSelection", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8780 _arg1
= (bool ) tempbool1
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8787 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8792 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8796 PyObject
* _argo0
= 0;
8797 char *_kwnames
[] = { "self", NULL
};
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) return NULL
;
8815 } _resultobj
= Py_BuildValue("i",_result
);
8819 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8820 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
* _resultobj
;
8824 PyObject
* _argo0
= 0;
8825 char *_kwnames
[] = { "self", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) return NULL
;
8843 } _resultobj
= Py_BuildValue("i",_result
);
8847 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8848 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
* _resultobj
;
8852 PyObject
* _argo0
= 0;
8853 char *_kwnames
[] = { "self", NULL
};
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) return NULL
;
8871 } _resultobj
= Py_BuildValue("i",_result
);
8875 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8876 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
* _resultobj
;
8880 PyObject
* _argo0
= 0;
8881 char *_kwnames
[] = { "self", NULL
};
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) return NULL
;
8899 } _resultobj
= Py_BuildValue("i",_result
);
8903 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8904 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
* _resultobj
;
8908 PyObject
* _argo0
= 0;
8909 char *_kwnames
[] = { "self", NULL
};
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) return NULL
;
8928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8929 _resultobj
= Py_BuildValue("s",_ptemp
);
8933 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8934 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
* _resultobj
;
8938 PyObject
* _argo0
= 0;
8939 char *_kwnames
[] = { "self", NULL
};
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8959 _resultobj
= Py_BuildValue("s",_ptemp
);
8963 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8964 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
* _resultobj
;
8968 PyObject
* _argo0
= 0;
8969 char *_kwnames
[] = { "self", NULL
};
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) return NULL
;
8988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8989 _resultobj
= Py_BuildValue("s",_ptemp
);
8993 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8994 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
* _resultobj
;
9001 PyObject
* _argo0
= 0;
9002 char *_kwnames
[] = { "self", NULL
};
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) return NULL
;
9026 } Py_INCREF(Py_None
);
9027 _resultobj
= Py_None
;
9030 o
= PyInt_FromLong((long) (*_arg1
));
9031 _resultobj
= t_output_helper(_resultobj
, o
);
9035 o
= PyInt_FromLong((long) (*_arg2
));
9036 _resultobj
= t_output_helper(_resultobj
, o
);
9041 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9042 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9049 PyObject
* _argo0
= 0;
9050 char *_kwnames
[] = { "self", NULL
};
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) return NULL
;
9074 } Py_INCREF(Py_None
);
9075 _resultobj
= Py_None
;
9078 o
= PyInt_FromLong((long) (*_arg1
));
9079 _resultobj
= t_output_helper(_resultobj
, o
);
9083 o
= PyInt_FromLong((long) (*_arg2
));
9084 _resultobj
= t_output_helper(_resultobj
, o
);
9089 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9090 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
* _resultobj
;
9095 PyObject
* _argo0
= 0;
9096 char *_kwnames
[] = { "self","row", NULL
};
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) return NULL
;
9116 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9118 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9127 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9128 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
* _resultobj
;
9133 PyObject
* _argo0
= 0;
9134 char *_kwnames
[] = { "self","col", NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) return NULL
;
9154 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9156 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9165 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9166 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
* _resultobj
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) return NULL
;
9190 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9191 _resultobj
= Py_BuildValue("s",_ptemp
);
9195 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9196 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9200 PyObject
* _argo0
= 0;
9201 char *_kwnames
[] = { "self", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) return NULL
;
9220 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9221 _resultobj
= Py_BuildValue("s",_ptemp
);
9225 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9226 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
* _resultobj
;
9230 PyObject
* _argo0
= 0;
9231 char *_kwnames
[] = { "self", NULL
};
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) return NULL
;
9249 } _resultobj
= Py_BuildValue("i",_result
);
9253 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9254 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
* _resultobj
;
9258 PyObject
* _argo0
= 0;
9259 char *_kwnames
[] = { "self", NULL
};
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) return NULL
;
9277 } _resultobj
= Py_BuildValue("i",_result
);
9281 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9282 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9286 PyObject
* _argo0
= 0;
9287 char *_kwnames
[] = { "self","width", NULL
};
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) return NULL
;
9305 } Py_INCREF(Py_None
);
9306 _resultobj
= Py_None
;
9310 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9311 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
* _resultobj
;
9315 PyObject
* _argo0
= 0;
9316 char *_kwnames
[] = { "self","height", NULL
};
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) return NULL
;
9334 } Py_INCREF(Py_None
);
9335 _resultobj
= Py_None
;
9339 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9340 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
* _resultobj
;
9344 PyObject
* _argo0
= 0;
9346 PyObject
* _obj1
= 0;
9347 char *_kwnames
[] = { "self","arg2", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9361 if (! wxColour_helper(_obj1
, &_arg1
))
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) return NULL
;
9370 } Py_INCREF(Py_None
);
9371 _resultobj
= Py_None
;
9375 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9376 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
* _resultobj
;
9380 PyObject
* _argo0
= 0;
9382 PyObject
* _obj1
= 0;
9383 char *_kwnames
[] = { "self","arg2", NULL
};
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9397 if (! wxColour_helper(_obj1
, &_arg1
))
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) return NULL
;
9406 } Py_INCREF(Py_None
);
9407 _resultobj
= Py_None
;
9411 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9412 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9416 PyObject
* _argo0
= 0;
9417 PyObject
* _argo1
= 0;
9418 char *_kwnames
[] = { "self","arg2", NULL
};
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) return NULL
;
9443 } Py_INCREF(Py_None
);
9444 _resultobj
= Py_None
;
9448 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9449 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9473 } Py_INCREF(Py_None
);
9474 _resultobj
= Py_None
;
9478 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9479 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9484 PyObject
* _argo0
= 0;
9485 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) return NULL
;
9503 } Py_INCREF(Py_None
);
9504 _resultobj
= Py_None
;
9508 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9509 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
* _resultobj
;
9514 PyObject
* _argo0
= 0;
9515 PyObject
* _obj2
= 0;
9516 char *_kwnames
[] = { "self","row","arg3", NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9529 _arg2
= wxString_in_helper(_obj2
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) return NULL
;
9539 } Py_INCREF(Py_None
);
9540 _resultobj
= Py_None
;
9548 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9549 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
* _resultobj
;
9554 PyObject
* _argo0
= 0;
9555 PyObject
* _obj2
= 0;
9556 char *_kwnames
[] = { "self","col","arg3", NULL
};
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9569 _arg2
= wxString_in_helper(_obj2
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) return NULL
;
9579 } Py_INCREF(Py_None
);
9580 _resultobj
= Py_None
;
9588 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9589 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
* _resultobj
;
9593 PyObject
* _argo0
= 0;
9595 PyObject
* _obj1
= 0;
9596 char *_kwnames
[] = { "self","arg2", NULL
};
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9610 if (! wxColour_helper(_obj1
, &_arg1
))
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) return NULL
;
9619 } Py_INCREF(Py_None
);
9620 _resultobj
= Py_None
;
9624 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9625 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
* _resultobj
;
9629 PyObject
* _argo0
= 0;
9631 PyObject
* _obj1
= 0;
9632 char *_kwnames
[] = { "self","arg2", NULL
};
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9646 if (! wxColour_helper(_obj1
, &_arg1
))
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) return NULL
;
9655 } Py_INCREF(Py_None
);
9656 _resultobj
= Py_None
;
9660 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9661 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9665 PyObject
* _argo0
= 0;
9666 char *_kwnames
[] = { "self","width", NULL
};
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) return NULL
;
9684 } Py_INCREF(Py_None
);
9685 _resultobj
= Py_None
;
9689 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9690 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9694 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self","width", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 } Py_INCREF(Py_None
);
9714 _resultobj
= Py_None
;
9718 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9719 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
* _resultobj
;
9722 bool _arg1
= (bool ) TRUE
;
9723 PyObject
* _argo0
= 0;
9724 int tempbool1
= (int) TRUE
;
9725 char *_kwnames
[] = { "self","enable", NULL
};
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9737 _arg1
= (bool ) tempbool1
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) return NULL
;
9744 } Py_INCREF(Py_None
);
9745 _resultobj
= Py_None
;
9749 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9750 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
* _resultobj
;
9753 PyObject
* _argo0
= 0;
9754 char *_kwnames
[] = { "self", NULL
};
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 wxGrid_DisableDragRowSize(_arg0
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) return NULL
;
9772 } Py_INCREF(Py_None
);
9773 _resultobj
= Py_None
;
9777 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9778 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
* _resultobj
;
9782 PyObject
* _argo0
= 0;
9783 char *_kwnames
[] = { "self", NULL
};
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) return NULL
;
9801 } _resultobj
= Py_BuildValue("i",_result
);
9805 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9806 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
* _resultobj
;
9809 bool _arg1
= (bool ) TRUE
;
9810 PyObject
* _argo0
= 0;
9811 int tempbool1
= (int) TRUE
;
9812 char *_kwnames
[] = { "self","enable", NULL
};
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9824 _arg1
= (bool ) tempbool1
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) return NULL
;
9831 } Py_INCREF(Py_None
);
9832 _resultobj
= Py_None
;
9836 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9837 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
* _resultobj
;
9840 PyObject
* _argo0
= 0;
9841 char *_kwnames
[] = { "self", NULL
};
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 wxGrid_DisableDragColSize(_arg0
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) return NULL
;
9859 } Py_INCREF(Py_None
);
9860 _resultobj
= Py_None
;
9864 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9865 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
* _resultobj
;
9869 PyObject
* _argo0
= 0;
9870 char *_kwnames
[] = { "self", NULL
};
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) return NULL
;
9888 } _resultobj
= Py_BuildValue("i",_result
);
9892 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9893 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
* _resultobj
;
9896 bool _arg1
= (bool ) TRUE
;
9897 PyObject
* _argo0
= 0;
9898 int tempbool1
= (int) TRUE
;
9899 char *_kwnames
[] = { "self","enable", NULL
};
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9911 _arg1
= (bool ) tempbool1
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9918 } Py_INCREF(Py_None
);
9919 _resultobj
= Py_None
;
9923 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9924 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9927 PyObject
* _argo0
= 0;
9928 char *_kwnames
[] = { "self", NULL
};
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxGrid_DisableDragGridSize(_arg0
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) return NULL
;
9946 } Py_INCREF(Py_None
);
9947 _resultobj
= Py_None
;
9951 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9952 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
* _resultobj
;
9956 PyObject
* _argo0
= 0;
9957 char *_kwnames
[] = { "self", NULL
};
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) return NULL
;
9975 } _resultobj
= Py_BuildValue("i",_result
);
9979 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9980 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
* _resultobj
;
9984 wxGridCellAttr
* _arg2
;
9985 PyObject
* _argo0
= 0;
9986 PyObject
* _argo2
= 0;
9987 char *_kwnames
[] = { "self","row","attr", NULL
};
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10000 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10001 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) return NULL
;
10012 } Py_INCREF(Py_None
);
10013 _resultobj
= Py_None
;
10017 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10018 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
* _resultobj
;
10022 wxGridCellAttr
* _arg2
;
10023 PyObject
* _argo0
= 0;
10024 PyObject
* _argo2
= 0;
10025 char *_kwnames
[] = { "self","col","attr", NULL
};
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10038 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) return NULL
;
10050 } Py_INCREF(Py_None
);
10051 _resultobj
= Py_None
;
10055 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10056 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
* _resultobj
;
10060 PyObject
* _argo0
= 0;
10061 char *_kwnames
[] = { "self","col", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) return NULL
;
10079 } Py_INCREF(Py_None
);
10080 _resultobj
= Py_None
;
10084 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10085 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
* _resultobj
;
10089 PyObject
* _argo0
= 0;
10090 char *_kwnames
[] = { "self","col", NULL
};
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) return NULL
;
10108 } Py_INCREF(Py_None
);
10109 _resultobj
= Py_None
;
10113 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10114 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
* _resultobj
;
10118 int _arg2
= (int ) -1;
10119 int _arg3
= (int ) -1;
10120 PyObject
* _argo0
= 0;
10121 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) return NULL
;
10139 } Py_INCREF(Py_None
);
10140 _resultobj
= Py_None
;
10144 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10145 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
* _resultobj
;
10150 PyObject
* _argo0
= 0;
10151 PyObject
* _obj2
= 0;
10152 char *_kwnames
[] = { "self","col","typeName", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10165 _arg2
= wxString_in_helper(_obj2
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) return NULL
;
10175 } Py_INCREF(Py_None
);
10176 _resultobj
= Py_None
;
10184 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10185 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10188 bool _arg1
= (bool ) TRUE
;
10189 PyObject
* _argo0
= 0;
10190 int tempbool1
= (int) TRUE
;
10191 char *_kwnames
[] = { "self","enable", NULL
};
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10203 _arg1
= (bool ) tempbool1
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 wxGrid_EnableGridLines(_arg0
,_arg1
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) return NULL
;
10210 } Py_INCREF(Py_None
);
10211 _resultobj
= Py_None
;
10215 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10216 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10220 PyObject
* _argo0
= 0;
10221 char *_kwnames
[] = { "self", NULL
};
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) return NULL
;
10239 } _resultobj
= Py_BuildValue("i",_result
);
10243 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10244 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
* _resultobj
;
10248 PyObject
* _argo0
= 0;
10249 char *_kwnames
[] = { "self", NULL
};
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) return NULL
;
10267 } _resultobj
= Py_BuildValue("i",_result
);
10271 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10272 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
* _resultobj
;
10277 PyObject
* _argo0
= 0;
10278 char *_kwnames
[] = { "self","row", NULL
};
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) return NULL
;
10296 } _resultobj
= Py_BuildValue("i",_result
);
10300 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10301 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
* _resultobj
;
10305 PyObject
* _argo0
= 0;
10306 char *_kwnames
[] = { "self", NULL
};
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) return NULL
;
10324 } _resultobj
= Py_BuildValue("i",_result
);
10328 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10329 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
* _resultobj
;
10334 PyObject
* _argo0
= 0;
10335 char *_kwnames
[] = { "self","col", NULL
};
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) return NULL
;
10353 } _resultobj
= Py_BuildValue("i",_result
);
10357 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10358 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
* _resultobj
;
10360 wxColour
* _result
;
10362 PyObject
* _argo0
= 0;
10363 char *_kwnames
[] = { "self", NULL
};
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) return NULL
;
10382 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10383 _resultobj
= Py_BuildValue("s",_ptemp
);
10387 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10388 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
* _resultobj
;
10390 wxColour
* _result
;
10394 PyObject
* _argo0
= 0;
10395 char *_kwnames
[] = { "self","row","col", NULL
};
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) return NULL
;
10414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10415 _resultobj
= Py_BuildValue("s",_ptemp
);
10419 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10420 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
* _resultobj
;
10422 wxColour
* _result
;
10424 PyObject
* _argo0
= 0;
10425 char *_kwnames
[] = { "self", NULL
};
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) return NULL
;
10444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10445 _resultobj
= Py_BuildValue("s",_ptemp
);
10449 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10450 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
* _resultobj
;
10452 wxColour
* _result
;
10456 PyObject
* _argo0
= 0;
10457 char *_kwnames
[] = { "self","row","col", NULL
};
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) return NULL
;
10476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10477 _resultobj
= Py_BuildValue("s",_ptemp
);
10481 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10482 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
* _resultobj
;
10486 PyObject
* _argo0
= 0;
10487 char *_kwnames
[] = { "self", NULL
};
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) return NULL
;
10506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10507 _resultobj
= Py_BuildValue("s",_ptemp
);
10511 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10512 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10518 PyObject
* _argo0
= 0;
10519 char *_kwnames
[] = { "self","row","col", NULL
};
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) return NULL
;
10538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10539 _resultobj
= Py_BuildValue("s",_ptemp
);
10543 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10544 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
* _resultobj
;
10549 PyObject
* _argo0
= 0;
10550 PyObject
* _argo1
= 0;
10551 PyObject
* _argo2
= 0;
10552 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10572 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10573 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) return NULL
;
10584 } Py_INCREF(Py_None
);
10585 _resultobj
= Py_None
;
10589 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10590 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
* _resultobj
;
10597 PyObject
* _argo0
= 0;
10598 PyObject
* _argo3
= 0;
10599 PyObject
* _argo4
= 0;
10600 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10613 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10614 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10620 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10621 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) return NULL
;
10632 } Py_INCREF(Py_None
);
10633 _resultobj
= Py_None
;
10637 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10638 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
* _resultobj
;
10642 bool _arg2
= (bool ) FALSE
;
10643 PyObject
* _argo0
= 0;
10644 int tempbool2
= (int) FALSE
;
10645 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10657 _arg2
= (bool ) tempbool2
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) return NULL
;
10664 } Py_INCREF(Py_None
);
10665 _resultobj
= Py_None
;
10669 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10670 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
* _resultobj
;
10675 PyObject
* _argo0
= 0;
10676 char *_kwnames
[] = { "self","row","height", NULL
};
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) return NULL
;
10694 } Py_INCREF(Py_None
);
10695 _resultobj
= Py_None
;
10699 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10700 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
* _resultobj
;
10704 bool _arg2
= (bool ) FALSE
;
10705 PyObject
* _argo0
= 0;
10706 int tempbool2
= (int) FALSE
;
10707 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10719 _arg2
= (bool ) tempbool2
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) return NULL
;
10726 } Py_INCREF(Py_None
);
10727 _resultobj
= Py_None
;
10731 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10732 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
* _resultobj
;
10737 PyObject
* _argo0
= 0;
10738 char *_kwnames
[] = { "self","col","width", NULL
};
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) return NULL
;
10756 } Py_INCREF(Py_None
);
10757 _resultobj
= Py_None
;
10761 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10762 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10763 PyObject
* _resultobj
;
10766 bool _arg2
= (bool ) TRUE
;
10767 PyObject
* _argo0
= 0;
10768 int tempbool2
= (int) TRUE
;
10769 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10781 _arg2
= (bool ) tempbool2
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) return NULL
;
10788 } Py_INCREF(Py_None
);
10789 _resultobj
= Py_None
;
10793 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10794 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
* _resultobj
;
10798 bool _arg2
= (bool ) TRUE
;
10799 PyObject
* _argo0
= 0;
10800 int tempbool2
= (int) TRUE
;
10801 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10813 _arg2
= (bool ) tempbool2
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) return NULL
;
10820 } Py_INCREF(Py_None
);
10821 _resultobj
= Py_None
;
10825 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10826 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
* _resultobj
;
10829 bool _arg1
= (bool ) TRUE
;
10830 PyObject
* _argo0
= 0;
10831 int tempbool1
= (int) TRUE
;
10832 char *_kwnames
[] = { "self","setAsMin", NULL
};
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10844 _arg1
= (bool ) tempbool1
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) return NULL
;
10851 } Py_INCREF(Py_None
);
10852 _resultobj
= Py_None
;
10856 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10857 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
* _resultobj
;
10860 bool _arg1
= (bool ) TRUE
;
10861 PyObject
* _argo0
= 0;
10862 int tempbool1
= (int) TRUE
;
10863 char *_kwnames
[] = { "self","setAsMin", NULL
};
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10875 _arg1
= (bool ) tempbool1
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) return NULL
;
10882 } Py_INCREF(Py_None
);
10883 _resultobj
= Py_None
;
10887 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10888 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
* _resultobj
;
10891 PyObject
* _argo0
= 0;
10892 char *_kwnames
[] = { "self", NULL
};
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 wxGrid_AutoSize(_arg0
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) return NULL
;
10910 } Py_INCREF(Py_None
);
10911 _resultobj
= Py_None
;
10915 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10916 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
* _resultobj
;
10921 PyObject
* _argo0
= 0;
10922 char *_kwnames
[] = { "self","col","width", NULL
};
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) return NULL
;
10940 } Py_INCREF(Py_None
);
10941 _resultobj
= Py_None
;
10945 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10946 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
* _resultobj
;
10951 PyObject
* _argo0
= 0;
10952 char *_kwnames
[] = { "self","row","width", NULL
};
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) return NULL
;
10970 } Py_INCREF(Py_None
);
10971 _resultobj
= Py_None
;
10975 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10976 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
* _resultobj
;
10980 PyObject
* _argo0
= 0;
10982 PyObject
* _obj1
= 0;
10983 char *_kwnames
[] = { "self","arg2", NULL
};
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10997 if (! wxColour_helper(_obj1
, &_arg1
))
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) return NULL
;
11006 } Py_INCREF(Py_None
);
11007 _resultobj
= Py_None
;
11011 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11012 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
* _resultobj
;
11018 PyObject
* _argo0
= 0;
11020 PyObject
* _obj3
= 0;
11021 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11035 if (! wxColour_helper(_obj3
, &_arg3
))
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) return NULL
;
11044 } Py_INCREF(Py_None
);
11045 _resultobj
= Py_None
;
11049 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11050 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
* _resultobj
;
11054 PyObject
* _argo0
= 0;
11056 PyObject
* _obj1
= 0;
11057 char *_kwnames
[] = { "self","arg2", NULL
};
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11071 if (! wxColour_helper(_obj1
, &_arg1
))
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) return NULL
;
11080 } Py_INCREF(Py_None
);
11081 _resultobj
= Py_None
;
11085 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11086 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
* _resultobj
;
11092 PyObject
* _argo0
= 0;
11094 PyObject
* _obj3
= 0;
11095 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11109 if (! wxColour_helper(_obj3
, &_arg3
))
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) return NULL
;
11118 } Py_INCREF(Py_None
);
11119 _resultobj
= Py_None
;
11123 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11124 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
* _resultobj
;
11128 PyObject
* _argo0
= 0;
11129 PyObject
* _argo1
= 0;
11130 char *_kwnames
[] = { "self","arg2", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) return NULL
;
11155 } Py_INCREF(Py_None
);
11156 _resultobj
= Py_None
;
11160 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11161 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
* _resultobj
;
11167 PyObject
* _argo0
= 0;
11168 PyObject
* _argo3
= 0;
11169 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11182 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11183 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) return NULL
;
11194 } Py_INCREF(Py_None
);
11195 _resultobj
= Py_None
;
11199 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11200 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
* _resultobj
;
11205 PyObject
* _argo0
= 0;
11206 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) return NULL
;
11224 } Py_INCREF(Py_None
);
11225 _resultobj
= Py_None
;
11229 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11230 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11231 PyObject
* _resultobj
;
11237 PyObject
* _argo0
= 0;
11238 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) return NULL
;
11256 } Py_INCREF(Py_None
);
11257 _resultobj
= Py_None
;
11261 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11262 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
* _resultobj
;
11265 wxGridCellRenderer
* _arg1
;
11266 PyObject
* _argo0
= 0;
11267 PyObject
* _argo1
= 0;
11268 char *_kwnames
[] = { "self","renderer", NULL
};
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) return NULL
;
11293 } Py_INCREF(Py_None
);
11294 _resultobj
= Py_None
;
11298 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11299 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
* _resultobj
;
11304 wxGridCellRenderer
* _arg3
;
11305 PyObject
* _argo0
= 0;
11306 PyObject
* _argo3
= 0;
11307 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11320 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11321 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) return NULL
;
11332 } Py_INCREF(Py_None
);
11333 _resultobj
= Py_None
;
11337 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11338 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
* _resultobj
;
11340 wxGridCellRenderer
* _result
;
11342 PyObject
* _argo0
= 0;
11343 char *_kwnames
[] = { "self", NULL
};
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) return NULL
;
11363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11364 _resultobj
= Py_BuildValue("s",_ptemp
);
11366 Py_INCREF(Py_None
);
11367 _resultobj
= Py_None
;
11372 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11373 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
* _resultobj
;
11375 wxGridCellRenderer
* _result
;
11379 PyObject
* _argo0
= 0;
11380 char *_kwnames
[] = { "self","row","col", NULL
};
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) return NULL
;
11400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11401 _resultobj
= Py_BuildValue("s",_ptemp
);
11403 Py_INCREF(Py_None
);
11404 _resultobj
= Py_None
;
11409 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11410 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
* _resultobj
;
11413 wxGridCellEditor
* _arg1
;
11414 PyObject
* _argo0
= 0;
11415 PyObject
* _argo1
= 0;
11416 char *_kwnames
[] = { "self","editor", NULL
};
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) return NULL
;
11441 } Py_INCREF(Py_None
);
11442 _resultobj
= Py_None
;
11446 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11447 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
* _resultobj
;
11452 wxGridCellEditor
* _arg3
;
11453 PyObject
* _argo0
= 0;
11454 PyObject
* _argo3
= 0;
11455 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11468 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11469 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) return NULL
;
11480 } Py_INCREF(Py_None
);
11481 _resultobj
= Py_None
;
11485 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11486 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
* _resultobj
;
11488 wxGridCellEditor
* _result
;
11490 PyObject
* _argo0
= 0;
11491 char *_kwnames
[] = { "self", NULL
};
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) return NULL
;
11511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11512 _resultobj
= Py_BuildValue("s",_ptemp
);
11514 Py_INCREF(Py_None
);
11515 _resultobj
= Py_None
;
11520 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11521 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
* _resultobj
;
11523 wxGridCellEditor
* _result
;
11527 PyObject
* _argo0
= 0;
11528 char *_kwnames
[] = { "self","row","col", NULL
};
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) return NULL
;
11548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11549 _resultobj
= Py_BuildValue("s",_ptemp
);
11551 Py_INCREF(Py_None
);
11552 _resultobj
= Py_None
;
11557 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11558 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
* _resultobj
;
11560 wxString
* _result
;
11564 PyObject
* _argo0
= 0;
11565 char *_kwnames
[] = { "self","row","col", NULL
};
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) return NULL
;
11585 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11587 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11596 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11597 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
* _resultobj
;
11603 PyObject
* _argo0
= 0;
11604 PyObject
* _obj3
= 0;
11605 char *_kwnames
[] = { "self","row","col","s", NULL
};
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11618 _arg3
= wxString_in_helper(_obj3
);
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) return NULL
;
11628 } Py_INCREF(Py_None
);
11629 _resultobj
= Py_None
;
11637 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11638 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
* _resultobj
;
11644 PyObject
* _argo0
= 0;
11645 char *_kwnames
[] = { "self","row","col", NULL
};
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) return NULL
;
11663 } _resultobj
= Py_BuildValue("i",_result
);
11667 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11668 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
* _resultobj
;
11673 bool _arg3
= (bool ) TRUE
;
11674 PyObject
* _argo0
= 0;
11675 int tempbool3
= (int) TRUE
;
11676 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11688 _arg3
= (bool ) tempbool3
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) return NULL
;
11695 } Py_INCREF(Py_None
);
11696 _resultobj
= Py_None
;
11700 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11701 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
* _resultobj
;
11705 bool _arg2
= (bool ) FALSE
;
11706 PyObject
* _argo0
= 0;
11707 int tempbool2
= (int) FALSE
;
11708 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11720 _arg2
= (bool ) tempbool2
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) return NULL
;
11727 } Py_INCREF(Py_None
);
11728 _resultobj
= Py_None
;
11732 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11733 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
* _resultobj
;
11737 bool _arg2
= (bool ) FALSE
;
11738 PyObject
* _argo0
= 0;
11739 int tempbool2
= (int) FALSE
;
11740 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11752 _arg2
= (bool ) tempbool2
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) return NULL
;
11759 } Py_INCREF(Py_None
);
11760 _resultobj
= Py_None
;
11764 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11765 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
* _resultobj
;
11772 bool _arg5
= (bool ) FALSE
;
11773 PyObject
* _argo0
= 0;
11774 int tempbool5
= (int) FALSE
;
11775 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11787 _arg5
= (bool ) tempbool5
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) return NULL
;
11794 } Py_INCREF(Py_None
);
11795 _resultobj
= Py_None
;
11799 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11800 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
* _resultobj
;
11803 PyObject
* _argo0
= 0;
11804 char *_kwnames
[] = { "self", NULL
};
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 wxGrid_SelectAll(_arg0
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) return NULL
;
11822 } Py_INCREF(Py_None
);
11823 _resultobj
= Py_None
;
11827 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11828 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
* _resultobj
;
11832 PyObject
* _argo0
= 0;
11833 char *_kwnames
[] = { "self", NULL
};
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 _result
= (bool )wxGrid_IsSelection(_arg0
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) return NULL
;
11851 } _resultobj
= Py_BuildValue("i",_result
);
11855 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11856 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
* _resultobj
;
11859 PyObject
* _argo0
= 0;
11860 char *_kwnames
[] = { "self", NULL
};
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 wxGrid_ClearSelection(_arg0
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) return NULL
;
11878 } Py_INCREF(Py_None
);
11879 _resultobj
= Py_None
;
11883 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11884 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
* _resultobj
;
11890 PyObject
* _argo0
= 0;
11891 char *_kwnames
[] = { "self","row","col", NULL
};
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) return NULL
;
11909 } _resultobj
= Py_BuildValue("i",_result
);
11913 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11914 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
* _resultobj
;
11918 wxGridCellCoords
* _arg1
;
11919 wxGridCellCoords
* _arg2
;
11920 PyObject
* _argo0
= 0;
11921 wxGridCellCoords temp
;
11922 PyObject
* _obj1
= 0;
11923 wxGridCellCoords temp0
;
11924 PyObject
* _obj2
= 0;
11925 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11940 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11945 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) return NULL
;
11954 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11955 _resultobj
= Py_BuildValue("s",_ptemp
);
11959 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11960 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
* _resultobj
;
11962 wxColour
* _result
;
11964 PyObject
* _argo0
= 0;
11965 char *_kwnames
[] = { "self", NULL
};
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) return NULL
;
11984 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11985 _resultobj
= Py_BuildValue("s",_ptemp
);
11989 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11990 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
* _resultobj
;
11992 wxColour
* _result
;
11994 PyObject
* _argo0
= 0;
11995 char *_kwnames
[] = { "self", NULL
};
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) return NULL
;
12014 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12015 _resultobj
= Py_BuildValue("s",_ptemp
);
12019 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12020 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
* _resultobj
;
12024 PyObject
* _argo0
= 0;
12026 PyObject
* _obj1
= 0;
12027 char *_kwnames
[] = { "self","c", NULL
};
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12041 if (! wxColour_helper(_obj1
, &_arg1
))
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) return NULL
;
12050 } Py_INCREF(Py_None
);
12051 _resultobj
= Py_None
;
12055 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12056 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
* _resultobj
;
12060 PyObject
* _argo0
= 0;
12062 PyObject
* _obj1
= 0;
12063 char *_kwnames
[] = { "self","c", NULL
};
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12077 if (! wxColour_helper(_obj1
, &_arg1
))
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) return NULL
;
12086 } Py_INCREF(Py_None
);
12087 _resultobj
= Py_None
;
12091 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12092 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
* _resultobj
;
12096 wxGridCellRenderer
* _arg2
;
12097 wxGridCellEditor
* _arg3
;
12098 PyObject
* _argo0
= 0;
12099 PyObject
* _obj1
= 0;
12100 PyObject
* _argo2
= 0;
12101 PyObject
* _argo3
= 0;
12102 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12115 _arg1
= wxString_in_helper(_obj1
);
12120 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12121 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12127 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12128 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) return NULL
;
12139 } Py_INCREF(Py_None
);
12140 _resultobj
= Py_None
;
12148 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12149 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
* _resultobj
;
12151 wxGridCellEditor
* _result
;
12155 PyObject
* _argo0
= 0;
12156 char *_kwnames
[] = { "self","row","col", NULL
};
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) return NULL
;
12176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12177 _resultobj
= Py_BuildValue("s",_ptemp
);
12179 Py_INCREF(Py_None
);
12180 _resultobj
= Py_None
;
12185 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12186 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
* _resultobj
;
12188 wxGridCellRenderer
* _result
;
12192 PyObject
* _argo0
= 0;
12193 char *_kwnames
[] = { "self","row","col", NULL
};
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) return NULL
;
12213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12214 _resultobj
= Py_BuildValue("s",_ptemp
);
12216 Py_INCREF(Py_None
);
12217 _resultobj
= Py_None
;
12222 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12223 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
* _resultobj
;
12225 wxGridCellEditor
* _result
;
12228 PyObject
* _argo0
= 0;
12229 PyObject
* _obj1
= 0;
12230 char *_kwnames
[] = { "self","typeName", NULL
};
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12244 _arg1
= wxString_in_helper(_obj1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) return NULL
;
12255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12256 _resultobj
= Py_BuildValue("s",_ptemp
);
12258 Py_INCREF(Py_None
);
12259 _resultobj
= Py_None
;
12268 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12269 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
* _resultobj
;
12271 wxGridCellRenderer
* _result
;
12274 PyObject
* _argo0
= 0;
12275 PyObject
* _obj1
= 0;
12276 char *_kwnames
[] = { "self","typeName", NULL
};
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12290 _arg1
= wxString_in_helper(_obj1
);
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) return NULL
;
12301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12302 _resultobj
= Py_BuildValue("s",_ptemp
);
12304 Py_INCREF(Py_None
);
12305 _resultobj
= Py_None
;
12314 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12315 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
* _resultobj
;
12320 PyObject
* _argo0
= 0;
12321 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) return NULL
;
12339 } Py_INCREF(Py_None
);
12340 _resultobj
= Py_None
;
12344 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12345 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
* _resultobj
;
12347 wxWindow
* _result
;
12349 PyObject
* _argo0
= 0;
12350 char *_kwnames
[] = { "self", NULL
};
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) return NULL
;
12368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12372 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12373 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
* _resultobj
;
12375 wxWindow
* _result
;
12377 PyObject
* _argo0
= 0;
12378 char *_kwnames
[] = { "self", NULL
};
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) return NULL
;
12396 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12400 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12401 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12403 wxWindow
* _result
;
12405 PyObject
* _argo0
= 0;
12406 char *_kwnames
[] = { "self", NULL
};
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) return NULL
;
12424 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12428 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12429 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
* _resultobj
;
12431 wxWindow
* _result
;
12433 PyObject
* _argo0
= 0;
12434 char *_kwnames
[] = { "self", NULL
};
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) return NULL
;
12452 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12456 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12458 wxNotifyEvent
*dest
;
12459 src
= (wxGridEvent
*) ptr
;
12460 dest
= (wxNotifyEvent
*) src
;
12461 return (void *) dest
;
12464 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12466 wxCommandEvent
*dest
;
12467 src
= (wxGridEvent
*) ptr
;
12468 dest
= (wxCommandEvent
*) src
;
12469 return (void *) dest
;
12472 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12475 src
= (wxGridEvent
*) ptr
;
12476 dest
= (wxEvent
*) src
;
12477 return (void *) dest
;
12480 static void *SwigwxGridEventTowxObject(void *ptr
) {
12483 src
= (wxGridEvent
*) ptr
;
12484 dest
= (wxObject
*) src
;
12485 return (void *) dest
;
12488 #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))
12489 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
* _resultobj
;
12491 wxGridEvent
* _result
;
12495 int _arg3
= (int ) -1;
12496 int _arg4
= (int ) -1;
12497 int _arg5
= (int ) -1;
12498 int _arg6
= (int ) -1;
12499 bool _arg7
= (bool ) TRUE
;
12500 bool _arg8
= (bool ) FALSE
;
12501 bool _arg9
= (bool ) FALSE
;
12502 bool _arg10
= (bool ) FALSE
;
12503 bool _arg11
= (bool ) FALSE
;
12504 PyObject
* _argo2
= 0;
12505 int tempbool7
= (int) TRUE
;
12506 int tempbool8
= (int) FALSE
;
12507 int tempbool9
= (int) FALSE
;
12508 int tempbool10
= (int) FALSE
;
12509 int tempbool11
= (int) FALSE
;
12510 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12517 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12518 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12523 _arg7
= (bool ) tempbool7
;
12524 _arg8
= (bool ) tempbool8
;
12525 _arg9
= (bool ) tempbool9
;
12526 _arg10
= (bool ) tempbool10
;
12527 _arg11
= (bool ) tempbool11
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) return NULL
;
12535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12536 _resultobj
= Py_BuildValue("s",_ptemp
);
12538 Py_INCREF(Py_None
);
12539 _resultobj
= Py_None
;
12544 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12545 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
* _resultobj
;
12548 wxGridEvent
* _arg0
;
12549 PyObject
* _argo0
= 0;
12550 char *_kwnames
[] = { "self", NULL
};
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 _result
= (int )wxGridEvent_GetRow(_arg0
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) return NULL
;
12568 } _resultobj
= Py_BuildValue("i",_result
);
12572 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12573 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
* _resultobj
;
12576 wxGridEvent
* _arg0
;
12577 PyObject
* _argo0
= 0;
12578 char *_kwnames
[] = { "self", NULL
};
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 _result
= (int )wxGridEvent_GetCol(_arg0
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) return NULL
;
12596 } _resultobj
= Py_BuildValue("i",_result
);
12600 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12601 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
* _resultobj
;
12604 wxGridEvent
* _arg0
;
12605 PyObject
* _argo0
= 0;
12606 char *_kwnames
[] = { "self", NULL
};
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) return NULL
;
12625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12626 _resultobj
= Py_BuildValue("s",_ptemp
);
12630 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12631 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
* _resultobj
;
12634 wxGridEvent
* _arg0
;
12635 PyObject
* _argo0
= 0;
12636 char *_kwnames
[] = { "self", NULL
};
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) return NULL
;
12654 } _resultobj
= Py_BuildValue("i",_result
);
12658 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12659 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
* _resultobj
;
12662 wxGridEvent
* _arg0
;
12663 PyObject
* _argo0
= 0;
12664 char *_kwnames
[] = { "self", NULL
};
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) return NULL
;
12682 } _resultobj
= Py_BuildValue("i",_result
);
12686 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12687 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
* _resultobj
;
12690 wxGridEvent
* _arg0
;
12691 PyObject
* _argo0
= 0;
12692 char *_kwnames
[] = { "self", NULL
};
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) return NULL
;
12710 } _resultobj
= Py_BuildValue("i",_result
);
12714 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12715 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
* _resultobj
;
12718 wxGridEvent
* _arg0
;
12719 PyObject
* _argo0
= 0;
12720 char *_kwnames
[] = { "self", NULL
};
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) return NULL
;
12738 } _resultobj
= Py_BuildValue("i",_result
);
12742 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12743 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
* _resultobj
;
12746 wxGridEvent
* _arg0
;
12747 PyObject
* _argo0
= 0;
12748 char *_kwnames
[] = { "self", NULL
};
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) return NULL
;
12766 } _resultobj
= Py_BuildValue("i",_result
);
12770 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12771 wxGridSizeEvent
*src
;
12772 wxNotifyEvent
*dest
;
12773 src
= (wxGridSizeEvent
*) ptr
;
12774 dest
= (wxNotifyEvent
*) src
;
12775 return (void *) dest
;
12778 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12779 wxGridSizeEvent
*src
;
12780 wxCommandEvent
*dest
;
12781 src
= (wxGridSizeEvent
*) ptr
;
12782 dest
= (wxCommandEvent
*) src
;
12783 return (void *) dest
;
12786 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12787 wxGridSizeEvent
*src
;
12789 src
= (wxGridSizeEvent
*) ptr
;
12790 dest
= (wxEvent
*) src
;
12791 return (void *) dest
;
12794 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12795 wxGridSizeEvent
*src
;
12797 src
= (wxGridSizeEvent
*) ptr
;
12798 dest
= (wxObject
*) src
;
12799 return (void *) dest
;
12802 #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))
12803 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
* _resultobj
;
12805 wxGridSizeEvent
* _result
;
12809 int _arg3
= (int ) -1;
12810 int _arg4
= (int ) -1;
12811 int _arg5
= (int ) -1;
12812 bool _arg6
= (bool ) FALSE
;
12813 bool _arg7
= (bool ) FALSE
;
12814 bool _arg8
= (bool ) FALSE
;
12815 bool _arg9
= (bool ) FALSE
;
12816 PyObject
* _argo2
= 0;
12817 int tempbool6
= (int) FALSE
;
12818 int tempbool7
= (int) FALSE
;
12819 int tempbool8
= (int) FALSE
;
12820 int tempbool9
= (int) FALSE
;
12821 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12828 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12829 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12834 _arg6
= (bool ) tempbool6
;
12835 _arg7
= (bool ) tempbool7
;
12836 _arg8
= (bool ) tempbool8
;
12837 _arg9
= (bool ) tempbool9
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) return NULL
;
12845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12846 _resultobj
= Py_BuildValue("s",_ptemp
);
12848 Py_INCREF(Py_None
);
12849 _resultobj
= Py_None
;
12854 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12855 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
* _resultobj
;
12858 wxGridSizeEvent
* _arg0
;
12859 PyObject
* _argo0
= 0;
12860 char *_kwnames
[] = { "self", NULL
};
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) return NULL
;
12878 } _resultobj
= Py_BuildValue("i",_result
);
12882 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12883 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
* _resultobj
;
12886 wxGridSizeEvent
* _arg0
;
12887 PyObject
* _argo0
= 0;
12888 char *_kwnames
[] = { "self", NULL
};
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) return NULL
;
12907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12908 _resultobj
= Py_BuildValue("s",_ptemp
);
12912 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12913 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
* _resultobj
;
12916 wxGridSizeEvent
* _arg0
;
12917 PyObject
* _argo0
= 0;
12918 char *_kwnames
[] = { "self", NULL
};
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) return NULL
;
12936 } _resultobj
= Py_BuildValue("i",_result
);
12940 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12941 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
* _resultobj
;
12944 wxGridSizeEvent
* _arg0
;
12945 PyObject
* _argo0
= 0;
12946 char *_kwnames
[] = { "self", NULL
};
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) return NULL
;
12964 } _resultobj
= Py_BuildValue("i",_result
);
12968 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12969 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
* _resultobj
;
12972 wxGridSizeEvent
* _arg0
;
12973 PyObject
* _argo0
= 0;
12974 char *_kwnames
[] = { "self", NULL
};
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) return NULL
;
12992 } _resultobj
= Py_BuildValue("i",_result
);
12996 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12997 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
* _resultobj
;
13000 wxGridSizeEvent
* _arg0
;
13001 PyObject
* _argo0
= 0;
13002 char *_kwnames
[] = { "self", NULL
};
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) return NULL
;
13020 } _resultobj
= Py_BuildValue("i",_result
);
13024 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13025 wxGridRangeSelectEvent
*src
;
13026 wxNotifyEvent
*dest
;
13027 src
= (wxGridRangeSelectEvent
*) ptr
;
13028 dest
= (wxNotifyEvent
*) src
;
13029 return (void *) dest
;
13032 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13033 wxGridRangeSelectEvent
*src
;
13034 wxCommandEvent
*dest
;
13035 src
= (wxGridRangeSelectEvent
*) ptr
;
13036 dest
= (wxCommandEvent
*) src
;
13037 return (void *) dest
;
13040 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13041 wxGridRangeSelectEvent
*src
;
13043 src
= (wxGridRangeSelectEvent
*) ptr
;
13044 dest
= (wxEvent
*) src
;
13045 return (void *) dest
;
13048 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13049 wxGridRangeSelectEvent
*src
;
13051 src
= (wxGridRangeSelectEvent
*) ptr
;
13052 dest
= (wxObject
*) src
;
13053 return (void *) dest
;
13056 #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))
13057 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
* _resultobj
;
13059 wxGridRangeSelectEvent
* _result
;
13063 wxGridCellCoords
* _arg3
;
13064 wxGridCellCoords
* _arg4
;
13065 bool _arg5
= (bool ) TRUE
;
13066 bool _arg6
= (bool ) FALSE
;
13067 bool _arg7
= (bool ) FALSE
;
13068 bool _arg8
= (bool ) FALSE
;
13069 bool _arg9
= (bool ) FALSE
;
13070 PyObject
* _argo2
= 0;
13071 wxGridCellCoords temp
;
13072 PyObject
* _obj3
= 0;
13073 wxGridCellCoords temp0
;
13074 PyObject
* _obj4
= 0;
13075 int tempbool5
= (int) TRUE
;
13076 int tempbool6
= (int) FALSE
;
13077 int tempbool7
= (int) FALSE
;
13078 int tempbool8
= (int) FALSE
;
13079 int tempbool9
= (int) FALSE
;
13080 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13087 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13088 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13095 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13100 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13103 _arg5
= (bool ) tempbool5
;
13104 _arg6
= (bool ) tempbool6
;
13105 _arg7
= (bool ) tempbool7
;
13106 _arg8
= (bool ) tempbool8
;
13107 _arg9
= (bool ) tempbool9
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) return NULL
;
13115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13116 _resultobj
= Py_BuildValue("s",_ptemp
);
13118 Py_INCREF(Py_None
);
13119 _resultobj
= Py_None
;
13124 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13125 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
* _resultobj
;
13127 wxGridCellCoords
* _result
;
13128 wxGridRangeSelectEvent
* _arg0
;
13129 PyObject
* _argo0
= 0;
13130 char *_kwnames
[] = { "self", NULL
};
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) return NULL
;
13149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13150 _resultobj
= Py_BuildValue("s",_ptemp
);
13154 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13155 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
* _resultobj
;
13157 wxGridCellCoords
* _result
;
13158 wxGridRangeSelectEvent
* _arg0
;
13159 PyObject
* _argo0
= 0;
13160 char *_kwnames
[] = { "self", NULL
};
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) return NULL
;
13179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13180 _resultobj
= Py_BuildValue("s",_ptemp
);
13184 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13185 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
* _resultobj
;
13188 wxGridRangeSelectEvent
* _arg0
;
13189 PyObject
* _argo0
= 0;
13190 char *_kwnames
[] = { "self", NULL
};
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) return NULL
;
13208 } _resultobj
= Py_BuildValue("i",_result
);
13212 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13213 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
* _resultobj
;
13216 wxGridRangeSelectEvent
* _arg0
;
13217 PyObject
* _argo0
= 0;
13218 char *_kwnames
[] = { "self", NULL
};
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) return NULL
;
13236 } _resultobj
= Py_BuildValue("i",_result
);
13240 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13241 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
* _resultobj
;
13244 wxGridRangeSelectEvent
* _arg0
;
13245 PyObject
* _argo0
= 0;
13246 char *_kwnames
[] = { "self", NULL
};
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) return NULL
;
13264 } _resultobj
= Py_BuildValue("i",_result
);
13268 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13269 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
* _resultobj
;
13272 wxGridRangeSelectEvent
* _arg0
;
13273 PyObject
* _argo0
= 0;
13274 char *_kwnames
[] = { "self", NULL
};
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) return NULL
;
13292 } _resultobj
= Py_BuildValue("i",_result
);
13296 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13297 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
* _resultobj
;
13300 wxGridRangeSelectEvent
* _arg0
;
13301 PyObject
* _argo0
= 0;
13302 char *_kwnames
[] = { "self", NULL
};
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) return NULL
;
13320 } _resultobj
= Py_BuildValue("i",_result
);
13324 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13325 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
* _resultobj
;
13328 wxGridRangeSelectEvent
* _arg0
;
13329 PyObject
* _argo0
= 0;
13330 char *_kwnames
[] = { "self", NULL
};
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) return NULL
;
13348 } _resultobj
= Py_BuildValue("i",_result
);
13352 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13353 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
* _resultobj
;
13356 wxGridRangeSelectEvent
* _arg0
;
13357 PyObject
* _argo0
= 0;
13358 char *_kwnames
[] = { "self", NULL
};
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) return NULL
;
13376 } _resultobj
= Py_BuildValue("i",_result
);
13380 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13381 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
* _resultobj
;
13384 wxGridRangeSelectEvent
* _arg0
;
13385 PyObject
* _argo0
= 0;
13386 char *_kwnames
[] = { "self", NULL
};
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) return NULL
;
13404 } _resultobj
= Py_BuildValue("i",_result
);
13408 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13409 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
* _resultobj
;
13412 wxGridRangeSelectEvent
* _arg0
;
13413 PyObject
* _argo0
= 0;
13414 char *_kwnames
[] = { "self", NULL
};
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) return NULL
;
13432 } _resultobj
= Py_BuildValue("i",_result
);
13436 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13437 wxGridEditorCreatedEvent
*src
;
13438 wxCommandEvent
*dest
;
13439 src
= (wxGridEditorCreatedEvent
*) ptr
;
13440 dest
= (wxCommandEvent
*) src
;
13441 return (void *) dest
;
13444 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13445 wxGridEditorCreatedEvent
*src
;
13447 src
= (wxGridEditorCreatedEvent
*) ptr
;
13448 dest
= (wxEvent
*) src
;
13449 return (void *) dest
;
13452 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13453 wxGridEditorCreatedEvent
*src
;
13455 src
= (wxGridEditorCreatedEvent
*) ptr
;
13456 dest
= (wxObject
*) src
;
13457 return (void *) dest
;
13460 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13461 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
* _resultobj
;
13463 wxGridEditorCreatedEvent
* _result
;
13470 PyObject
* _argo2
= 0;
13471 PyObject
* _argo5
= 0;
13472 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13479 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13480 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13486 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13487 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) return NULL
;
13499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13500 _resultobj
= Py_BuildValue("s",_ptemp
);
13502 Py_INCREF(Py_None
);
13503 _resultobj
= Py_None
;
13508 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13509 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
* _resultobj
;
13512 wxGridEditorCreatedEvent
* _arg0
;
13513 PyObject
* _argo0
= 0;
13514 char *_kwnames
[] = { "self", NULL
};
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) return NULL
;
13532 } _resultobj
= Py_BuildValue("i",_result
);
13536 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13537 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
* _resultobj
;
13540 wxGridEditorCreatedEvent
* _arg0
;
13541 PyObject
* _argo0
= 0;
13542 char *_kwnames
[] = { "self", NULL
};
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) return NULL
;
13560 } _resultobj
= Py_BuildValue("i",_result
);
13564 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13565 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
* _resultobj
;
13567 wxControl
* _result
;
13568 wxGridEditorCreatedEvent
* _arg0
;
13569 PyObject
* _argo0
= 0;
13570 char *_kwnames
[] = { "self", NULL
};
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) return NULL
;
13588 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13592 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13593 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
* _resultobj
;
13595 wxGridEditorCreatedEvent
* _arg0
;
13597 PyObject
* _argo0
= 0;
13598 char *_kwnames
[] = { "self","row", NULL
};
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) return NULL
;
13616 } Py_INCREF(Py_None
);
13617 _resultobj
= Py_None
;
13621 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13622 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
* _resultobj
;
13624 wxGridEditorCreatedEvent
* _arg0
;
13626 PyObject
* _argo0
= 0;
13627 char *_kwnames
[] = { "self","col", NULL
};
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) return NULL
;
13645 } Py_INCREF(Py_None
);
13646 _resultobj
= Py_None
;
13650 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13651 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
* _resultobj
;
13653 wxGridEditorCreatedEvent
* _arg0
;
13655 PyObject
* _argo0
= 0;
13656 PyObject
* _argo1
= 0;
13657 char *_kwnames
[] = { "self","ctrl", NULL
};
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) return NULL
;
13682 } Py_INCREF(Py_None
);
13683 _resultobj
= Py_None
;
13687 static PyMethodDef gridcMethods
[] = {
13688 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13689 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13690 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13691 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13692 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13693 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13694 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13695 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13696 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13697 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13698 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14067 * This table is used by the pointer type-checker
14069 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14070 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14071 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14072 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14073 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14074 { "_signed_long","_long",0},
14075 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14076 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14077 { "_wxPrintQuality","_wxCoord",0},
14078 { "_wxPrintQuality","_int",0},
14079 { "_wxPrintQuality","_signed_int",0},
14080 { "_wxPrintQuality","_unsigned_int",0},
14081 { "_wxPrintQuality","_wxWindowID",0},
14082 { "_wxPrintQuality","_uint",0},
14083 { "_wxPrintQuality","_EBool",0},
14084 { "_wxPrintQuality","_size_t",0},
14085 { "_wxPrintQuality","_time_t",0},
14086 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14087 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14088 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14089 { "_byte","_unsigned_char",0},
14090 { "_long","_unsigned_long",0},
14091 { "_long","_signed_long",0},
14092 { "_size_t","_WXGRIDSELECTIONMODES",0},
14093 { "_size_t","_wxCoord",0},
14094 { "_size_t","_wxPrintQuality",0},
14095 { "_size_t","_time_t",0},
14096 { "_size_t","_unsigned_int",0},
14097 { "_size_t","_int",0},
14098 { "_size_t","_wxWindowID",0},
14099 { "_size_t","_uint",0},
14100 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14101 { "_uint","_WXGRIDSELECTIONMODES",0},
14102 { "_uint","_wxCoord",0},
14103 { "_uint","_wxPrintQuality",0},
14104 { "_uint","_time_t",0},
14105 { "_uint","_size_t",0},
14106 { "_uint","_unsigned_int",0},
14107 { "_uint","_int",0},
14108 { "_uint","_wxWindowID",0},
14109 { "_wxChar","_char",0},
14110 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14111 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14112 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14113 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14114 { "_char","_wxChar",0},
14115 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14116 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14117 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14118 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14119 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14120 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14121 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14122 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14123 { "_EBool","_WXGRIDSELECTIONMODES",0},
14124 { "_EBool","_wxCoord",0},
14125 { "_EBool","_wxPrintQuality",0},
14126 { "_EBool","_signed_int",0},
14127 { "_EBool","_int",0},
14128 { "_EBool","_wxWindowID",0},
14129 { "_unsigned_long","_long",0},
14130 { "_WXGRIDSELECTIONMODES","_int",0},
14131 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14132 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14133 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14134 { "_WXGRIDSELECTIONMODES","_uint",0},
14135 { "_WXGRIDSELECTIONMODES","_EBool",0},
14136 { "_WXGRIDSELECTIONMODES","_size_t",0},
14137 { "_WXGRIDSELECTIONMODES","_time_t",0},
14138 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14139 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14140 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14141 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14142 { "_signed_int","_wxCoord",0},
14143 { "_signed_int","_wxPrintQuality",0},
14144 { "_signed_int","_EBool",0},
14145 { "_signed_int","_wxWindowID",0},
14146 { "_signed_int","_int",0},
14147 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14148 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14149 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14150 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14151 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14152 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14153 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14154 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14155 { "_WXTYPE","_short",0},
14156 { "_WXTYPE","_signed_short",0},
14157 { "_WXTYPE","_unsigned_short",0},
14158 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14159 { "_unsigned_short","_WXTYPE",0},
14160 { "_unsigned_short","_short",0},
14161 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14162 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14163 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14164 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14165 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14166 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14167 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14168 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14169 { "_signed_short","_WXTYPE",0},
14170 { "_signed_short","_short",0},
14171 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14172 { "_unsigned_char","_byte",0},
14173 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14174 { "_unsigned_int","_wxCoord",0},
14175 { "_unsigned_int","_wxPrintQuality",0},
14176 { "_unsigned_int","_time_t",0},
14177 { "_unsigned_int","_size_t",0},
14178 { "_unsigned_int","_uint",0},
14179 { "_unsigned_int","_wxWindowID",0},
14180 { "_unsigned_int","_int",0},
14181 { "_short","_WXTYPE",0},
14182 { "_short","_unsigned_short",0},
14183 { "_short","_signed_short",0},
14184 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14185 { "_wxWindowID","_wxCoord",0},
14186 { "_wxWindowID","_wxPrintQuality",0},
14187 { "_wxWindowID","_time_t",0},
14188 { "_wxWindowID","_size_t",0},
14189 { "_wxWindowID","_EBool",0},
14190 { "_wxWindowID","_uint",0},
14191 { "_wxWindowID","_int",0},
14192 { "_wxWindowID","_signed_int",0},
14193 { "_wxWindowID","_unsigned_int",0},
14194 { "_int","_WXGRIDSELECTIONMODES",0},
14195 { "_int","_wxCoord",0},
14196 { "_int","_wxPrintQuality",0},
14197 { "_int","_time_t",0},
14198 { "_int","_size_t",0},
14199 { "_int","_EBool",0},
14200 { "_int","_uint",0},
14201 { "_int","_wxWindowID",0},
14202 { "_int","_unsigned_int",0},
14203 { "_int","_signed_int",0},
14204 { "_time_t","_WXGRIDSELECTIONMODES",0},
14205 { "_time_t","_wxCoord",0},
14206 { "_time_t","_wxPrintQuality",0},
14207 { "_time_t","_unsigned_int",0},
14208 { "_time_t","_int",0},
14209 { "_time_t","_wxWindowID",0},
14210 { "_time_t","_uint",0},
14211 { "_time_t","_size_t",0},
14212 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14213 { "_wxCoord","_int",0},
14214 { "_wxCoord","_signed_int",0},
14215 { "_wxCoord","_unsigned_int",0},
14216 { "_wxCoord","_wxWindowID",0},
14217 { "_wxCoord","_uint",0},
14218 { "_wxCoord","_EBool",0},
14219 { "_wxCoord","_size_t",0},
14220 { "_wxCoord","_time_t",0},
14221 { "_wxCoord","_wxPrintQuality",0},
14222 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14223 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14224 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14225 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14226 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14227 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14228 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14229 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14230 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14231 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14232 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14233 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14234 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14237 static PyObject
*SWIG_globals
;
14241 SWIGEXPORT(void) initgridc() {
14243 SWIG_globals
= SWIG_newvarlink();
14244 m
= Py_InitModule("gridc", gridcMethods
);
14245 d
= PyModule_GetDict(m
);
14246 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14247 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14248 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14249 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14250 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14251 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14252 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14253 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14254 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14255 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14256 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14257 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14258 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14259 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14260 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14261 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14262 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14263 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14264 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14265 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14266 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14267 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14268 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14269 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14270 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14271 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14272 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14273 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14274 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14275 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14276 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14277 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14278 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14279 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14281 wxClassInfo::CleanUpClasses();
14282 wxClassInfo::InitializeClasses();
14283 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14284 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14285 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14286 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14287 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14288 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14289 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14290 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14291 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14294 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14295 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);