2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
90 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
91 wxGridCellAttr* rval = NULL; \
93 wxPyBeginBlockThreads(); \
94 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
96 wxGridCellAttr* ptr; \
97 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
99 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
104 wxPyEndBlockThreads(); \
106 rval = PCLASS::CBNAME(a, b, c); \
109 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
110 return PCLASS::CBNAME(a, b, c); \
115 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
116 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
117 wxPyBeginBlockThreads(); \
119 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
120 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
121 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
124 wxPyEndBlockThreads(); \
126 PCLASS::CBNAME(attr, a, b); \
128 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
129 PCLASS::CBNAME(attr, a, b); \
134 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int val) { \
136 wxPyBeginBlockThreads(); \
138 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
139 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
140 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
143 wxPyEndBlockThreads(); \
145 PCLASS::CBNAME(attr, val); \
147 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
148 PCLASS::CBNAME(attr, val); \
153 #define PYCALLBACK_INT__pure(CBNAME) \
155 wxPyBeginBlockThreads(); \
157 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
158 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
159 wxPyEndBlockThreads(); \
165 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
166 bool CBNAME(int a, int b) { \
167 wxPyBeginBlockThreads(); \
169 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
170 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
171 wxPyEndBlockThreads(); \
176 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
177 wxString CBNAME(int a, int b) { \
178 wxPyBeginBlockThreads(); \
180 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
182 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
184 rval = Py2wxString(ro); \
188 wxPyEndBlockThreads(); \
193 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
194 void CBNAME(int a, int b, const wxString& c) { \
195 wxPyBeginBlockThreads(); \
196 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
197 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
198 wxPyEndBlockThreads(); \
202 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
203 wxString CBNAME(int a, int b) { \
205 wxPyBeginBlockThreads(); \
207 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
209 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
211 rval = Py2wxString(ro); \
215 wxPyEndBlockThreads(); \
217 rval = PCLASS::CBNAME(a, b); \
220 wxString base_##CBNAME(int a, int b) { \
221 return PCLASS::CBNAME(a, b); \
225 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
226 bool CBNAME(int a, int b, const wxString& c) { \
229 wxPyBeginBlockThreads(); \
230 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
231 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
232 wxPyEndBlockThreads(); \
234 rval = PCLASS::CBNAME(a,b,c); \
237 bool base_##CBNAME(int a, int b, const wxString& c) { \
238 return PCLASS::CBNAME(a,b,c); \
244 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
245 long CBNAME(int a, int b) { \
248 wxPyBeginBlockThreads(); \
249 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
250 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
251 wxPyEndBlockThreads(); \
253 rval = PCLASS::CBNAME(a,b); \
256 long base_##CBNAME(int a, int b) { \
257 return PCLASS::CBNAME(a,b); \
262 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
263 bool CBNAME(int a, int b) { \
266 wxPyBeginBlockThreads(); \
267 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
268 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
269 wxPyEndBlockThreads(); \
271 rval = PCLASS::CBNAME(a,b); \
274 bool base_##CBNAME(int a, int b) { \
275 return PCLASS::CBNAME(a,b); \
280 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
281 double CBNAME(int a, int b) { \
283 wxPyBeginBlockThreads(); \
285 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
287 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
289 PyObject* str = PyObject_Str(ro); \
290 rval = PyFloat_AsDouble(str); \
291 Py_DECREF(ro); Py_DECREF(str); \
294 wxPyEndBlockThreads(); \
296 rval = PCLASS::CBNAME(a, b); \
299 double base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a, b); \
305 #define PYCALLBACK__(PCLASS, CBNAME) \
308 wxPyBeginBlockThreads(); \
309 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
310 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
311 wxPyEndBlockThreads(); \
315 void base_##CBNAME() { \
322 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
323 bool CBNAME(size_t a, size_t b) { \
326 wxPyBeginBlockThreads(); \
327 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
328 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
329 wxPyEndBlockThreads(); \
331 rval = PCLASS::CBNAME(a,b); \
334 bool base_##CBNAME(size_t a, size_t b) { \
335 return PCLASS::CBNAME(a,b); \
340 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
341 bool CBNAME(size_t a) { \
344 wxPyBeginBlockThreads(); \
345 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
346 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
347 wxPyEndBlockThreads(); \
349 rval = PCLASS::CBNAME(a); \
352 bool base_##CBNAME(size_t a) { \
353 return PCLASS::CBNAME(a); \
357 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
358 wxString CBNAME(int a) { \
360 wxPyBeginBlockThreads(); \
362 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
364 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
366 rval = Py2wxString(ro); \
370 wxPyEndBlockThreads(); \
372 rval = PCLASS::CBNAME(a); \
375 wxString base_##CBNAME(int a) { \
376 return PCLASS::CBNAME(a); \
380 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
381 void CBNAME(int a, const wxString& c) { \
383 wxPyBeginBlockThreads(); \
384 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
385 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
386 wxPyEndBlockThreads(); \
388 PCLASS::CBNAME(a,c); \
390 void base_##CBNAME(int a, const wxString& c) { \
391 PCLASS::CBNAME(a,c); \
397 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
401 wxPyBeginBlockThreads(); \
402 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
403 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
404 wxPyEndBlockThreads(); \
406 rval = PCLASS::CBNAME(); \
409 bool base_##CBNAME() { \
410 return PCLASS::CBNAME(); \
415 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
416 void CBNAME(size_t a, int b) { \
418 wxPyBeginBlockThreads(); \
419 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
420 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
421 wxPyEndBlockThreads(); \
423 PCLASS::CBNAME(a,b); \
425 void base_##CBNAME(size_t a, int b) { \
426 PCLASS::CBNAME(a,b); \
432 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
433 void CBNAME(int a, int b, long c) { \
435 wxPyBeginBlockThreads(); \
436 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
437 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
438 wxPyEndBlockThreads(); \
440 PCLASS::CBNAME(a,b,c); \
442 void base_##CBNAME(int a, int b, long c) { \
443 PCLASS::CBNAME(a,b,c); \
449 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
450 void CBNAME(int a, int b, double c) { \
452 wxPyBeginBlockThreads(); \
453 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
454 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
455 wxPyEndBlockThreads(); \
457 PCLASS::CBNAME(a,b,c); \
459 void base_##CBNAME(int a, int b, double c) { \
460 PCLASS::CBNAME(a,b,c); \
465 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
466 void CBNAME(int a, int b, bool c) { \
468 wxPyBeginBlockThreads(); \
469 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
470 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
471 wxPyEndBlockThreads(); \
473 PCLASS::CBNAME(a,b,c); \
475 void base_##CBNAME(int a, int b, bool c) { \
476 PCLASS::CBNAME(a,b,c); \
483 class wxPyGridCellRenderer
: public wxGridCellRenderer
486 wxPyGridCellRenderer() : wxGridCellRenderer() {};
488 // Implement Python callback aware virtual methods
489 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
490 wxDC
& dc
, const wxRect
& rect
,
491 int row
, int col
, bool isSelected
) {
492 wxPyBeginBlockThreads();
493 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
494 wxPyCBH_callCallback(m_myInst
,
495 Py_BuildValue("(OOOOiii)",
496 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
497 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
498 wxPyConstructObject((void*)&dc
, "wxDC", 0),
499 wxPyConstructObject((void*)&rect
, "wxRect", 0),
500 row
, col
, isSelected
));
502 wxPyEndBlockThreads();
505 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
508 wxPyBeginBlockThreads();
509 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
512 ro
= wxPyCBH_callCallbackObj(m_myInst
,
513 Py_BuildValue("(OOOii)",
514 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
515 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
516 wxPyConstructObject((void*)&dc
, "wxDC", 0),
519 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
524 wxPyEndBlockThreads();
529 wxGridCellRenderer
*Clone() const {
530 wxGridCellRenderer
* rval
= NULL
;
531 wxPyBeginBlockThreads();
532 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
534 wxGridCellRenderer
* ptr
;
535 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
537 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
542 wxPyEndBlockThreads();
546 DEC_PYCALLBACK__STRING(SetParameters
);
551 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
554 class wxPyGridCellEditor
: public wxGridCellEditor
557 wxPyGridCellEditor() : wxGridCellEditor() {}
559 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
560 wxPyBeginBlockThreads();
561 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
562 wxPyCBH_callCallback(m_myInst
,
563 Py_BuildValue("(OiO)",
564 wxPyConstructObject((void*)parent
, "wxWindow", 0),
566 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
568 wxPyEndBlockThreads();
572 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
573 wxPyBeginBlockThreads();
574 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
575 wxPyCBH_callCallback(m_myInst
,
576 Py_BuildValue("(iiO)", row
, col
,
577 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
579 wxPyEndBlockThreads();
583 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
585 wxPyBeginBlockThreads();
586 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
587 rv
= wxPyCBH_callCallback(m_myInst
,
588 Py_BuildValue("(iiO)", row
, col
,
589 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
591 wxPyEndBlockThreads();
596 wxGridCellEditor
*Clone() const {
597 wxGridCellEditor
* rval
= NULL
;
598 wxPyBeginBlockThreads();
599 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
601 wxGridCellEditor
* ptr
;
602 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
604 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
609 wxPyEndBlockThreads();
614 void Show(bool show
, wxGridCellAttr
*attr
) {
616 wxPyBeginBlockThreads();
617 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
618 wxPyCBH_callCallback(m_myInst
,
619 Py_BuildValue("(iO)", show
,
620 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
621 wxPyEndBlockThreads();
623 wxGridCellEditor::Show(show
, attr
);
625 void base_Show(bool show
, wxGridCellAttr
*attr
) {
626 wxGridCellEditor::Show(show
, attr
);
630 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
632 wxPyBeginBlockThreads();
633 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
634 wxPyCBH_callCallback(m_myInst
,
635 Py_BuildValue("(OO)",
636 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
637 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
638 wxPyEndBlockThreads();
640 wxGridCellEditor::PaintBackground(rectCell
, attr
);
642 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
643 wxGridCellEditor::PaintBackground(rectCell
, attr
);
647 DEC_PYCALLBACK___pure(Reset
);
648 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
649 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
650 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
651 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
652 DEC_PYCALLBACK__(StartingClick
);
653 DEC_PYCALLBACK__(Destroy
);
654 DEC_PYCALLBACK__STRING(SetParameters
);
660 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
661 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
662 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
663 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
664 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
665 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
666 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
667 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
670 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
673 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
675 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
676 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
677 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
678 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
683 class wxPyGridTableBase
: public wxGridTableBase
686 wxPyGridTableBase() : wxGridTableBase() {}
688 PYCALLBACK_INT__pure(GetNumberRows
);
689 PYCALLBACK_INT__pure(GetNumberCols
);
690 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
691 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
692 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
693 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
694 PYCALLBACK__(wxGridTableBase
, Clear
);
695 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
696 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
697 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
699 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
700 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
701 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
702 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
703 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
704 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
705 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
706 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
707 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
708 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
709 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
712 wxString
GetValue(int row
, int col
) {
713 wxPyBeginBlockThreads();
715 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
717 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
719 rval
= Py2wxString(ro
);
723 wxPyEndBlockThreads();
727 void SetValue(int row
, int col
, const wxString
& val
) {
728 wxPyBeginBlockThreads();
729 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
730 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,wx2PyString(val
)));
732 wxPyEndBlockThreads();
736 // Map the Get/Set methods for the standard non-string types to
737 // the GetValue and SetValue python methods.
738 long GetValueAsLong( int row
, int col
) {
740 wxPyBeginBlockThreads();
741 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
744 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
745 if (ro
&& PyNumber_Check(ro
)) {
746 num
= PyNumber_Int(ro
);
748 rval
= PyInt_AsLong(num
);
754 wxPyEndBlockThreads();
758 double GetValueAsDouble( int row
, int col
) {
760 wxPyBeginBlockThreads();
761 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
764 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
765 if (ro
&& PyNumber_Check(ro
)) {
766 num
= PyNumber_Float(ro
);
768 rval
= PyFloat_AsDouble(num
);
774 wxPyEndBlockThreads();
778 bool GetValueAsBool( int row
, int col
) {
779 return (bool)GetValueAsLong(row
, col
);
782 void SetValueAsLong( int row
, int col
, long value
) {
783 wxPyBeginBlockThreads();
784 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
785 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
787 wxPyEndBlockThreads();
790 void SetValueAsDouble( int row
, int col
, double value
) {
791 wxPyBeginBlockThreads();
792 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
793 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
795 wxPyEndBlockThreads();
798 void SetValueAsBool( int row
, int col
, bool value
) {
799 SetValueAsLong( row
, col
, (long)value
);
806 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
808 // If source is an object instance then it may already be the right type
809 if (PyInstance_Check(source
)) {
810 wxGridCellCoords
* ptr
;
811 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
816 // otherwise a 2-tuple of integers is expected
817 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
818 PyObject
* o1
= PySequence_GetItem(source
, 0);
819 PyObject
* o2
= PySequence_GetItem(source
, 1);
820 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
825 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
829 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
833 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
835 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
839 static PyObject
*_wrap_wxGridNoCellCoords_get() {
843 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
844 pyobj
= PyString_FromString(ptemp
);
848 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
854 static PyObject
*_wrap_wxGridNoCellRect_get() {
858 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
859 pyobj
= PyString_FromString(ptemp
);
863 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
864 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
866 wxGridCellRenderer
* _arg0
;
868 PyObject
* _argo0
= 0;
869 PyObject
* _obj1
= 0;
870 char *_kwnames
[] = { "self","params", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
883 _arg1
= wxString_in_helper(_obj1
);
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) return NULL
;
893 } Py_INCREF(Py_None
);
894 _resultobj
= Py_None
;
902 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
903 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
905 wxGridCellRenderer
* _arg0
;
906 PyObject
* _argo0
= 0;
907 char *_kwnames
[] = { "self", NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 wxGridCellRenderer_IncRef(_arg0
);
923 wxPyEndAllowThreads(__tstate
);
924 if (PyErr_Occurred()) return NULL
;
925 } Py_INCREF(Py_None
);
926 _resultobj
= Py_None
;
930 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
931 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxGridCellRenderer
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxGridCellRenderer_DecRef(_arg0
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
959 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxGridCellRenderer
* _arg0
;
963 wxGridCellAttr
* _arg2
;
969 PyObject
* _argo0
= 0;
970 PyObject
* _argo1
= 0;
971 PyObject
* _argo2
= 0;
972 PyObject
* _argo3
= 0;
974 PyObject
* _obj4
= 0;
976 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
996 if (_argo2
== Py_None
) { _arg2
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1003 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1011 if (! wxRect_helper(_obj4
, &_arg4
))
1014 _arg7
= (bool ) tempbool7
;
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } Py_INCREF(Py_None
);
1022 _resultobj
= Py_None
;
1026 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1027 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 wxGridCellRenderer
* _arg0
;
1032 wxGridCellAttr
* _arg2
;
1036 PyObject
* _argo0
= 0;
1037 PyObject
* _argo1
= 0;
1038 PyObject
* _argo2
= 0;
1039 PyObject
* _argo3
= 0;
1040 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1061 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1062 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1068 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1081 _resultobj
= Py_BuildValue("s",_ptemp
);
1085 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1086 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1088 wxGridCellRenderer
* _result
;
1089 wxGridCellRenderer
* _arg0
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) return NULL
;
1111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1112 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 _resultobj
= Py_None
;
1120 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1121 wxPyGridCellRenderer
*src
;
1122 wxGridCellRenderer
*dest
;
1123 src
= (wxPyGridCellRenderer
*) ptr
;
1124 dest
= (wxGridCellRenderer
*) src
;
1125 return (void *) dest
;
1128 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1129 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1131 wxPyGridCellRenderer
* _result
;
1132 char *_kwnames
[] = { NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1146 _resultobj
= Py_BuildValue("s",_ptemp
);
1149 _resultobj
= Py_None
;
1154 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1155 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1157 wxPyGridCellRenderer
* _arg0
;
1160 PyObject
* _argo0
= 0;
1161 PyObject
* _obj1
= 0;
1162 PyObject
* _obj2
= 0;
1163 char *_kwnames
[] = { "self","self","_class", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1193 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1195 wxPyGridCellRenderer
* _arg0
;
1197 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","params", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1212 _arg1
= wxString_in_helper(_obj1
);
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1231 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1232 wxGridCellStringRenderer
*src
;
1233 wxGridCellRenderer
*dest
;
1234 src
= (wxGridCellStringRenderer
*) ptr
;
1235 dest
= (wxGridCellRenderer
*) src
;
1236 return (void *) dest
;
1239 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1240 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1242 wxGridCellStringRenderer
* _result
;
1243 char *_kwnames
[] = { NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) return NULL
;
1256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1257 _resultobj
= Py_BuildValue("s",_ptemp
);
1260 _resultobj
= Py_None
;
1265 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1266 wxGridCellNumberRenderer
*src
;
1267 wxGridCellStringRenderer
*dest
;
1268 src
= (wxGridCellNumberRenderer
*) ptr
;
1269 dest
= (wxGridCellStringRenderer
*) src
;
1270 return (void *) dest
;
1273 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1274 wxGridCellNumberRenderer
*src
;
1275 wxGridCellRenderer
*dest
;
1276 src
= (wxGridCellNumberRenderer
*) ptr
;
1277 dest
= (wxGridCellRenderer
*) src
;
1278 return (void *) dest
;
1281 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1282 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxGridCellNumberRenderer
* _result
;
1285 char *_kwnames
[] = { NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) return NULL
;
1298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1299 _resultobj
= Py_BuildValue("s",_ptemp
);
1302 _resultobj
= Py_None
;
1307 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1308 wxGridCellFloatRenderer
*src
;
1309 wxGridCellStringRenderer
*dest
;
1310 src
= (wxGridCellFloatRenderer
*) ptr
;
1311 dest
= (wxGridCellStringRenderer
*) src
;
1312 return (void *) dest
;
1315 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1316 wxGridCellFloatRenderer
*src
;
1317 wxGridCellRenderer
*dest
;
1318 src
= (wxGridCellFloatRenderer
*) ptr
;
1319 dest
= (wxGridCellRenderer
*) src
;
1320 return (void *) dest
;
1323 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1324 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 wxGridCellFloatRenderer
* _result
;
1327 int _arg0
= (int ) -1;
1328 int _arg1
= (int ) -1;
1329 char *_kwnames
[] = { "width","precision", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) return NULL
;
1342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1343 _resultobj
= Py_BuildValue("s",_ptemp
);
1346 _resultobj
= Py_None
;
1351 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1352 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1355 wxGridCellFloatRenderer
* _arg0
;
1356 PyObject
* _argo0
= 0;
1357 char *_kwnames
[] = { "self", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1371 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1373 wxPyEndAllowThreads(__tstate
);
1374 if (PyErr_Occurred()) return NULL
;
1375 } _resultobj
= Py_BuildValue("i",_result
);
1379 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1380 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxGridCellFloatRenderer
* _arg0
;
1384 PyObject
* _argo0
= 0;
1385 char *_kwnames
[] = { "self","width", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1399 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1401 wxPyEndAllowThreads(__tstate
);
1402 if (PyErr_Occurred()) return NULL
;
1403 } Py_INCREF(Py_None
);
1404 _resultobj
= Py_None
;
1408 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1409 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1412 wxGridCellFloatRenderer
* _arg0
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 } _resultobj
= Py_BuildValue("i",_result
);
1436 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1437 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 wxGridCellFloatRenderer
* _arg0
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "self","precision", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 } Py_INCREF(Py_None
);
1461 _resultobj
= Py_None
;
1465 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1466 wxGridCellBoolRenderer
*src
;
1467 wxGridCellRenderer
*dest
;
1468 src
= (wxGridCellBoolRenderer
*) ptr
;
1469 dest
= (wxGridCellRenderer
*) src
;
1470 return (void *) dest
;
1473 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1474 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1476 wxGridCellBoolRenderer
* _result
;
1477 char *_kwnames
[] = { NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) return NULL
;
1490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1491 _resultobj
= Py_BuildValue("s",_ptemp
);
1494 _resultobj
= Py_None
;
1499 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1500 wxGridCellDateTimeRenderer
*src
;
1501 wxGridCellStringRenderer
*dest
;
1502 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1503 dest
= (wxGridCellStringRenderer
*) src
;
1504 return (void *) dest
;
1507 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1508 wxGridCellDateTimeRenderer
*src
;
1509 wxGridCellRenderer
*dest
;
1510 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1511 dest
= (wxGridCellRenderer
*) src
;
1512 return (void *) dest
;
1515 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1516 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1518 wxGridCellDateTimeRenderer
* _result
;
1519 wxString
* _arg0
= (wxString
*) &"%c";
1520 wxString
* _arg1
= (wxString
*) &"%c";
1521 PyObject
* _obj0
= 0;
1522 PyObject
* _obj1
= 0;
1523 char *_kwnames
[] = { "outformat","informat", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1531 _arg0
= wxString_in_helper(_obj0
);
1537 _arg1
= wxString_in_helper(_obj1
);
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) return NULL
;
1548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1552 _resultobj
= Py_None
;
1565 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1566 wxGridCellEnumRenderer
*src
;
1567 wxGridCellStringRenderer
*dest
;
1568 src
= (wxGridCellEnumRenderer
*) ptr
;
1569 dest
= (wxGridCellStringRenderer
*) src
;
1570 return (void *) dest
;
1573 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1574 wxGridCellEnumRenderer
*src
;
1575 wxGridCellRenderer
*dest
;
1576 src
= (wxGridCellEnumRenderer
*) ptr
;
1577 dest
= (wxGridCellRenderer
*) src
;
1578 return (void *) dest
;
1581 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1582 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxGridCellEnumRenderer
* _result
;
1585 wxString
* _arg0
= (wxString
*) &"";
1586 PyObject
* _obj0
= 0;
1587 char *_kwnames
[] = { "choices", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1595 _arg0
= wxString_LIST_helper(_obj0
);
1596 if (_arg0
== NULL
) {
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1619 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1620 wxGridCellAutoWrapStringRenderer
*src
;
1621 wxGridCellStringRenderer
*dest
;
1622 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1623 dest
= (wxGridCellStringRenderer
*) src
;
1624 return (void *) dest
;
1627 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1628 wxGridCellAutoWrapStringRenderer
*src
;
1629 wxGridCellRenderer
*dest
;
1630 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1631 dest
= (wxGridCellRenderer
*) src
;
1632 return (void *) dest
;
1635 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1636 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxGridCellAutoWrapStringRenderer
* _result
;
1639 char *_kwnames
[] = { NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1653 _resultobj
= Py_BuildValue("s",_ptemp
);
1656 _resultobj
= Py_None
;
1661 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1662 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1665 wxGridCellEditor
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } _resultobj
= Py_BuildValue("i",_result
);
1689 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1690 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxControl
* _result
;
1693 wxGridCellEditor
* _arg0
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1713 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1717 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1718 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxGridCellEditor
* _arg0
;
1722 PyObject
* _argo0
= 0;
1723 PyObject
* _argo1
= 0;
1724 char *_kwnames
[] = { "self","control", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1745 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1747 wxPyEndAllowThreads(__tstate
);
1748 if (PyErr_Occurred()) return NULL
;
1749 } Py_INCREF(Py_None
);
1750 _resultobj
= Py_None
;
1754 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1755 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 wxGridCellEditor
* _arg0
;
1759 PyObject
* _argo0
= 0;
1760 PyObject
* _obj1
= 0;
1761 char *_kwnames
[] = { "self","params", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1774 _arg1
= wxString_in_helper(_obj1
);
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) return NULL
;
1784 } Py_INCREF(Py_None
);
1785 _resultobj
= Py_None
;
1793 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1794 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
* _resultobj
;
1796 wxGridCellEditor
* _arg0
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxGridCellEditor_IncRef(_arg0
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1822 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxGridCellEditor
* _arg0
;
1825 PyObject
* _argo0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxGridCellEditor_DecRef(_arg0
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1850 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxGridCellEditor
* _arg0
;
1855 wxEvtHandler
* _arg3
;
1856 PyObject
* _argo0
= 0;
1857 PyObject
* _argo1
= 0;
1858 PyObject
* _argo3
= 0;
1859 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1879 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1880 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) return NULL
;
1891 } Py_INCREF(Py_None
);
1892 _resultobj
= Py_None
;
1896 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1897 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1899 wxGridCellEditor
* _arg0
;
1903 PyObject
* _argo0
= 0;
1904 PyObject
* _argo3
= 0;
1905 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1918 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1935 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1936 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1939 wxGridCellEditor
* _arg0
;
1943 PyObject
* _argo0
= 0;
1944 PyObject
* _argo3
= 0;
1945 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1958 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } _resultobj
= Py_BuildValue("i",_result
);
1974 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1975 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxGridCellEditor
* _arg0
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxGridCellEditor_Reset(_arg0
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2002 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2003 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2005 wxGridCellEditor
* _result
;
2006 wxGridCellEditor
* _arg0
;
2007 PyObject
* _argo0
= 0;
2008 char *_kwnames
[] = { "self", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2029 _resultobj
= Py_BuildValue("s",_ptemp
);
2032 _resultobj
= Py_None
;
2037 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2038 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2040 wxGridCellEditor
* _arg0
;
2042 PyObject
* _argo0
= 0;
2044 PyObject
* _obj1
= 0;
2045 char *_kwnames
[] = { "self","rect", NULL
};
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2059 if (! wxRect_helper(_obj1
, &_arg1
))
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) return NULL
;
2068 } Py_INCREF(Py_None
);
2069 _resultobj
= Py_None
;
2073 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2074 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2076 wxGridCellEditor
* _arg0
;
2078 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2079 PyObject
* _argo0
= 0;
2081 PyObject
* _argo2
= 0;
2082 char *_kwnames
[] = { "self","show","attr", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2094 _arg1
= (bool ) tempbool1
;
2096 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2113 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2114 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2116 wxGridCellEditor
* _arg0
;
2118 wxGridCellAttr
* _arg2
;
2119 PyObject
* _argo0
= 0;
2121 PyObject
* _obj1
= 0;
2122 PyObject
* _argo2
= 0;
2123 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2137 if (! wxRect_helper(_obj1
, &_arg1
))
2141 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2159 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 wxGridCellEditor
* _arg0
;
2164 PyObject
* _argo0
= 0;
2165 PyObject
* _argo1
= 0;
2166 char *_kwnames
[] = { "self","event", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } _resultobj
= Py_BuildValue("i",_result
);
2195 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2196 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2198 wxGridCellEditor
* _arg0
;
2200 PyObject
* _argo0
= 0;
2201 PyObject
* _argo1
= 0;
2202 char *_kwnames
[] = { "self","event", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2227 } Py_INCREF(Py_None
);
2228 _resultobj
= Py_None
;
2232 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2233 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2235 wxGridCellEditor
* _arg0
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxGridCellEditor_StartingClick(_arg0
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2261 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxGridCellEditor
* _arg0
;
2265 PyObject
* _argo0
= 0;
2266 PyObject
* _argo1
= 0;
2267 char *_kwnames
[] = { "self","event", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) return NULL
;
2292 } Py_INCREF(Py_None
);
2293 _resultobj
= Py_None
;
2297 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2298 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2300 wxGridCellEditor
* _arg0
;
2301 PyObject
* _argo0
= 0;
2302 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 wxGridCellEditor_Destroy(_arg0
);
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) return NULL
;
2320 } Py_INCREF(Py_None
);
2321 _resultobj
= Py_None
;
2325 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2326 wxPyGridCellEditor
*src
;
2327 wxGridCellEditor
*dest
;
2328 src
= (wxPyGridCellEditor
*) ptr
;
2329 dest
= (wxGridCellEditor
*) src
;
2330 return (void *) dest
;
2333 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2334 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2336 wxPyGridCellEditor
* _result
;
2337 char *_kwnames
[] = { NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) return NULL
;
2350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2351 _resultobj
= Py_BuildValue("s",_ptemp
);
2354 _resultobj
= Py_None
;
2359 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2360 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2362 wxPyGridCellEditor
* _arg0
;
2365 PyObject
* _argo0
= 0;
2366 PyObject
* _obj1
= 0;
2367 PyObject
* _obj2
= 0;
2368 char *_kwnames
[] = { "self","self","_class", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2398 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2400 wxPyGridCellEditor
* _arg0
;
2402 PyObject
* _argo0
= 0;
2404 PyObject
* _obj1
= 0;
2405 char *_kwnames
[] = { "self","rect", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2419 if (! wxRect_helper(_obj1
, &_arg1
))
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2434 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2436 wxPyGridCellEditor
* _arg0
;
2438 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2439 PyObject
* _argo0
= 0;
2441 PyObject
* _argo2
= 0;
2442 char *_kwnames
[] = { "self","show","attr", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2454 _arg1
= (bool ) tempbool1
;
2456 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 } Py_INCREF(Py_None
);
2469 _resultobj
= Py_None
;
2473 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2474 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2476 wxPyGridCellEditor
* _arg0
;
2478 wxGridCellAttr
* _arg2
;
2479 PyObject
* _argo0
= 0;
2481 PyObject
* _obj1
= 0;
2482 PyObject
* _argo2
= 0;
2483 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2497 if (! wxRect_helper(_obj1
, &_arg1
))
2501 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } Py_INCREF(Py_None
);
2514 _resultobj
= Py_None
;
2518 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2519 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2521 wxPyGridCellEditor
* _arg0
;
2523 PyObject
* _argo0
= 0;
2524 PyObject
* _argo1
= 0;
2525 char *_kwnames
[] = { "self","event", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2556 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2558 wxPyGridCellEditor
* _arg0
;
2560 PyObject
* _argo0
= 0;
2561 PyObject
* _argo1
= 0;
2562 char *_kwnames
[] = { "self","event", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2575 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) return NULL
;
2587 } Py_INCREF(Py_None
);
2588 _resultobj
= Py_None
;
2592 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2593 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
* _resultobj
;
2595 wxPyGridCellEditor
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxPyGridCellEditor_base_StartingClick(_arg0
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2620 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2621 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2623 wxPyGridCellEditor
* _arg0
;
2625 PyObject
* _argo0
= 0;
2626 PyObject
* _argo1
= 0;
2627 char *_kwnames
[] = { "self","event", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) return NULL
;
2652 } Py_INCREF(Py_None
);
2653 _resultobj
= Py_None
;
2657 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2658 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2660 wxPyGridCellEditor
* _arg0
;
2661 PyObject
* _argo0
= 0;
2662 char *_kwnames
[] = { "self", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxPyGridCellEditor_base_Destroy(_arg0
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2680 } Py_INCREF(Py_None
);
2681 _resultobj
= Py_None
;
2685 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2686 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2688 wxPyGridCellEditor
* _arg0
;
2690 PyObject
* _argo0
= 0;
2691 PyObject
* _obj1
= 0;
2692 char *_kwnames
[] = { "self","params", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2705 _arg1
= wxString_in_helper(_obj1
);
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) return NULL
;
2715 } Py_INCREF(Py_None
);
2716 _resultobj
= Py_None
;
2724 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2725 wxGridCellTextEditor
*src
;
2726 wxGridCellEditor
*dest
;
2727 src
= (wxGridCellTextEditor
*) ptr
;
2728 dest
= (wxGridCellEditor
*) src
;
2729 return (void *) dest
;
2732 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2733 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2735 wxGridCellTextEditor
* _result
;
2736 char *_kwnames
[] = { NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) return NULL
;
2749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2750 _resultobj
= Py_BuildValue("s",_ptemp
);
2753 _resultobj
= Py_None
;
2758 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2759 wxGridCellNumberEditor
*src
;
2760 wxGridCellTextEditor
*dest
;
2761 src
= (wxGridCellNumberEditor
*) ptr
;
2762 dest
= (wxGridCellTextEditor
*) src
;
2763 return (void *) dest
;
2766 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2767 wxGridCellNumberEditor
*src
;
2768 wxGridCellEditor
*dest
;
2769 src
= (wxGridCellNumberEditor
*) ptr
;
2770 dest
= (wxGridCellEditor
*) src
;
2771 return (void *) dest
;
2774 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2775 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2777 wxGridCellNumberEditor
* _result
;
2778 int _arg0
= (int ) -1;
2779 int _arg1
= (int ) -1;
2780 char *_kwnames
[] = { "min","max", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2794 _resultobj
= Py_BuildValue("s",_ptemp
);
2797 _resultobj
= Py_None
;
2802 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2803 wxGridCellFloatEditor
*src
;
2804 wxGridCellTextEditor
*dest
;
2805 src
= (wxGridCellFloatEditor
*) ptr
;
2806 dest
= (wxGridCellTextEditor
*) src
;
2807 return (void *) dest
;
2810 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2811 wxGridCellFloatEditor
*src
;
2812 wxGridCellEditor
*dest
;
2813 src
= (wxGridCellFloatEditor
*) ptr
;
2814 dest
= (wxGridCellEditor
*) src
;
2815 return (void *) dest
;
2818 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2819 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2821 wxGridCellFloatEditor
* _result
;
2822 char *_kwnames
[] = { NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 _resultobj
= Py_None
;
2844 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2845 wxGridCellBoolEditor
*src
;
2846 wxGridCellEditor
*dest
;
2847 src
= (wxGridCellBoolEditor
*) ptr
;
2848 dest
= (wxGridCellEditor
*) src
;
2849 return (void *) dest
;
2852 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2853 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2855 wxGridCellBoolEditor
* _result
;
2856 char *_kwnames
[] = { NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2870 _resultobj
= Py_BuildValue("s",_ptemp
);
2873 _resultobj
= Py_None
;
2878 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2879 wxGridCellChoiceEditor
*src
;
2880 wxGridCellEditor
*dest
;
2881 src
= (wxGridCellChoiceEditor
*) ptr
;
2882 dest
= (wxGridCellEditor
*) src
;
2883 return (void *) dest
;
2886 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2887 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2889 wxGridCellChoiceEditor
* _result
;
2890 int _arg0
= (int ) 0;
2891 wxString
* _arg1
= (wxString
*) NULL
;
2892 bool _arg2
= (bool ) FALSE
;
2893 PyObject
* _obj1
= 0;
2894 int tempbool2
= (int) FALSE
;
2895 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2903 _arg1
= wxString_LIST_helper(_obj1
);
2904 if (_arg1
== NULL
) {
2908 _arg2
= (bool ) tempbool2
;
2911 _arg0
= PyList_Size(_obj1
);
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2925 _resultobj
= Py_BuildValue("s",_ptemp
);
2928 _resultobj
= Py_None
;
2936 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
2937 wxGridCellEnumEditor
*src
;
2938 wxGridCellChoiceEditor
*dest
;
2939 src
= (wxGridCellEnumEditor
*) ptr
;
2940 dest
= (wxGridCellChoiceEditor
*) src
;
2941 return (void *) dest
;
2944 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
2945 wxGridCellEnumEditor
*src
;
2946 wxGridCellEditor
*dest
;
2947 src
= (wxGridCellEnumEditor
*) ptr
;
2948 dest
= (wxGridCellEditor
*) src
;
2949 return (void *) dest
;
2952 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2953 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxGridCellEnumEditor
* _result
;
2956 wxString
* _arg0
= (wxString
*) &"";
2957 PyObject
* _obj0
= 0;
2958 char *_kwnames
[] = { "choices", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
2966 _arg0
= wxString_LIST_helper(_obj0
);
2967 if (_arg0
== NULL
) {
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2990 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
2991 wxGridCellAutoWrapStringEditor
*src
;
2992 wxGridCellTextEditor
*dest
;
2993 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
2994 dest
= (wxGridCellTextEditor
*) src
;
2995 return (void *) dest
;
2998 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
2999 wxGridCellAutoWrapStringEditor
*src
;
3000 wxGridCellEditor
*dest
;
3001 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3002 dest
= (wxGridCellEditor
*) src
;
3003 return (void *) dest
;
3006 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3007 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3009 wxGridCellAutoWrapStringEditor
* _result
;
3010 char *_kwnames
[] = { NULL
};
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) return NULL
;
3023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3024 _resultobj
= Py_BuildValue("s",_ptemp
);
3027 _resultobj
= Py_None
;
3032 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3033 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3035 wxGridCellAttr
* _result
;
3036 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "attrDefault", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) return NULL
;
3058 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3059 _resultobj
= Py_BuildValue("s",_ptemp
);
3062 _resultobj
= Py_None
;
3067 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3068 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3070 wxGridCellAttr
* _result
;
3071 wxGridCellAttr
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3094 _resultobj
= Py_BuildValue("s",_ptemp
);
3097 _resultobj
= Py_None
;
3102 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3103 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3105 wxGridCellAttr
* _arg0
;
3106 wxGridCellAttr
* _arg1
;
3107 PyObject
* _argo0
= 0;
3108 PyObject
* _argo1
= 0;
3109 char *_kwnames
[] = { "self","mergefrom", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } Py_INCREF(Py_None
);
3135 _resultobj
= Py_None
;
3139 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3140 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
* _resultobj
;
3142 wxGridCellAttr
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 wxGridCellAttr_IncRef(_arg0
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) return NULL
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3168 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxGridCellAttr
* _arg0
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxGridCellAttr_DecRef(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3190 } Py_INCREF(Py_None
);
3191 _resultobj
= Py_None
;
3195 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3196 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxGridCellAttr
* _arg0
;
3200 PyObject
* _argo0
= 0;
3202 PyObject
* _obj1
= 0;
3203 char *_kwnames
[] = { "self","colText", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3217 if (! wxColour_helper(_obj1
, &_arg1
))
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) return NULL
;
3226 } Py_INCREF(Py_None
);
3227 _resultobj
= Py_None
;
3231 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3232 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxGridCellAttr
* _arg0
;
3236 PyObject
* _argo0
= 0;
3238 PyObject
* _obj1
= 0;
3239 char *_kwnames
[] = { "self","colBack", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3253 if (! wxColour_helper(_obj1
, &_arg1
))
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } Py_INCREF(Py_None
);
3263 _resultobj
= Py_None
;
3267 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3268 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3270 wxGridCellAttr
* _arg0
;
3272 PyObject
* _argo0
= 0;
3273 PyObject
* _argo1
= 0;
3274 char *_kwnames
[] = { "self","font", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3287 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3305 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3307 wxGridCellAttr
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3329 } Py_INCREF(Py_None
);
3330 _resultobj
= Py_None
;
3334 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3335 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3337 wxGridCellAttr
* _arg0
;
3338 bool _arg1
= (bool ) TRUE
;
3339 PyObject
* _argo0
= 0;
3340 int tempbool1
= (int) TRUE
;
3341 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3353 _arg1
= (bool ) tempbool1
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) return NULL
;
3360 } Py_INCREF(Py_None
);
3361 _resultobj
= Py_None
;
3365 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3366 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxGridCellAttr
* _arg0
;
3369 wxGridCellRenderer
* _arg1
;
3370 PyObject
* _argo0
= 0;
3371 PyObject
* _argo1
= 0;
3372 char *_kwnames
[] = { "self","renderer", NULL
};
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) return NULL
;
3397 } Py_INCREF(Py_None
);
3398 _resultobj
= Py_None
;
3402 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3403 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3405 wxGridCellAttr
* _arg0
;
3406 wxGridCellEditor
* _arg1
;
3407 PyObject
* _argo0
= 0;
3408 PyObject
* _argo1
= 0;
3409 char *_kwnames
[] = { "self","editor", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3434 } Py_INCREF(Py_None
);
3435 _resultobj
= Py_None
;
3439 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3440 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxGridCellAttr
* _arg0
;
3443 wxGridCellAttr::wxAttrKind _arg1
;
3444 PyObject
* _argo0
= 0;
3445 char *_kwnames
[] = { "self","kind", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3463 } Py_INCREF(Py_None
);
3464 _resultobj
= Py_None
;
3468 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3469 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3472 wxGridCellAttr
* _arg0
;
3473 PyObject
* _argo0
= 0;
3474 char *_kwnames
[] = { "self", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3497 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3500 wxGridCellAttr
* _arg0
;
3501 PyObject
* _argo0
= 0;
3502 char *_kwnames
[] = { "self", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) return NULL
;
3520 } _resultobj
= Py_BuildValue("i",_result
);
3524 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3525 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3528 wxGridCellAttr
* _arg0
;
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) return NULL
;
3548 } _resultobj
= Py_BuildValue("i",_result
);
3552 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3553 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxGridCellAttr
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) return NULL
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3581 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3584 wxGridCellAttr
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3609 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxGridCellAttr
* _arg0
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3637 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxGridCellAttr
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3665 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxGridCellAttr
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3689 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3690 _resultobj
= Py_BuildValue("s",_ptemp
);
3694 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3695 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3698 wxGridCellAttr
* _arg0
;
3699 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3720 _resultobj
= Py_BuildValue("s",_ptemp
);
3724 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3725 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3728 wxGridCellAttr
* _arg0
;
3729 PyObject
* _argo0
= 0;
3730 char *_kwnames
[] = { "self", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) return NULL
;
3749 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3750 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3755 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3757 wxGridCellAttr
* _arg0
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3791 o
= PyInt_FromLong((long) (*_arg1
));
3792 _resultobj
= t_output_helper(_resultobj
, o
);
3796 o
= PyInt_FromLong((long) (*_arg2
));
3797 _resultobj
= t_output_helper(_resultobj
, o
);
3802 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3803 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxGridCellRenderer
* _result
;
3806 wxGridCellAttr
* _arg0
;
3810 PyObject
* _argo0
= 0;
3811 PyObject
* _argo1
= 0;
3812 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) return NULL
;
3839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3840 _resultobj
= Py_BuildValue("s",_ptemp
);
3843 _resultobj
= Py_None
;
3848 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3849 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3851 wxGridCellEditor
* _result
;
3852 wxGridCellAttr
* _arg0
;
3856 PyObject
* _argo0
= 0;
3857 PyObject
* _argo1
= 0;
3858 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) return NULL
;
3885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3886 _resultobj
= Py_BuildValue("s",_ptemp
);
3889 _resultobj
= Py_None
;
3894 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3895 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxGridCellAttr
* _arg0
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) return NULL
;
3918 } _resultobj
= Py_BuildValue("i",_result
);
3922 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3923 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3925 wxGridCellAttr
* _arg0
;
3926 wxGridCellAttr
* _arg1
;
3927 PyObject
* _argo0
= 0;
3928 PyObject
* _argo1
= 0;
3929 char *_kwnames
[] = { "self","defAttr", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) return NULL
;
3954 } Py_INCREF(Py_None
);
3955 _resultobj
= Py_None
;
3959 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3960 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
* _resultobj
;
3962 wxGridCellAttrProvider
* _result
;
3963 char *_kwnames
[] = { NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3977 _resultobj
= Py_BuildValue("s",_ptemp
);
3980 _resultobj
= Py_None
;
3985 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3986 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3988 wxGridCellAttr
* _result
;
3989 wxGridCellAttrProvider
* _arg0
;
3992 wxGridCellAttr::wxAttrKind _arg3
;
3993 PyObject
* _argo0
= 0;
3994 char *_kwnames
[] = { "self","row","col","kind", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4015 _resultobj
= Py_BuildValue("s",_ptemp
);
4018 _resultobj
= Py_None
;
4023 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4024 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4026 wxGridCellAttrProvider
* _arg0
;
4027 wxGridCellAttr
* _arg1
;
4030 PyObject
* _argo0
= 0;
4031 PyObject
* _argo1
= 0;
4032 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4062 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4063 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4065 wxGridCellAttrProvider
* _arg0
;
4066 wxGridCellAttr
* _arg1
;
4068 PyObject
* _argo0
= 0;
4069 PyObject
* _argo1
= 0;
4070 char *_kwnames
[] = { "self","attr","row", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) return NULL
;
4095 } Py_INCREF(Py_None
);
4096 _resultobj
= Py_None
;
4100 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4101 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4103 wxGridCellAttrProvider
* _arg0
;
4104 wxGridCellAttr
* _arg1
;
4106 PyObject
* _argo0
= 0;
4107 PyObject
* _argo1
= 0;
4108 char *_kwnames
[] = { "self","attr","col", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4139 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxGridCellAttrProvider
* _arg0
;
4144 PyObject
* _argo0
= 0;
4145 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4169 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4171 wxGridCellAttrProvider
* _arg0
;
4174 PyObject
* _argo0
= 0;
4175 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) return NULL
;
4193 } Py_INCREF(Py_None
);
4194 _resultobj
= Py_None
;
4198 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4199 wxPyGridCellAttrProvider
*src
;
4200 wxGridCellAttrProvider
*dest
;
4201 src
= (wxPyGridCellAttrProvider
*) ptr
;
4202 dest
= (wxGridCellAttrProvider
*) src
;
4203 return (void *) dest
;
4206 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4207 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4209 wxPyGridCellAttrProvider
* _result
;
4210 char *_kwnames
[] = { NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) return NULL
;
4223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4227 _resultobj
= Py_None
;
4232 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4233 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4235 wxPyGridCellAttrProvider
* _arg0
;
4238 PyObject
* _argo0
= 0;
4239 PyObject
* _obj1
= 0;
4240 PyObject
* _obj2
= 0;
4241 char *_kwnames
[] = { "self","self","_class", NULL
};
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) return NULL
;
4265 } Py_INCREF(Py_None
);
4266 _resultobj
= Py_None
;
4270 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4271 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4273 wxGridCellAttr
* _result
;
4274 wxPyGridCellAttrProvider
* _arg0
;
4277 wxGridCellAttr::wxAttrKind _arg3
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) return NULL
;
4299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4300 _resultobj
= Py_BuildValue("s",_ptemp
);
4303 _resultobj
= Py_None
;
4308 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4309 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxPyGridCellAttrProvider
* _arg0
;
4312 wxGridCellAttr
* _arg1
;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _argo1
= 0;
4317 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) return NULL
;
4342 } Py_INCREF(Py_None
);
4343 _resultobj
= Py_None
;
4347 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4348 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4350 wxPyGridCellAttrProvider
* _arg0
;
4351 wxGridCellAttr
* _arg1
;
4353 PyObject
* _argo0
= 0;
4354 PyObject
* _argo1
= 0;
4355 char *_kwnames
[] = { "self","attr","row", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4386 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxPyGridCellAttrProvider
* _arg0
;
4389 wxGridCellAttr
* _arg1
;
4391 PyObject
* _argo0
= 0;
4392 PyObject
* _argo1
= 0;
4393 char *_kwnames
[] = { "self","attr","col", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) return NULL
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4423 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4424 wxGridTableBase
*src
;
4426 src
= (wxGridTableBase
*) ptr
;
4427 dest
= (wxObject
*) src
;
4428 return (void *) dest
;
4431 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4432 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxGridTableBase
* _arg0
;
4435 wxGridCellAttrProvider
* _arg1
;
4436 PyObject
* _argo0
= 0;
4437 PyObject
* _argo1
= 0;
4438 char *_kwnames
[] = { "self","attrProvider", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4463 } Py_INCREF(Py_None
);
4464 _resultobj
= Py_None
;
4468 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4469 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4471 wxGridCellAttrProvider
* _result
;
4472 wxGridTableBase
* _arg0
;
4473 PyObject
* _argo0
= 0;
4474 char *_kwnames
[] = { "self", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) return NULL
;
4494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4495 _resultobj
= Py_BuildValue("s",_ptemp
);
4498 _resultobj
= Py_None
;
4503 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4504 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4506 wxGridTableBase
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 PyObject
* _argo1
= 0;
4510 char *_kwnames
[] = { "self","grid", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 wxGridTableBase_SetView(_arg0
,_arg1
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) return NULL
;
4535 } Py_INCREF(Py_None
);
4536 _resultobj
= Py_None
;
4540 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4541 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 wxGridTableBase
* _arg0
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) return NULL
;
4564 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4568 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4569 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4572 wxGridTableBase
* _arg0
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4592 } _resultobj
= Py_BuildValue("i",_result
);
4596 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4597 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 wxGridTableBase
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) return NULL
;
4620 } _resultobj
= Py_BuildValue("i",_result
);
4624 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4625 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4628 wxGridTableBase
* _arg0
;
4631 PyObject
* _argo0
= 0;
4632 char *_kwnames
[] = { "self","row","col", NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) return NULL
;
4650 } _resultobj
= Py_BuildValue("i",_result
);
4654 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4655 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4658 wxGridTableBase
* _arg0
;
4661 PyObject
* _argo0
= 0;
4662 char *_kwnames
[] = { "self","row","col", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) return NULL
;
4682 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4693 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4694 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxGridTableBase
* _arg0
;
4700 PyObject
* _argo0
= 0;
4701 PyObject
* _obj3
= 0;
4702 char *_kwnames
[] = { "self","row","col","value", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4715 _arg3
= wxString_in_helper(_obj3
);
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) return NULL
;
4725 } Py_INCREF(Py_None
);
4726 _resultobj
= Py_None
;
4734 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4735 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4738 wxGridTableBase
* _arg0
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self","row","col", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4762 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4764 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4773 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxGridTableBase
* _arg0
;
4781 PyObject
* _argo0
= 0;
4782 PyObject
* _obj3
= 0;
4783 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4796 _arg3
= wxString_in_helper(_obj3
);
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("i",_result
);
4814 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4815 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4818 wxGridTableBase
* _arg0
;
4822 PyObject
* _argo0
= 0;
4823 PyObject
* _obj3
= 0;
4824 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4837 _arg3
= wxString_in_helper(_obj3
);
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) return NULL
;
4847 } _resultobj
= Py_BuildValue("i",_result
);
4855 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4856 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4859 wxGridTableBase
* _arg0
;
4862 PyObject
* _argo0
= 0;
4863 char *_kwnames
[] = { "self","row","col", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } _resultobj
= Py_BuildValue("l",_result
);
4885 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4886 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 wxGridTableBase
* _arg0
;
4892 PyObject
* _argo0
= 0;
4893 char *_kwnames
[] = { "self","row","col", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4911 } _resultobj
= Py_BuildValue("d",_result
);
4915 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4916 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4919 wxGridTableBase
* _arg0
;
4922 PyObject
* _argo0
= 0;
4923 char *_kwnames
[] = { "self","row","col", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) return NULL
;
4941 } _resultobj
= Py_BuildValue("i",_result
);
4945 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4946 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxGridTableBase
* _arg0
;
4952 PyObject
* _argo0
= 0;
4953 char *_kwnames
[] = { "self","row","col","value", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) return NULL
;
4971 } Py_INCREF(Py_None
);
4972 _resultobj
= Py_None
;
4976 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4977 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4979 wxGridTableBase
* _arg0
;
4983 PyObject
* _argo0
= 0;
4984 char *_kwnames
[] = { "self","row","col","value", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) return NULL
;
5002 } Py_INCREF(Py_None
);
5003 _resultobj
= Py_None
;
5007 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5008 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxGridTableBase
* _arg0
;
5014 PyObject
* _argo0
= 0;
5016 char *_kwnames
[] = { "self","row","col","value", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5028 _arg3
= (bool ) tempbool3
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5035 } Py_INCREF(Py_None
);
5036 _resultobj
= Py_None
;
5040 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5041 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5043 wxGridTableBase
* _arg0
;
5044 PyObject
* _argo0
= 0;
5045 char *_kwnames
[] = { "self", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 wxGridTableBase_Clear(_arg0
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) return NULL
;
5063 } Py_INCREF(Py_None
);
5064 _resultobj
= Py_None
;
5068 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5069 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5072 wxGridTableBase
* _arg0
;
5073 size_t _arg1
= (size_t ) 0;
5074 size_t _arg2
= (size_t ) 1;
5075 PyObject
* _argo0
= 0;
5076 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) return NULL
;
5094 } _resultobj
= Py_BuildValue("i",_result
);
5098 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5099 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5102 wxGridTableBase
* _arg0
;
5103 size_t _arg1
= (size_t ) 1;
5104 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self","numRows", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) return NULL
;
5123 } _resultobj
= Py_BuildValue("i",_result
);
5127 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5128 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5131 wxGridTableBase
* _arg0
;
5132 size_t _arg1
= (size_t ) 0;
5133 size_t _arg2
= (size_t ) 1;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) return NULL
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5158 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5161 wxGridTableBase
* _arg0
;
5162 size_t _arg1
= (size_t ) 0;
5163 size_t _arg2
= (size_t ) 1;
5164 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) return NULL
;
5183 } _resultobj
= Py_BuildValue("i",_result
);
5187 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5188 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5191 wxGridTableBase
* _arg0
;
5192 size_t _arg1
= (size_t ) 1;
5193 PyObject
* _argo0
= 0;
5194 char *_kwnames
[] = { "self","numCols", NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) return NULL
;
5212 } _resultobj
= Py_BuildValue("i",_result
);
5216 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5217 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5220 wxGridTableBase
* _arg0
;
5221 size_t _arg1
= (size_t ) 0;
5222 size_t _arg2
= (size_t ) 1;
5223 PyObject
* _argo0
= 0;
5224 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) return NULL
;
5242 } _resultobj
= Py_BuildValue("i",_result
);
5246 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5247 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5250 wxGridTableBase
* _arg0
;
5252 PyObject
* _argo0
= 0;
5253 char *_kwnames
[] = { "self","row", NULL
};
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) return NULL
;
5273 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5275 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5284 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5285 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5288 wxGridTableBase
* _arg0
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self","col", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5311 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5313 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5322 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5323 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5325 wxGridTableBase
* _arg0
;
5328 PyObject
* _argo0
= 0;
5329 PyObject
* _obj2
= 0;
5330 char *_kwnames
[] = { "self","row","value", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5343 _arg2
= wxString_in_helper(_obj2
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) return NULL
;
5353 } Py_INCREF(Py_None
);
5354 _resultobj
= Py_None
;
5362 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5363 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5365 wxGridTableBase
* _arg0
;
5368 PyObject
* _argo0
= 0;
5369 PyObject
* _obj2
= 0;
5370 char *_kwnames
[] = { "self","col","value", NULL
};
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5383 _arg2
= wxString_in_helper(_obj2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } Py_INCREF(Py_None
);
5394 _resultobj
= Py_None
;
5402 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5403 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
* _resultobj
;
5406 wxGridTableBase
* _arg0
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) return NULL
;
5426 } _resultobj
= Py_BuildValue("i",_result
);
5430 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5431 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5433 wxGridCellAttr
* _result
;
5434 wxGridTableBase
* _arg0
;
5437 wxGridCellAttr::wxAttrKind _arg3
;
5438 PyObject
* _argo0
= 0;
5439 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) return NULL
;
5459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5460 _resultobj
= Py_BuildValue("s",_ptemp
);
5463 _resultobj
= Py_None
;
5468 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5469 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5471 wxGridTableBase
* _arg0
;
5472 wxGridCellAttr
* _arg1
;
5475 PyObject
* _argo0
= 0;
5476 PyObject
* _argo1
= 0;
5477 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5508 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5510 wxGridTableBase
* _arg0
;
5511 wxGridCellAttr
* _arg1
;
5513 PyObject
* _argo0
= 0;
5514 PyObject
* _argo1
= 0;
5515 char *_kwnames
[] = { "self","attr","row", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5546 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5548 wxGridTableBase
* _arg0
;
5549 wxGridCellAttr
* _arg1
;
5551 PyObject
* _argo0
= 0;
5552 PyObject
* _argo1
= 0;
5553 char *_kwnames
[] = { "self","attr","col", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) return NULL
;
5578 } Py_INCREF(Py_None
);
5579 _resultobj
= Py_None
;
5583 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5584 wxPyGridTableBase
*src
;
5585 wxGridTableBase
*dest
;
5586 src
= (wxPyGridTableBase
*) ptr
;
5587 dest
= (wxGridTableBase
*) src
;
5588 return (void *) dest
;
5591 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5592 wxPyGridTableBase
*src
;
5594 src
= (wxPyGridTableBase
*) ptr
;
5595 dest
= (wxObject
*) src
;
5596 return (void *) dest
;
5599 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5600 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxPyGridTableBase
* _result
;
5603 char *_kwnames
[] = { NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) return NULL
;
5616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5617 _resultobj
= Py_BuildValue("s",_ptemp
);
5620 _resultobj
= Py_None
;
5625 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5626 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5628 wxPyGridTableBase
* _arg0
;
5631 PyObject
* _argo0
= 0;
5632 PyObject
* _obj1
= 0;
5633 PyObject
* _obj2
= 0;
5634 char *_kwnames
[] = { "self","self","_class", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5664 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5666 wxPyGridTableBase
* _arg0
;
5667 PyObject
* _argo0
= 0;
5668 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPyGridTableBase_Destroy(_arg0
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5691 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5692 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxPyGridTableBase
* _arg0
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self","row","col", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) return NULL
;
5719 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5721 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5730 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5731 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5734 wxPyGridTableBase
* _arg0
;
5738 PyObject
* _argo0
= 0;
5739 PyObject
* _obj3
= 0;
5740 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5753 _arg3
= wxString_in_helper(_obj3
);
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) return NULL
;
5763 } _resultobj
= Py_BuildValue("i",_result
);
5771 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5772 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5775 wxPyGridTableBase
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 PyObject
* _obj3
= 0;
5781 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5794 _arg3
= wxString_in_helper(_obj3
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5812 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5813 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5815 wxPyGridTableBase
* _arg0
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 wxPyGridTableBase_base_Clear(_arg0
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) return NULL
;
5835 } Py_INCREF(Py_None
);
5836 _resultobj
= Py_None
;
5840 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5841 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5844 wxPyGridTableBase
* _arg0
;
5845 size_t _arg1
= (size_t ) 0;
5846 size_t _arg2
= (size_t ) 1;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) return NULL
;
5866 } _resultobj
= Py_BuildValue("i",_result
);
5870 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5871 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxPyGridTableBase
* _arg0
;
5875 size_t _arg1
= (size_t ) 1;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self","numRows", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5895 } _resultobj
= Py_BuildValue("i",_result
);
5899 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5900 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5903 wxPyGridTableBase
* _arg0
;
5904 size_t _arg1
= (size_t ) 0;
5905 size_t _arg2
= (size_t ) 1;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } _resultobj
= Py_BuildValue("i",_result
);
5929 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5930 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5933 wxPyGridTableBase
* _arg0
;
5934 size_t _arg1
= (size_t ) 0;
5935 size_t _arg2
= (size_t ) 1;
5936 PyObject
* _argo0
= 0;
5937 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } _resultobj
= Py_BuildValue("i",_result
);
5959 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5960 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5963 wxPyGridTableBase
* _arg0
;
5964 size_t _arg1
= (size_t ) 1;
5965 PyObject
* _argo0
= 0;
5966 char *_kwnames
[] = { "self","numCols", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } _resultobj
= Py_BuildValue("i",_result
);
5988 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5989 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5992 wxPyGridTableBase
* _arg0
;
5993 size_t _arg1
= (size_t ) 0;
5994 size_t _arg2
= (size_t ) 1;
5995 PyObject
* _argo0
= 0;
5996 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) return NULL
;
6014 } _resultobj
= Py_BuildValue("i",_result
);
6018 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6019 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6022 wxPyGridTableBase
* _arg0
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self","row", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6045 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6047 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6056 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6057 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6060 wxPyGridTableBase
* _arg0
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self","col", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) return NULL
;
6083 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6085 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6094 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6095 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6097 wxPyGridTableBase
* _arg0
;
6100 PyObject
* _argo0
= 0;
6101 PyObject
* _obj2
= 0;
6102 char *_kwnames
[] = { "self","row","value", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6115 _arg2
= wxString_in_helper(_obj2
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) return NULL
;
6125 } Py_INCREF(Py_None
);
6126 _resultobj
= Py_None
;
6134 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6135 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
* _resultobj
;
6137 wxPyGridTableBase
* _arg0
;
6140 PyObject
* _argo0
= 0;
6141 PyObject
* _obj2
= 0;
6142 char *_kwnames
[] = { "self","col","value", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6155 _arg2
= wxString_in_helper(_obj2
);
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6165 } Py_INCREF(Py_None
);
6166 _resultobj
= Py_None
;
6174 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6175 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6178 wxPyGridTableBase
* _arg0
;
6179 PyObject
* _argo0
= 0;
6180 char *_kwnames
[] = { "self", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) return NULL
;
6198 } _resultobj
= Py_BuildValue("i",_result
);
6202 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6203 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6205 wxGridCellAttr
* _result
;
6206 wxPyGridTableBase
* _arg0
;
6209 wxGridCellAttr::wxAttrKind _arg3
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) return NULL
;
6231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6232 _resultobj
= Py_BuildValue("s",_ptemp
);
6235 _resultobj
= Py_None
;
6240 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6241 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6243 wxPyGridTableBase
* _arg0
;
6244 wxGridCellAttr
* _arg1
;
6247 PyObject
* _argo0
= 0;
6248 PyObject
* _argo1
= 0;
6249 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6274 } Py_INCREF(Py_None
);
6275 _resultobj
= Py_None
;
6279 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6280 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6282 wxPyGridTableBase
* _arg0
;
6283 wxGridCellAttr
* _arg1
;
6285 PyObject
* _argo0
= 0;
6286 PyObject
* _argo1
= 0;
6287 char *_kwnames
[] = { "self","attr","row", NULL
};
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) return NULL
;
6312 } Py_INCREF(Py_None
);
6313 _resultobj
= Py_None
;
6317 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6318 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
* _resultobj
;
6320 wxPyGridTableBase
* _arg0
;
6321 wxGridCellAttr
* _arg1
;
6323 PyObject
* _argo0
= 0;
6324 PyObject
* _argo1
= 0;
6325 char *_kwnames
[] = { "self","attr","col", NULL
};
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) return NULL
;
6350 } Py_INCREF(Py_None
);
6351 _resultobj
= Py_None
;
6355 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6356 wxGridStringTable
*src
;
6357 wxGridTableBase
*dest
;
6358 src
= (wxGridStringTable
*) ptr
;
6359 dest
= (wxGridTableBase
*) src
;
6360 return (void *) dest
;
6363 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6364 wxGridStringTable
*src
;
6366 src
= (wxGridStringTable
*) ptr
;
6367 dest
= (wxObject
*) src
;
6368 return (void *) dest
;
6371 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6372 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6374 wxGridStringTable
* _result
;
6375 int _arg0
= (int ) 0;
6376 int _arg1
= (int ) 0;
6377 char *_kwnames
[] = { "numRows","numCols", NULL
};
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) return NULL
;
6390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6391 _resultobj
= Py_BuildValue("s",_ptemp
);
6394 _resultobj
= Py_None
;
6399 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6400 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6402 wxGridTableMessage
* _result
;
6403 wxGridTableBase
* _arg0
;
6405 int _arg2
= (int ) -1;
6406 int _arg3
= (int ) -1;
6407 PyObject
* _argo0
= 0;
6408 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) return NULL
;
6428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6429 _resultobj
= Py_BuildValue("s",_ptemp
);
6432 _resultobj
= Py_None
;
6437 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6438 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6440 wxGridTableMessage
* _arg0
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 delete_wxGridTableMessage(_arg0
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) return NULL
;
6460 } Py_INCREF(Py_None
);
6461 _resultobj
= Py_None
;
6465 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6466 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
* _resultobj
;
6468 wxGridTableMessage
* _arg0
;
6469 wxGridTableBase
* _arg1
;
6470 PyObject
* _argo0
= 0;
6471 PyObject
* _argo1
= 0;
6472 char *_kwnames
[] = { "self","table", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) return NULL
;
6497 } Py_INCREF(Py_None
);
6498 _resultobj
= Py_None
;
6502 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6503 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6505 wxGridTableBase
* _result
;
6506 wxGridTableMessage
* _arg0
;
6507 PyObject
* _argo0
= 0;
6508 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) return NULL
;
6526 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6530 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6531 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6533 wxGridTableMessage
* _arg0
;
6535 PyObject
* _argo0
= 0;
6536 char *_kwnames
[] = { "self","id", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 wxGridTableMessage_SetId(_arg0
,_arg1
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) return NULL
;
6554 } Py_INCREF(Py_None
);
6555 _resultobj
= Py_None
;
6559 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6560 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 wxGridTableMessage
* _arg0
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } _resultobj
= Py_BuildValue("i",_result
);
6587 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6588 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6590 wxGridTableMessage
* _arg0
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self","comInt1", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } Py_INCREF(Py_None
);
6612 _resultobj
= Py_None
;
6616 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6617 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6620 wxGridTableMessage
* _arg0
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) return NULL
;
6640 } _resultobj
= Py_BuildValue("i",_result
);
6644 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6645 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6647 wxGridTableMessage
* _arg0
;
6649 PyObject
* _argo0
= 0;
6650 char *_kwnames
[] = { "self","comInt2", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) return NULL
;
6668 } Py_INCREF(Py_None
);
6669 _resultobj
= Py_None
;
6673 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6674 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6677 wxGridTableMessage
* _arg0
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6702 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6704 wxGridCellCoords
* _result
;
6705 int _arg0
= (int ) -1;
6706 int _arg1
= (int ) -1;
6707 char *_kwnames
[] = { "r","c", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) return NULL
;
6720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6721 _resultobj
= Py_BuildValue("s",_ptemp
);
6724 _resultobj
= Py_None
;
6729 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6730 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6732 wxGridCellCoords
* _arg0
;
6733 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 delete_wxGridCellCoords(_arg0
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) return NULL
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6758 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6761 wxGridCellCoords
* _arg0
;
6762 PyObject
* _argo0
= 0;
6763 char *_kwnames
[] = { "self", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) return NULL
;
6781 } _resultobj
= Py_BuildValue("i",_result
);
6785 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6786 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6788 wxGridCellCoords
* _arg0
;
6790 PyObject
* _argo0
= 0;
6791 char *_kwnames
[] = { "self","n", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) return NULL
;
6809 } Py_INCREF(Py_None
);
6810 _resultobj
= Py_None
;
6814 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6815 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6818 wxGridCellCoords
* _arg0
;
6819 PyObject
* _argo0
= 0;
6820 char *_kwnames
[] = { "self", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) return NULL
;
6838 } _resultobj
= Py_BuildValue("i",_result
);
6842 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6843 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6845 wxGridCellCoords
* _arg0
;
6847 PyObject
* _argo0
= 0;
6848 char *_kwnames
[] = { "self","n", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) return NULL
;
6866 } Py_INCREF(Py_None
);
6867 _resultobj
= Py_None
;
6871 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6872 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6874 wxGridCellCoords
* _arg0
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self","row","col", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } Py_INCREF(Py_None
);
6897 _resultobj
= Py_None
;
6901 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6902 PyObject
* tup
= PyTuple_New(2);
6903 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6904 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6907 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6910 wxGridCellCoords
* _arg0
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6931 _resultobj
= _result
;
6936 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6937 return *self
!= other
;
6939 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6942 wxGridCellCoords
* _arg0
;
6943 wxGridCellCoords
* _arg1
;
6944 PyObject
* _argo0
= 0;
6945 PyObject
* _argo1
= 0;
6946 char *_kwnames
[] = { "self","other", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) return NULL
;
6971 } _resultobj
= Py_BuildValue("i",_result
);
6975 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6977 wxScrolledWindow
*dest
;
6978 src
= (wxGrid
*) ptr
;
6979 dest
= (wxScrolledWindow
*) src
;
6980 return (void *) dest
;
6983 static void *SwigwxGridTowxPanel(void *ptr
) {
6986 src
= (wxGrid
*) ptr
;
6987 dest
= (wxPanel
*) src
;
6988 return (void *) dest
;
6991 static void *SwigwxGridTowxWindow(void *ptr
) {
6994 src
= (wxGrid
*) ptr
;
6995 dest
= (wxWindow
*) src
;
6996 return (void *) dest
;
6999 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7002 src
= (wxGrid
*) ptr
;
7003 dest
= (wxEvtHandler
*) src
;
7004 return (void *) dest
;
7007 static void *SwigwxGridTowxObject(void *ptr
) {
7010 src
= (wxGrid
*) ptr
;
7011 dest
= (wxObject
*) src
;
7012 return (void *) dest
;
7015 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7016 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7021 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7022 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7023 long _arg4
= (long ) wxWANTS_CHARS
;
7024 char * _arg5
= (char *) wxPanelNameStr
;
7025 PyObject
* _argo0
= 0;
7027 PyObject
* _obj2
= 0;
7029 PyObject
* _obj3
= 0;
7030 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7046 if (! wxPoint_helper(_obj2
, &_arg2
))
7052 if (! wxSize_helper(_obj3
, &_arg3
))
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) return NULL
;
7062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7063 _resultobj
= Py_BuildValue("s",_ptemp
);
7066 _resultobj
= Py_None
;
7071 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7072 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7078 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7079 PyObject
* _argo0
= 0;
7080 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) return NULL
;
7098 } _resultobj
= Py_BuildValue("i",_result
);
7102 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7103 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7106 WXGRIDSELECTIONMODES _arg1
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self","selmode", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } Py_INCREF(Py_None
);
7127 _resultobj
= Py_None
;
7131 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7132 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
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_GetNumberRows. Expected _wxGrid_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7160 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7164 PyObject
* _argo0
= 0;
7165 char *_kwnames
[] = { "self", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } _resultobj
= Py_BuildValue("i",_result
);
7187 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7188 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7192 wxGridTableMessage
* _arg1
;
7193 PyObject
* _argo0
= 0;
7194 PyObject
* _argo1
= 0;
7195 char *_kwnames
[] = { "self","arg2", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7208 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) return NULL
;
7220 } _resultobj
= Py_BuildValue("i",_result
);
7224 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7225 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7227 wxGridTableBase
* _result
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) return NULL
;
7248 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7252 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7253 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7257 wxGridTableBase
* _arg1
;
7258 bool _arg2
= (bool ) FALSE
;
7259 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7260 PyObject
* _argo0
= 0;
7261 PyObject
* _argo1
= 0;
7262 int tempbool2
= (int) FALSE
;
7263 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7282 _arg2
= (bool ) tempbool2
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7289 } _resultobj
= Py_BuildValue("i",_result
);
7293 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7294 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 wxGrid_ClearGrid(_arg0
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } Py_INCREF(Py_None
);
7317 _resultobj
= Py_None
;
7321 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7322 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7326 int _arg1
= (int ) 0;
7327 int _arg2
= (int ) 1;
7328 bool _arg3
= (bool ) TRUE
;
7329 PyObject
* _argo0
= 0;
7330 int tempbool3
= (int) TRUE
;
7331 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7343 _arg3
= (bool ) tempbool3
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7355 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 int _arg1
= (int ) 1;
7360 bool _arg2
= (bool ) TRUE
;
7361 PyObject
* _argo0
= 0;
7362 int tempbool2
= (int) TRUE
;
7363 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7375 _arg2
= (bool ) tempbool2
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } _resultobj
= Py_BuildValue("i",_result
);
7386 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7387 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 int _arg1
= (int ) 0;
7392 int _arg2
= (int ) 1;
7393 bool _arg3
= (bool ) TRUE
;
7394 PyObject
* _argo0
= 0;
7395 int tempbool3
= (int) TRUE
;
7396 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7408 _arg3
= (bool ) tempbool3
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) return NULL
;
7415 } _resultobj
= Py_BuildValue("i",_result
);
7419 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7420 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7424 int _arg1
= (int ) 0;
7425 int _arg2
= (int ) 1;
7426 bool _arg3
= (bool ) TRUE
;
7427 PyObject
* _argo0
= 0;
7428 int tempbool3
= (int) TRUE
;
7429 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7441 _arg3
= (bool ) tempbool3
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) return NULL
;
7448 } _resultobj
= Py_BuildValue("i",_result
);
7452 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7453 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
* _resultobj
;
7457 int _arg1
= (int ) 1;
7458 bool _arg2
= (bool ) TRUE
;
7459 PyObject
* _argo0
= 0;
7460 int tempbool2
= (int) TRUE
;
7461 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7473 _arg2
= (bool ) tempbool2
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) return NULL
;
7480 } _resultobj
= Py_BuildValue("i",_result
);
7484 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7485 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7489 int _arg1
= (int ) 0;
7490 int _arg2
= (int ) 1;
7491 bool _arg3
= (bool ) TRUE
;
7492 PyObject
* _argo0
= 0;
7493 int tempbool3
= (int) TRUE
;
7494 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7506 _arg3
= (bool ) tempbool3
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7518 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 wxGridCellAttr
* _arg2
;
7523 PyObject
* _argo0
= 0;
7524 PyObject
* _argo1
= 0;
7525 PyObject
* _argo2
= 0;
7526 char *_kwnames
[] = { "self","dc","attr", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7546 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) return NULL
;
7558 } Py_INCREF(Py_None
);
7559 _resultobj
= Py_None
;
7563 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7564 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
* _resultobj
;
7570 int _arg4
= (int ) wxLEFT
;
7571 int _arg5
= (int ) wxTOP
;
7572 PyObject
* _argo0
= 0;
7573 PyObject
* _argo1
= 0;
7574 PyObject
* _obj2
= 0;
7576 PyObject
* _obj3
= 0;
7577 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7597 _arg2
= wxString_in_helper(_obj2
);
7603 if (! wxRect_helper(_obj3
, &_arg3
))
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) return NULL
;
7612 } Py_INCREF(Py_None
);
7613 _resultobj
= Py_None
;
7621 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7622 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7626 wxArrayString
* _arg2
;
7631 PyObject
* _argo0
= 0;
7632 PyObject
* _argo1
= 0;
7633 PyObject
* _obj2
= 0;
7634 char *_kwnames
[] = { "self","dc","lines", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7660 if (! PySequence_Check(_obj2
)) {
7661 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7664 _arg2
= new wxArrayString
;
7665 int i
, len
=PySequence_Length(_obj2
);
7666 for (i
=0; i
<len
; i
++) {
7667 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7669 PyObject
* str
= PyObject_Unicode(item
);
7670 _arg2
->Add(PyUnicode_AsUnicode(str
));
7672 PyObject
* str
= PyObject_Str(item
);
7673 _arg2
->Add(PyString_AsString(str
));
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) return NULL
;
7685 } Py_INCREF(Py_None
);
7686 _resultobj
= Py_None
;
7689 o
= PyInt_FromLong((long) (*_arg3
));
7690 _resultobj
= t_output_helper(_resultobj
, o
);
7694 o
= PyInt_FromLong((long) (*_arg4
));
7695 _resultobj
= t_output_helper(_resultobj
, o
);
7704 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7705 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
* _resultobj
;
7708 PyObject
* _argo0
= 0;
7709 char *_kwnames
[] = { "self", NULL
};
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxGrid_BeginBatch(_arg0
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7727 } Py_INCREF(Py_None
);
7728 _resultobj
= Py_None
;
7732 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7733 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
* _resultobj
;
7736 PyObject
* _argo0
= 0;
7737 char *_kwnames
[] = { "self", NULL
};
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 wxGrid_EndBatch(_arg0
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) return NULL
;
7755 } Py_INCREF(Py_None
);
7756 _resultobj
= Py_None
;
7760 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7761 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
* _resultobj
;
7765 PyObject
* _argo0
= 0;
7766 char *_kwnames
[] = { "self", NULL
};
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_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_GetBatchCount. Expected _wxGrid_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } _resultobj
= Py_BuildValue("i",_result
);
7788 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7789 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7792 PyObject
* _argo0
= 0;
7793 char *_kwnames
[] = { "self", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 wxGrid_ForceRefresh(_arg0
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) return NULL
;
7811 } Py_INCREF(Py_None
);
7812 _resultobj
= Py_None
;
7816 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7817 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7821 PyObject
* _argo0
= 0;
7822 char *_kwnames
[] = { "self", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_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_IsEditable. Expected _wxGrid_p.");
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 _result
= (bool )wxGrid_IsEditable(_arg0
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) return NULL
;
7840 } _resultobj
= Py_BuildValue("i",_result
);
7844 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7845 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
* _resultobj
;
7849 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self","edit", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
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_EnableEditing. Expected _wxGrid_p.");
7863 _arg1
= (bool ) tempbool1
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 wxGrid_EnableEditing(_arg0
,_arg1
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) return NULL
;
7870 } Py_INCREF(Py_None
);
7871 _resultobj
= Py_None
;
7875 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7876 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
* _resultobj
;
7879 bool _arg1
= (bool ) TRUE
;
7880 PyObject
* _argo0
= 0;
7881 int tempbool1
= (int) TRUE
;
7882 char *_kwnames
[] = { "self","enable", NULL
};
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7894 _arg1
= (bool ) tempbool1
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) return NULL
;
7901 } Py_INCREF(Py_None
);
7902 _resultobj
= Py_None
;
7906 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7907 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
* _resultobj
;
7910 PyObject
* _argo0
= 0;
7911 char *_kwnames
[] = { "self", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
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_DisableCellEditControl. Expected _wxGrid_p.");
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 wxGrid_DisableCellEditControl(_arg0
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) return NULL
;
7929 } Py_INCREF(Py_None
);
7930 _resultobj
= Py_None
;
7934 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7935 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
* _resultobj
;
7939 PyObject
* _argo0
= 0;
7940 char *_kwnames
[] = { "self", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_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_CanEnableCellControl. Expected _wxGrid_p.");
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) return NULL
;
7958 } _resultobj
= Py_BuildValue("i",_result
);
7962 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7963 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
* _resultobj
;
7967 PyObject
* _argo0
= 0;
7968 char *_kwnames
[] = { "self", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) return NULL
;
7986 } _resultobj
= Py_BuildValue("i",_result
);
7990 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7991 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
* _resultobj
;
7995 PyObject
* _argo0
= 0;
7996 char *_kwnames
[] = { "self", NULL
};
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) return NULL
;
8014 } _resultobj
= Py_BuildValue("i",_result
);
8018 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8019 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
* _resultobj
;
8023 PyObject
* _argo0
= 0;
8024 char *_kwnames
[] = { "self", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) return NULL
;
8042 } _resultobj
= Py_BuildValue("i",_result
);
8046 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8047 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
* _resultobj
;
8050 PyObject
* _argo0
= 0;
8051 char *_kwnames
[] = { "self", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 wxGrid_ShowCellEditControl(_arg0
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) return NULL
;
8069 } Py_INCREF(Py_None
);
8070 _resultobj
= Py_None
;
8074 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8075 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
* _resultobj
;
8078 PyObject
* _argo0
= 0;
8079 char *_kwnames
[] = { "self", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 wxGrid_HideCellEditControl(_arg0
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) return NULL
;
8097 } Py_INCREF(Py_None
);
8098 _resultobj
= Py_None
;
8102 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8103 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
* _resultobj
;
8106 PyObject
* _argo0
= 0;
8107 char *_kwnames
[] = { "self", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 wxGrid_SaveEditControlValue(_arg0
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) return NULL
;
8125 } Py_INCREF(Py_None
);
8126 _resultobj
= Py_None
;
8130 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8131 wxGridCellCoords rv
;
8132 self
->XYToCell(x
, y
, rv
);
8133 return new wxGridCellCoords(rv
);
8135 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
* _resultobj
;
8137 wxGridCellCoords
* _result
;
8141 PyObject
* _argo0
= 0;
8142 char *_kwnames
[] = { "self","x","y", NULL
};
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) return NULL
;
8162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8163 _resultobj
= Py_BuildValue("s",_ptemp
);
8166 _resultobj
= Py_None
;
8171 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8172 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
* _resultobj
;
8177 PyObject
* _argo0
= 0;
8178 char *_kwnames
[] = { "self","y", NULL
};
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) return NULL
;
8196 } _resultobj
= Py_BuildValue("i",_result
);
8200 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8201 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8206 PyObject
* _argo0
= 0;
8207 char *_kwnames
[] = { "self","x", NULL
};
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_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_XToCol. Expected _wxGrid_p.");
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) return NULL
;
8225 } _resultobj
= Py_BuildValue("i",_result
);
8229 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8230 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 char *_kwnames
[] = { "self","y", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_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_YToEdgeOfRow. Expected _wxGrid_p.");
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8254 } _resultobj
= Py_BuildValue("i",_result
);
8258 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8259 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
* _resultobj
;
8264 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self","x", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_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_XToEdgeOfCol. Expected _wxGrid_p.");
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) return NULL
;
8283 } _resultobj
= Py_BuildValue("i",_result
);
8287 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8288 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8294 PyObject
* _argo0
= 0;
8295 char *_kwnames
[] = { "self","row","col", NULL
};
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8310 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) return NULL
;
8314 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8315 _resultobj
= Py_BuildValue("s",_ptemp
);
8319 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8320 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
* _resultobj
;
8324 PyObject
* _argo0
= 0;
8325 char *_kwnames
[] = { "self", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
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_GetGridCursorRow. Expected _wxGrid_p.");
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) return NULL
;
8343 } _resultobj
= Py_BuildValue("i",_result
);
8347 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8348 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8352 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) return NULL
;
8371 } _resultobj
= Py_BuildValue("i",_result
);
8375 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8376 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8382 bool _arg3
= (bool ) TRUE
;
8383 PyObject
* _argo0
= 0;
8384 int tempbool3
= (int) TRUE
;
8385 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8397 _arg3
= (bool ) tempbool3
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) return NULL
;
8404 } _resultobj
= Py_BuildValue("i",_result
);
8408 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8409 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8414 PyObject
* _argo0
= 0;
8415 char *_kwnames
[] = { "self","row","col", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8433 } Py_INCREF(Py_None
);
8434 _resultobj
= Py_None
;
8438 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8439 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8444 PyObject
* _argo0
= 0;
8445 char *_kwnames
[] = { "self","row","col", NULL
};
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) return NULL
;
8463 } Py_INCREF(Py_None
);
8464 _resultobj
= Py_None
;
8468 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8469 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8476 char *_kwnames
[] = { "self","expandSelection", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8488 _arg1
= (bool ) tempbool1
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) return NULL
;
8495 } _resultobj
= Py_BuildValue("i",_result
);
8499 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8500 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8505 PyObject
* _argo0
= 0;
8507 char *_kwnames
[] = { "self","expandSelection", NULL
};
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8519 _arg1
= (bool ) tempbool1
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) return NULL
;
8526 } _resultobj
= Py_BuildValue("i",_result
);
8530 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8531 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
* _resultobj
;
8536 PyObject
* _argo0
= 0;
8538 char *_kwnames
[] = { "self","expandSelection", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8550 _arg1
= (bool ) tempbool1
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) return NULL
;
8557 } _resultobj
= Py_BuildValue("i",_result
);
8561 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8562 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
* _resultobj
;
8567 PyObject
* _argo0
= 0;
8569 char *_kwnames
[] = { "self","expandSelection", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8581 _arg1
= (bool ) tempbool1
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) return NULL
;
8588 } _resultobj
= Py_BuildValue("i",_result
);
8592 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8593 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
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_MovePageDown. Expected _wxGrid_p.");
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) return NULL
;
8616 } _resultobj
= Py_BuildValue("i",_result
);
8620 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8621 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
* _resultobj
;
8625 PyObject
* _argo0
= 0;
8626 char *_kwnames
[] = { "self", NULL
};
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8644 } _resultobj
= Py_BuildValue("i",_result
);
8648 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8649 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
* _resultobj
;
8654 PyObject
* _argo0
= 0;
8656 char *_kwnames
[] = { "self","expandSelection", NULL
};
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8668 _arg1
= (bool ) tempbool1
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) return NULL
;
8675 } _resultobj
= Py_BuildValue("i",_result
);
8679 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8680 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8685 PyObject
* _argo0
= 0;
8687 char *_kwnames
[] = { "self","expandSelection", NULL
};
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8699 _arg1
= (bool ) tempbool1
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) return NULL
;
8706 } _resultobj
= Py_BuildValue("i",_result
);
8710 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8711 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
* _resultobj
;
8716 PyObject
* _argo0
= 0;
8718 char *_kwnames
[] = { "self","expandSelection", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8730 _arg1
= (bool ) tempbool1
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) return NULL
;
8737 } _resultobj
= Py_BuildValue("i",_result
);
8741 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8742 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
* _resultobj
;
8747 PyObject
* _argo0
= 0;
8749 char *_kwnames
[] = { "self","expandSelection", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8761 _arg1
= (bool ) tempbool1
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) return NULL
;
8768 } _resultobj
= Py_BuildValue("i",_result
);
8772 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8773 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
* _resultobj
;
8777 PyObject
* _argo0
= 0;
8778 char *_kwnames
[] = { "self", NULL
};
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
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_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) return NULL
;
8796 } _resultobj
= Py_BuildValue("i",_result
);
8800 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8801 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
* _resultobj
;
8805 PyObject
* _argo0
= 0;
8806 char *_kwnames
[] = { "self", NULL
};
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) return NULL
;
8824 } _resultobj
= Py_BuildValue("i",_result
);
8828 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8829 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
* _resultobj
;
8833 PyObject
* _argo0
= 0;
8834 char *_kwnames
[] = { "self", NULL
};
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) return NULL
;
8852 } _resultobj
= Py_BuildValue("i",_result
);
8856 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8857 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8861 PyObject
* _argo0
= 0;
8862 char *_kwnames
[] = { "self", NULL
};
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) return NULL
;
8880 } _resultobj
= Py_BuildValue("i",_result
);
8884 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8885 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8889 PyObject
* _argo0
= 0;
8890 char *_kwnames
[] = { "self", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_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_GetLabelBackgroundColour. Expected _wxGrid_p.");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8909 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8910 _resultobj
= Py_BuildValue("s",_ptemp
);
8914 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8915 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
* _resultobj
;
8919 PyObject
* _argo0
= 0;
8920 char *_kwnames
[] = { "self", NULL
};
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) return NULL
;
8939 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8940 _resultobj
= Py_BuildValue("s",_ptemp
);
8944 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8945 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8949 PyObject
* _argo0
= 0;
8950 char *_kwnames
[] = { "self", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8970 _resultobj
= Py_BuildValue("s",_ptemp
);
8974 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8975 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8982 PyObject
* _argo0
= 0;
8983 char *_kwnames
[] = { "self", NULL
};
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) return NULL
;
9007 } Py_INCREF(Py_None
);
9008 _resultobj
= Py_None
;
9011 o
= PyInt_FromLong((long) (*_arg1
));
9012 _resultobj
= t_output_helper(_resultobj
, o
);
9016 o
= PyInt_FromLong((long) (*_arg2
));
9017 _resultobj
= t_output_helper(_resultobj
, o
);
9022 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9023 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
* _resultobj
;
9030 PyObject
* _argo0
= 0;
9031 char *_kwnames
[] = { "self", NULL
};
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) return NULL
;
9055 } Py_INCREF(Py_None
);
9056 _resultobj
= Py_None
;
9059 o
= PyInt_FromLong((long) (*_arg1
));
9060 _resultobj
= t_output_helper(_resultobj
, o
);
9064 o
= PyInt_FromLong((long) (*_arg2
));
9065 _resultobj
= t_output_helper(_resultobj
, o
);
9070 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9071 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
* _resultobj
;
9076 PyObject
* _argo0
= 0;
9077 char *_kwnames
[] = { "self","row", NULL
};
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) return NULL
;
9097 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9099 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9108 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9109 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9114 PyObject
* _argo0
= 0;
9115 char *_kwnames
[] = { "self","col", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9135 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9146 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9147 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
* _resultobj
;
9151 PyObject
* _argo0
= 0;
9152 char *_kwnames
[] = { "self", NULL
};
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) return NULL
;
9171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9172 _resultobj
= Py_BuildValue("s",_ptemp
);
9176 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9177 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
* _resultobj
;
9181 PyObject
* _argo0
= 0;
9182 char *_kwnames
[] = { "self", NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) return NULL
;
9201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9202 _resultobj
= Py_BuildValue("s",_ptemp
);
9206 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9207 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
* _resultobj
;
9211 PyObject
* _argo0
= 0;
9212 char *_kwnames
[] = { "self", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) return NULL
;
9230 } _resultobj
= Py_BuildValue("i",_result
);
9234 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9235 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
* _resultobj
;
9239 PyObject
* _argo0
= 0;
9240 char *_kwnames
[] = { "self", NULL
};
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) return NULL
;
9258 } _resultobj
= Py_BuildValue("i",_result
);
9262 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9263 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
* _resultobj
;
9267 PyObject
* _argo0
= 0;
9268 char *_kwnames
[] = { "self","width", NULL
};
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) return NULL
;
9286 } Py_INCREF(Py_None
);
9287 _resultobj
= Py_None
;
9291 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9292 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
* _resultobj
;
9296 PyObject
* _argo0
= 0;
9297 char *_kwnames
[] = { "self","height", NULL
};
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_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_SetColLabelSize. Expected _wxGrid_p.");
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) return NULL
;
9315 } Py_INCREF(Py_None
);
9316 _resultobj
= Py_None
;
9320 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9321 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
* _resultobj
;
9325 PyObject
* _argo0
= 0;
9327 PyObject
* _obj1
= 0;
9328 char *_kwnames
[] = { "self","arg2", NULL
};
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9342 if (! wxColour_helper(_obj1
, &_arg1
))
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) return NULL
;
9351 } Py_INCREF(Py_None
);
9352 _resultobj
= Py_None
;
9356 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9357 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9361 PyObject
* _argo0
= 0;
9363 PyObject
* _obj1
= 0;
9364 char *_kwnames
[] = { "self","arg2", NULL
};
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9378 if (! wxColour_helper(_obj1
, &_arg1
))
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) return NULL
;
9387 } Py_INCREF(Py_None
);
9388 _resultobj
= Py_None
;
9392 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9393 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
* _resultobj
;
9397 PyObject
* _argo0
= 0;
9398 PyObject
* _argo1
= 0;
9399 char *_kwnames
[] = { "self","arg2", NULL
};
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) return NULL
;
9424 } Py_INCREF(Py_None
);
9425 _resultobj
= Py_None
;
9429 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9430 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9435 PyObject
* _argo0
= 0;
9436 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) return NULL
;
9454 } Py_INCREF(Py_None
);
9455 _resultobj
= Py_None
;
9459 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9460 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
* _resultobj
;
9465 PyObject
* _argo0
= 0;
9466 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) return NULL
;
9484 } Py_INCREF(Py_None
);
9485 _resultobj
= Py_None
;
9489 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9490 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
* _resultobj
;
9495 PyObject
* _argo0
= 0;
9496 PyObject
* _obj2
= 0;
9497 char *_kwnames
[] = { "self","row","arg3", NULL
};
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9510 _arg2
= wxString_in_helper(_obj2
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) return NULL
;
9520 } Py_INCREF(Py_None
);
9521 _resultobj
= Py_None
;
9529 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9530 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
* _resultobj
;
9535 PyObject
* _argo0
= 0;
9536 PyObject
* _obj2
= 0;
9537 char *_kwnames
[] = { "self","col","arg3", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9550 _arg2
= wxString_in_helper(_obj2
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9569 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9570 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
* _resultobj
;
9574 PyObject
* _argo0
= 0;
9576 PyObject
* _obj1
= 0;
9577 char *_kwnames
[] = { "self","arg2", NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9591 if (! wxColour_helper(_obj1
, &_arg1
))
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) return NULL
;
9600 } Py_INCREF(Py_None
);
9601 _resultobj
= Py_None
;
9605 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9606 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
* _resultobj
;
9610 PyObject
* _argo0
= 0;
9612 PyObject
* _obj1
= 0;
9613 char *_kwnames
[] = { "self","arg2", NULL
};
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9627 if (! wxColour_helper(_obj1
, &_arg1
))
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) return NULL
;
9636 } Py_INCREF(Py_None
);
9637 _resultobj
= Py_None
;
9641 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9642 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
* _resultobj
;
9646 PyObject
* _argo0
= 0;
9647 char *_kwnames
[] = { "self","width", NULL
};
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9661 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) return NULL
;
9665 } Py_INCREF(Py_None
);
9666 _resultobj
= Py_None
;
9670 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9671 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(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_SetCellHighlightROPenWidth",_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_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) return NULL
;
9694 } Py_INCREF(Py_None
);
9695 _resultobj
= Py_None
;
9699 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9700 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9703 bool _arg1
= (bool ) TRUE
;
9704 PyObject
* _argo0
= 0;
9705 int tempbool1
= (int) TRUE
;
9706 char *_kwnames
[] = { "self","enable", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9718 _arg1
= (bool ) tempbool1
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) return NULL
;
9725 } Py_INCREF(Py_None
);
9726 _resultobj
= Py_None
;
9730 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9731 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
* _resultobj
;
9734 PyObject
* _argo0
= 0;
9735 char *_kwnames
[] = { "self", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
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_DisableDragRowSize. Expected _wxGrid_p.");
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxGrid_DisableDragRowSize(_arg0
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) return NULL
;
9753 } Py_INCREF(Py_None
);
9754 _resultobj
= Py_None
;
9758 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9759 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
* _resultobj
;
9763 PyObject
* _argo0
= 0;
9764 char *_kwnames
[] = { "self", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_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_CanDragRowSize. Expected _wxGrid_p.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) return NULL
;
9782 } _resultobj
= Py_BuildValue("i",_result
);
9786 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9787 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9790 bool _arg1
= (bool ) TRUE
;
9791 PyObject
* _argo0
= 0;
9792 int tempbool1
= (int) TRUE
;
9793 char *_kwnames
[] = { "self","enable", NULL
};
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
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_EnableDragColSize. Expected _wxGrid_p.");
9805 _arg1
= (bool ) tempbool1
;
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) return NULL
;
9812 } Py_INCREF(Py_None
);
9813 _resultobj
= Py_None
;
9817 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9818 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
* _resultobj
;
9821 PyObject
* _argo0
= 0;
9822 char *_kwnames
[] = { "self", NULL
};
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
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_DisableDragColSize. Expected _wxGrid_p.");
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 wxGrid_DisableDragColSize(_arg0
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) return NULL
;
9840 } Py_INCREF(Py_None
);
9841 _resultobj
= Py_None
;
9845 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9846 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
* _resultobj
;
9850 PyObject
* _argo0
= 0;
9851 char *_kwnames
[] = { "self", NULL
};
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_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_CanDragColSize. Expected _wxGrid_p.");
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) return NULL
;
9869 } _resultobj
= Py_BuildValue("i",_result
);
9873 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9874 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
* _resultobj
;
9877 bool _arg1
= (bool ) TRUE
;
9878 PyObject
* _argo0
= 0;
9879 int tempbool1
= (int) TRUE
;
9880 char *_kwnames
[] = { "self","enable", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
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_EnableDragGridSize. Expected _wxGrid_p.");
9892 _arg1
= (bool ) tempbool1
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) return NULL
;
9899 } Py_INCREF(Py_None
);
9900 _resultobj
= Py_None
;
9904 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9905 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
* _resultobj
;
9908 PyObject
* _argo0
= 0;
9909 char *_kwnames
[] = { "self", NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
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_DisableDragGridSize. Expected _wxGrid_p.");
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxGrid_DisableDragGridSize(_arg0
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) return NULL
;
9927 } Py_INCREF(Py_None
);
9928 _resultobj
= Py_None
;
9932 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9933 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
* _resultobj
;
9937 PyObject
* _argo0
= 0;
9938 char *_kwnames
[] = { "self", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_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_CanDragGridSize. Expected _wxGrid_p.");
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) return NULL
;
9956 } _resultobj
= Py_BuildValue("i",_result
);
9960 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9961 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
* _resultobj
;
9965 wxGridCellAttr
* _arg2
;
9966 PyObject
* _argo0
= 0;
9967 PyObject
* _argo2
= 0;
9968 char *_kwnames
[] = { "self","row","attr", NULL
};
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9981 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9982 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) return NULL
;
9993 } Py_INCREF(Py_None
);
9994 _resultobj
= Py_None
;
9998 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9999 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
* _resultobj
;
10003 wxGridCellAttr
* _arg2
;
10004 PyObject
* _argo0
= 0;
10005 PyObject
* _argo2
= 0;
10006 char *_kwnames
[] = { "self","col","attr", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10019 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10020 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 } Py_INCREF(Py_None
);
10032 _resultobj
= Py_None
;
10036 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10037 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10041 PyObject
* _argo0
= 0;
10042 char *_kwnames
[] = { "self","col", NULL
};
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) return NULL
;
10060 } Py_INCREF(Py_None
);
10061 _resultobj
= Py_None
;
10065 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10066 static PyObject
*_wrap_wxGrid_SetColFormatNumber(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_SetColFormatNumber",_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_SetColFormatNumber. Expected _wxGrid_p.");
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 } Py_INCREF(Py_None
);
10090 _resultobj
= Py_None
;
10094 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10095 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10099 int _arg2
= (int ) -1;
10100 int _arg3
= (int ) -1;
10101 PyObject
* _argo0
= 0;
10102 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) return NULL
;
10120 } Py_INCREF(Py_None
);
10121 _resultobj
= Py_None
;
10125 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10126 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
* _resultobj
;
10131 PyObject
* _argo0
= 0;
10132 PyObject
* _obj2
= 0;
10133 char *_kwnames
[] = { "self","col","typeName", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10146 _arg2
= wxString_in_helper(_obj2
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) return NULL
;
10156 } Py_INCREF(Py_None
);
10157 _resultobj
= Py_None
;
10165 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10166 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
* _resultobj
;
10169 bool _arg1
= (bool ) TRUE
;
10170 PyObject
* _argo0
= 0;
10171 int tempbool1
= (int) TRUE
;
10172 char *_kwnames
[] = { "self","enable", NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10184 _arg1
= (bool ) tempbool1
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 wxGrid_EnableGridLines(_arg0
,_arg1
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) return NULL
;
10191 } Py_INCREF(Py_None
);
10192 _resultobj
= Py_None
;
10196 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10197 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
* _resultobj
;
10201 PyObject
* _argo0
= 0;
10202 char *_kwnames
[] = { "self", NULL
};
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) return NULL
;
10220 } _resultobj
= Py_BuildValue("i",_result
);
10224 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10225 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
* _resultobj
;
10229 PyObject
* _argo0
= 0;
10230 char *_kwnames
[] = { "self", NULL
};
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) return NULL
;
10248 } _resultobj
= Py_BuildValue("i",_result
);
10252 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10253 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self","row", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
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_GetRowSize. Expected _wxGrid_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } _resultobj
= Py_BuildValue("i",_result
);
10281 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10282 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10286 PyObject
* _argo0
= 0;
10287 char *_kwnames
[] = { "self", NULL
};
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } _resultobj
= Py_BuildValue("i",_result
);
10309 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10310 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
* _resultobj
;
10315 PyObject
* _argo0
= 0;
10316 char *_kwnames
[] = { "self","col", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
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_GetColSize. Expected _wxGrid_p.");
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) return NULL
;
10334 } _resultobj
= Py_BuildValue("i",_result
);
10338 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10339 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
* _resultobj
;
10341 wxColour
* _result
;
10343 PyObject
* _argo0
= 0;
10344 char *_kwnames
[] = { "self", NULL
};
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
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_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10364 _resultobj
= Py_BuildValue("s",_ptemp
);
10368 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10369 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10371 wxColour
* _result
;
10375 PyObject
* _argo0
= 0;
10376 char *_kwnames
[] = { "self","row","col", NULL
};
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) return NULL
;
10395 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10396 _resultobj
= Py_BuildValue("s",_ptemp
);
10400 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10401 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10403 wxColour
* _result
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self", NULL
};
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) return NULL
;
10425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10426 _resultobj
= Py_BuildValue("s",_ptemp
);
10430 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10431 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
* _resultobj
;
10433 wxColour
* _result
;
10437 PyObject
* _argo0
= 0;
10438 char *_kwnames
[] = { "self","row","col", NULL
};
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) return NULL
;
10457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10458 _resultobj
= Py_BuildValue("s",_ptemp
);
10462 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10463 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
* _resultobj
;
10467 PyObject
* _argo0
= 0;
10468 char *_kwnames
[] = { "self", NULL
};
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) return NULL
;
10487 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10488 _resultobj
= Py_BuildValue("s",_ptemp
);
10492 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10493 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10499 PyObject
* _argo0
= 0;
10500 char *_kwnames
[] = { "self","row","col", NULL
};
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) return NULL
;
10519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10520 _resultobj
= Py_BuildValue("s",_ptemp
);
10524 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10525 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
* _resultobj
;
10530 PyObject
* _argo0
= 0;
10531 PyObject
* _argo1
= 0;
10532 PyObject
* _argo2
= 0;
10533 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10546 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10547 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10553 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10565 } Py_INCREF(Py_None
);
10566 _resultobj
= Py_None
;
10570 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10571 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
* _resultobj
;
10578 PyObject
* _argo0
= 0;
10579 PyObject
* _argo3
= 0;
10580 PyObject
* _argo4
= 0;
10581 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10594 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10595 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10601 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10602 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10613 } Py_INCREF(Py_None
);
10614 _resultobj
= Py_None
;
10618 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10619 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
* _resultobj
;
10623 bool _arg2
= (bool ) FALSE
;
10624 PyObject
* _argo0
= 0;
10625 int tempbool2
= (int) FALSE
;
10626 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10638 _arg2
= (bool ) tempbool2
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) return NULL
;
10645 } Py_INCREF(Py_None
);
10646 _resultobj
= Py_None
;
10650 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10651 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
* _resultobj
;
10656 PyObject
* _argo0
= 0;
10657 char *_kwnames
[] = { "self","row","height", NULL
};
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) return NULL
;
10675 } Py_INCREF(Py_None
);
10676 _resultobj
= Py_None
;
10680 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10681 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
* _resultobj
;
10685 bool _arg2
= (bool ) FALSE
;
10686 PyObject
* _argo0
= 0;
10687 int tempbool2
= (int) FALSE
;
10688 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10700 _arg2
= (bool ) tempbool2
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) return NULL
;
10707 } Py_INCREF(Py_None
);
10708 _resultobj
= Py_None
;
10712 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10713 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
* _resultobj
;
10718 PyObject
* _argo0
= 0;
10719 char *_kwnames
[] = { "self","col","width", NULL
};
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) return NULL
;
10737 } Py_INCREF(Py_None
);
10738 _resultobj
= Py_None
;
10742 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10743 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
* _resultobj
;
10747 bool _arg2
= (bool ) TRUE
;
10748 PyObject
* _argo0
= 0;
10749 int tempbool2
= (int) TRUE
;
10750 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10762 _arg2
= (bool ) tempbool2
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) return NULL
;
10769 } Py_INCREF(Py_None
);
10770 _resultobj
= Py_None
;
10774 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10775 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
* _resultobj
;
10779 bool _arg2
= (bool ) TRUE
;
10780 PyObject
* _argo0
= 0;
10781 int tempbool2
= (int) TRUE
;
10782 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10794 _arg2
= (bool ) tempbool2
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) return NULL
;
10801 } Py_INCREF(Py_None
);
10802 _resultobj
= Py_None
;
10806 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10807 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
* _resultobj
;
10810 bool _arg1
= (bool ) TRUE
;
10811 PyObject
* _argo0
= 0;
10812 int tempbool1
= (int) TRUE
;
10813 char *_kwnames
[] = { "self","setAsMin", NULL
};
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10825 _arg1
= (bool ) tempbool1
;
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10830 wxPyEndAllowThreads(__tstate
);
10831 if (PyErr_Occurred()) return NULL
;
10832 } Py_INCREF(Py_None
);
10833 _resultobj
= Py_None
;
10837 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10838 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
* _resultobj
;
10841 bool _arg1
= (bool ) TRUE
;
10842 PyObject
* _argo0
= 0;
10843 int tempbool1
= (int) TRUE
;
10844 char *_kwnames
[] = { "self","setAsMin", NULL
};
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10856 _arg1
= (bool ) tempbool1
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) return NULL
;
10863 } Py_INCREF(Py_None
);
10864 _resultobj
= Py_None
;
10868 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10869 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10872 PyObject
* _argo0
= 0;
10873 char *_kwnames
[] = { "self", NULL
};
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
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_AutoSize. Expected _wxGrid_p.");
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxGrid_AutoSize(_arg0
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) return NULL
;
10891 } Py_INCREF(Py_None
);
10892 _resultobj
= Py_None
;
10896 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10897 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
* _resultobj
;
10902 PyObject
* _argo0
= 0;
10903 char *_kwnames
[] = { "self","col","width", NULL
};
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) return NULL
;
10921 } Py_INCREF(Py_None
);
10922 _resultobj
= Py_None
;
10926 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10927 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
* _resultobj
;
10932 PyObject
* _argo0
= 0;
10933 char *_kwnames
[] = { "self","row","width", NULL
};
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) return NULL
;
10951 } Py_INCREF(Py_None
);
10952 _resultobj
= Py_None
;
10956 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10957 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
* _resultobj
;
10961 PyObject
* _argo0
= 0;
10963 PyObject
* _obj1
= 0;
10964 char *_kwnames
[] = { "self","arg2", NULL
};
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10978 if (! wxColour_helper(_obj1
, &_arg1
))
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) return NULL
;
10987 } Py_INCREF(Py_None
);
10988 _resultobj
= Py_None
;
10992 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10993 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
* _resultobj
;
10999 PyObject
* _argo0
= 0;
11001 PyObject
* _obj3
= 0;
11002 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11016 if (! wxColour_helper(_obj3
, &_arg3
))
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) return NULL
;
11025 } Py_INCREF(Py_None
);
11026 _resultobj
= Py_None
;
11030 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11031 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
* _resultobj
;
11035 PyObject
* _argo0
= 0;
11037 PyObject
* _obj1
= 0;
11038 char *_kwnames
[] = { "self","arg2", NULL
};
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11052 if (! wxColour_helper(_obj1
, &_arg1
))
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) return NULL
;
11061 } Py_INCREF(Py_None
);
11062 _resultobj
= Py_None
;
11066 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11067 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
* _resultobj
;
11073 PyObject
* _argo0
= 0;
11075 PyObject
* _obj3
= 0;
11076 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11090 if (! wxColour_helper(_obj3
, &_arg3
))
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) return NULL
;
11099 } Py_INCREF(Py_None
);
11100 _resultobj
= Py_None
;
11104 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11105 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
* _resultobj
;
11109 PyObject
* _argo0
= 0;
11110 PyObject
* _argo1
= 0;
11111 char *_kwnames
[] = { "self","arg2", NULL
};
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) return NULL
;
11136 } Py_INCREF(Py_None
);
11137 _resultobj
= Py_None
;
11141 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11142 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
* _resultobj
;
11148 PyObject
* _argo0
= 0;
11149 PyObject
* _argo3
= 0;
11150 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11163 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11164 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) return NULL
;
11175 } Py_INCREF(Py_None
);
11176 _resultobj
= Py_None
;
11180 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11181 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
* _resultobj
;
11186 PyObject
* _argo0
= 0;
11187 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) return NULL
;
11205 } Py_INCREF(Py_None
);
11206 _resultobj
= Py_None
;
11210 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11211 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
* _resultobj
;
11218 PyObject
* _argo0
= 0;
11219 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) return NULL
;
11237 } Py_INCREF(Py_None
);
11238 _resultobj
= Py_None
;
11242 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11243 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
* _resultobj
;
11246 wxGridCellRenderer
* _arg1
;
11247 PyObject
* _argo0
= 0;
11248 PyObject
* _argo1
= 0;
11249 char *_kwnames
[] = { "self","renderer", NULL
};
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) return NULL
;
11274 } Py_INCREF(Py_None
);
11275 _resultobj
= Py_None
;
11279 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11280 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
* _resultobj
;
11285 wxGridCellRenderer
* _arg3
;
11286 PyObject
* _argo0
= 0;
11287 PyObject
* _argo3
= 0;
11288 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11301 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11302 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) return NULL
;
11313 } Py_INCREF(Py_None
);
11314 _resultobj
= Py_None
;
11318 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11319 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
* _resultobj
;
11321 wxGridCellRenderer
* _result
;
11323 PyObject
* _argo0
= 0;
11324 char *_kwnames
[] = { "self", NULL
};
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) return NULL
;
11344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11345 _resultobj
= Py_BuildValue("s",_ptemp
);
11347 Py_INCREF(Py_None
);
11348 _resultobj
= Py_None
;
11353 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11354 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
* _resultobj
;
11356 wxGridCellRenderer
* _result
;
11360 PyObject
* _argo0
= 0;
11361 char *_kwnames
[] = { "self","row","col", NULL
};
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) return NULL
;
11381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11382 _resultobj
= Py_BuildValue("s",_ptemp
);
11384 Py_INCREF(Py_None
);
11385 _resultobj
= Py_None
;
11390 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11391 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
* _resultobj
;
11394 wxGridCellEditor
* _arg1
;
11395 PyObject
* _argo0
= 0;
11396 PyObject
* _argo1
= 0;
11397 char *_kwnames
[] = { "self","editor", NULL
};
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) return NULL
;
11422 } Py_INCREF(Py_None
);
11423 _resultobj
= Py_None
;
11427 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11428 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
* _resultobj
;
11433 wxGridCellEditor
* _arg3
;
11434 PyObject
* _argo0
= 0;
11435 PyObject
* _argo3
= 0;
11436 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11449 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11450 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) return NULL
;
11461 } Py_INCREF(Py_None
);
11462 _resultobj
= Py_None
;
11466 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11467 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
* _resultobj
;
11469 wxGridCellEditor
* _result
;
11471 PyObject
* _argo0
= 0;
11472 char *_kwnames
[] = { "self", NULL
};
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) return NULL
;
11492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11493 _resultobj
= Py_BuildValue("s",_ptemp
);
11495 Py_INCREF(Py_None
);
11496 _resultobj
= Py_None
;
11501 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11502 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
* _resultobj
;
11504 wxGridCellEditor
* _result
;
11508 PyObject
* _argo0
= 0;
11509 char *_kwnames
[] = { "self","row","col", NULL
};
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) return NULL
;
11529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11530 _resultobj
= Py_BuildValue("s",_ptemp
);
11532 Py_INCREF(Py_None
);
11533 _resultobj
= Py_None
;
11538 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11539 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
* _resultobj
;
11541 wxString
* _result
;
11545 PyObject
* _argo0
= 0;
11546 char *_kwnames
[] = { "self","row","col", NULL
};
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) return NULL
;
11566 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11568 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11577 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11578 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
* _resultobj
;
11584 PyObject
* _argo0
= 0;
11585 PyObject
* _obj3
= 0;
11586 char *_kwnames
[] = { "self","row","col","s", NULL
};
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11599 _arg3
= wxString_in_helper(_obj3
);
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) return NULL
;
11609 } Py_INCREF(Py_None
);
11610 _resultobj
= Py_None
;
11618 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11619 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
* _resultobj
;
11625 PyObject
* _argo0
= 0;
11626 char *_kwnames
[] = { "self","row","col", NULL
};
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) return NULL
;
11644 } _resultobj
= Py_BuildValue("i",_result
);
11648 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11649 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
* _resultobj
;
11654 bool _arg3
= (bool ) TRUE
;
11655 PyObject
* _argo0
= 0;
11656 int tempbool3
= (int) TRUE
;
11657 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11669 _arg3
= (bool ) tempbool3
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) return NULL
;
11676 } Py_INCREF(Py_None
);
11677 _resultobj
= Py_None
;
11681 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11682 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
* _resultobj
;
11686 bool _arg2
= (bool ) FALSE
;
11687 PyObject
* _argo0
= 0;
11688 int tempbool2
= (int) FALSE
;
11689 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11701 _arg2
= (bool ) tempbool2
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) return NULL
;
11708 } Py_INCREF(Py_None
);
11709 _resultobj
= Py_None
;
11713 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11714 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
* _resultobj
;
11718 bool _arg2
= (bool ) FALSE
;
11719 PyObject
* _argo0
= 0;
11720 int tempbool2
= (int) FALSE
;
11721 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11733 _arg2
= (bool ) tempbool2
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) return NULL
;
11740 } Py_INCREF(Py_None
);
11741 _resultobj
= Py_None
;
11745 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11746 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
* _resultobj
;
11753 bool _arg5
= (bool ) FALSE
;
11754 PyObject
* _argo0
= 0;
11755 int tempbool5
= (int) FALSE
;
11756 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11768 _arg5
= (bool ) tempbool5
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) return NULL
;
11775 } Py_INCREF(Py_None
);
11776 _resultobj
= Py_None
;
11780 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11781 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
* _resultobj
;
11784 PyObject
* _argo0
= 0;
11785 char *_kwnames
[] = { "self", NULL
};
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
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_SelectAll. Expected _wxGrid_p.");
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 wxGrid_SelectAll(_arg0
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) return NULL
;
11803 } Py_INCREF(Py_None
);
11804 _resultobj
= Py_None
;
11808 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11809 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
* _resultobj
;
11813 PyObject
* _argo0
= 0;
11814 char *_kwnames
[] = { "self", NULL
};
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_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_IsSelection. Expected _wxGrid_p.");
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 _result
= (bool )wxGrid_IsSelection(_arg0
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) return NULL
;
11832 } _resultobj
= Py_BuildValue("i",_result
);
11836 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11837 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
* _resultobj
;
11840 PyObject
* _argo0
= 0;
11841 char *_kwnames
[] = { "self", NULL
};
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 wxGrid_ClearSelection(_arg0
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) return NULL
;
11859 } Py_INCREF(Py_None
);
11860 _resultobj
= Py_None
;
11864 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11865 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
* _resultobj
;
11871 PyObject
* _argo0
= 0;
11872 char *_kwnames
[] = { "self","row","col", NULL
};
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) return NULL
;
11890 } _resultobj
= Py_BuildValue("i",_result
);
11894 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11895 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
* _resultobj
;
11899 wxGridCellCoords
* _arg1
;
11900 wxGridCellCoords
* _arg2
;
11901 PyObject
* _argo0
= 0;
11902 wxGridCellCoords temp
;
11903 PyObject
* _obj1
= 0;
11904 wxGridCellCoords temp0
;
11905 PyObject
* _obj2
= 0;
11906 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11921 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11926 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) return NULL
;
11935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11936 _resultobj
= Py_BuildValue("s",_ptemp
);
11940 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11941 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
* _resultobj
;
11943 wxColour
* _result
;
11945 PyObject
* _argo0
= 0;
11946 char *_kwnames
[] = { "self", NULL
};
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) return NULL
;
11965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11966 _resultobj
= Py_BuildValue("s",_ptemp
);
11970 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11971 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
* _resultobj
;
11973 wxColour
* _result
;
11975 PyObject
* _argo0
= 0;
11976 char *_kwnames
[] = { "self", NULL
};
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) return NULL
;
11995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11996 _resultobj
= Py_BuildValue("s",_ptemp
);
12000 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12001 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
* _resultobj
;
12005 PyObject
* _argo0
= 0;
12007 PyObject
* _obj1
= 0;
12008 char *_kwnames
[] = { "self","c", NULL
};
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12022 if (! wxColour_helper(_obj1
, &_arg1
))
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) return NULL
;
12031 } Py_INCREF(Py_None
);
12032 _resultobj
= Py_None
;
12036 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12037 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
* _resultobj
;
12041 PyObject
* _argo0
= 0;
12043 PyObject
* _obj1
= 0;
12044 char *_kwnames
[] = { "self","c", NULL
};
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12058 if (! wxColour_helper(_obj1
, &_arg1
))
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) return NULL
;
12067 } Py_INCREF(Py_None
);
12068 _resultobj
= Py_None
;
12072 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12073 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
* _resultobj
;
12077 wxGridCellRenderer
* _arg2
;
12078 wxGridCellEditor
* _arg3
;
12079 PyObject
* _argo0
= 0;
12080 PyObject
* _obj1
= 0;
12081 PyObject
* _argo2
= 0;
12082 PyObject
* _argo3
= 0;
12083 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12096 _arg1
= wxString_in_helper(_obj1
);
12101 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12102 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12108 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12109 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) return NULL
;
12120 } Py_INCREF(Py_None
);
12121 _resultobj
= Py_None
;
12129 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12130 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
* _resultobj
;
12132 wxGridCellEditor
* _result
;
12136 PyObject
* _argo0
= 0;
12137 char *_kwnames
[] = { "self","row","col", NULL
};
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) return NULL
;
12157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12158 _resultobj
= Py_BuildValue("s",_ptemp
);
12160 Py_INCREF(Py_None
);
12161 _resultobj
= Py_None
;
12166 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12167 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
* _resultobj
;
12169 wxGridCellRenderer
* _result
;
12173 PyObject
* _argo0
= 0;
12174 char *_kwnames
[] = { "self","row","col", NULL
};
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) return NULL
;
12194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12195 _resultobj
= Py_BuildValue("s",_ptemp
);
12197 Py_INCREF(Py_None
);
12198 _resultobj
= Py_None
;
12203 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12204 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
* _resultobj
;
12206 wxGridCellEditor
* _result
;
12209 PyObject
* _argo0
= 0;
12210 PyObject
* _obj1
= 0;
12211 char *_kwnames
[] = { "self","typeName", NULL
};
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12225 _arg1
= wxString_in_helper(_obj1
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) return NULL
;
12236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12237 _resultobj
= Py_BuildValue("s",_ptemp
);
12239 Py_INCREF(Py_None
);
12240 _resultobj
= Py_None
;
12249 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12250 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
* _resultobj
;
12252 wxGridCellRenderer
* _result
;
12255 PyObject
* _argo0
= 0;
12256 PyObject
* _obj1
= 0;
12257 char *_kwnames
[] = { "self","typeName", NULL
};
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12271 _arg1
= wxString_in_helper(_obj1
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) return NULL
;
12282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12283 _resultobj
= Py_BuildValue("s",_ptemp
);
12285 Py_INCREF(Py_None
);
12286 _resultobj
= Py_None
;
12295 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12296 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
* _resultobj
;
12301 PyObject
* _argo0
= 0;
12302 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) return NULL
;
12320 } Py_INCREF(Py_None
);
12321 _resultobj
= Py_None
;
12325 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12326 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
* _resultobj
;
12328 wxWindow
* _result
;
12330 PyObject
* _argo0
= 0;
12331 char *_kwnames
[] = { "self", NULL
};
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
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_GetGridWindow. Expected _wxGrid_p.");
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) return NULL
;
12349 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12353 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12354 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
* _resultobj
;
12356 wxWindow
* _result
;
12358 PyObject
* _argo0
= 0;
12359 char *_kwnames
[] = { "self", NULL
};
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) return NULL
;
12377 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12381 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12382 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
* _resultobj
;
12384 wxWindow
* _result
;
12386 PyObject
* _argo0
= 0;
12387 char *_kwnames
[] = { "self", NULL
};
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) return NULL
;
12405 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12409 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12410 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
* _resultobj
;
12412 wxWindow
* _result
;
12414 PyObject
* _argo0
= 0;
12415 char *_kwnames
[] = { "self", NULL
};
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) return NULL
;
12433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12437 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12439 wxNotifyEvent
*dest
;
12440 src
= (wxGridEvent
*) ptr
;
12441 dest
= (wxNotifyEvent
*) src
;
12442 return (void *) dest
;
12445 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12447 wxCommandEvent
*dest
;
12448 src
= (wxGridEvent
*) ptr
;
12449 dest
= (wxCommandEvent
*) src
;
12450 return (void *) dest
;
12453 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12456 src
= (wxGridEvent
*) ptr
;
12457 dest
= (wxEvent
*) src
;
12458 return (void *) dest
;
12461 static void *SwigwxGridEventTowxObject(void *ptr
) {
12464 src
= (wxGridEvent
*) ptr
;
12465 dest
= (wxObject
*) src
;
12466 return (void *) dest
;
12469 #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))
12470 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
* _resultobj
;
12472 wxGridEvent
* _result
;
12476 int _arg3
= (int ) -1;
12477 int _arg4
= (int ) -1;
12478 int _arg5
= (int ) -1;
12479 int _arg6
= (int ) -1;
12480 bool _arg7
= (bool ) TRUE
;
12481 bool _arg8
= (bool ) FALSE
;
12482 bool _arg9
= (bool ) FALSE
;
12483 bool _arg10
= (bool ) FALSE
;
12484 bool _arg11
= (bool ) FALSE
;
12485 PyObject
* _argo2
= 0;
12486 int tempbool7
= (int) TRUE
;
12487 int tempbool8
= (int) FALSE
;
12488 int tempbool9
= (int) FALSE
;
12489 int tempbool10
= (int) FALSE
;
12490 int tempbool11
= (int) FALSE
;
12491 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12498 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12499 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12504 _arg7
= (bool ) tempbool7
;
12505 _arg8
= (bool ) tempbool8
;
12506 _arg9
= (bool ) tempbool9
;
12507 _arg10
= (bool ) tempbool10
;
12508 _arg11
= (bool ) tempbool11
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) return NULL
;
12516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12517 _resultobj
= Py_BuildValue("s",_ptemp
);
12519 Py_INCREF(Py_None
);
12520 _resultobj
= Py_None
;
12525 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12526 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
* _resultobj
;
12529 wxGridEvent
* _arg0
;
12530 PyObject
* _argo0
= 0;
12531 char *_kwnames
[] = { "self", NULL
};
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 _result
= (int )wxGridEvent_GetRow(_arg0
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) return NULL
;
12549 } _resultobj
= Py_BuildValue("i",_result
);
12553 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12554 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
* _resultobj
;
12557 wxGridEvent
* _arg0
;
12558 PyObject
* _argo0
= 0;
12559 char *_kwnames
[] = { "self", NULL
};
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 _result
= (int )wxGridEvent_GetCol(_arg0
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) return NULL
;
12577 } _resultobj
= Py_BuildValue("i",_result
);
12581 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12582 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
* _resultobj
;
12585 wxGridEvent
* _arg0
;
12586 PyObject
* _argo0
= 0;
12587 char *_kwnames
[] = { "self", NULL
};
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_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_GetPosition. Expected _wxGridEvent_p.");
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) return NULL
;
12606 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12607 _resultobj
= Py_BuildValue("s",_ptemp
);
12611 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12612 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
* _resultobj
;
12615 wxGridEvent
* _arg0
;
12616 PyObject
* _argo0
= 0;
12617 char *_kwnames
[] = { "self", NULL
};
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_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_Selecting. Expected _wxGridEvent_p.");
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) return NULL
;
12635 } _resultobj
= Py_BuildValue("i",_result
);
12639 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12640 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
* _resultobj
;
12643 wxGridEvent
* _arg0
;
12644 PyObject
* _argo0
= 0;
12645 char *_kwnames
[] = { "self", NULL
};
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) return NULL
;
12663 } _resultobj
= Py_BuildValue("i",_result
);
12667 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12668 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
* _resultobj
;
12671 wxGridEvent
* _arg0
;
12672 PyObject
* _argo0
= 0;
12673 char *_kwnames
[] = { "self", NULL
};
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) return NULL
;
12691 } _resultobj
= Py_BuildValue("i",_result
);
12695 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12696 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
* _resultobj
;
12699 wxGridEvent
* _arg0
;
12700 PyObject
* _argo0
= 0;
12701 char *_kwnames
[] = { "self", NULL
};
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) return NULL
;
12719 } _resultobj
= Py_BuildValue("i",_result
);
12723 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12724 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
* _resultobj
;
12727 wxGridEvent
* _arg0
;
12728 PyObject
* _argo0
= 0;
12729 char *_kwnames
[] = { "self", NULL
};
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) return NULL
;
12747 } _resultobj
= Py_BuildValue("i",_result
);
12751 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12752 wxGridSizeEvent
*src
;
12753 wxNotifyEvent
*dest
;
12754 src
= (wxGridSizeEvent
*) ptr
;
12755 dest
= (wxNotifyEvent
*) src
;
12756 return (void *) dest
;
12759 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12760 wxGridSizeEvent
*src
;
12761 wxCommandEvent
*dest
;
12762 src
= (wxGridSizeEvent
*) ptr
;
12763 dest
= (wxCommandEvent
*) src
;
12764 return (void *) dest
;
12767 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12768 wxGridSizeEvent
*src
;
12770 src
= (wxGridSizeEvent
*) ptr
;
12771 dest
= (wxEvent
*) src
;
12772 return (void *) dest
;
12775 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12776 wxGridSizeEvent
*src
;
12778 src
= (wxGridSizeEvent
*) ptr
;
12779 dest
= (wxObject
*) src
;
12780 return (void *) dest
;
12783 #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))
12784 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
* _resultobj
;
12786 wxGridSizeEvent
* _result
;
12790 int _arg3
= (int ) -1;
12791 int _arg4
= (int ) -1;
12792 int _arg5
= (int ) -1;
12793 bool _arg6
= (bool ) FALSE
;
12794 bool _arg7
= (bool ) FALSE
;
12795 bool _arg8
= (bool ) FALSE
;
12796 bool _arg9
= (bool ) FALSE
;
12797 PyObject
* _argo2
= 0;
12798 int tempbool6
= (int) FALSE
;
12799 int tempbool7
= (int) FALSE
;
12800 int tempbool8
= (int) FALSE
;
12801 int tempbool9
= (int) FALSE
;
12802 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12809 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12810 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12815 _arg6
= (bool ) tempbool6
;
12816 _arg7
= (bool ) tempbool7
;
12817 _arg8
= (bool ) tempbool8
;
12818 _arg9
= (bool ) tempbool9
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) return NULL
;
12826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12827 _resultobj
= Py_BuildValue("s",_ptemp
);
12829 Py_INCREF(Py_None
);
12830 _resultobj
= Py_None
;
12835 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12836 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
* _resultobj
;
12839 wxGridSizeEvent
* _arg0
;
12840 PyObject
* _argo0
= 0;
12841 char *_kwnames
[] = { "self", NULL
};
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) return NULL
;
12859 } _resultobj
= Py_BuildValue("i",_result
);
12863 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12864 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
* _resultobj
;
12867 wxGridSizeEvent
* _arg0
;
12868 PyObject
* _argo0
= 0;
12869 char *_kwnames
[] = { "self", NULL
};
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_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_GetPosition. Expected _wxGridSizeEvent_p.");
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) return NULL
;
12888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12889 _resultobj
= Py_BuildValue("s",_ptemp
);
12893 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12894 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
* _resultobj
;
12897 wxGridSizeEvent
* _arg0
;
12898 PyObject
* _argo0
= 0;
12899 char *_kwnames
[] = { "self", NULL
};
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_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_ControlDown. Expected _wxGridSizeEvent_p.");
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) return NULL
;
12917 } _resultobj
= Py_BuildValue("i",_result
);
12921 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12922 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
* _resultobj
;
12925 wxGridSizeEvent
* _arg0
;
12926 PyObject
* _argo0
= 0;
12927 char *_kwnames
[] = { "self", NULL
};
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) return NULL
;
12945 } _resultobj
= Py_BuildValue("i",_result
);
12949 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12950 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
* _resultobj
;
12953 wxGridSizeEvent
* _arg0
;
12954 PyObject
* _argo0
= 0;
12955 char *_kwnames
[] = { "self", NULL
};
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) return NULL
;
12973 } _resultobj
= Py_BuildValue("i",_result
);
12977 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12978 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
* _resultobj
;
12981 wxGridSizeEvent
* _arg0
;
12982 PyObject
* _argo0
= 0;
12983 char *_kwnames
[] = { "self", NULL
};
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) return NULL
;
13001 } _resultobj
= Py_BuildValue("i",_result
);
13005 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13006 wxGridRangeSelectEvent
*src
;
13007 wxNotifyEvent
*dest
;
13008 src
= (wxGridRangeSelectEvent
*) ptr
;
13009 dest
= (wxNotifyEvent
*) src
;
13010 return (void *) dest
;
13013 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13014 wxGridRangeSelectEvent
*src
;
13015 wxCommandEvent
*dest
;
13016 src
= (wxGridRangeSelectEvent
*) ptr
;
13017 dest
= (wxCommandEvent
*) src
;
13018 return (void *) dest
;
13021 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13022 wxGridRangeSelectEvent
*src
;
13024 src
= (wxGridRangeSelectEvent
*) ptr
;
13025 dest
= (wxEvent
*) src
;
13026 return (void *) dest
;
13029 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13030 wxGridRangeSelectEvent
*src
;
13032 src
= (wxGridRangeSelectEvent
*) ptr
;
13033 dest
= (wxObject
*) src
;
13034 return (void *) dest
;
13037 #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))
13038 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
* _resultobj
;
13040 wxGridRangeSelectEvent
* _result
;
13044 wxGridCellCoords
* _arg3
;
13045 wxGridCellCoords
* _arg4
;
13046 bool _arg5
= (bool ) TRUE
;
13047 bool _arg6
= (bool ) FALSE
;
13048 bool _arg7
= (bool ) FALSE
;
13049 bool _arg8
= (bool ) FALSE
;
13050 bool _arg9
= (bool ) FALSE
;
13051 PyObject
* _argo2
= 0;
13052 wxGridCellCoords temp
;
13053 PyObject
* _obj3
= 0;
13054 wxGridCellCoords temp0
;
13055 PyObject
* _obj4
= 0;
13056 int tempbool5
= (int) TRUE
;
13057 int tempbool6
= (int) FALSE
;
13058 int tempbool7
= (int) FALSE
;
13059 int tempbool8
= (int) FALSE
;
13060 int tempbool9
= (int) FALSE
;
13061 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13068 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13069 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13076 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13081 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13084 _arg5
= (bool ) tempbool5
;
13085 _arg6
= (bool ) tempbool6
;
13086 _arg7
= (bool ) tempbool7
;
13087 _arg8
= (bool ) tempbool8
;
13088 _arg9
= (bool ) tempbool9
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) return NULL
;
13096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13097 _resultobj
= Py_BuildValue("s",_ptemp
);
13099 Py_INCREF(Py_None
);
13100 _resultobj
= Py_None
;
13105 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13106 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
* _resultobj
;
13108 wxGridCellCoords
* _result
;
13109 wxGridRangeSelectEvent
* _arg0
;
13110 PyObject
* _argo0
= 0;
13111 char *_kwnames
[] = { "self", NULL
};
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) return NULL
;
13130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13131 _resultobj
= Py_BuildValue("s",_ptemp
);
13135 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13136 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
* _resultobj
;
13138 wxGridCellCoords
* _result
;
13139 wxGridRangeSelectEvent
* _arg0
;
13140 PyObject
* _argo0
= 0;
13141 char *_kwnames
[] = { "self", NULL
};
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) return NULL
;
13160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13161 _resultobj
= Py_BuildValue("s",_ptemp
);
13165 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13166 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
* _resultobj
;
13169 wxGridRangeSelectEvent
* _arg0
;
13170 PyObject
* _argo0
= 0;
13171 char *_kwnames
[] = { "self", NULL
};
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_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_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) return NULL
;
13189 } _resultobj
= Py_BuildValue("i",_result
);
13193 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13194 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
* _resultobj
;
13197 wxGridRangeSelectEvent
* _arg0
;
13198 PyObject
* _argo0
= 0;
13199 char *_kwnames
[] = { "self", NULL
};
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) return NULL
;
13217 } _resultobj
= Py_BuildValue("i",_result
);
13221 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13222 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
* _resultobj
;
13225 wxGridRangeSelectEvent
* _arg0
;
13226 PyObject
* _argo0
= 0;
13227 char *_kwnames
[] = { "self", NULL
};
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) return NULL
;
13245 } _resultobj
= Py_BuildValue("i",_result
);
13249 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13250 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
* _resultobj
;
13253 wxGridRangeSelectEvent
* _arg0
;
13254 PyObject
* _argo0
= 0;
13255 char *_kwnames
[] = { "self", NULL
};
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) return NULL
;
13273 } _resultobj
= Py_BuildValue("i",_result
);
13277 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13278 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
* _resultobj
;
13281 wxGridRangeSelectEvent
* _arg0
;
13282 PyObject
* _argo0
= 0;
13283 char *_kwnames
[] = { "self", NULL
};
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) return NULL
;
13301 } _resultobj
= Py_BuildValue("i",_result
);
13305 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13306 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
* _resultobj
;
13309 wxGridRangeSelectEvent
* _arg0
;
13310 PyObject
* _argo0
= 0;
13311 char *_kwnames
[] = { "self", NULL
};
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) return NULL
;
13329 } _resultobj
= Py_BuildValue("i",_result
);
13333 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13334 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
* _resultobj
;
13337 wxGridRangeSelectEvent
* _arg0
;
13338 PyObject
* _argo0
= 0;
13339 char *_kwnames
[] = { "self", NULL
};
13342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) return NULL
;
13357 } _resultobj
= Py_BuildValue("i",_result
);
13361 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13362 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
* _resultobj
;
13365 wxGridRangeSelectEvent
* _arg0
;
13366 PyObject
* _argo0
= 0;
13367 char *_kwnames
[] = { "self", NULL
};
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) return NULL
;
13385 } _resultobj
= Py_BuildValue("i",_result
);
13389 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13390 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
* _resultobj
;
13393 wxGridRangeSelectEvent
* _arg0
;
13394 PyObject
* _argo0
= 0;
13395 char *_kwnames
[] = { "self", NULL
};
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) return NULL
;
13413 } _resultobj
= Py_BuildValue("i",_result
);
13417 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13418 wxGridEditorCreatedEvent
*src
;
13419 wxCommandEvent
*dest
;
13420 src
= (wxGridEditorCreatedEvent
*) ptr
;
13421 dest
= (wxCommandEvent
*) src
;
13422 return (void *) dest
;
13425 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13426 wxGridEditorCreatedEvent
*src
;
13428 src
= (wxGridEditorCreatedEvent
*) ptr
;
13429 dest
= (wxEvent
*) src
;
13430 return (void *) dest
;
13433 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13434 wxGridEditorCreatedEvent
*src
;
13436 src
= (wxGridEditorCreatedEvent
*) ptr
;
13437 dest
= (wxObject
*) src
;
13438 return (void *) dest
;
13441 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13442 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
* _resultobj
;
13444 wxGridEditorCreatedEvent
* _result
;
13451 PyObject
* _argo2
= 0;
13452 PyObject
* _argo5
= 0;
13453 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13460 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13461 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13467 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13468 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) return NULL
;
13480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13481 _resultobj
= Py_BuildValue("s",_ptemp
);
13483 Py_INCREF(Py_None
);
13484 _resultobj
= Py_None
;
13489 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13490 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
* _resultobj
;
13493 wxGridEditorCreatedEvent
* _arg0
;
13494 PyObject
* _argo0
= 0;
13495 char *_kwnames
[] = { "self", NULL
};
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) return NULL
;
13513 } _resultobj
= Py_BuildValue("i",_result
);
13517 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13518 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
* _resultobj
;
13521 wxGridEditorCreatedEvent
* _arg0
;
13522 PyObject
* _argo0
= 0;
13523 char *_kwnames
[] = { "self", NULL
};
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) return NULL
;
13541 } _resultobj
= Py_BuildValue("i",_result
);
13545 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13546 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
* _resultobj
;
13548 wxControl
* _result
;
13549 wxGridEditorCreatedEvent
* _arg0
;
13550 PyObject
* _argo0
= 0;
13551 char *_kwnames
[] = { "self", NULL
};
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) return NULL
;
13569 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13573 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13574 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
* _resultobj
;
13576 wxGridEditorCreatedEvent
* _arg0
;
13578 PyObject
* _argo0
= 0;
13579 char *_kwnames
[] = { "self","row", NULL
};
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) return NULL
;
13597 } Py_INCREF(Py_None
);
13598 _resultobj
= Py_None
;
13602 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13603 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
* _resultobj
;
13605 wxGridEditorCreatedEvent
* _arg0
;
13607 PyObject
* _argo0
= 0;
13608 char *_kwnames
[] = { "self","col", NULL
};
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_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_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) return NULL
;
13626 } Py_INCREF(Py_None
);
13627 _resultobj
= Py_None
;
13631 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13632 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
* _resultobj
;
13634 wxGridEditorCreatedEvent
* _arg0
;
13636 PyObject
* _argo0
= 0;
13637 PyObject
* _argo1
= 0;
13638 char *_kwnames
[] = { "self","ctrl", NULL
};
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) return NULL
;
13663 } Py_INCREF(Py_None
);
13664 _resultobj
= Py_None
;
13668 static PyMethodDef gridcMethods
[] = {
13669 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13670 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13671 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13672 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13673 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13674 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13675 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13676 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13677 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13678 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13679 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13680 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13681 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13682 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13683 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13684 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13685 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13686 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13687 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13688 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13689 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13690 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13691 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13692 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13693 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13694 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13695 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13696 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13697 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13698 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14048 * This table is used by the pointer type-checker
14050 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14051 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14052 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14053 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14054 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14055 { "_signed_long","_long",0},
14056 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14057 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14058 { "_wxPrintQuality","_wxCoord",0},
14059 { "_wxPrintQuality","_int",0},
14060 { "_wxPrintQuality","_signed_int",0},
14061 { "_wxPrintQuality","_unsigned_int",0},
14062 { "_wxPrintQuality","_wxWindowID",0},
14063 { "_wxPrintQuality","_uint",0},
14064 { "_wxPrintQuality","_EBool",0},
14065 { "_wxPrintQuality","_size_t",0},
14066 { "_wxPrintQuality","_time_t",0},
14067 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14068 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14069 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14070 { "_byte","_unsigned_char",0},
14071 { "_long","_unsigned_long",0},
14072 { "_long","_signed_long",0},
14073 { "_size_t","_WXGRIDSELECTIONMODES",0},
14074 { "_size_t","_wxCoord",0},
14075 { "_size_t","_wxPrintQuality",0},
14076 { "_size_t","_time_t",0},
14077 { "_size_t","_unsigned_int",0},
14078 { "_size_t","_int",0},
14079 { "_size_t","_wxWindowID",0},
14080 { "_size_t","_uint",0},
14081 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14082 { "_uint","_WXGRIDSELECTIONMODES",0},
14083 { "_uint","_wxCoord",0},
14084 { "_uint","_wxPrintQuality",0},
14085 { "_uint","_time_t",0},
14086 { "_uint","_size_t",0},
14087 { "_uint","_unsigned_int",0},
14088 { "_uint","_int",0},
14089 { "_uint","_wxWindowID",0},
14090 { "_wxChar","_char",0},
14091 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14092 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14093 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14094 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14095 { "_char","_wxChar",0},
14096 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14097 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14098 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14099 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14100 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14101 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14102 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14103 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14104 { "_EBool","_WXGRIDSELECTIONMODES",0},
14105 { "_EBool","_wxCoord",0},
14106 { "_EBool","_wxPrintQuality",0},
14107 { "_EBool","_signed_int",0},
14108 { "_EBool","_int",0},
14109 { "_EBool","_wxWindowID",0},
14110 { "_unsigned_long","_long",0},
14111 { "_WXGRIDSELECTIONMODES","_int",0},
14112 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14113 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14114 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14115 { "_WXGRIDSELECTIONMODES","_uint",0},
14116 { "_WXGRIDSELECTIONMODES","_EBool",0},
14117 { "_WXGRIDSELECTIONMODES","_size_t",0},
14118 { "_WXGRIDSELECTIONMODES","_time_t",0},
14119 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14120 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14121 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14122 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14123 { "_signed_int","_wxCoord",0},
14124 { "_signed_int","_wxPrintQuality",0},
14125 { "_signed_int","_EBool",0},
14126 { "_signed_int","_wxWindowID",0},
14127 { "_signed_int","_int",0},
14128 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14129 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14130 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14131 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14132 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14133 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14134 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14135 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14136 { "_WXTYPE","_short",0},
14137 { "_WXTYPE","_signed_short",0},
14138 { "_WXTYPE","_unsigned_short",0},
14139 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14140 { "_unsigned_short","_WXTYPE",0},
14141 { "_unsigned_short","_short",0},
14142 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14143 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14144 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14145 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14146 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14147 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14148 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14149 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14150 { "_signed_short","_WXTYPE",0},
14151 { "_signed_short","_short",0},
14152 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14153 { "_unsigned_char","_byte",0},
14154 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14155 { "_unsigned_int","_wxCoord",0},
14156 { "_unsigned_int","_wxPrintQuality",0},
14157 { "_unsigned_int","_time_t",0},
14158 { "_unsigned_int","_size_t",0},
14159 { "_unsigned_int","_uint",0},
14160 { "_unsigned_int","_wxWindowID",0},
14161 { "_unsigned_int","_int",0},
14162 { "_short","_WXTYPE",0},
14163 { "_short","_unsigned_short",0},
14164 { "_short","_signed_short",0},
14165 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14166 { "_wxWindowID","_wxCoord",0},
14167 { "_wxWindowID","_wxPrintQuality",0},
14168 { "_wxWindowID","_time_t",0},
14169 { "_wxWindowID","_size_t",0},
14170 { "_wxWindowID","_EBool",0},
14171 { "_wxWindowID","_uint",0},
14172 { "_wxWindowID","_int",0},
14173 { "_wxWindowID","_signed_int",0},
14174 { "_wxWindowID","_unsigned_int",0},
14175 { "_int","_WXGRIDSELECTIONMODES",0},
14176 { "_int","_wxCoord",0},
14177 { "_int","_wxPrintQuality",0},
14178 { "_int","_time_t",0},
14179 { "_int","_size_t",0},
14180 { "_int","_EBool",0},
14181 { "_int","_uint",0},
14182 { "_int","_wxWindowID",0},
14183 { "_int","_unsigned_int",0},
14184 { "_int","_signed_int",0},
14185 { "_time_t","_WXGRIDSELECTIONMODES",0},
14186 { "_time_t","_wxCoord",0},
14187 { "_time_t","_wxPrintQuality",0},
14188 { "_time_t","_unsigned_int",0},
14189 { "_time_t","_int",0},
14190 { "_time_t","_wxWindowID",0},
14191 { "_time_t","_uint",0},
14192 { "_time_t","_size_t",0},
14193 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14194 { "_wxCoord","_int",0},
14195 { "_wxCoord","_signed_int",0},
14196 { "_wxCoord","_unsigned_int",0},
14197 { "_wxCoord","_wxWindowID",0},
14198 { "_wxCoord","_uint",0},
14199 { "_wxCoord","_EBool",0},
14200 { "_wxCoord","_size_t",0},
14201 { "_wxCoord","_time_t",0},
14202 { "_wxCoord","_wxPrintQuality",0},
14203 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14204 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14205 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14206 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14207 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14208 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14209 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14210 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14211 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14212 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14213 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14214 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14215 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14218 static PyObject
*SWIG_globals
;
14222 SWIGEXPORT(void) initgridc() {
14224 SWIG_globals
= SWIG_newvarlink();
14225 m
= Py_InitModule("gridc", gridcMethods
);
14226 d
= PyModule_GetDict(m
);
14227 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14228 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14229 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14230 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14231 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14232 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14233 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14234 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14235 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14236 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14237 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14238 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14239 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14240 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14241 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14242 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14243 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14244 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14245 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14246 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14247 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14248 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14249 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14250 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14251 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14252 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14253 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14254 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14255 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14256 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14257 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14258 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14259 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14260 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14262 wxClassInfo::CleanUpClasses();
14263 wxClassInfo::InitializeClasses();
14264 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14265 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14266 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14267 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14268 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14269 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14270 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14271 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14272 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14275 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14276 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);