2 * FILE : src/gtk/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
92 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
93 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
94 wxGridCellAttr* rval = NULL; \
96 wxPyBeginBlockThreads(); \
97 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
99 wxGridCellAttr* ptr; \
100 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
102 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
107 wxPyEndBlockThreads(); \
109 rval = PCLASS::CBNAME(a, b, c); \
112 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
113 return PCLASS::CBNAME(a, b, c); \
118 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
119 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
120 wxPyBeginBlockThreads(); \
122 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
127 wxPyEndBlockThreads(); \
129 PCLASS::CBNAME(attr, a, b); \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
137 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 wxPyBeginBlockThreads(); \
141 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
146 wxPyEndBlockThreads(); \
148 PCLASS::CBNAME(attr, val); \
150 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
151 PCLASS::CBNAME(attr, val); \
156 #define PYCALLBACK_INT__pure(CBNAME) \
158 wxPyBeginBlockThreads(); \
160 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
162 wxPyEndBlockThreads(); \
168 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
169 bool CBNAME(int a, int b) { \
170 wxPyBeginBlockThreads(); \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
174 wxPyEndBlockThreads(); \
179 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 wxPyBeginBlockThreads(); \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
187 rval = Py2wxString(ro); \
191 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("(iiO)",a,b,wx2PyString(c)));\
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 rval = Py2wxString(ro); \
218 wxPyEndBlockThreads(); \
220 rval = PCLASS::CBNAME(a, b); \
223 wxString base_##CBNAME(int a, int b) { \
224 return PCLASS::CBNAME(a, b); \
228 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
229 bool CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
234 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
235 wxPyEndBlockThreads(); \
237 rval = PCLASS::CBNAME(a,b,c); \
240 bool base_##CBNAME(int a, int b, const wxString& c) { \
241 return PCLASS::CBNAME(a,b,c); \
247 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
248 long CBNAME(int a, int b) { \
251 wxPyBeginBlockThreads(); \
252 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
254 wxPyEndBlockThreads(); \
256 rval = PCLASS::CBNAME(a,b); \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
265 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
271 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
272 wxPyEndBlockThreads(); \
274 rval = PCLASS::CBNAME(a,b); \
277 bool base_##CBNAME(int a, int b) { \
278 return PCLASS::CBNAME(a,b); \
283 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
284 double CBNAME(int a, int b) { \
286 wxPyBeginBlockThreads(); \
288 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
292 PyObject* str = PyObject_Str(ro); \
293 rval = PyFloat_AsDouble(str); \
294 Py_DECREF(ro); Py_DECREF(str); \
297 wxPyEndBlockThreads(); \
299 rval = PCLASS::CBNAME(a, b); \
302 double base_##CBNAME(int a, int b) { \
303 return PCLASS::CBNAME(a, b); \
308 #define PYCALLBACK__(PCLASS, CBNAME) \
311 wxPyBeginBlockThreads(); \
312 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
314 wxPyEndBlockThreads(); \
318 void base_##CBNAME() { \
325 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
326 bool CBNAME(size_t a, size_t b) { \
329 wxPyBeginBlockThreads(); \
330 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
332 wxPyEndBlockThreads(); \
334 rval = PCLASS::CBNAME(a,b); \
337 bool base_##CBNAME(size_t a, size_t b) { \
338 return PCLASS::CBNAME(a,b); \
343 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
344 bool CBNAME(size_t a) { \
347 wxPyBeginBlockThreads(); \
348 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
349 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
350 wxPyEndBlockThreads(); \
352 rval = PCLASS::CBNAME(a); \
355 bool base_##CBNAME(size_t a) { \
356 return PCLASS::CBNAME(a); \
360 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
361 wxString CBNAME(int a) { \
363 wxPyBeginBlockThreads(); \
365 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
367 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
369 rval = Py2wxString(ro); \
373 wxPyEndBlockThreads(); \
375 rval = PCLASS::CBNAME(a); \
378 wxString base_##CBNAME(int a) { \
379 return PCLASS::CBNAME(a); \
383 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
384 void CBNAME(int a, const wxString& c) { \
386 wxPyBeginBlockThreads(); \
387 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
388 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
389 wxPyEndBlockThreads(); \
391 PCLASS::CBNAME(a,c); \
393 void base_##CBNAME(int a, const wxString& c) { \
394 PCLASS::CBNAME(a,c); \
400 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
404 wxPyBeginBlockThreads(); \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
406 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
407 wxPyEndBlockThreads(); \
409 rval = PCLASS::CBNAME(); \
412 bool base_##CBNAME() { \
413 return PCLASS::CBNAME(); \
418 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
419 void CBNAME(size_t a, int b) { \
421 wxPyBeginBlockThreads(); \
422 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
423 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
424 wxPyEndBlockThreads(); \
426 PCLASS::CBNAME(a,b); \
428 void base_##CBNAME(size_t a, int b) { \
429 PCLASS::CBNAME(a,b); \
435 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
436 void CBNAME(int a, int b, long c) { \
438 wxPyBeginBlockThreads(); \
439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
440 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
441 wxPyEndBlockThreads(); \
443 PCLASS::CBNAME(a,b,c); \
445 void base_##CBNAME(int a, int b, long c) { \
446 PCLASS::CBNAME(a,b,c); \
452 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
453 void CBNAME(int a, int b, double c) { \
455 wxPyBeginBlockThreads(); \
456 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
457 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
458 wxPyEndBlockThreads(); \
460 PCLASS::CBNAME(a,b,c); \
462 void base_##CBNAME(int a, int b, double c) { \
463 PCLASS::CBNAME(a,b,c); \
468 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
469 void CBNAME(int a, int b, bool c) { \
471 wxPyBeginBlockThreads(); \
472 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
473 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
474 wxPyEndBlockThreads(); \
476 PCLASS::CBNAME(a,b,c); \
478 void base_##CBNAME(int a, int b, bool c) { \
479 PCLASS::CBNAME(a,b,c); \
486 class wxPyGridCellRenderer
: public wxGridCellRenderer
489 wxPyGridCellRenderer() : wxGridCellRenderer() {};
491 // Implement Python callback aware virtual methods
492 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
493 wxDC
& dc
, const wxRect
& rect
,
494 int row
, int col
, bool isSelected
) {
495 wxPyBeginBlockThreads();
496 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
497 wxPyCBH_callCallback(m_myInst
,
498 Py_BuildValue("(OOOOiii)",
499 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
500 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
501 wxPyConstructObject((void*)&dc
, "wxDC", 0),
502 wxPyConstructObject((void*)&rect
, "wxRect", 0),
503 row
, col
, isSelected
));
505 wxPyEndBlockThreads();
508 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
511 wxPyBeginBlockThreads();
512 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
515 ro
= wxPyCBH_callCallbackObj(m_myInst
,
516 Py_BuildValue("(OOOii)",
517 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
518 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
519 wxPyConstructObject((void*)&dc
, "wxDC", 0),
522 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
523 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p")) {
526 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
527 PyObject
* o1
= PySequence_GetItem(ro
, 0);
528 PyObject
* o2
= PySequence_GetItem(ro
, 1);
529 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
530 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
532 PyErr_SetString(PyExc_TypeError
, errmsg
);
537 PyErr_SetString(PyExc_TypeError
, errmsg
);
542 wxPyEndBlockThreads();
547 wxGridCellRenderer
*Clone() const {
548 wxGridCellRenderer
* rval
= NULL
;
549 wxPyBeginBlockThreads();
550 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
552 wxGridCellRenderer
* ptr
;
553 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
555 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
560 wxPyEndBlockThreads();
564 DEC_PYCALLBACK__STRING(SetParameters
);
569 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
572 class wxPyGridCellEditor
: public wxGridCellEditor
575 wxPyGridCellEditor() : wxGridCellEditor() {}
577 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
578 wxPyBeginBlockThreads();
579 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
580 wxPyCBH_callCallback(m_myInst
,
581 Py_BuildValue("(OiO)",
582 wxPyConstructObject((void*)parent
, "wxWindow", 0),
584 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
586 wxPyEndBlockThreads();
590 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
591 wxPyBeginBlockThreads();
592 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
593 wxPyCBH_callCallback(m_myInst
,
594 Py_BuildValue("(iiO)", row
, col
,
595 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
597 wxPyEndBlockThreads();
601 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
603 wxPyBeginBlockThreads();
604 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
605 rv
= wxPyCBH_callCallback(m_myInst
,
606 Py_BuildValue("(iiO)", row
, col
,
607 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
609 wxPyEndBlockThreads();
614 wxGridCellEditor
*Clone() const {
615 wxGridCellEditor
* rval
= NULL
;
616 wxPyBeginBlockThreads();
617 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
619 wxGridCellEditor
* ptr
;
620 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
622 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
627 wxPyEndBlockThreads();
632 void Show(bool show
, wxGridCellAttr
*attr
) {
634 wxPyBeginBlockThreads();
635 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
636 wxPyCBH_callCallback(m_myInst
,
637 Py_BuildValue("(iO)", show
,
638 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
639 wxPyEndBlockThreads();
641 wxGridCellEditor::Show(show
, attr
);
643 void base_Show(bool show
, wxGridCellAttr
*attr
) {
644 wxGridCellEditor::Show(show
, attr
);
648 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
650 wxPyBeginBlockThreads();
651 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
652 wxPyCBH_callCallback(m_myInst
,
653 Py_BuildValue("(OO)",
654 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
655 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
656 wxPyEndBlockThreads();
658 wxGridCellEditor::PaintBackground(rectCell
, attr
);
660 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
661 wxGridCellEditor::PaintBackground(rectCell
, attr
);
665 DEC_PYCALLBACK___pure(Reset
);
666 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
667 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
668 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
669 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
670 DEC_PYCALLBACK__(StartingClick
);
671 DEC_PYCALLBACK__(Destroy
);
672 DEC_PYCALLBACK__STRING(SetParameters
);
678 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
679 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
680 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
681 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
682 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
683 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
684 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
685 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
688 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
691 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
693 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
694 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
695 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
696 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
701 class wxPyGridTableBase
: public wxGridTableBase
704 wxPyGridTableBase() : wxGridTableBase() {}
706 PYCALLBACK_INT__pure(GetNumberRows
);
707 PYCALLBACK_INT__pure(GetNumberCols
);
708 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
709 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
710 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
711 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
712 PYCALLBACK__(wxGridTableBase
, Clear
);
713 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
714 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
715 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
716 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
717 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
718 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
719 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
720 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
721 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
722 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
723 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
724 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
725 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
726 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
727 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
730 wxString
GetValue(int row
, int col
) {
731 wxPyBeginBlockThreads();
733 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
735 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
737 rval
= Py2wxString(ro
);
741 wxPyEndBlockThreads();
745 void SetValue(int row
, int col
, const wxString
& val
) {
746 wxPyBeginBlockThreads();
747 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
748 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,wx2PyString(val
)));
750 wxPyEndBlockThreads();
754 // Map the Get/Set methods for the standard non-string types to
755 // the GetValue and SetValue python methods.
756 long GetValueAsLong( int row
, int col
) {
758 wxPyBeginBlockThreads();
759 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
762 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
763 if (ro
&& PyNumber_Check(ro
)) {
764 num
= PyNumber_Int(ro
);
766 rval
= PyInt_AsLong(num
);
772 wxPyEndBlockThreads();
776 double GetValueAsDouble( int row
, int col
) {
778 wxPyBeginBlockThreads();
779 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
782 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
783 if (ro
&& PyNumber_Check(ro
)) {
784 num
= PyNumber_Float(ro
);
786 rval
= PyFloat_AsDouble(num
);
792 wxPyEndBlockThreads();
796 bool GetValueAsBool( int row
, int col
) {
797 return (bool)GetValueAsLong(row
, col
);
800 void SetValueAsLong( int row
, int col
, long value
) {
801 wxPyBeginBlockThreads();
802 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
803 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
805 wxPyEndBlockThreads();
808 void SetValueAsDouble( int row
, int col
, double value
) {
809 wxPyBeginBlockThreads();
810 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
811 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
813 wxPyEndBlockThreads();
816 void SetValueAsBool( int row
, int col
, bool value
) {
817 SetValueAsLong( row
, col
, (long)value
);
824 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
826 // If source is an object instance then it may already be the right type
827 if (PyInstance_Check(source
)) {
828 wxGridCellCoords
* ptr
;
829 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
834 // otherwise a 2-tuple of integers is expected
835 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
836 PyObject
* o1
= PySequence_GetItem(source
, 0);
837 PyObject
* o2
= PySequence_GetItem(source
, 1);
838 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
843 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
847 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
851 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
857 static PyObject
*_wrap_wxGridNoCellCoords_get() {
861 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
862 pyobj
= PyString_FromString(ptemp
);
866 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
868 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
872 static PyObject
*_wrap_wxGridNoCellRect_get() {
876 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
877 pyobj
= PyString_FromString(ptemp
);
881 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
882 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
884 wxGridCellRenderer
* _arg0
;
886 PyObject
* _argo0
= 0;
887 PyObject
* _obj1
= 0;
888 char *_kwnames
[] = { "self","params", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
901 _arg1
= wxString_in_helper(_obj1
);
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) return NULL
;
911 } Py_INCREF(Py_None
);
912 _resultobj
= Py_None
;
920 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
921 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
923 wxGridCellRenderer
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 wxGridCellRenderer_IncRef(_arg0
);
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) return NULL
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
949 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
951 wxGridCellRenderer
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 wxGridCellRenderer_DecRef(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
977 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
979 wxGridCellRenderer
* _arg0
;
981 wxGridCellAttr
* _arg2
;
987 PyObject
* _argo0
= 0;
988 PyObject
* _argo1
= 0;
989 PyObject
* _argo2
= 0;
990 PyObject
* _argo3
= 0;
992 PyObject
* _obj4
= 0;
994 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1014 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1021 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1022 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1029 if (! wxRect_helper(_obj4
, &_arg4
))
1032 _arg7
= (bool ) tempbool7
;
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1039 } Py_INCREF(Py_None
);
1040 _resultobj
= Py_None
;
1044 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1045 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 wxGridCellRenderer
* _arg0
;
1050 wxGridCellAttr
* _arg2
;
1054 PyObject
* _argo0
= 0;
1055 PyObject
* _argo1
= 0;
1056 PyObject
* _argo2
= 0;
1057 PyObject
* _argo3
= 0;
1058 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1079 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1080 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1086 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) return NULL
;
1098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1099 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1104 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1106 wxGridCellRenderer
* _result
;
1107 wxGridCellRenderer
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1130 _resultobj
= Py_BuildValue("s",_ptemp
);
1133 _resultobj
= Py_None
;
1138 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1139 wxPyGridCellRenderer
*src
;
1140 wxGridCellRenderer
*dest
;
1141 src
= (wxPyGridCellRenderer
*) ptr
;
1142 dest
= (wxGridCellRenderer
*) src
;
1143 return (void *) dest
;
1146 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1147 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
* _resultobj
;
1149 wxPyGridCellRenderer
* _result
;
1150 char *_kwnames
[] = { NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) return NULL
;
1163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1164 _resultobj
= Py_BuildValue("s",_ptemp
);
1167 _resultobj
= Py_None
;
1172 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1173 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1175 wxPyGridCellRenderer
* _arg0
;
1178 PyObject
* _argo0
= 0;
1179 PyObject
* _obj1
= 0;
1180 PyObject
* _obj2
= 0;
1181 char *_kwnames
[] = { "self","self","_class", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) return NULL
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1210 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1211 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1213 wxPyGridCellRenderer
* _arg0
;
1215 PyObject
* _argo0
= 0;
1216 PyObject
* _obj1
= 0;
1217 char *_kwnames
[] = { "self","params", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1230 _arg1
= wxString_in_helper(_obj1
);
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) return NULL
;
1240 } Py_INCREF(Py_None
);
1241 _resultobj
= Py_None
;
1249 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1250 wxGridCellStringRenderer
*src
;
1251 wxGridCellRenderer
*dest
;
1252 src
= (wxGridCellStringRenderer
*) ptr
;
1253 dest
= (wxGridCellRenderer
*) src
;
1254 return (void *) dest
;
1257 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1258 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1260 wxGridCellStringRenderer
* _result
;
1261 char *_kwnames
[] = { NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) return NULL
;
1274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1275 _resultobj
= Py_BuildValue("s",_ptemp
);
1278 _resultobj
= Py_None
;
1283 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1284 wxGridCellNumberRenderer
*src
;
1285 wxGridCellStringRenderer
*dest
;
1286 src
= (wxGridCellNumberRenderer
*) ptr
;
1287 dest
= (wxGridCellStringRenderer
*) src
;
1288 return (void *) dest
;
1291 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1292 wxGridCellNumberRenderer
*src
;
1293 wxGridCellRenderer
*dest
;
1294 src
= (wxGridCellNumberRenderer
*) ptr
;
1295 dest
= (wxGridCellRenderer
*) src
;
1296 return (void *) dest
;
1299 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1300 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
* _resultobj
;
1302 wxGridCellNumberRenderer
* _result
;
1303 char *_kwnames
[] = { NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1317 _resultobj
= Py_BuildValue("s",_ptemp
);
1320 _resultobj
= Py_None
;
1325 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1326 wxGridCellFloatRenderer
*src
;
1327 wxGridCellStringRenderer
*dest
;
1328 src
= (wxGridCellFloatRenderer
*) ptr
;
1329 dest
= (wxGridCellStringRenderer
*) src
;
1330 return (void *) dest
;
1333 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1334 wxGridCellFloatRenderer
*src
;
1335 wxGridCellRenderer
*dest
;
1336 src
= (wxGridCellFloatRenderer
*) ptr
;
1337 dest
= (wxGridCellRenderer
*) src
;
1338 return (void *) dest
;
1341 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1342 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1344 wxGridCellFloatRenderer
* _result
;
1345 int _arg0
= (int ) -1;
1346 int _arg1
= (int ) -1;
1347 char *_kwnames
[] = { "width","precision", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1370 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxGridCellFloatRenderer
* _arg0
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) return NULL
;
1393 } _resultobj
= Py_BuildValue("i",_result
);
1397 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1398 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1400 wxGridCellFloatRenderer
* _arg0
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self","width", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 } Py_INCREF(Py_None
);
1422 _resultobj
= Py_None
;
1426 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1427 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1430 wxGridCellFloatRenderer
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } _resultobj
= Py_BuildValue("i",_result
);
1454 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1455 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1457 wxGridCellFloatRenderer
* _arg0
;
1459 PyObject
* _argo0
= 0;
1460 char *_kwnames
[] = { "self","precision", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } Py_INCREF(Py_None
);
1479 _resultobj
= Py_None
;
1483 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1484 wxGridCellBoolRenderer
*src
;
1485 wxGridCellRenderer
*dest
;
1486 src
= (wxGridCellBoolRenderer
*) ptr
;
1487 dest
= (wxGridCellRenderer
*) src
;
1488 return (void *) dest
;
1491 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1492 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxGridCellBoolRenderer
* _result
;
1495 char *_kwnames
[] = { NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1509 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 _resultobj
= Py_None
;
1517 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1518 wxGridCellDateTimeRenderer
*src
;
1519 wxGridCellStringRenderer
*dest
;
1520 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1521 dest
= (wxGridCellStringRenderer
*) src
;
1522 return (void *) dest
;
1525 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1526 wxGridCellDateTimeRenderer
*src
;
1527 wxGridCellRenderer
*dest
;
1528 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1529 dest
= (wxGridCellRenderer
*) src
;
1530 return (void *) dest
;
1533 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1534 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 wxGridCellDateTimeRenderer
* _result
;
1537 wxString
* _arg0
= (wxString
*) &"%c";
1538 wxString
* _arg1
= (wxString
*) &"%c";
1539 PyObject
* _obj0
= 0;
1540 PyObject
* _obj1
= 0;
1541 char *_kwnames
[] = { "outformat","informat", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1549 _arg0
= wxString_in_helper(_obj0
);
1555 _arg1
= wxString_in_helper(_obj1
);
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 _resultobj
= Py_None
;
1583 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1584 wxGridCellEnumRenderer
*src
;
1585 wxGridCellStringRenderer
*dest
;
1586 src
= (wxGridCellEnumRenderer
*) ptr
;
1587 dest
= (wxGridCellStringRenderer
*) src
;
1588 return (void *) dest
;
1591 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1592 wxGridCellEnumRenderer
*src
;
1593 wxGridCellRenderer
*dest
;
1594 src
= (wxGridCellEnumRenderer
*) ptr
;
1595 dest
= (wxGridCellRenderer
*) src
;
1596 return (void *) dest
;
1599 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1600 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxGridCellEnumRenderer
* _result
;
1603 wxString
* _arg0
= (wxString
*) &"";
1604 PyObject
* _obj0
= 0;
1605 char *_kwnames
[] = { "choices", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1613 _arg0
= wxString_LIST_helper(_obj0
);
1614 if (_arg0
== NULL
) {
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1626 _resultobj
= Py_BuildValue("s",_ptemp
);
1629 _resultobj
= Py_None
;
1637 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1638 wxGridCellAutoWrapStringRenderer
*src
;
1639 wxGridCellStringRenderer
*dest
;
1640 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1641 dest
= (wxGridCellStringRenderer
*) src
;
1642 return (void *) dest
;
1645 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1646 wxGridCellAutoWrapStringRenderer
*src
;
1647 wxGridCellRenderer
*dest
;
1648 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1649 dest
= (wxGridCellRenderer
*) src
;
1650 return (void *) dest
;
1653 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1654 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1656 wxGridCellAutoWrapStringRenderer
* _result
;
1657 char *_kwnames
[] = { NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1671 _resultobj
= Py_BuildValue("s",_ptemp
);
1674 _resultobj
= Py_None
;
1679 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1680 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1683 wxGridCellEditor
* _arg0
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("i",_result
);
1707 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1708 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 wxControl
* _result
;
1711 wxGridCellEditor
* _arg0
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "self", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1735 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1736 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxGridCellEditor
* _arg0
;
1740 PyObject
* _argo0
= 0;
1741 PyObject
* _argo1
= 0;
1742 char *_kwnames
[] = { "self","control", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } Py_INCREF(Py_None
);
1768 _resultobj
= Py_None
;
1772 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1773 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1775 wxGridCellEditor
* _arg0
;
1777 PyObject
* _argo0
= 0;
1778 PyObject
* _obj1
= 0;
1779 char *_kwnames
[] = { "self","params", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1792 _arg1
= wxString_in_helper(_obj1
);
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) return NULL
;
1802 } Py_INCREF(Py_None
);
1803 _resultobj
= Py_None
;
1811 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1812 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
* _resultobj
;
1814 wxGridCellEditor
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 wxGridCellEditor_IncRef(_arg0
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } Py_INCREF(Py_None
);
1835 _resultobj
= Py_None
;
1839 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1840 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1842 wxGridCellEditor
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 wxGridCellEditor_DecRef(_arg0
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1868 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1870 wxGridCellEditor
* _arg0
;
1873 wxEvtHandler
* _arg3
;
1874 PyObject
* _argo0
= 0;
1875 PyObject
* _argo1
= 0;
1876 PyObject
* _argo3
= 0;
1877 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1897 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } Py_INCREF(Py_None
);
1910 _resultobj
= Py_None
;
1914 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1915 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1917 wxGridCellEditor
* _arg0
;
1921 PyObject
* _argo0
= 0;
1922 PyObject
* _argo3
= 0;
1923 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1936 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) return NULL
;
1948 } Py_INCREF(Py_None
);
1949 _resultobj
= Py_None
;
1953 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1954 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1957 wxGridCellEditor
* _arg0
;
1961 PyObject
* _argo0
= 0;
1962 PyObject
* _argo3
= 0;
1963 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1976 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1977 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } _resultobj
= Py_BuildValue("i",_result
);
1992 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1993 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1995 wxGridCellEditor
* _arg0
;
1996 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxGridCellEditor_Reset(_arg0
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2021 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxGridCellEditor
* _result
;
2024 wxGridCellEditor
* _arg0
;
2025 PyObject
* _argo0
= 0;
2026 char *_kwnames
[] = { "self", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2047 _resultobj
= Py_BuildValue("s",_ptemp
);
2050 _resultobj
= Py_None
;
2055 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2056 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2058 wxGridCellEditor
* _arg0
;
2060 PyObject
* _argo0
= 0;
2062 PyObject
* _obj1
= 0;
2063 char *_kwnames
[] = { "self","rect", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2077 if (! wxRect_helper(_obj1
, &_arg1
))
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2086 } Py_INCREF(Py_None
);
2087 _resultobj
= Py_None
;
2091 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2092 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxGridCellEditor
* _arg0
;
2096 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2097 PyObject
* _argo0
= 0;
2099 PyObject
* _argo2
= 0;
2100 char *_kwnames
[] = { "self","show","attr", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2112 _arg1
= (bool ) tempbool1
;
2114 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2126 } Py_INCREF(Py_None
);
2127 _resultobj
= Py_None
;
2131 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2132 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxGridCellEditor
* _arg0
;
2136 wxGridCellAttr
* _arg2
;
2137 PyObject
* _argo0
= 0;
2139 PyObject
* _obj1
= 0;
2140 PyObject
* _argo2
= 0;
2141 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2155 if (! wxRect_helper(_obj1
, &_arg1
))
2159 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2177 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 wxGridCellEditor
* _arg0
;
2182 PyObject
* _argo0
= 0;
2183 PyObject
* _argo1
= 0;
2184 char *_kwnames
[] = { "self","event", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) return NULL
;
2209 } _resultobj
= Py_BuildValue("i",_result
);
2213 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2214 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2216 wxGridCellEditor
* _arg0
;
2218 PyObject
* _argo0
= 0;
2219 PyObject
* _argo1
= 0;
2220 char *_kwnames
[] = { "self","event", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) return NULL
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2251 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxGridCellEditor
* _arg0
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxGridCellEditor_StartingClick(_arg0
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2279 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2281 wxGridCellEditor
* _arg0
;
2283 PyObject
* _argo0
= 0;
2284 PyObject
* _argo1
= 0;
2285 char *_kwnames
[] = { "self","event", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2310 } Py_INCREF(Py_None
);
2311 _resultobj
= Py_None
;
2315 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2316 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2318 wxGridCellEditor
* _arg0
;
2319 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 wxGridCellEditor_Destroy(_arg0
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2343 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2344 wxPyGridCellEditor
*src
;
2345 wxGridCellEditor
*dest
;
2346 src
= (wxPyGridCellEditor
*) ptr
;
2347 dest
= (wxGridCellEditor
*) src
;
2348 return (void *) dest
;
2351 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2352 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2354 wxPyGridCellEditor
* _result
;
2355 char *_kwnames
[] = { NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) return NULL
;
2368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2369 _resultobj
= Py_BuildValue("s",_ptemp
);
2372 _resultobj
= Py_None
;
2377 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2378 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxPyGridCellEditor
* _arg0
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _obj1
= 0;
2385 PyObject
* _obj2
= 0;
2386 char *_kwnames
[] = { "self","self","_class", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) return NULL
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2416 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2418 wxPyGridCellEditor
* _arg0
;
2420 PyObject
* _argo0
= 0;
2422 PyObject
* _obj1
= 0;
2423 char *_kwnames
[] = { "self","rect", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2437 if (! wxRect_helper(_obj1
, &_arg1
))
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) return NULL
;
2446 } Py_INCREF(Py_None
);
2447 _resultobj
= Py_None
;
2451 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2452 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2454 wxPyGridCellEditor
* _arg0
;
2456 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2457 PyObject
* _argo0
= 0;
2459 PyObject
* _argo2
= 0;
2460 char *_kwnames
[] = { "self","show","attr", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2472 _arg1
= (bool ) tempbool1
;
2474 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2491 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2492 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2494 wxPyGridCellEditor
* _arg0
;
2496 wxGridCellAttr
* _arg2
;
2497 PyObject
* _argo0
= 0;
2499 PyObject
* _obj1
= 0;
2500 PyObject
* _argo2
= 0;
2501 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2515 if (! wxRect_helper(_obj1
, &_arg1
))
2519 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } Py_INCREF(Py_None
);
2532 _resultobj
= Py_None
;
2536 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2537 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2539 wxPyGridCellEditor
* _arg0
;
2541 PyObject
* _argo0
= 0;
2542 PyObject
* _argo1
= 0;
2543 char *_kwnames
[] = { "self","event", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2574 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxPyGridCellEditor
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 PyObject
* _argo1
= 0;
2580 char *_kwnames
[] = { "self","event", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) return NULL
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2611 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2613 wxPyGridCellEditor
* _arg0
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 wxPyGridCellEditor_base_StartingClick(_arg0
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } Py_INCREF(Py_None
);
2634 _resultobj
= Py_None
;
2638 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2639 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2641 wxPyGridCellEditor
* _arg0
;
2643 PyObject
* _argo0
= 0;
2644 PyObject
* _argo1
= 0;
2645 char *_kwnames
[] = { "self","event", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2676 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2678 wxPyGridCellEditor
* _arg0
;
2679 PyObject
* _argo0
= 0;
2680 char *_kwnames
[] = { "self", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxPyGridCellEditor_base_Destroy(_arg0
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2698 } Py_INCREF(Py_None
);
2699 _resultobj
= Py_None
;
2703 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2704 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2706 wxPyGridCellEditor
* _arg0
;
2708 PyObject
* _argo0
= 0;
2709 PyObject
* _obj1
= 0;
2710 char *_kwnames
[] = { "self","params", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2723 _arg1
= wxString_in_helper(_obj1
);
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2742 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2743 wxGridCellTextEditor
*src
;
2744 wxGridCellEditor
*dest
;
2745 src
= (wxGridCellTextEditor
*) ptr
;
2746 dest
= (wxGridCellEditor
*) src
;
2747 return (void *) dest
;
2750 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2751 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2753 wxGridCellTextEditor
* _result
;
2754 char *_kwnames
[] = { NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) return NULL
;
2767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2768 _resultobj
= Py_BuildValue("s",_ptemp
);
2771 _resultobj
= Py_None
;
2776 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2777 wxGridCellNumberEditor
*src
;
2778 wxGridCellTextEditor
*dest
;
2779 src
= (wxGridCellNumberEditor
*) ptr
;
2780 dest
= (wxGridCellTextEditor
*) src
;
2781 return (void *) dest
;
2784 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2785 wxGridCellNumberEditor
*src
;
2786 wxGridCellEditor
*dest
;
2787 src
= (wxGridCellNumberEditor
*) ptr
;
2788 dest
= (wxGridCellEditor
*) src
;
2789 return (void *) dest
;
2792 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2793 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxGridCellNumberEditor
* _result
;
2796 int _arg0
= (int ) -1;
2797 int _arg1
= (int ) -1;
2798 char *_kwnames
[] = { "min","max", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2812 _resultobj
= Py_BuildValue("s",_ptemp
);
2815 _resultobj
= Py_None
;
2820 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2821 wxGridCellFloatEditor
*src
;
2822 wxGridCellTextEditor
*dest
;
2823 src
= (wxGridCellFloatEditor
*) ptr
;
2824 dest
= (wxGridCellTextEditor
*) src
;
2825 return (void *) dest
;
2828 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2829 wxGridCellFloatEditor
*src
;
2830 wxGridCellEditor
*dest
;
2831 src
= (wxGridCellFloatEditor
*) ptr
;
2832 dest
= (wxGridCellEditor
*) src
;
2833 return (void *) dest
;
2836 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2837 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2839 wxGridCellFloatEditor
* _result
;
2840 char *_kwnames
[] = { NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2854 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 _resultobj
= Py_None
;
2862 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2863 wxGridCellBoolEditor
*src
;
2864 wxGridCellEditor
*dest
;
2865 src
= (wxGridCellBoolEditor
*) ptr
;
2866 dest
= (wxGridCellEditor
*) src
;
2867 return (void *) dest
;
2870 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2871 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2873 wxGridCellBoolEditor
* _result
;
2874 char *_kwnames
[] = { NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2888 _resultobj
= Py_BuildValue("s",_ptemp
);
2891 _resultobj
= Py_None
;
2896 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2897 wxGridCellChoiceEditor
*src
;
2898 wxGridCellEditor
*dest
;
2899 src
= (wxGridCellChoiceEditor
*) ptr
;
2900 dest
= (wxGridCellEditor
*) src
;
2901 return (void *) dest
;
2904 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2905 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2907 wxGridCellChoiceEditor
* _result
;
2908 int _arg0
= (int ) 0;
2909 wxString
* _arg1
= (wxString
*) NULL
;
2910 bool _arg2
= (bool ) FALSE
;
2911 PyObject
* _obj1
= 0;
2912 int tempbool2
= (int) FALSE
;
2913 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2921 _arg1
= wxString_LIST_helper(_obj1
);
2922 if (_arg1
== NULL
) {
2926 _arg2
= (bool ) tempbool2
;
2929 _arg0
= PyList_Size(_obj1
);
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) return NULL
;
2942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2943 _resultobj
= Py_BuildValue("s",_ptemp
);
2946 _resultobj
= Py_None
;
2954 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
2955 wxGridCellEnumEditor
*src
;
2956 wxGridCellChoiceEditor
*dest
;
2957 src
= (wxGridCellEnumEditor
*) ptr
;
2958 dest
= (wxGridCellChoiceEditor
*) src
;
2959 return (void *) dest
;
2962 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
2963 wxGridCellEnumEditor
*src
;
2964 wxGridCellEditor
*dest
;
2965 src
= (wxGridCellEnumEditor
*) ptr
;
2966 dest
= (wxGridCellEditor
*) src
;
2967 return (void *) dest
;
2970 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2971 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxGridCellEnumEditor
* _result
;
2974 wxString
* _arg0
= (wxString
*) &"";
2975 PyObject
* _obj0
= 0;
2976 char *_kwnames
[] = { "choices", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
2984 _arg0
= wxString_LIST_helper(_obj0
);
2985 if (_arg0
== NULL
) {
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) return NULL
;
2996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
2997 _resultobj
= Py_BuildValue("s",_ptemp
);
3000 _resultobj
= Py_None
;
3008 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3009 wxGridCellAutoWrapStringEditor
*src
;
3010 wxGridCellTextEditor
*dest
;
3011 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3012 dest
= (wxGridCellTextEditor
*) src
;
3013 return (void *) dest
;
3016 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3017 wxGridCellAutoWrapStringEditor
*src
;
3018 wxGridCellEditor
*dest
;
3019 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3020 dest
= (wxGridCellEditor
*) src
;
3021 return (void *) dest
;
3024 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3025 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxGridCellAutoWrapStringEditor
* _result
;
3028 char *_kwnames
[] = { NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) return NULL
;
3041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3042 _resultobj
= Py_BuildValue("s",_ptemp
);
3045 _resultobj
= Py_None
;
3050 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3051 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3053 wxGridCellAttr
* _result
;
3054 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "attrDefault", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3077 _resultobj
= Py_BuildValue("s",_ptemp
);
3080 _resultobj
= Py_None
;
3085 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3086 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3088 wxGridCellAttr
* _result
;
3089 wxGridCellAttr
* _arg0
;
3090 PyObject
* _argo0
= 0;
3091 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) return NULL
;
3111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3112 _resultobj
= Py_BuildValue("s",_ptemp
);
3115 _resultobj
= Py_None
;
3120 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3121 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3123 wxGridCellAttr
* _arg0
;
3124 wxGridCellAttr
* _arg1
;
3125 PyObject
* _argo0
= 0;
3126 PyObject
* _argo1
= 0;
3127 char *_kwnames
[] = { "self","mergefrom", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3158 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxGridCellAttr
* _arg0
;
3161 PyObject
* _argo0
= 0;
3162 char *_kwnames
[] = { "self", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 wxGridCellAttr_IncRef(_arg0
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3185 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3186 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxGridCellAttr
* _arg0
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxGridCellAttr_DecRef(_arg0
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) return NULL
;
3208 } Py_INCREF(Py_None
);
3209 _resultobj
= Py_None
;
3213 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3214 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxGridCellAttr
* _arg0
;
3218 PyObject
* _argo0
= 0;
3220 PyObject
* _obj1
= 0;
3221 char *_kwnames
[] = { "self","colText", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3235 if (! wxColour_helper(_obj1
, &_arg1
))
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) return NULL
;
3244 } Py_INCREF(Py_None
);
3245 _resultobj
= Py_None
;
3249 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3250 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3252 wxGridCellAttr
* _arg0
;
3254 PyObject
* _argo0
= 0;
3256 PyObject
* _obj1
= 0;
3257 char *_kwnames
[] = { "self","colBack", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3271 if (! wxColour_helper(_obj1
, &_arg1
))
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) return NULL
;
3280 } Py_INCREF(Py_None
);
3281 _resultobj
= Py_None
;
3285 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3286 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3288 wxGridCellAttr
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 PyObject
* _argo1
= 0;
3292 char *_kwnames
[] = { "self","font", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) return NULL
;
3317 } Py_INCREF(Py_None
);
3318 _resultobj
= Py_None
;
3322 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3323 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
* _resultobj
;
3325 wxGridCellAttr
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) return NULL
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3353 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxGridCellAttr
* _arg0
;
3356 bool _arg1
= (bool ) TRUE
;
3357 PyObject
* _argo0
= 0;
3358 int tempbool1
= (int) TRUE
;
3359 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3371 _arg1
= (bool ) tempbool1
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) return NULL
;
3378 } Py_INCREF(Py_None
);
3379 _resultobj
= Py_None
;
3383 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3384 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3386 wxGridCellAttr
* _arg0
;
3387 wxGridCellRenderer
* _arg1
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _argo1
= 0;
3390 char *_kwnames
[] = { "self","renderer", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) return NULL
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3420 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3421 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3423 wxGridCellAttr
* _arg0
;
3424 wxGridCellEditor
* _arg1
;
3425 PyObject
* _argo0
= 0;
3426 PyObject
* _argo1
= 0;
3427 char *_kwnames
[] = { "self","editor", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) return NULL
;
3452 } Py_INCREF(Py_None
);
3453 _resultobj
= Py_None
;
3457 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3458 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3460 wxGridCellAttr
* _arg0
;
3461 wxGridCellAttr::wxAttrKind _arg1
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self","kind", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3487 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3490 wxGridCellAttr
* _arg0
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } _resultobj
= Py_BuildValue("i",_result
);
3514 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3515 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
* _resultobj
;
3518 wxGridCellAttr
* _arg0
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) return NULL
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3543 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxGridCellAttr
* _arg0
;
3547 PyObject
* _argo0
= 0;
3548 char *_kwnames
[] = { "self", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) return NULL
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3570 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3571 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3574 wxGridCellAttr
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3594 } _resultobj
= Py_BuildValue("i",_result
);
3598 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3599 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3602 wxGridCellAttr
* _arg0
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3622 } _resultobj
= Py_BuildValue("i",_result
);
3626 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3627 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3630 wxGridCellAttr
* _arg0
;
3631 PyObject
* _argo0
= 0;
3632 char *_kwnames
[] = { "self", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) return NULL
;
3650 } _resultobj
= Py_BuildValue("i",_result
);
3654 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3655 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 wxGridCellAttr
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3678 } _resultobj
= Py_BuildValue("i",_result
);
3682 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3683 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxGridCellAttr
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "self", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3708 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3713 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3716 wxGridCellAttr
* _arg0
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3738 _resultobj
= Py_BuildValue("s",_ptemp
);
3742 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3743 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3746 wxGridCellAttr
* _arg0
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3768 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3773 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxGridCellAttr
* _arg0
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) return NULL
;
3805 } Py_INCREF(Py_None
);
3806 _resultobj
= Py_None
;
3809 o
= PyInt_FromLong((long) (*_arg1
));
3810 _resultobj
= t_output_helper(_resultobj
, o
);
3814 o
= PyInt_FromLong((long) (*_arg2
));
3815 _resultobj
= t_output_helper(_resultobj
, o
);
3820 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3821 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3823 wxGridCellRenderer
* _result
;
3824 wxGridCellAttr
* _arg0
;
3828 PyObject
* _argo0
= 0;
3829 PyObject
* _argo1
= 0;
3830 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3858 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 _resultobj
= Py_None
;
3866 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3867 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxGridCellEditor
* _result
;
3870 wxGridCellAttr
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _argo1
= 0;
3876 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3890 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) return NULL
;
3903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3904 _resultobj
= Py_BuildValue("s",_ptemp
);
3907 _resultobj
= Py_None
;
3912 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3913 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3916 wxGridCellAttr
* _arg0
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3941 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxGridCellAttr
* _arg0
;
3944 wxGridCellAttr
* _arg1
;
3945 PyObject
* _argo0
= 0;
3946 PyObject
* _argo1
= 0;
3947 char *_kwnames
[] = { "self","defAttr", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } Py_INCREF(Py_None
);
3973 _resultobj
= Py_None
;
3977 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3978 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3980 wxGridCellAttrProvider
* _result
;
3981 char *_kwnames
[] = { NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3995 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 _resultobj
= Py_None
;
4003 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4004 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4006 wxGridCellAttr
* _result
;
4007 wxGridCellAttrProvider
* _arg0
;
4010 wxGridCellAttr::wxAttrKind _arg3
;
4011 PyObject
* _argo0
= 0;
4012 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4033 _resultobj
= Py_BuildValue("s",_ptemp
);
4036 _resultobj
= Py_None
;
4041 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4042 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxGridCellAttrProvider
* _arg0
;
4045 wxGridCellAttr
* _arg1
;
4048 PyObject
* _argo0
= 0;
4049 PyObject
* _argo1
= 0;
4050 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4075 } Py_INCREF(Py_None
);
4076 _resultobj
= Py_None
;
4080 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4081 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxGridCellAttrProvider
* _arg0
;
4084 wxGridCellAttr
* _arg1
;
4086 PyObject
* _argo0
= 0;
4087 PyObject
* _argo1
= 0;
4088 char *_kwnames
[] = { "self","attr","row", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4113 } Py_INCREF(Py_None
);
4114 _resultobj
= Py_None
;
4118 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4119 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4121 wxGridCellAttrProvider
* _arg0
;
4122 wxGridCellAttr
* _arg1
;
4124 PyObject
* _argo0
= 0;
4125 PyObject
* _argo1
= 0;
4126 char *_kwnames
[] = { "self","attr","col", NULL
};
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) return NULL
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4157 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4159 wxGridCellAttrProvider
* _arg0
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) return NULL
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4187 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4189 wxGridCellAttrProvider
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4217 wxPyGridCellAttrProvider
*src
;
4218 wxGridCellAttrProvider
*dest
;
4219 src
= (wxPyGridCellAttrProvider
*) ptr
;
4220 dest
= (wxGridCellAttrProvider
*) src
;
4221 return (void *) dest
;
4224 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4225 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxPyGridCellAttrProvider
* _result
;
4228 char *_kwnames
[] = { NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4242 _resultobj
= Py_BuildValue("s",_ptemp
);
4245 _resultobj
= Py_None
;
4250 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4251 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4253 wxPyGridCellAttrProvider
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 PyObject
* _obj1
= 0;
4258 PyObject
* _obj2
= 0;
4259 char *_kwnames
[] = { "self","self","_class", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) return NULL
;
4283 } Py_INCREF(Py_None
);
4284 _resultobj
= Py_None
;
4288 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4289 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4291 wxGridCellAttr
* _result
;
4292 wxPyGridCellAttrProvider
* _arg0
;
4295 wxGridCellAttr::wxAttrKind _arg3
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4318 _resultobj
= Py_BuildValue("s",_ptemp
);
4321 _resultobj
= Py_None
;
4326 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4327 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4329 wxPyGridCellAttrProvider
* _arg0
;
4330 wxGridCellAttr
* _arg1
;
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _argo1
= 0;
4335 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } Py_INCREF(Py_None
);
4361 _resultobj
= Py_None
;
4365 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4366 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4368 wxPyGridCellAttrProvider
* _arg0
;
4369 wxGridCellAttr
* _arg1
;
4371 PyObject
* _argo0
= 0;
4372 PyObject
* _argo1
= 0;
4373 char *_kwnames
[] = { "self","attr","row", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4404 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4406 wxPyGridCellAttrProvider
* _arg0
;
4407 wxGridCellAttr
* _arg1
;
4409 PyObject
* _argo0
= 0;
4410 PyObject
* _argo1
= 0;
4411 char *_kwnames
[] = { "self","attr","col", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4441 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4442 wxGridTableBase
*src
;
4444 src
= (wxGridTableBase
*) ptr
;
4445 dest
= (wxObject
*) src
;
4446 return (void *) dest
;
4449 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4450 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4452 wxGridTableBase
* _arg0
;
4453 wxGridCellAttrProvider
* _arg1
;
4454 PyObject
* _argo0
= 0;
4455 PyObject
* _argo1
= 0;
4456 char *_kwnames
[] = { "self","attrProvider", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4487 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxGridCellAttrProvider
* _result
;
4490 wxGridTableBase
* _arg0
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4513 _resultobj
= Py_BuildValue("s",_ptemp
);
4516 _resultobj
= Py_None
;
4521 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4522 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 wxGridTableBase
* _arg0
;
4526 PyObject
* _argo0
= 0;
4527 PyObject
* _argo1
= 0;
4528 char *_kwnames
[] = { "self","grid", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxGridTableBase_SetView(_arg0
,_arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) return NULL
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4558 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4559 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4562 wxGridTableBase
* _arg0
;
4563 PyObject
* _argo0
= 0;
4564 char *_kwnames
[] = { "self", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4582 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4586 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4587 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 wxGridTableBase
* _arg0
;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } _resultobj
= Py_BuildValue("i",_result
);
4614 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4615 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4618 wxGridTableBase
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) return NULL
;
4638 } _resultobj
= Py_BuildValue("i",_result
);
4642 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4643 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4646 wxGridTableBase
* _arg0
;
4649 PyObject
* _argo0
= 0;
4650 char *_kwnames
[] = { "self","row","col", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } _resultobj
= Py_BuildValue("i",_result
);
4672 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4673 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
* _resultobj
;
4676 wxGridTableBase
* _arg0
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self","row","col", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) return NULL
;
4700 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4702 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4711 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4712 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxGridTableBase
* _arg0
;
4718 PyObject
* _argo0
= 0;
4719 PyObject
* _obj3
= 0;
4720 char *_kwnames
[] = { "self","row","col","value", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4733 _arg3
= wxString_in_helper(_obj3
);
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) return NULL
;
4743 } Py_INCREF(Py_None
);
4744 _resultobj
= Py_None
;
4752 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4753 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 wxGridTableBase
* _arg0
;
4759 PyObject
* _argo0
= 0;
4760 char *_kwnames
[] = { "self","row","col", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) return NULL
;
4780 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4782 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4791 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4792 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4795 wxGridTableBase
* _arg0
;
4799 PyObject
* _argo0
= 0;
4800 PyObject
* _obj3
= 0;
4801 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4814 _arg3
= wxString_in_helper(_obj3
);
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) return NULL
;
4824 } _resultobj
= Py_BuildValue("i",_result
);
4832 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4833 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 wxGridTableBase
* _arg0
;
4840 PyObject
* _argo0
= 0;
4841 PyObject
* _obj3
= 0;
4842 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4855 _arg3
= wxString_in_helper(_obj3
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4865 } _resultobj
= Py_BuildValue("i",_result
);
4873 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4874 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4877 wxGridTableBase
* _arg0
;
4880 PyObject
* _argo0
= 0;
4881 char *_kwnames
[] = { "self","row","col", NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) return NULL
;
4899 } _resultobj
= Py_BuildValue("l",_result
);
4903 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4904 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
* _resultobj
;
4907 wxGridTableBase
* _arg0
;
4910 PyObject
* _argo0
= 0;
4911 char *_kwnames
[] = { "self","row","col", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } _resultobj
= Py_BuildValue("d",_result
);
4933 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4934 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4937 wxGridTableBase
* _arg0
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self","row","col", NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) return NULL
;
4959 } _resultobj
= Py_BuildValue("i",_result
);
4963 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4964 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
* _resultobj
;
4966 wxGridTableBase
* _arg0
;
4970 PyObject
* _argo0
= 0;
4971 char *_kwnames
[] = { "self","row","col","value", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4994 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4995 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4997 wxGridTableBase
* _arg0
;
5001 PyObject
* _argo0
= 0;
5002 char *_kwnames
[] = { "self","row","col","value", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) return NULL
;
5020 } Py_INCREF(Py_None
);
5021 _resultobj
= Py_None
;
5025 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5026 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5028 wxGridTableBase
* _arg0
;
5032 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self","row","col","value", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5046 _arg3
= (bool ) tempbool3
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5053 } Py_INCREF(Py_None
);
5054 _resultobj
= Py_None
;
5058 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5059 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5061 wxGridTableBase
* _arg0
;
5062 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 wxGridTableBase_Clear(_arg0
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } Py_INCREF(Py_None
);
5082 _resultobj
= Py_None
;
5086 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5087 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5090 wxGridTableBase
* _arg0
;
5091 size_t _arg1
= (size_t ) 0;
5092 size_t _arg2
= (size_t ) 1;
5093 PyObject
* _argo0
= 0;
5094 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } _resultobj
= Py_BuildValue("i",_result
);
5116 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5117 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5120 wxGridTableBase
* _arg0
;
5121 size_t _arg1
= (size_t ) 1;
5122 PyObject
* _argo0
= 0;
5123 char *_kwnames
[] = { "self","numRows", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5141 } _resultobj
= Py_BuildValue("i",_result
);
5145 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5146 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5149 wxGridTableBase
* _arg0
;
5150 size_t _arg1
= (size_t ) 0;
5151 size_t _arg2
= (size_t ) 1;
5152 PyObject
* _argo0
= 0;
5153 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) return NULL
;
5171 } _resultobj
= Py_BuildValue("i",_result
);
5175 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5176 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5179 wxGridTableBase
* _arg0
;
5180 size_t _arg1
= (size_t ) 0;
5181 size_t _arg2
= (size_t ) 1;
5182 PyObject
* _argo0
= 0;
5183 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) return NULL
;
5201 } _resultobj
= Py_BuildValue("i",_result
);
5205 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5206 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5209 wxGridTableBase
* _arg0
;
5210 size_t _arg1
= (size_t ) 1;
5211 PyObject
* _argo0
= 0;
5212 char *_kwnames
[] = { "self","numCols", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) return NULL
;
5230 } _resultobj
= Py_BuildValue("i",_result
);
5234 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5235 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 wxGridTableBase
* _arg0
;
5239 size_t _arg1
= (size_t ) 0;
5240 size_t _arg2
= (size_t ) 1;
5241 PyObject
* _argo0
= 0;
5242 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) return NULL
;
5260 } _resultobj
= Py_BuildValue("i",_result
);
5264 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5265 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5268 wxGridTableBase
* _arg0
;
5270 PyObject
* _argo0
= 0;
5271 char *_kwnames
[] = { "self","row", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5291 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5293 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5302 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5303 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5306 wxGridTableBase
* _arg0
;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self","col", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5329 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5331 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5340 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5341 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 wxGridTableBase
* _arg0
;
5346 PyObject
* _argo0
= 0;
5347 PyObject
* _obj2
= 0;
5348 char *_kwnames
[] = { "self","row","value", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5361 _arg2
= wxString_in_helper(_obj2
);
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) return NULL
;
5371 } Py_INCREF(Py_None
);
5372 _resultobj
= Py_None
;
5380 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5381 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5383 wxGridTableBase
* _arg0
;
5386 PyObject
* _argo0
= 0;
5387 PyObject
* _obj2
= 0;
5388 char *_kwnames
[] = { "self","col","value", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5401 _arg2
= wxString_in_helper(_obj2
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) return NULL
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5420 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5421 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5424 wxGridTableBase
* _arg0
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) return NULL
;
5444 } _resultobj
= Py_BuildValue("i",_result
);
5448 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5449 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5451 wxGridCellAttr
* _result
;
5452 wxGridTableBase
* _arg0
;
5455 wxGridCellAttr::wxAttrKind _arg3
;
5456 PyObject
* _argo0
= 0;
5457 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) return NULL
;
5477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5478 _resultobj
= Py_BuildValue("s",_ptemp
);
5481 _resultobj
= Py_None
;
5486 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5487 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5489 wxGridTableBase
* _arg0
;
5490 wxGridCellAttr
* _arg1
;
5493 PyObject
* _argo0
= 0;
5494 PyObject
* _argo1
= 0;
5495 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) return NULL
;
5520 } Py_INCREF(Py_None
);
5521 _resultobj
= Py_None
;
5525 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5526 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5528 wxGridTableBase
* _arg0
;
5529 wxGridCellAttr
* _arg1
;
5531 PyObject
* _argo0
= 0;
5532 PyObject
* _argo1
= 0;
5533 char *_kwnames
[] = { "self","attr","row", NULL
};
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) return NULL
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5563 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5564 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxGridTableBase
* _arg0
;
5567 wxGridCellAttr
* _arg1
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _argo1
= 0;
5571 char *_kwnames
[] = { "self","attr","col", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) return NULL
;
5596 } Py_INCREF(Py_None
);
5597 _resultobj
= Py_None
;
5601 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5602 wxPyGridTableBase
*src
;
5603 wxGridTableBase
*dest
;
5604 src
= (wxPyGridTableBase
*) ptr
;
5605 dest
= (wxGridTableBase
*) src
;
5606 return (void *) dest
;
5609 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5610 wxPyGridTableBase
*src
;
5612 src
= (wxPyGridTableBase
*) ptr
;
5613 dest
= (wxObject
*) src
;
5614 return (void *) dest
;
5617 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5618 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5620 wxPyGridTableBase
* _result
;
5621 char *_kwnames
[] = { NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5635 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 _resultobj
= Py_None
;
5643 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5644 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5646 wxPyGridTableBase
* _arg0
;
5649 PyObject
* _argo0
= 0;
5650 PyObject
* _obj1
= 0;
5651 PyObject
* _obj2
= 0;
5652 char *_kwnames
[] = { "self","self","_class", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) return NULL
;
5676 } Py_INCREF(Py_None
);
5677 _resultobj
= Py_None
;
5681 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5682 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
* _resultobj
;
5684 wxPyGridTableBase
* _arg0
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 wxPyGridTableBase_Destroy(_arg0
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) return NULL
;
5704 } Py_INCREF(Py_None
);
5705 _resultobj
= Py_None
;
5709 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5710 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
* _resultobj
;
5713 wxPyGridTableBase
* _arg0
;
5716 PyObject
* _argo0
= 0;
5717 char *_kwnames
[] = { "self","row","col", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) return NULL
;
5737 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5748 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5749 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5752 wxPyGridTableBase
* _arg0
;
5756 PyObject
* _argo0
= 0;
5757 PyObject
* _obj3
= 0;
5758 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5771 _arg3
= wxString_in_helper(_obj3
);
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5781 } _resultobj
= Py_BuildValue("i",_result
);
5789 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5790 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5793 wxPyGridTableBase
* _arg0
;
5797 PyObject
* _argo0
= 0;
5798 PyObject
* _obj3
= 0;
5799 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5812 _arg3
= wxString_in_helper(_obj3
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5822 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5831 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5833 wxPyGridTableBase
* _arg0
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 wxPyGridTableBase_base_Clear(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } Py_INCREF(Py_None
);
5854 _resultobj
= Py_None
;
5858 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5859 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5862 wxPyGridTableBase
* _arg0
;
5863 size_t _arg1
= (size_t ) 0;
5864 size_t _arg2
= (size_t ) 1;
5865 PyObject
* _argo0
= 0;
5866 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5884 } _resultobj
= Py_BuildValue("i",_result
);
5888 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5889 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5892 wxPyGridTableBase
* _arg0
;
5893 size_t _arg1
= (size_t ) 1;
5894 PyObject
* _argo0
= 0;
5895 char *_kwnames
[] = { "self","numRows", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) return NULL
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5918 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxPyGridTableBase
* _arg0
;
5922 size_t _arg1
= (size_t ) 0;
5923 size_t _arg2
= (size_t ) 1;
5924 PyObject
* _argo0
= 0;
5925 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) return NULL
;
5943 } _resultobj
= Py_BuildValue("i",_result
);
5947 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5948 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5951 wxPyGridTableBase
* _arg0
;
5952 size_t _arg1
= (size_t ) 0;
5953 size_t _arg2
= (size_t ) 1;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5978 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxPyGridTableBase
* _arg0
;
5982 size_t _arg1
= (size_t ) 1;
5983 PyObject
* _argo0
= 0;
5984 char *_kwnames
[] = { "self","numCols", NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } _resultobj
= Py_BuildValue("i",_result
);
6006 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6007 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6010 wxPyGridTableBase
* _arg0
;
6011 size_t _arg1
= (size_t ) 0;
6012 size_t _arg2
= (size_t ) 1;
6013 PyObject
* _argo0
= 0;
6014 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) return NULL
;
6032 } _resultobj
= Py_BuildValue("i",_result
);
6036 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6037 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6040 wxPyGridTableBase
* _arg0
;
6042 PyObject
* _argo0
= 0;
6043 char *_kwnames
[] = { "self","row", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) return NULL
;
6063 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6065 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6074 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6075 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6078 wxPyGridTableBase
* _arg0
;
6080 PyObject
* _argo0
= 0;
6081 char *_kwnames
[] = { "self","col", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) return NULL
;
6101 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6103 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6112 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6113 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
* _resultobj
;
6115 wxPyGridTableBase
* _arg0
;
6118 PyObject
* _argo0
= 0;
6119 PyObject
* _obj2
= 0;
6120 char *_kwnames
[] = { "self","row","value", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6133 _arg2
= wxString_in_helper(_obj2
);
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) return NULL
;
6143 } Py_INCREF(Py_None
);
6144 _resultobj
= Py_None
;
6152 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6153 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6155 wxPyGridTableBase
* _arg0
;
6158 PyObject
* _argo0
= 0;
6159 PyObject
* _obj2
= 0;
6160 char *_kwnames
[] = { "self","col","value", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6173 _arg2
= wxString_in_helper(_obj2
);
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6192 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6193 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6196 wxPyGridTableBase
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } _resultobj
= Py_BuildValue("i",_result
);
6220 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6221 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxGridCellAttr
* _result
;
6224 wxPyGridTableBase
* _arg0
;
6227 wxGridCellAttr::wxAttrKind _arg3
;
6228 PyObject
* _argo0
= 0;
6229 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) return NULL
;
6249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6250 _resultobj
= Py_BuildValue("s",_ptemp
);
6253 _resultobj
= Py_None
;
6258 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6259 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6261 wxPyGridTableBase
* _arg0
;
6262 wxGridCellAttr
* _arg1
;
6265 PyObject
* _argo0
= 0;
6266 PyObject
* _argo1
= 0;
6267 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) return NULL
;
6292 } Py_INCREF(Py_None
);
6293 _resultobj
= Py_None
;
6297 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6298 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
* _resultobj
;
6300 wxPyGridTableBase
* _arg0
;
6301 wxGridCellAttr
* _arg1
;
6303 PyObject
* _argo0
= 0;
6304 PyObject
* _argo1
= 0;
6305 char *_kwnames
[] = { "self","attr","row", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6335 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6336 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
* _resultobj
;
6338 wxPyGridTableBase
* _arg0
;
6339 wxGridCellAttr
* _arg1
;
6341 PyObject
* _argo0
= 0;
6342 PyObject
* _argo1
= 0;
6343 char *_kwnames
[] = { "self","attr","col", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) return NULL
;
6368 } Py_INCREF(Py_None
);
6369 _resultobj
= Py_None
;
6373 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6374 wxGridStringTable
*src
;
6375 wxGridTableBase
*dest
;
6376 src
= (wxGridStringTable
*) ptr
;
6377 dest
= (wxGridTableBase
*) src
;
6378 return (void *) dest
;
6381 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6382 wxGridStringTable
*src
;
6384 src
= (wxGridStringTable
*) ptr
;
6385 dest
= (wxObject
*) src
;
6386 return (void *) dest
;
6389 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6390 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
* _resultobj
;
6392 wxGridStringTable
* _result
;
6393 int _arg0
= (int ) 0;
6394 int _arg1
= (int ) 0;
6395 char *_kwnames
[] = { "numRows","numCols", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6409 _resultobj
= Py_BuildValue("s",_ptemp
);
6412 _resultobj
= Py_None
;
6417 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6418 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6420 wxGridTableMessage
* _result
;
6421 wxGridTableBase
* _arg0
;
6423 int _arg2
= (int ) -1;
6424 int _arg3
= (int ) -1;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) return NULL
;
6446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6447 _resultobj
= Py_BuildValue("s",_ptemp
);
6450 _resultobj
= Py_None
;
6455 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6456 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6458 wxGridTableMessage
* _arg0
;
6459 PyObject
* _argo0
= 0;
6460 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 delete_wxGridTableMessage(_arg0
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) return NULL
;
6478 } Py_INCREF(Py_None
);
6479 _resultobj
= Py_None
;
6483 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6484 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
* _resultobj
;
6486 wxGridTableMessage
* _arg0
;
6487 wxGridTableBase
* _arg1
;
6488 PyObject
* _argo0
= 0;
6489 PyObject
* _argo1
= 0;
6490 char *_kwnames
[] = { "self","table", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) return NULL
;
6515 } Py_INCREF(Py_None
);
6516 _resultobj
= Py_None
;
6520 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6521 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
* _resultobj
;
6523 wxGridTableBase
* _result
;
6524 wxGridTableMessage
* _arg0
;
6525 PyObject
* _argo0
= 0;
6526 char *_kwnames
[] = { "self", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) return NULL
;
6544 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6548 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6549 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6551 wxGridTableMessage
* _arg0
;
6553 PyObject
* _argo0
= 0;
6554 char *_kwnames
[] = { "self","id", NULL
};
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 wxGridTableMessage_SetId(_arg0
,_arg1
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) return NULL
;
6572 } Py_INCREF(Py_None
);
6573 _resultobj
= Py_None
;
6577 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6578 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
* _resultobj
;
6581 wxGridTableMessage
* _arg0
;
6582 PyObject
* _argo0
= 0;
6583 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) return NULL
;
6601 } _resultobj
= Py_BuildValue("i",_result
);
6605 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6606 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
* _resultobj
;
6608 wxGridTableMessage
* _arg0
;
6610 PyObject
* _argo0
= 0;
6611 char *_kwnames
[] = { "self","comInt1", NULL
};
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) return NULL
;
6629 } Py_INCREF(Py_None
);
6630 _resultobj
= Py_None
;
6634 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6635 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
* _resultobj
;
6638 wxGridTableMessage
* _arg0
;
6639 PyObject
* _argo0
= 0;
6640 char *_kwnames
[] = { "self", NULL
};
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } _resultobj
= Py_BuildValue("i",_result
);
6662 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6663 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6665 wxGridTableMessage
* _arg0
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self","comInt2", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) return NULL
;
6686 } Py_INCREF(Py_None
);
6687 _resultobj
= Py_None
;
6691 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6692 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6695 wxGridTableMessage
* _arg0
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) return NULL
;
6715 } _resultobj
= Py_BuildValue("i",_result
);
6719 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6720 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6722 wxGridCellCoords
* _result
;
6723 int _arg0
= (int ) -1;
6724 int _arg1
= (int ) -1;
6725 char *_kwnames
[] = { "r","c", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) return NULL
;
6738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6739 _resultobj
= Py_BuildValue("s",_ptemp
);
6742 _resultobj
= Py_None
;
6747 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6748 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6750 wxGridCellCoords
* _arg0
;
6751 PyObject
* _argo0
= 0;
6752 char *_kwnames
[] = { "self", NULL
};
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 delete_wxGridCellCoords(_arg0
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) return NULL
;
6770 } Py_INCREF(Py_None
);
6771 _resultobj
= Py_None
;
6775 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6776 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6779 wxGridCellCoords
* _arg0
;
6780 PyObject
* _argo0
= 0;
6781 char *_kwnames
[] = { "self", NULL
};
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) return NULL
;
6799 } _resultobj
= Py_BuildValue("i",_result
);
6803 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6804 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6806 wxGridCellCoords
* _arg0
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self","n", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) return NULL
;
6827 } Py_INCREF(Py_None
);
6828 _resultobj
= Py_None
;
6832 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6833 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6836 wxGridCellCoords
* _arg0
;
6837 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self", NULL
};
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } _resultobj
= Py_BuildValue("i",_result
);
6860 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6861 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6863 wxGridCellCoords
* _arg0
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self","n", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } Py_INCREF(Py_None
);
6885 _resultobj
= Py_None
;
6889 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6890 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6892 wxGridCellCoords
* _arg0
;
6895 PyObject
* _argo0
= 0;
6896 char *_kwnames
[] = { "self","row","col", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6919 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6920 PyObject
* tup
= PyTuple_New(2);
6921 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6922 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6925 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6928 wxGridCellCoords
* _arg0
;
6929 PyObject
* _argo0
= 0;
6930 char *_kwnames
[] = { "self", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) return NULL
;
6949 _resultobj
= _result
;
6954 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6955 return *self
!= other
;
6957 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6960 wxGridCellCoords
* _arg0
;
6961 wxGridCellCoords
* _arg1
;
6962 PyObject
* _argo0
= 0;
6963 PyObject
* _argo1
= 0;
6964 char *_kwnames
[] = { "self","other", NULL
};
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) return NULL
;
6989 } _resultobj
= Py_BuildValue("i",_result
);
6993 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6995 wxScrolledWindow
*dest
;
6996 src
= (wxGrid
*) ptr
;
6997 dest
= (wxScrolledWindow
*) src
;
6998 return (void *) dest
;
7001 static void *SwigwxGridTowxPanel(void *ptr
) {
7004 src
= (wxGrid
*) ptr
;
7005 dest
= (wxPanel
*) src
;
7006 return (void *) dest
;
7009 static void *SwigwxGridTowxWindow(void *ptr
) {
7012 src
= (wxGrid
*) ptr
;
7013 dest
= (wxWindow
*) src
;
7014 return (void *) dest
;
7017 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7020 src
= (wxGrid
*) ptr
;
7021 dest
= (wxEvtHandler
*) src
;
7022 return (void *) dest
;
7025 static void *SwigwxGridTowxObject(void *ptr
) {
7028 src
= (wxGrid
*) ptr
;
7029 dest
= (wxObject
*) src
;
7030 return (void *) dest
;
7033 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7034 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7039 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7040 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7041 long _arg4
= (long ) wxWANTS_CHARS
;
7042 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7043 PyObject
* _argo0
= 0;
7045 PyObject
* _obj2
= 0;
7047 PyObject
* _obj3
= 0;
7048 PyObject
* _obj5
= 0;
7049 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
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
))
7076 _arg5
= wxString_in_helper(_obj5
);
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) return NULL
;
7087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7088 _resultobj
= Py_BuildValue("s",_ptemp
);
7091 _resultobj
= Py_None
;
7100 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7101 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7107 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7108 PyObject
* _argo0
= 0;
7109 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) return NULL
;
7127 } _resultobj
= Py_BuildValue("i",_result
);
7131 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7132 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7135 WXGRIDSELECTIONMODES _arg1
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self","selmode", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } Py_INCREF(Py_None
);
7156 _resultobj
= Py_None
;
7160 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7161 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7165 PyObject
* _argo0
= 0;
7166 char *_kwnames
[] = { "self", NULL
};
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) return NULL
;
7184 } _resultobj
= Py_BuildValue("i",_result
);
7188 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7189 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7193 PyObject
* _argo0
= 0;
7194 char *_kwnames
[] = { "self", NULL
};
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) return NULL
;
7212 } _resultobj
= Py_BuildValue("i",_result
);
7216 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7217 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7221 wxGridTableMessage
* _arg1
;
7222 PyObject
* _argo0
= 0;
7223 PyObject
* _argo1
= 0;
7224 char *_kwnames
[] = { "self","arg2", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) return NULL
;
7249 } _resultobj
= Py_BuildValue("i",_result
);
7253 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7254 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7256 wxGridTableBase
* _result
;
7258 PyObject
* _argo0
= 0;
7259 char *_kwnames
[] = { "self", NULL
};
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) return NULL
;
7277 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7281 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7282 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
* _resultobj
;
7286 wxGridTableBase
* _arg1
;
7287 bool _arg2
= (bool ) FALSE
;
7288 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7289 PyObject
* _argo0
= 0;
7290 PyObject
* _argo1
= 0;
7291 int tempbool2
= (int) FALSE
;
7292 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7305 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7311 _arg2
= (bool ) tempbool2
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) return NULL
;
7318 } _resultobj
= Py_BuildValue("i",_result
);
7322 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7323 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 wxGrid_ClearGrid(_arg0
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } Py_INCREF(Py_None
);
7346 _resultobj
= Py_None
;
7350 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7351 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7355 int _arg1
= (int ) 0;
7356 int _arg2
= (int ) 1;
7357 bool _arg3
= (bool ) TRUE
;
7358 PyObject
* _argo0
= 0;
7359 int tempbool3
= (int) TRUE
;
7360 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7372 _arg3
= (bool ) tempbool3
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) return NULL
;
7379 } _resultobj
= Py_BuildValue("i",_result
);
7383 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7384 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 int _arg1
= (int ) 1;
7389 bool _arg2
= (bool ) TRUE
;
7390 PyObject
* _argo0
= 0;
7391 int tempbool2
= (int) TRUE
;
7392 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7404 _arg2
= (bool ) tempbool2
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) return NULL
;
7411 } _resultobj
= Py_BuildValue("i",_result
);
7415 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7416 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7420 int _arg1
= (int ) 0;
7421 int _arg2
= (int ) 1;
7422 bool _arg3
= (bool ) TRUE
;
7423 PyObject
* _argo0
= 0;
7424 int tempbool3
= (int) TRUE
;
7425 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7437 _arg3
= (bool ) tempbool3
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) return NULL
;
7444 } _resultobj
= Py_BuildValue("i",_result
);
7448 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7449 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7453 int _arg1
= (int ) 0;
7454 int _arg2
= (int ) 1;
7455 bool _arg3
= (bool ) TRUE
;
7456 PyObject
* _argo0
= 0;
7457 int tempbool3
= (int) TRUE
;
7458 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7470 _arg3
= (bool ) tempbool3
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } _resultobj
= Py_BuildValue("i",_result
);
7481 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7482 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7486 int _arg1
= (int ) 1;
7487 bool _arg2
= (bool ) TRUE
;
7488 PyObject
* _argo0
= 0;
7489 int tempbool2
= (int) TRUE
;
7490 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7502 _arg2
= (bool ) tempbool2
;
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) return NULL
;
7509 } _resultobj
= Py_BuildValue("i",_result
);
7513 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7514 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7518 int _arg1
= (int ) 0;
7519 int _arg2
= (int ) 1;
7520 bool _arg3
= (bool ) TRUE
;
7521 PyObject
* _argo0
= 0;
7522 int tempbool3
= (int) TRUE
;
7523 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7535 _arg3
= (bool ) tempbool3
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } _resultobj
= Py_BuildValue("i",_result
);
7546 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7547 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
* _resultobj
;
7551 wxGridCellAttr
* _arg2
;
7552 PyObject
* _argo0
= 0;
7553 PyObject
* _argo1
= 0;
7554 PyObject
* _argo2
= 0;
7555 char *_kwnames
[] = { "self","dc","attr", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7575 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) return NULL
;
7587 } Py_INCREF(Py_None
);
7588 _resultobj
= Py_None
;
7592 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7593 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7599 int _arg4
= (int ) wxLEFT
;
7600 int _arg5
= (int ) wxTOP
;
7601 PyObject
* _argo0
= 0;
7602 PyObject
* _argo1
= 0;
7603 PyObject
* _obj2
= 0;
7605 PyObject
* _obj3
= 0;
7606 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7626 _arg2
= wxString_in_helper(_obj2
);
7632 if (! wxRect_helper(_obj3
, &_arg3
))
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } Py_INCREF(Py_None
);
7642 _resultobj
= Py_None
;
7650 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7651 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
* _resultobj
;
7655 wxArrayString
* _arg2
;
7660 PyObject
* _argo0
= 0;
7661 PyObject
* _argo1
= 0;
7662 PyObject
* _obj2
= 0;
7663 char *_kwnames
[] = { "self","dc","lines", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7689 if (! PySequence_Check(_obj2
)) {
7690 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7693 _arg2
= new wxArrayString
;
7694 int i
, len
=PySequence_Length(_obj2
);
7695 for (i
=0; i
<len
; i
++) {
7696 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7698 PyObject
* str
= PyObject_Unicode(item
);
7699 _arg2
->Add(PyUnicode_AsUnicode(str
));
7701 PyObject
* str
= PyObject_Str(item
);
7702 _arg2
->Add(PyString_AsString(str
));
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) return NULL
;
7714 } Py_INCREF(Py_None
);
7715 _resultobj
= Py_None
;
7718 o
= PyInt_FromLong((long) (*_arg3
));
7719 _resultobj
= t_output_helper(_resultobj
, o
);
7723 o
= PyInt_FromLong((long) (*_arg4
));
7724 _resultobj
= t_output_helper(_resultobj
, o
);
7733 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7734 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
* _resultobj
;
7737 PyObject
* _argo0
= 0;
7738 char *_kwnames
[] = { "self", NULL
};
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 wxGrid_BeginBatch(_arg0
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) return NULL
;
7756 } Py_INCREF(Py_None
);
7757 _resultobj
= Py_None
;
7761 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7762 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
* _resultobj
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self", NULL
};
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 wxGrid_EndBatch(_arg0
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } Py_INCREF(Py_None
);
7785 _resultobj
= Py_None
;
7789 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7790 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
* _resultobj
;
7794 PyObject
* _argo0
= 0;
7795 char *_kwnames
[] = { "self", NULL
};
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) return NULL
;
7813 } _resultobj
= Py_BuildValue("i",_result
);
7817 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7818 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7821 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 wxGrid_ForceRefresh(_arg0
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) return NULL
;
7840 } Py_INCREF(Py_None
);
7841 _resultobj
= Py_None
;
7845 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7846 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7850 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 _result
= (bool )wxGrid_IsEditable(_arg0
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) return NULL
;
7869 } _resultobj
= Py_BuildValue("i",_result
);
7873 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7874 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7878 PyObject
* _argo0
= 0;
7880 char *_kwnames
[] = { "self","edit", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7892 _arg1
= (bool ) tempbool1
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 wxGrid_EnableEditing(_arg0
,_arg1
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7899 } Py_INCREF(Py_None
);
7900 _resultobj
= Py_None
;
7904 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7905 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7908 bool _arg1
= (bool ) TRUE
;
7909 PyObject
* _argo0
= 0;
7910 int tempbool1
= (int) TRUE
;
7911 char *_kwnames
[] = { "self","enable", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7923 _arg1
= (bool ) tempbool1
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) return NULL
;
7930 } Py_INCREF(Py_None
);
7931 _resultobj
= Py_None
;
7935 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7936 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7939 PyObject
* _argo0
= 0;
7940 char *_kwnames
[] = { "self", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 wxGrid_DisableCellEditControl(_arg0
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } Py_INCREF(Py_None
);
7959 _resultobj
= Py_None
;
7963 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7964 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7968 PyObject
* _argo0
= 0;
7969 char *_kwnames
[] = { "self", NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) return NULL
;
7987 } _resultobj
= Py_BuildValue("i",_result
);
7991 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7992 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
* _resultobj
;
7996 PyObject
* _argo0
= 0;
7997 char *_kwnames
[] = { "self", NULL
};
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8015 } _resultobj
= Py_BuildValue("i",_result
);
8019 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8020 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
* _resultobj
;
8024 PyObject
* _argo0
= 0;
8025 char *_kwnames
[] = { "self", NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8043 } _resultobj
= Py_BuildValue("i",_result
);
8047 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8048 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
* _resultobj
;
8052 PyObject
* _argo0
= 0;
8053 char *_kwnames
[] = { "self", NULL
};
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) return NULL
;
8071 } _resultobj
= Py_BuildValue("i",_result
);
8075 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8076 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
* _resultobj
;
8079 PyObject
* _argo0
= 0;
8080 char *_kwnames
[] = { "self", NULL
};
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxGrid_ShowCellEditControl(_arg0
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } Py_INCREF(Py_None
);
8099 _resultobj
= Py_None
;
8103 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8104 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
* _resultobj
;
8107 PyObject
* _argo0
= 0;
8108 char *_kwnames
[] = { "self", NULL
};
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxGrid_HideCellEditControl(_arg0
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) return NULL
;
8126 } Py_INCREF(Py_None
);
8127 _resultobj
= Py_None
;
8131 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8132 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8135 PyObject
* _argo0
= 0;
8136 char *_kwnames
[] = { "self", NULL
};
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 wxGrid_SaveEditControlValue(_arg0
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) return NULL
;
8154 } Py_INCREF(Py_None
);
8155 _resultobj
= Py_None
;
8159 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8160 wxGridCellCoords rv
;
8161 self
->XYToCell(x
, y
, rv
);
8162 return new wxGridCellCoords(rv
);
8164 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
* _resultobj
;
8166 wxGridCellCoords
* _result
;
8170 PyObject
* _argo0
= 0;
8171 char *_kwnames
[] = { "self","x","y", NULL
};
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8192 _resultobj
= Py_BuildValue("s",_ptemp
);
8195 _resultobj
= Py_None
;
8200 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8201 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8206 PyObject
* _argo0
= 0;
8207 char *_kwnames
[] = { "self","y", NULL
};
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) return NULL
;
8225 } _resultobj
= Py_BuildValue("i",_result
);
8229 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8230 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 char *_kwnames
[] = { "self","x", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8254 } _resultobj
= Py_BuildValue("i",_result
);
8258 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8259 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
* _resultobj
;
8264 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self","y", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) return NULL
;
8283 } _resultobj
= Py_BuildValue("i",_result
);
8287 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8288 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8293 PyObject
* _argo0
= 0;
8294 char *_kwnames
[] = { "self","x", NULL
};
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) return NULL
;
8312 } _resultobj
= Py_BuildValue("i",_result
);
8316 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8317 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
* _resultobj
;
8323 PyObject
* _argo0
= 0;
8324 char *_kwnames
[] = { "self","row","col", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) return NULL
;
8343 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8344 _resultobj
= Py_BuildValue("s",_ptemp
);
8348 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8349 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self", NULL
};
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) return NULL
;
8372 } _resultobj
= Py_BuildValue("i",_result
);
8376 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8377 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
* _resultobj
;
8381 PyObject
* _argo0
= 0;
8382 char *_kwnames
[] = { "self", NULL
};
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) return NULL
;
8400 } _resultobj
= Py_BuildValue("i",_result
);
8404 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8405 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8411 bool _arg3
= (bool ) TRUE
;
8412 PyObject
* _argo0
= 0;
8413 int tempbool3
= (int) TRUE
;
8414 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8426 _arg3
= (bool ) tempbool3
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8433 } _resultobj
= Py_BuildValue("i",_result
);
8437 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8438 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
* _resultobj
;
8443 PyObject
* _argo0
= 0;
8444 char *_kwnames
[] = { "self","row","col", NULL
};
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) return NULL
;
8462 } Py_INCREF(Py_None
);
8463 _resultobj
= Py_None
;
8467 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8468 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
* _resultobj
;
8473 PyObject
* _argo0
= 0;
8474 char *_kwnames
[] = { "self","row","col", NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) return NULL
;
8492 } Py_INCREF(Py_None
);
8493 _resultobj
= Py_None
;
8497 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8498 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
* _resultobj
;
8503 PyObject
* _argo0
= 0;
8505 char *_kwnames
[] = { "self","expandSelection", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8517 _arg1
= (bool ) tempbool1
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) return NULL
;
8524 } _resultobj
= Py_BuildValue("i",_result
);
8528 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8529 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8536 char *_kwnames
[] = { "self","expandSelection", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8548 _arg1
= (bool ) tempbool1
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) return NULL
;
8555 } _resultobj
= Py_BuildValue("i",_result
);
8559 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8560 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8567 char *_kwnames
[] = { "self","expandSelection", NULL
};
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8579 _arg1
= (bool ) tempbool1
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) return NULL
;
8586 } _resultobj
= Py_BuildValue("i",_result
);
8590 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8591 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
* _resultobj
;
8596 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self","expandSelection", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8610 _arg1
= (bool ) tempbool1
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) return NULL
;
8617 } _resultobj
= Py_BuildValue("i",_result
);
8621 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8622 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
* _resultobj
;
8626 PyObject
* _argo0
= 0;
8627 char *_kwnames
[] = { "self", NULL
};
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) return NULL
;
8645 } _resultobj
= Py_BuildValue("i",_result
);
8649 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8650 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8654 PyObject
* _argo0
= 0;
8655 char *_kwnames
[] = { "self", NULL
};
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) return NULL
;
8673 } _resultobj
= Py_BuildValue("i",_result
);
8677 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8678 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
* _resultobj
;
8683 PyObject
* _argo0
= 0;
8685 char *_kwnames
[] = { "self","expandSelection", NULL
};
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8697 _arg1
= (bool ) tempbool1
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) return NULL
;
8704 } _resultobj
= Py_BuildValue("i",_result
);
8708 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8709 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
* _resultobj
;
8714 PyObject
* _argo0
= 0;
8716 char *_kwnames
[] = { "self","expandSelection", NULL
};
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8728 _arg1
= (bool ) tempbool1
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) return NULL
;
8735 } _resultobj
= Py_BuildValue("i",_result
);
8739 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8740 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
* _resultobj
;
8745 PyObject
* _argo0
= 0;
8747 char *_kwnames
[] = { "self","expandSelection", NULL
};
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8759 _arg1
= (bool ) tempbool1
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) return NULL
;
8766 } _resultobj
= Py_BuildValue("i",_result
);
8770 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8771 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
* _resultobj
;
8776 PyObject
* _argo0
= 0;
8778 char *_kwnames
[] = { "self","expandSelection", NULL
};
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8790 _arg1
= (bool ) tempbool1
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) return NULL
;
8797 } _resultobj
= Py_BuildValue("i",_result
);
8801 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8802 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
* _resultobj
;
8806 PyObject
* _argo0
= 0;
8807 char *_kwnames
[] = { "self", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) return NULL
;
8825 } _resultobj
= Py_BuildValue("i",_result
);
8829 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8830 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
* _resultobj
;
8834 PyObject
* _argo0
= 0;
8835 char *_kwnames
[] = { "self", NULL
};
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) return NULL
;
8853 } _resultobj
= Py_BuildValue("i",_result
);
8857 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8858 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
* _resultobj
;
8862 PyObject
* _argo0
= 0;
8863 char *_kwnames
[] = { "self", NULL
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } _resultobj
= Py_BuildValue("i",_result
);
8885 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8886 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8890 PyObject
* _argo0
= 0;
8891 char *_kwnames
[] = { "self", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8909 } _resultobj
= Py_BuildValue("i",_result
);
8913 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8914 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8918 PyObject
* _argo0
= 0;
8919 char *_kwnames
[] = { "self", NULL
};
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) return NULL
;
8938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8939 _resultobj
= Py_BuildValue("s",_ptemp
);
8943 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8944 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
* _resultobj
;
8948 PyObject
* _argo0
= 0;
8949 char *_kwnames
[] = { "self", NULL
};
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8969 _resultobj
= Py_BuildValue("s",_ptemp
);
8973 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8974 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
* _resultobj
;
8978 PyObject
* _argo0
= 0;
8979 char *_kwnames
[] = { "self", NULL
};
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) return NULL
;
8998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8999 _resultobj
= Py_BuildValue("s",_ptemp
);
9003 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9004 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9011 PyObject
* _argo0
= 0;
9012 char *_kwnames
[] = { "self", NULL
};
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) return NULL
;
9036 } Py_INCREF(Py_None
);
9037 _resultobj
= Py_None
;
9040 o
= PyInt_FromLong((long) (*_arg1
));
9041 _resultobj
= t_output_helper(_resultobj
, o
);
9045 o
= PyInt_FromLong((long) (*_arg2
));
9046 _resultobj
= t_output_helper(_resultobj
, o
);
9051 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9052 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
* _resultobj
;
9059 PyObject
* _argo0
= 0;
9060 char *_kwnames
[] = { "self", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) return NULL
;
9084 } Py_INCREF(Py_None
);
9085 _resultobj
= Py_None
;
9088 o
= PyInt_FromLong((long) (*_arg1
));
9089 _resultobj
= t_output_helper(_resultobj
, o
);
9093 o
= PyInt_FromLong((long) (*_arg2
));
9094 _resultobj
= t_output_helper(_resultobj
, o
);
9099 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9100 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
* _resultobj
;
9105 PyObject
* _argo0
= 0;
9106 char *_kwnames
[] = { "self","row", NULL
};
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9126 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9128 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9137 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9138 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
* _resultobj
;
9143 PyObject
* _argo0
= 0;
9144 char *_kwnames
[] = { "self","col", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) return NULL
;
9164 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9166 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9175 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9176 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
* _resultobj
;
9180 PyObject
* _argo0
= 0;
9181 char *_kwnames
[] = { "self", NULL
};
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) return NULL
;
9200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9201 _resultobj
= Py_BuildValue("s",_ptemp
);
9205 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9206 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
* _resultobj
;
9210 PyObject
* _argo0
= 0;
9211 char *_kwnames
[] = { "self", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) return NULL
;
9230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9231 _resultobj
= Py_BuildValue("s",_ptemp
);
9235 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9236 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
* _resultobj
;
9240 PyObject
* _argo0
= 0;
9241 char *_kwnames
[] = { "self", NULL
};
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) return NULL
;
9259 } _resultobj
= Py_BuildValue("i",_result
);
9263 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9264 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
* _resultobj
;
9268 PyObject
* _argo0
= 0;
9269 char *_kwnames
[] = { "self", NULL
};
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) return NULL
;
9287 } _resultobj
= Py_BuildValue("i",_result
);
9291 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9292 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
* _resultobj
;
9296 PyObject
* _argo0
= 0;
9297 char *_kwnames
[] = { "self","width", NULL
};
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) return NULL
;
9315 } Py_INCREF(Py_None
);
9316 _resultobj
= Py_None
;
9320 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9321 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
* _resultobj
;
9325 PyObject
* _argo0
= 0;
9326 char *_kwnames
[] = { "self","height", NULL
};
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) return NULL
;
9344 } Py_INCREF(Py_None
);
9345 _resultobj
= Py_None
;
9349 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9350 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
* _resultobj
;
9354 PyObject
* _argo0
= 0;
9356 PyObject
* _obj1
= 0;
9357 char *_kwnames
[] = { "self","arg2", NULL
};
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9371 if (! wxColour_helper(_obj1
, &_arg1
))
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9380 } Py_INCREF(Py_None
);
9381 _resultobj
= Py_None
;
9385 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9386 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9390 PyObject
* _argo0
= 0;
9392 PyObject
* _obj1
= 0;
9393 char *_kwnames
[] = { "self","arg2", NULL
};
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9407 if (! wxColour_helper(_obj1
, &_arg1
))
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) return NULL
;
9416 } Py_INCREF(Py_None
);
9417 _resultobj
= Py_None
;
9421 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9422 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
* _resultobj
;
9426 PyObject
* _argo0
= 0;
9427 PyObject
* _argo1
= 0;
9428 char *_kwnames
[] = { "self","arg2", NULL
};
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) return NULL
;
9453 } Py_INCREF(Py_None
);
9454 _resultobj
= Py_None
;
9458 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9459 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
* _resultobj
;
9464 PyObject
* _argo0
= 0;
9465 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) return NULL
;
9483 } Py_INCREF(Py_None
);
9484 _resultobj
= Py_None
;
9488 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9489 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
* _resultobj
;
9494 PyObject
* _argo0
= 0;
9495 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) return NULL
;
9513 } Py_INCREF(Py_None
);
9514 _resultobj
= Py_None
;
9518 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9519 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
* _resultobj
;
9524 PyObject
* _argo0
= 0;
9525 PyObject
* _obj2
= 0;
9526 char *_kwnames
[] = { "self","row","arg3", NULL
};
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9539 _arg2
= wxString_in_helper(_obj2
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) return NULL
;
9549 } Py_INCREF(Py_None
);
9550 _resultobj
= Py_None
;
9558 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9559 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
* _resultobj
;
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _obj2
= 0;
9566 char *_kwnames
[] = { "self","col","arg3", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9579 _arg2
= wxString_in_helper(_obj2
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) return NULL
;
9589 } Py_INCREF(Py_None
);
9590 _resultobj
= Py_None
;
9598 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9599 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
* _resultobj
;
9603 PyObject
* _argo0
= 0;
9605 PyObject
* _obj1
= 0;
9606 char *_kwnames
[] = { "self","arg2", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9620 if (! wxColour_helper(_obj1
, &_arg1
))
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } Py_INCREF(Py_None
);
9630 _resultobj
= Py_None
;
9634 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9635 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
* _resultobj
;
9639 PyObject
* _argo0
= 0;
9641 PyObject
* _obj1
= 0;
9642 char *_kwnames
[] = { "self","arg2", NULL
};
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9656 if (! wxColour_helper(_obj1
, &_arg1
))
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) return NULL
;
9665 } Py_INCREF(Py_None
);
9666 _resultobj
= Py_None
;
9670 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9671 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
* _resultobj
;
9675 PyObject
* _argo0
= 0;
9676 char *_kwnames
[] = { "self","width", NULL
};
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) return NULL
;
9694 } Py_INCREF(Py_None
);
9695 _resultobj
= Py_None
;
9699 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9700 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "self","width", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) return NULL
;
9723 } Py_INCREF(Py_None
);
9724 _resultobj
= Py_None
;
9728 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9729 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
* _resultobj
;
9732 bool _arg1
= (bool ) TRUE
;
9733 PyObject
* _argo0
= 0;
9734 int tempbool1
= (int) TRUE
;
9735 char *_kwnames
[] = { "self","enable", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9747 _arg1
= (bool ) tempbool1
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) return NULL
;
9754 } Py_INCREF(Py_None
);
9755 _resultobj
= Py_None
;
9759 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9760 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
* _resultobj
;
9763 PyObject
* _argo0
= 0;
9764 char *_kwnames
[] = { "self", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 wxGrid_DisableDragRowSize(_arg0
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) return NULL
;
9782 } Py_INCREF(Py_None
);
9783 _resultobj
= Py_None
;
9787 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9788 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9792 PyObject
* _argo0
= 0;
9793 char *_kwnames
[] = { "self", NULL
};
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) return NULL
;
9811 } _resultobj
= Py_BuildValue("i",_result
);
9815 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9816 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
* _resultobj
;
9819 bool _arg1
= (bool ) TRUE
;
9820 PyObject
* _argo0
= 0;
9821 int tempbool1
= (int) TRUE
;
9822 char *_kwnames
[] = { "self","enable", NULL
};
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9834 _arg1
= (bool ) tempbool1
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) return NULL
;
9841 } Py_INCREF(Py_None
);
9842 _resultobj
= Py_None
;
9846 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9847 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
* _resultobj
;
9850 PyObject
* _argo0
= 0;
9851 char *_kwnames
[] = { "self", NULL
};
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 wxGrid_DisableDragColSize(_arg0
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) return NULL
;
9869 } Py_INCREF(Py_None
);
9870 _resultobj
= Py_None
;
9874 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9875 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
* _resultobj
;
9879 PyObject
* _argo0
= 0;
9880 char *_kwnames
[] = { "self", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) return NULL
;
9898 } _resultobj
= Py_BuildValue("i",_result
);
9902 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9903 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
* _resultobj
;
9906 bool _arg1
= (bool ) TRUE
;
9907 PyObject
* _argo0
= 0;
9908 int tempbool1
= (int) TRUE
;
9909 char *_kwnames
[] = { "self","enable", NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9921 _arg1
= (bool ) tempbool1
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) return NULL
;
9928 } Py_INCREF(Py_None
);
9929 _resultobj
= Py_None
;
9933 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9934 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
* _resultobj
;
9937 PyObject
* _argo0
= 0;
9938 char *_kwnames
[] = { "self", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 wxGrid_DisableDragGridSize(_arg0
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) return NULL
;
9956 } Py_INCREF(Py_None
);
9957 _resultobj
= Py_None
;
9961 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9962 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
* _resultobj
;
9966 PyObject
* _argo0
= 0;
9967 char *_kwnames
[] = { "self", NULL
};
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) return NULL
;
9985 } _resultobj
= Py_BuildValue("i",_result
);
9989 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9990 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
* _resultobj
;
9994 wxGridCellAttr
* _arg2
;
9995 PyObject
* _argo0
= 0;
9996 PyObject
* _argo2
= 0;
9997 char *_kwnames
[] = { "self","row","attr", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) return NULL
;
10022 } Py_INCREF(Py_None
);
10023 _resultobj
= Py_None
;
10027 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10028 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
* _resultobj
;
10032 wxGridCellAttr
* _arg2
;
10033 PyObject
* _argo0
= 0;
10034 PyObject
* _argo2
= 0;
10035 char *_kwnames
[] = { "self","col","attr", NULL
};
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10048 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) return NULL
;
10060 } Py_INCREF(Py_None
);
10061 _resultobj
= Py_None
;
10065 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10066 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
* _resultobj
;
10070 PyObject
* _argo0
= 0;
10071 char *_kwnames
[] = { "self","col", NULL
};
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 } Py_INCREF(Py_None
);
10090 _resultobj
= Py_None
;
10094 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10095 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10099 PyObject
* _argo0
= 0;
10100 char *_kwnames
[] = { "self","col", NULL
};
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) return NULL
;
10118 } Py_INCREF(Py_None
);
10119 _resultobj
= Py_None
;
10123 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10124 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
* _resultobj
;
10128 int _arg2
= (int ) -1;
10129 int _arg3
= (int ) -1;
10130 PyObject
* _argo0
= 0;
10131 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) return NULL
;
10149 } Py_INCREF(Py_None
);
10150 _resultobj
= Py_None
;
10154 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10155 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10160 PyObject
* _argo0
= 0;
10161 PyObject
* _obj2
= 0;
10162 char *_kwnames
[] = { "self","col","typeName", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10175 _arg2
= wxString_in_helper(_obj2
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) return NULL
;
10185 } Py_INCREF(Py_None
);
10186 _resultobj
= Py_None
;
10194 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10195 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
* _resultobj
;
10198 bool _arg1
= (bool ) TRUE
;
10199 PyObject
* _argo0
= 0;
10200 int tempbool1
= (int) TRUE
;
10201 char *_kwnames
[] = { "self","enable", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10213 _arg1
= (bool ) tempbool1
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxGrid_EnableGridLines(_arg0
,_arg1
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) return NULL
;
10220 } Py_INCREF(Py_None
);
10221 _resultobj
= Py_None
;
10225 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10226 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
* _resultobj
;
10230 PyObject
* _argo0
= 0;
10231 char *_kwnames
[] = { "self", NULL
};
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) return NULL
;
10249 } _resultobj
= Py_BuildValue("i",_result
);
10253 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10254 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
* _resultobj
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } _resultobj
= Py_BuildValue("i",_result
);
10281 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10282 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10287 PyObject
* _argo0
= 0;
10288 char *_kwnames
[] = { "self","row", NULL
};
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) return NULL
;
10306 } _resultobj
= Py_BuildValue("i",_result
);
10310 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10311 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
* _resultobj
;
10315 PyObject
* _argo0
= 0;
10316 char *_kwnames
[] = { "self", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) return NULL
;
10334 } _resultobj
= Py_BuildValue("i",_result
);
10338 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10339 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
* _resultobj
;
10344 PyObject
* _argo0
= 0;
10345 char *_kwnames
[] = { "self","col", NULL
};
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 } _resultobj
= Py_BuildValue("i",_result
);
10367 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10368 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
* _resultobj
;
10370 wxColour
* _result
;
10372 PyObject
* _argo0
= 0;
10373 char *_kwnames
[] = { "self", NULL
};
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) return NULL
;
10392 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10393 _resultobj
= Py_BuildValue("s",_ptemp
);
10397 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10398 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
* _resultobj
;
10400 wxColour
* _result
;
10404 PyObject
* _argo0
= 0;
10405 char *_kwnames
[] = { "self","row","col", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10425 _resultobj
= Py_BuildValue("s",_ptemp
);
10429 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10430 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
* _resultobj
;
10432 wxColour
* _result
;
10434 PyObject
* _argo0
= 0;
10435 char *_kwnames
[] = { "self", NULL
};
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) return NULL
;
10454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10455 _resultobj
= Py_BuildValue("s",_ptemp
);
10459 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10460 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
* _resultobj
;
10462 wxColour
* _result
;
10466 PyObject
* _argo0
= 0;
10467 char *_kwnames
[] = { "self","row","col", NULL
};
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10484 wxPyEndAllowThreads(__tstate
);
10485 if (PyErr_Occurred()) return NULL
;
10486 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10487 _resultobj
= Py_BuildValue("s",_ptemp
);
10491 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10492 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
* _resultobj
;
10496 PyObject
* _argo0
= 0;
10497 char *_kwnames
[] = { "self", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10517 _resultobj
= Py_BuildValue("s",_ptemp
);
10521 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10522 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
* _resultobj
;
10528 PyObject
* _argo0
= 0;
10529 char *_kwnames
[] = { "self","row","col", NULL
};
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) return NULL
;
10548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10549 _resultobj
= Py_BuildValue("s",_ptemp
);
10553 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10554 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
* _resultobj
;
10559 PyObject
* _argo0
= 0;
10560 PyObject
* _argo1
= 0;
10561 PyObject
* _argo2
= 0;
10562 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10582 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) return NULL
;
10594 } Py_INCREF(Py_None
);
10595 _resultobj
= Py_None
;
10599 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10600 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
* _resultobj
;
10607 PyObject
* _argo0
= 0;
10608 PyObject
* _argo3
= 0;
10609 PyObject
* _argo4
= 0;
10610 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10623 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10624 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10630 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10631 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) return NULL
;
10642 } Py_INCREF(Py_None
);
10643 _resultobj
= Py_None
;
10647 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10648 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
* _resultobj
;
10652 bool _arg2
= (bool ) FALSE
;
10653 PyObject
* _argo0
= 0;
10654 int tempbool2
= (int) FALSE
;
10655 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10667 _arg2
= (bool ) tempbool2
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) return NULL
;
10674 } Py_INCREF(Py_None
);
10675 _resultobj
= Py_None
;
10679 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10680 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
* _resultobj
;
10685 PyObject
* _argo0
= 0;
10686 char *_kwnames
[] = { "self","row","height", NULL
};
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) return NULL
;
10704 } Py_INCREF(Py_None
);
10705 _resultobj
= Py_None
;
10709 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10710 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
* _resultobj
;
10714 bool _arg2
= (bool ) FALSE
;
10715 PyObject
* _argo0
= 0;
10716 int tempbool2
= (int) FALSE
;
10717 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10729 _arg2
= (bool ) tempbool2
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) return NULL
;
10736 } Py_INCREF(Py_None
);
10737 _resultobj
= Py_None
;
10741 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10742 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
* _resultobj
;
10747 PyObject
* _argo0
= 0;
10748 char *_kwnames
[] = { "self","col","width", NULL
};
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) return NULL
;
10766 } Py_INCREF(Py_None
);
10767 _resultobj
= Py_None
;
10771 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10772 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
* _resultobj
;
10776 bool _arg2
= (bool ) TRUE
;
10777 PyObject
* _argo0
= 0;
10778 int tempbool2
= (int) TRUE
;
10779 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10791 _arg2
= (bool ) tempbool2
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) return NULL
;
10798 } Py_INCREF(Py_None
);
10799 _resultobj
= Py_None
;
10803 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10804 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10808 bool _arg2
= (bool ) TRUE
;
10809 PyObject
* _argo0
= 0;
10810 int tempbool2
= (int) TRUE
;
10811 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10823 _arg2
= (bool ) tempbool2
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) return NULL
;
10830 } Py_INCREF(Py_None
);
10831 _resultobj
= Py_None
;
10835 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10836 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
* _resultobj
;
10839 bool _arg1
= (bool ) TRUE
;
10840 PyObject
* _argo0
= 0;
10841 int tempbool1
= (int) TRUE
;
10842 char *_kwnames
[] = { "self","setAsMin", NULL
};
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10854 _arg1
= (bool ) tempbool1
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) return NULL
;
10861 } Py_INCREF(Py_None
);
10862 _resultobj
= Py_None
;
10866 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10867 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
* _resultobj
;
10870 bool _arg1
= (bool ) TRUE
;
10871 PyObject
* _argo0
= 0;
10872 int tempbool1
= (int) TRUE
;
10873 char *_kwnames
[] = { "self","setAsMin", NULL
};
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10885 _arg1
= (bool ) tempbool1
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10898 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10901 PyObject
* _argo0
= 0;
10902 char *_kwnames
[] = { "self", NULL
};
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 wxGrid_AutoSize(_arg0
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) return NULL
;
10920 } Py_INCREF(Py_None
);
10921 _resultobj
= Py_None
;
10925 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10926 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
* _resultobj
;
10931 PyObject
* _argo0
= 0;
10932 char *_kwnames
[] = { "self","col","width", NULL
};
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) return NULL
;
10950 } Py_INCREF(Py_None
);
10951 _resultobj
= Py_None
;
10955 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10956 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
* _resultobj
;
10961 PyObject
* _argo0
= 0;
10962 char *_kwnames
[] = { "self","row","width", NULL
};
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) return NULL
;
10980 } Py_INCREF(Py_None
);
10981 _resultobj
= Py_None
;
10985 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10986 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
* _resultobj
;
10990 PyObject
* _argo0
= 0;
10992 PyObject
* _obj1
= 0;
10993 char *_kwnames
[] = { "self","arg2", NULL
};
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11007 if (! wxColour_helper(_obj1
, &_arg1
))
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) return NULL
;
11016 } Py_INCREF(Py_None
);
11017 _resultobj
= Py_None
;
11021 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11022 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
* _resultobj
;
11028 PyObject
* _argo0
= 0;
11030 PyObject
* _obj3
= 0;
11031 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11045 if (! wxColour_helper(_obj3
, &_arg3
))
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) return NULL
;
11054 } Py_INCREF(Py_None
);
11055 _resultobj
= Py_None
;
11059 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11060 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
* _resultobj
;
11064 PyObject
* _argo0
= 0;
11066 PyObject
* _obj1
= 0;
11067 char *_kwnames
[] = { "self","arg2", NULL
};
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11081 if (! wxColour_helper(_obj1
, &_arg1
))
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) return NULL
;
11090 } Py_INCREF(Py_None
);
11091 _resultobj
= Py_None
;
11095 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11096 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
* _resultobj
;
11102 PyObject
* _argo0
= 0;
11104 PyObject
* _obj3
= 0;
11105 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11119 if (! wxColour_helper(_obj3
, &_arg3
))
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) return NULL
;
11128 } Py_INCREF(Py_None
);
11129 _resultobj
= Py_None
;
11133 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11134 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
* _resultobj
;
11138 PyObject
* _argo0
= 0;
11139 PyObject
* _argo1
= 0;
11140 char *_kwnames
[] = { "self","arg2", NULL
};
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) return NULL
;
11165 } Py_INCREF(Py_None
);
11166 _resultobj
= Py_None
;
11170 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11171 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
* _resultobj
;
11177 PyObject
* _argo0
= 0;
11178 PyObject
* _argo3
= 0;
11179 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11192 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11193 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) return NULL
;
11204 } Py_INCREF(Py_None
);
11205 _resultobj
= Py_None
;
11209 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11210 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
* _resultobj
;
11215 PyObject
* _argo0
= 0;
11216 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) return NULL
;
11234 } Py_INCREF(Py_None
);
11235 _resultobj
= Py_None
;
11239 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11240 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
* _resultobj
;
11247 PyObject
* _argo0
= 0;
11248 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) return NULL
;
11266 } Py_INCREF(Py_None
);
11267 _resultobj
= Py_None
;
11271 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11272 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
* _resultobj
;
11275 wxGridCellRenderer
* _arg1
;
11276 PyObject
* _argo0
= 0;
11277 PyObject
* _argo1
= 0;
11278 char *_kwnames
[] = { "self","renderer", NULL
};
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) return NULL
;
11303 } Py_INCREF(Py_None
);
11304 _resultobj
= Py_None
;
11308 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11309 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
* _resultobj
;
11314 wxGridCellRenderer
* _arg3
;
11315 PyObject
* _argo0
= 0;
11316 PyObject
* _argo3
= 0;
11317 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11330 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11331 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) return NULL
;
11342 } Py_INCREF(Py_None
);
11343 _resultobj
= Py_None
;
11347 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11348 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
* _resultobj
;
11350 wxGridCellRenderer
* _result
;
11352 PyObject
* _argo0
= 0;
11353 char *_kwnames
[] = { "self", NULL
};
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) return NULL
;
11373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11374 _resultobj
= Py_BuildValue("s",_ptemp
);
11376 Py_INCREF(Py_None
);
11377 _resultobj
= Py_None
;
11382 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11383 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
* _resultobj
;
11385 wxGridCellRenderer
* _result
;
11389 PyObject
* _argo0
= 0;
11390 char *_kwnames
[] = { "self","row","col", NULL
};
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) return NULL
;
11410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11411 _resultobj
= Py_BuildValue("s",_ptemp
);
11413 Py_INCREF(Py_None
);
11414 _resultobj
= Py_None
;
11419 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11420 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
* _resultobj
;
11423 wxGridCellEditor
* _arg1
;
11424 PyObject
* _argo0
= 0;
11425 PyObject
* _argo1
= 0;
11426 char *_kwnames
[] = { "self","editor", NULL
};
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) return NULL
;
11451 } Py_INCREF(Py_None
);
11452 _resultobj
= Py_None
;
11456 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11457 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
* _resultobj
;
11462 wxGridCellEditor
* _arg3
;
11463 PyObject
* _argo0
= 0;
11464 PyObject
* _argo3
= 0;
11465 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11478 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11479 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) return NULL
;
11490 } Py_INCREF(Py_None
);
11491 _resultobj
= Py_None
;
11495 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11496 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
* _resultobj
;
11498 wxGridCellEditor
* _result
;
11500 PyObject
* _argo0
= 0;
11501 char *_kwnames
[] = { "self", NULL
};
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) return NULL
;
11521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11522 _resultobj
= Py_BuildValue("s",_ptemp
);
11524 Py_INCREF(Py_None
);
11525 _resultobj
= Py_None
;
11530 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11531 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
* _resultobj
;
11533 wxGridCellEditor
* _result
;
11537 PyObject
* _argo0
= 0;
11538 char *_kwnames
[] = { "self","row","col", NULL
};
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) return NULL
;
11558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11559 _resultobj
= Py_BuildValue("s",_ptemp
);
11561 Py_INCREF(Py_None
);
11562 _resultobj
= Py_None
;
11567 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11568 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
* _resultobj
;
11570 wxString
* _result
;
11574 PyObject
* _argo0
= 0;
11575 char *_kwnames
[] = { "self","row","col", NULL
};
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) return NULL
;
11595 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11597 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11606 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11607 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
* _resultobj
;
11613 PyObject
* _argo0
= 0;
11614 PyObject
* _obj3
= 0;
11615 char *_kwnames
[] = { "self","row","col","s", NULL
};
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11628 _arg3
= wxString_in_helper(_obj3
);
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) return NULL
;
11638 } Py_INCREF(Py_None
);
11639 _resultobj
= Py_None
;
11647 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11648 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
* _resultobj
;
11654 PyObject
* _argo0
= 0;
11655 char *_kwnames
[] = { "self","row","col", NULL
};
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) return NULL
;
11673 } _resultobj
= Py_BuildValue("i",_result
);
11677 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11678 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
* _resultobj
;
11683 bool _arg3
= (bool ) TRUE
;
11684 PyObject
* _argo0
= 0;
11685 int tempbool3
= (int) TRUE
;
11686 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11698 _arg3
= (bool ) tempbool3
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) return NULL
;
11705 } Py_INCREF(Py_None
);
11706 _resultobj
= Py_None
;
11710 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11711 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
* _resultobj
;
11715 bool _arg2
= (bool ) FALSE
;
11716 PyObject
* _argo0
= 0;
11717 int tempbool2
= (int) FALSE
;
11718 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11730 _arg2
= (bool ) tempbool2
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) return NULL
;
11737 } Py_INCREF(Py_None
);
11738 _resultobj
= Py_None
;
11742 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11743 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
* _resultobj
;
11747 bool _arg2
= (bool ) FALSE
;
11748 PyObject
* _argo0
= 0;
11749 int tempbool2
= (int) FALSE
;
11750 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11762 _arg2
= (bool ) tempbool2
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) return NULL
;
11769 } Py_INCREF(Py_None
);
11770 _resultobj
= Py_None
;
11774 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11775 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
* _resultobj
;
11782 bool _arg5
= (bool ) FALSE
;
11783 PyObject
* _argo0
= 0;
11784 int tempbool5
= (int) FALSE
;
11785 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11797 _arg5
= (bool ) tempbool5
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) return NULL
;
11804 } Py_INCREF(Py_None
);
11805 _resultobj
= Py_None
;
11809 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11810 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
* _resultobj
;
11813 PyObject
* _argo0
= 0;
11814 char *_kwnames
[] = { "self", NULL
};
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 wxGrid_SelectAll(_arg0
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) return NULL
;
11832 } Py_INCREF(Py_None
);
11833 _resultobj
= Py_None
;
11837 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11838 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
* _resultobj
;
11842 PyObject
* _argo0
= 0;
11843 char *_kwnames
[] = { "self", NULL
};
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 _result
= (bool )wxGrid_IsSelection(_arg0
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) return NULL
;
11861 } _resultobj
= Py_BuildValue("i",_result
);
11865 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11866 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
* _resultobj
;
11869 PyObject
* _argo0
= 0;
11870 char *_kwnames
[] = { "self", NULL
};
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 wxGrid_ClearSelection(_arg0
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) return NULL
;
11888 } Py_INCREF(Py_None
);
11889 _resultobj
= Py_None
;
11893 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11894 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
* _resultobj
;
11900 PyObject
* _argo0
= 0;
11901 char *_kwnames
[] = { "self","row","col", NULL
};
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) return NULL
;
11919 } _resultobj
= Py_BuildValue("i",_result
);
11923 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11924 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
* _resultobj
;
11928 wxGridCellCoords
* _arg1
;
11929 wxGridCellCoords
* _arg2
;
11930 PyObject
* _argo0
= 0;
11931 wxGridCellCoords temp
;
11932 PyObject
* _obj1
= 0;
11933 wxGridCellCoords temp0
;
11934 PyObject
* _obj2
= 0;
11935 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11950 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11955 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) return NULL
;
11964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11965 _resultobj
= Py_BuildValue("s",_ptemp
);
11969 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11970 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
* _resultobj
;
11972 wxColour
* _result
;
11974 PyObject
* _argo0
= 0;
11975 char *_kwnames
[] = { "self", NULL
};
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) return NULL
;
11994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11995 _resultobj
= Py_BuildValue("s",_ptemp
);
11999 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12000 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
* _resultobj
;
12002 wxColour
* _result
;
12004 PyObject
* _argo0
= 0;
12005 char *_kwnames
[] = { "self", NULL
};
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) return NULL
;
12024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12025 _resultobj
= Py_BuildValue("s",_ptemp
);
12029 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12030 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
* _resultobj
;
12034 PyObject
* _argo0
= 0;
12036 PyObject
* _obj1
= 0;
12037 char *_kwnames
[] = { "self","c", NULL
};
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12051 if (! wxColour_helper(_obj1
, &_arg1
))
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) return NULL
;
12060 } Py_INCREF(Py_None
);
12061 _resultobj
= Py_None
;
12065 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12066 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
* _resultobj
;
12070 PyObject
* _argo0
= 0;
12072 PyObject
* _obj1
= 0;
12073 char *_kwnames
[] = { "self","c", NULL
};
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12087 if (! wxColour_helper(_obj1
, &_arg1
))
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) return NULL
;
12096 } Py_INCREF(Py_None
);
12097 _resultobj
= Py_None
;
12101 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12102 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
* _resultobj
;
12106 wxGridCellRenderer
* _arg2
;
12107 wxGridCellEditor
* _arg3
;
12108 PyObject
* _argo0
= 0;
12109 PyObject
* _obj1
= 0;
12110 PyObject
* _argo2
= 0;
12111 PyObject
* _argo3
= 0;
12112 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12125 _arg1
= wxString_in_helper(_obj1
);
12130 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12131 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12137 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12138 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) return NULL
;
12149 } Py_INCREF(Py_None
);
12150 _resultobj
= Py_None
;
12158 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12159 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
* _resultobj
;
12161 wxGridCellEditor
* _result
;
12165 PyObject
* _argo0
= 0;
12166 char *_kwnames
[] = { "self","row","col", NULL
};
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) return NULL
;
12186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12187 _resultobj
= Py_BuildValue("s",_ptemp
);
12189 Py_INCREF(Py_None
);
12190 _resultobj
= Py_None
;
12195 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12196 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
* _resultobj
;
12198 wxGridCellRenderer
* _result
;
12202 PyObject
* _argo0
= 0;
12203 char *_kwnames
[] = { "self","row","col", NULL
};
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) return NULL
;
12223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12224 _resultobj
= Py_BuildValue("s",_ptemp
);
12226 Py_INCREF(Py_None
);
12227 _resultobj
= Py_None
;
12232 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12233 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
* _resultobj
;
12235 wxGridCellEditor
* _result
;
12238 PyObject
* _argo0
= 0;
12239 PyObject
* _obj1
= 0;
12240 char *_kwnames
[] = { "self","typeName", NULL
};
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12254 _arg1
= wxString_in_helper(_obj1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) return NULL
;
12265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12266 _resultobj
= Py_BuildValue("s",_ptemp
);
12268 Py_INCREF(Py_None
);
12269 _resultobj
= Py_None
;
12278 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12279 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
* _resultobj
;
12281 wxGridCellRenderer
* _result
;
12284 PyObject
* _argo0
= 0;
12285 PyObject
* _obj1
= 0;
12286 char *_kwnames
[] = { "self","typeName", NULL
};
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12300 _arg1
= wxString_in_helper(_obj1
);
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) return NULL
;
12311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12312 _resultobj
= Py_BuildValue("s",_ptemp
);
12314 Py_INCREF(Py_None
);
12315 _resultobj
= Py_None
;
12324 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12325 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
* _resultobj
;
12330 PyObject
* _argo0
= 0;
12331 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) return NULL
;
12349 } Py_INCREF(Py_None
);
12350 _resultobj
= Py_None
;
12354 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12355 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
* _resultobj
;
12357 wxWindow
* _result
;
12359 PyObject
* _argo0
= 0;
12360 char *_kwnames
[] = { "self", NULL
};
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) return NULL
;
12378 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12382 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12383 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
* _resultobj
;
12385 wxWindow
* _result
;
12387 PyObject
* _argo0
= 0;
12388 char *_kwnames
[] = { "self", NULL
};
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) return NULL
;
12406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12410 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12411 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
* _resultobj
;
12413 wxWindow
* _result
;
12415 PyObject
* _argo0
= 0;
12416 char *_kwnames
[] = { "self", NULL
};
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) return NULL
;
12434 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12438 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12439 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
* _resultobj
;
12441 wxWindow
* _result
;
12443 PyObject
* _argo0
= 0;
12444 char *_kwnames
[] = { "self", NULL
};
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) return NULL
;
12462 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12466 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12468 wxNotifyEvent
*dest
;
12469 src
= (wxGridEvent
*) ptr
;
12470 dest
= (wxNotifyEvent
*) src
;
12471 return (void *) dest
;
12474 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12476 wxCommandEvent
*dest
;
12477 src
= (wxGridEvent
*) ptr
;
12478 dest
= (wxCommandEvent
*) src
;
12479 return (void *) dest
;
12482 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12485 src
= (wxGridEvent
*) ptr
;
12486 dest
= (wxEvent
*) src
;
12487 return (void *) dest
;
12490 static void *SwigwxGridEventTowxObject(void *ptr
) {
12493 src
= (wxGridEvent
*) ptr
;
12494 dest
= (wxObject
*) src
;
12495 return (void *) dest
;
12498 #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))
12499 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
* _resultobj
;
12501 wxGridEvent
* _result
;
12505 int _arg3
= (int ) -1;
12506 int _arg4
= (int ) -1;
12507 int _arg5
= (int ) -1;
12508 int _arg6
= (int ) -1;
12509 bool _arg7
= (bool ) TRUE
;
12510 bool _arg8
= (bool ) FALSE
;
12511 bool _arg9
= (bool ) FALSE
;
12512 bool _arg10
= (bool ) FALSE
;
12513 bool _arg11
= (bool ) FALSE
;
12514 PyObject
* _argo2
= 0;
12515 int tempbool7
= (int) TRUE
;
12516 int tempbool8
= (int) FALSE
;
12517 int tempbool9
= (int) FALSE
;
12518 int tempbool10
= (int) FALSE
;
12519 int tempbool11
= (int) FALSE
;
12520 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12527 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12528 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12533 _arg7
= (bool ) tempbool7
;
12534 _arg8
= (bool ) tempbool8
;
12535 _arg9
= (bool ) tempbool9
;
12536 _arg10
= (bool ) tempbool10
;
12537 _arg11
= (bool ) tempbool11
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) return NULL
;
12545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12546 _resultobj
= Py_BuildValue("s",_ptemp
);
12548 Py_INCREF(Py_None
);
12549 _resultobj
= Py_None
;
12554 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12555 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
* _resultobj
;
12558 wxGridEvent
* _arg0
;
12559 PyObject
* _argo0
= 0;
12560 char *_kwnames
[] = { "self", NULL
};
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 _result
= (int )wxGridEvent_GetRow(_arg0
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) return NULL
;
12578 } _resultobj
= Py_BuildValue("i",_result
);
12582 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12583 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
* _resultobj
;
12586 wxGridEvent
* _arg0
;
12587 PyObject
* _argo0
= 0;
12588 char *_kwnames
[] = { "self", NULL
};
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 _result
= (int )wxGridEvent_GetCol(_arg0
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) return NULL
;
12606 } _resultobj
= Py_BuildValue("i",_result
);
12610 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12611 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
* _resultobj
;
12614 wxGridEvent
* _arg0
;
12615 PyObject
* _argo0
= 0;
12616 char *_kwnames
[] = { "self", NULL
};
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) return NULL
;
12635 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12636 _resultobj
= Py_BuildValue("s",_ptemp
);
12640 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12641 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
* _resultobj
;
12644 wxGridEvent
* _arg0
;
12645 PyObject
* _argo0
= 0;
12646 char *_kwnames
[] = { "self", NULL
};
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) return NULL
;
12664 } _resultobj
= Py_BuildValue("i",_result
);
12668 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12669 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
* _resultobj
;
12672 wxGridEvent
* _arg0
;
12673 PyObject
* _argo0
= 0;
12674 char *_kwnames
[] = { "self", NULL
};
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) return NULL
;
12692 } _resultobj
= Py_BuildValue("i",_result
);
12696 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12697 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
* _resultobj
;
12700 wxGridEvent
* _arg0
;
12701 PyObject
* _argo0
= 0;
12702 char *_kwnames
[] = { "self", NULL
};
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) return NULL
;
12720 } _resultobj
= Py_BuildValue("i",_result
);
12724 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12725 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
* _resultobj
;
12728 wxGridEvent
* _arg0
;
12729 PyObject
* _argo0
= 0;
12730 char *_kwnames
[] = { "self", NULL
};
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) return NULL
;
12748 } _resultobj
= Py_BuildValue("i",_result
);
12752 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12753 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
* _resultobj
;
12756 wxGridEvent
* _arg0
;
12757 PyObject
* _argo0
= 0;
12758 char *_kwnames
[] = { "self", NULL
};
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) return NULL
;
12776 } _resultobj
= Py_BuildValue("i",_result
);
12780 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12781 wxGridSizeEvent
*src
;
12782 wxNotifyEvent
*dest
;
12783 src
= (wxGridSizeEvent
*) ptr
;
12784 dest
= (wxNotifyEvent
*) src
;
12785 return (void *) dest
;
12788 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12789 wxGridSizeEvent
*src
;
12790 wxCommandEvent
*dest
;
12791 src
= (wxGridSizeEvent
*) ptr
;
12792 dest
= (wxCommandEvent
*) src
;
12793 return (void *) dest
;
12796 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12797 wxGridSizeEvent
*src
;
12799 src
= (wxGridSizeEvent
*) ptr
;
12800 dest
= (wxEvent
*) src
;
12801 return (void *) dest
;
12804 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12805 wxGridSizeEvent
*src
;
12807 src
= (wxGridSizeEvent
*) ptr
;
12808 dest
= (wxObject
*) src
;
12809 return (void *) dest
;
12812 #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))
12813 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
* _resultobj
;
12815 wxGridSizeEvent
* _result
;
12819 int _arg3
= (int ) -1;
12820 int _arg4
= (int ) -1;
12821 int _arg5
= (int ) -1;
12822 bool _arg6
= (bool ) FALSE
;
12823 bool _arg7
= (bool ) FALSE
;
12824 bool _arg8
= (bool ) FALSE
;
12825 bool _arg9
= (bool ) FALSE
;
12826 PyObject
* _argo2
= 0;
12827 int tempbool6
= (int) FALSE
;
12828 int tempbool7
= (int) FALSE
;
12829 int tempbool8
= (int) FALSE
;
12830 int tempbool9
= (int) FALSE
;
12831 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12838 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12839 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12844 _arg6
= (bool ) tempbool6
;
12845 _arg7
= (bool ) tempbool7
;
12846 _arg8
= (bool ) tempbool8
;
12847 _arg9
= (bool ) tempbool9
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) return NULL
;
12855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12856 _resultobj
= Py_BuildValue("s",_ptemp
);
12858 Py_INCREF(Py_None
);
12859 _resultobj
= Py_None
;
12864 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12865 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
* _resultobj
;
12868 wxGridSizeEvent
* _arg0
;
12869 PyObject
* _argo0
= 0;
12870 char *_kwnames
[] = { "self", NULL
};
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) return NULL
;
12888 } _resultobj
= Py_BuildValue("i",_result
);
12892 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12893 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12894 PyObject
* _resultobj
;
12896 wxGridSizeEvent
* _arg0
;
12897 PyObject
* _argo0
= 0;
12898 char *_kwnames
[] = { "self", NULL
};
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) return NULL
;
12917 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12918 _resultobj
= Py_BuildValue("s",_ptemp
);
12922 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12923 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
* _resultobj
;
12926 wxGridSizeEvent
* _arg0
;
12927 PyObject
* _argo0
= 0;
12928 char *_kwnames
[] = { "self", NULL
};
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) return NULL
;
12946 } _resultobj
= Py_BuildValue("i",_result
);
12950 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12951 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
* _resultobj
;
12954 wxGridSizeEvent
* _arg0
;
12955 PyObject
* _argo0
= 0;
12956 char *_kwnames
[] = { "self", NULL
};
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) return NULL
;
12974 } _resultobj
= Py_BuildValue("i",_result
);
12978 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12979 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
* _resultobj
;
12982 wxGridSizeEvent
* _arg0
;
12983 PyObject
* _argo0
= 0;
12984 char *_kwnames
[] = { "self", NULL
};
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) return NULL
;
13002 } _resultobj
= Py_BuildValue("i",_result
);
13006 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13007 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
* _resultobj
;
13010 wxGridSizeEvent
* _arg0
;
13011 PyObject
* _argo0
= 0;
13012 char *_kwnames
[] = { "self", NULL
};
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) return NULL
;
13030 } _resultobj
= Py_BuildValue("i",_result
);
13034 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13035 wxGridRangeSelectEvent
*src
;
13036 wxNotifyEvent
*dest
;
13037 src
= (wxGridRangeSelectEvent
*) ptr
;
13038 dest
= (wxNotifyEvent
*) src
;
13039 return (void *) dest
;
13042 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13043 wxGridRangeSelectEvent
*src
;
13044 wxCommandEvent
*dest
;
13045 src
= (wxGridRangeSelectEvent
*) ptr
;
13046 dest
= (wxCommandEvent
*) src
;
13047 return (void *) dest
;
13050 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13051 wxGridRangeSelectEvent
*src
;
13053 src
= (wxGridRangeSelectEvent
*) ptr
;
13054 dest
= (wxEvent
*) src
;
13055 return (void *) dest
;
13058 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13059 wxGridRangeSelectEvent
*src
;
13061 src
= (wxGridRangeSelectEvent
*) ptr
;
13062 dest
= (wxObject
*) src
;
13063 return (void *) dest
;
13066 #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))
13067 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
* _resultobj
;
13069 wxGridRangeSelectEvent
* _result
;
13073 wxGridCellCoords
* _arg3
;
13074 wxGridCellCoords
* _arg4
;
13075 bool _arg5
= (bool ) TRUE
;
13076 bool _arg6
= (bool ) FALSE
;
13077 bool _arg7
= (bool ) FALSE
;
13078 bool _arg8
= (bool ) FALSE
;
13079 bool _arg9
= (bool ) FALSE
;
13080 PyObject
* _argo2
= 0;
13081 wxGridCellCoords temp
;
13082 PyObject
* _obj3
= 0;
13083 wxGridCellCoords temp0
;
13084 PyObject
* _obj4
= 0;
13085 int tempbool5
= (int) TRUE
;
13086 int tempbool6
= (int) FALSE
;
13087 int tempbool7
= (int) FALSE
;
13088 int tempbool8
= (int) FALSE
;
13089 int tempbool9
= (int) FALSE
;
13090 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13097 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13098 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13105 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13110 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13113 _arg5
= (bool ) tempbool5
;
13114 _arg6
= (bool ) tempbool6
;
13115 _arg7
= (bool ) tempbool7
;
13116 _arg8
= (bool ) tempbool8
;
13117 _arg9
= (bool ) tempbool9
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) return NULL
;
13125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13126 _resultobj
= Py_BuildValue("s",_ptemp
);
13128 Py_INCREF(Py_None
);
13129 _resultobj
= Py_None
;
13134 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13135 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
* _resultobj
;
13137 wxGridCellCoords
* _result
;
13138 wxGridRangeSelectEvent
* _arg0
;
13139 PyObject
* _argo0
= 0;
13140 char *_kwnames
[] = { "self", NULL
};
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) return NULL
;
13159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13160 _resultobj
= Py_BuildValue("s",_ptemp
);
13164 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13165 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
* _resultobj
;
13167 wxGridCellCoords
* _result
;
13168 wxGridRangeSelectEvent
* _arg0
;
13169 PyObject
* _argo0
= 0;
13170 char *_kwnames
[] = { "self", NULL
};
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) return NULL
;
13189 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13190 _resultobj
= Py_BuildValue("s",_ptemp
);
13194 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13195 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
* _resultobj
;
13198 wxGridRangeSelectEvent
* _arg0
;
13199 PyObject
* _argo0
= 0;
13200 char *_kwnames
[] = { "self", NULL
};
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) return NULL
;
13218 } _resultobj
= Py_BuildValue("i",_result
);
13222 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13223 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
* _resultobj
;
13226 wxGridRangeSelectEvent
* _arg0
;
13227 PyObject
* _argo0
= 0;
13228 char *_kwnames
[] = { "self", NULL
};
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) return NULL
;
13246 } _resultobj
= Py_BuildValue("i",_result
);
13250 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13251 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
* _resultobj
;
13254 wxGridRangeSelectEvent
* _arg0
;
13255 PyObject
* _argo0
= 0;
13256 char *_kwnames
[] = { "self", NULL
};
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) return NULL
;
13274 } _resultobj
= Py_BuildValue("i",_result
);
13278 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13279 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
* _resultobj
;
13282 wxGridRangeSelectEvent
* _arg0
;
13283 PyObject
* _argo0
= 0;
13284 char *_kwnames
[] = { "self", NULL
};
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) return NULL
;
13302 } _resultobj
= Py_BuildValue("i",_result
);
13306 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13307 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
* _resultobj
;
13310 wxGridRangeSelectEvent
* _arg0
;
13311 PyObject
* _argo0
= 0;
13312 char *_kwnames
[] = { "self", NULL
};
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) return NULL
;
13330 } _resultobj
= Py_BuildValue("i",_result
);
13334 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13335 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
* _resultobj
;
13338 wxGridRangeSelectEvent
* _arg0
;
13339 PyObject
* _argo0
= 0;
13340 char *_kwnames
[] = { "self", NULL
};
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) return NULL
;
13358 } _resultobj
= Py_BuildValue("i",_result
);
13362 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13363 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
* _resultobj
;
13366 wxGridRangeSelectEvent
* _arg0
;
13367 PyObject
* _argo0
= 0;
13368 char *_kwnames
[] = { "self", NULL
};
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) return NULL
;
13386 } _resultobj
= Py_BuildValue("i",_result
);
13390 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13391 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
* _resultobj
;
13394 wxGridRangeSelectEvent
* _arg0
;
13395 PyObject
* _argo0
= 0;
13396 char *_kwnames
[] = { "self", NULL
};
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) return NULL
;
13414 } _resultobj
= Py_BuildValue("i",_result
);
13418 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13419 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
* _resultobj
;
13422 wxGridRangeSelectEvent
* _arg0
;
13423 PyObject
* _argo0
= 0;
13424 char *_kwnames
[] = { "self", NULL
};
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) return NULL
;
13442 } _resultobj
= Py_BuildValue("i",_result
);
13446 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13447 wxGridEditorCreatedEvent
*src
;
13448 wxCommandEvent
*dest
;
13449 src
= (wxGridEditorCreatedEvent
*) ptr
;
13450 dest
= (wxCommandEvent
*) src
;
13451 return (void *) dest
;
13454 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13455 wxGridEditorCreatedEvent
*src
;
13457 src
= (wxGridEditorCreatedEvent
*) ptr
;
13458 dest
= (wxEvent
*) src
;
13459 return (void *) dest
;
13462 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13463 wxGridEditorCreatedEvent
*src
;
13465 src
= (wxGridEditorCreatedEvent
*) ptr
;
13466 dest
= (wxObject
*) src
;
13467 return (void *) dest
;
13470 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13471 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
* _resultobj
;
13473 wxGridEditorCreatedEvent
* _result
;
13480 PyObject
* _argo2
= 0;
13481 PyObject
* _argo5
= 0;
13482 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13489 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13490 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13496 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13497 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) return NULL
;
13509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13510 _resultobj
= Py_BuildValue("s",_ptemp
);
13512 Py_INCREF(Py_None
);
13513 _resultobj
= Py_None
;
13518 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13519 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
* _resultobj
;
13522 wxGridEditorCreatedEvent
* _arg0
;
13523 PyObject
* _argo0
= 0;
13524 char *_kwnames
[] = { "self", NULL
};
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) return NULL
;
13542 } _resultobj
= Py_BuildValue("i",_result
);
13546 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13547 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
* _resultobj
;
13550 wxGridEditorCreatedEvent
* _arg0
;
13551 PyObject
* _argo0
= 0;
13552 char *_kwnames
[] = { "self", NULL
};
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) return NULL
;
13570 } _resultobj
= Py_BuildValue("i",_result
);
13574 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13575 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
* _resultobj
;
13577 wxControl
* _result
;
13578 wxGridEditorCreatedEvent
* _arg0
;
13579 PyObject
* _argo0
= 0;
13580 char *_kwnames
[] = { "self", NULL
};
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) return NULL
;
13598 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13602 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13603 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
* _resultobj
;
13605 wxGridEditorCreatedEvent
* _arg0
;
13607 PyObject
* _argo0
= 0;
13608 char *_kwnames
[] = { "self","row", NULL
};
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) return NULL
;
13626 } Py_INCREF(Py_None
);
13627 _resultobj
= Py_None
;
13631 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13632 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
* _resultobj
;
13634 wxGridEditorCreatedEvent
* _arg0
;
13636 PyObject
* _argo0
= 0;
13637 char *_kwnames
[] = { "self","col", NULL
};
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) return NULL
;
13655 } Py_INCREF(Py_None
);
13656 _resultobj
= Py_None
;
13660 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13661 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
* _resultobj
;
13663 wxGridEditorCreatedEvent
* _arg0
;
13665 PyObject
* _argo0
= 0;
13666 PyObject
* _argo1
= 0;
13667 char *_kwnames
[] = { "self","ctrl", NULL
};
13670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) return NULL
;
13692 } Py_INCREF(Py_None
);
13693 _resultobj
= Py_None
;
13697 static PyMethodDef gridcMethods
[] = {
13698 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14077 * This table is used by the pointer type-checker
14079 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14080 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14081 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14082 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14083 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14084 { "_signed_long","_long",0},
14085 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14086 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14087 { "_wxPrintQuality","_wxCoord",0},
14088 { "_wxPrintQuality","_int",0},
14089 { "_wxPrintQuality","_signed_int",0},
14090 { "_wxPrintQuality","_unsigned_int",0},
14091 { "_wxPrintQuality","_wxWindowID",0},
14092 { "_wxPrintQuality","_uint",0},
14093 { "_wxPrintQuality","_EBool",0},
14094 { "_wxPrintQuality","_size_t",0},
14095 { "_wxPrintQuality","_time_t",0},
14096 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14097 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14098 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14099 { "_byte","_unsigned_char",0},
14100 { "_long","_unsigned_long",0},
14101 { "_long","_signed_long",0},
14102 { "_size_t","_WXGRIDSELECTIONMODES",0},
14103 { "_size_t","_wxCoord",0},
14104 { "_size_t","_wxPrintQuality",0},
14105 { "_size_t","_time_t",0},
14106 { "_size_t","_unsigned_int",0},
14107 { "_size_t","_int",0},
14108 { "_size_t","_wxWindowID",0},
14109 { "_size_t","_uint",0},
14110 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14111 { "_uint","_WXGRIDSELECTIONMODES",0},
14112 { "_uint","_wxCoord",0},
14113 { "_uint","_wxPrintQuality",0},
14114 { "_uint","_time_t",0},
14115 { "_uint","_size_t",0},
14116 { "_uint","_unsigned_int",0},
14117 { "_uint","_int",0},
14118 { "_uint","_wxWindowID",0},
14119 { "_wxChar","_char",0},
14120 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14121 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14122 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14123 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14124 { "_char","_wxChar",0},
14125 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14126 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14127 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14128 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14129 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14130 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14131 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14132 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14133 { "_EBool","_WXGRIDSELECTIONMODES",0},
14134 { "_EBool","_wxCoord",0},
14135 { "_EBool","_wxPrintQuality",0},
14136 { "_EBool","_signed_int",0},
14137 { "_EBool","_int",0},
14138 { "_EBool","_wxWindowID",0},
14139 { "_unsigned_long","_long",0},
14140 { "_WXGRIDSELECTIONMODES","_int",0},
14141 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14142 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14143 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14144 { "_WXGRIDSELECTIONMODES","_uint",0},
14145 { "_WXGRIDSELECTIONMODES","_EBool",0},
14146 { "_WXGRIDSELECTIONMODES","_size_t",0},
14147 { "_WXGRIDSELECTIONMODES","_time_t",0},
14148 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14149 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14150 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14151 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14152 { "_signed_int","_wxCoord",0},
14153 { "_signed_int","_wxPrintQuality",0},
14154 { "_signed_int","_EBool",0},
14155 { "_signed_int","_wxWindowID",0},
14156 { "_signed_int","_int",0},
14157 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14158 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14159 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14160 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14161 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14162 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14163 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14164 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14165 { "_WXTYPE","_short",0},
14166 { "_WXTYPE","_signed_short",0},
14167 { "_WXTYPE","_unsigned_short",0},
14168 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14169 { "_unsigned_short","_WXTYPE",0},
14170 { "_unsigned_short","_short",0},
14171 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14172 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14173 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14174 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14175 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14176 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14177 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14178 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14179 { "_signed_short","_WXTYPE",0},
14180 { "_signed_short","_short",0},
14181 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14182 { "_unsigned_char","_byte",0},
14183 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14184 { "_unsigned_int","_wxCoord",0},
14185 { "_unsigned_int","_wxPrintQuality",0},
14186 { "_unsigned_int","_time_t",0},
14187 { "_unsigned_int","_size_t",0},
14188 { "_unsigned_int","_uint",0},
14189 { "_unsigned_int","_wxWindowID",0},
14190 { "_unsigned_int","_int",0},
14191 { "_short","_WXTYPE",0},
14192 { "_short","_unsigned_short",0},
14193 { "_short","_signed_short",0},
14194 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14195 { "_wxWindowID","_wxCoord",0},
14196 { "_wxWindowID","_wxPrintQuality",0},
14197 { "_wxWindowID","_time_t",0},
14198 { "_wxWindowID","_size_t",0},
14199 { "_wxWindowID","_EBool",0},
14200 { "_wxWindowID","_uint",0},
14201 { "_wxWindowID","_int",0},
14202 { "_wxWindowID","_signed_int",0},
14203 { "_wxWindowID","_unsigned_int",0},
14204 { "_int","_WXGRIDSELECTIONMODES",0},
14205 { "_int","_wxCoord",0},
14206 { "_int","_wxPrintQuality",0},
14207 { "_int","_time_t",0},
14208 { "_int","_size_t",0},
14209 { "_int","_EBool",0},
14210 { "_int","_uint",0},
14211 { "_int","_wxWindowID",0},
14212 { "_int","_unsigned_int",0},
14213 { "_int","_signed_int",0},
14214 { "_time_t","_WXGRIDSELECTIONMODES",0},
14215 { "_time_t","_wxCoord",0},
14216 { "_time_t","_wxPrintQuality",0},
14217 { "_time_t","_unsigned_int",0},
14218 { "_time_t","_int",0},
14219 { "_time_t","_wxWindowID",0},
14220 { "_time_t","_uint",0},
14221 { "_time_t","_size_t",0},
14222 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14223 { "_wxCoord","_int",0},
14224 { "_wxCoord","_signed_int",0},
14225 { "_wxCoord","_unsigned_int",0},
14226 { "_wxCoord","_wxWindowID",0},
14227 { "_wxCoord","_uint",0},
14228 { "_wxCoord","_EBool",0},
14229 { "_wxCoord","_size_t",0},
14230 { "_wxCoord","_time_t",0},
14231 { "_wxCoord","_wxPrintQuality",0},
14232 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14233 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14234 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14235 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14236 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14237 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14238 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14239 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14240 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14241 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14242 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14243 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14244 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14247 static PyObject
*SWIG_globals
;
14251 SWIGEXPORT(void) initgridc() {
14253 SWIG_globals
= SWIG_newvarlink();
14254 m
= Py_InitModule("gridc", gridcMethods
);
14255 d
= PyModule_GetDict(m
);
14256 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14257 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14258 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14259 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14260 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14261 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14262 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14263 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14264 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14265 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14266 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14267 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14268 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14269 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14270 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14271 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14272 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14273 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14274 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14275 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14276 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14277 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14278 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14279 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14280 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14281 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14282 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14283 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14284 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14285 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14286 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14287 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14288 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14289 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14291 wxClassInfo::CleanUpClasses();
14292 wxClassInfo::InitializeClasses();
14293 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14294 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14295 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14296 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14297 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14298 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14299 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14300 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14301 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14304 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14305 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);