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"
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 #define PYCALLBACK_GCA_INTINT(PCLASS, CBNAME) \
110 wxGridCellAttr* CBNAME(int a, int b) { \
111 wxGridCellAttr* rval = NULL; \
112 bool doSave = wxPyRestoreThread(); \
113 if (m_myInst.findCallback(#CBNAME)) { \
115 wxGridCellAttr* ptr; \
116 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)", a, b)); \
118 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
124 rval = PCLASS::CBNAME(a, b); \
125 wxPySaveThread(doSave); \
128 wxGridCellAttr *base_##CBNAME(int a, int b) { \
129 return PCLASS::CBNAME(a, b); \
134 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
135 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
136 bool doSave = wxPyRestoreThread(); \
137 if (m_myInst.findCallback(#CBNAME)) { \
138 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr");\
139 m_myInst.callCallback(Py_BuildValue("(Oii)", obj, a, b)); \
143 PCLASS::CBNAME(attr, a, b); \
144 wxPySaveThread(doSave); \
146 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
147 PCLASS::CBNAME(attr, a, b); \
152 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
153 void CBNAME(wxGridCellAttr *attr, int val) { \
154 bool doSave = wxPyRestoreThread(); \
155 if (m_myInst.findCallback(#CBNAME)) { \
156 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr");\
157 m_myInst.callCallback(Py_BuildValue("(Oi)", obj, val)); \
161 PCLASS::CBNAME(attr, val); \
162 wxPySaveThread(doSave); \
164 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
165 PCLASS::CBNAME(attr, val); \
170 #define PYCALLBACK_INT__pure(CBNAME) \
172 bool doSave = wxPyRestoreThread(); \
174 if (m_myInst.findCallback(#CBNAME)) \
175 rval = m_myInst.callCallback(Py_BuildValue("()")); \
176 wxPySaveThread(doSave); \
182 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
183 bool CBNAME(int a, int b) { \
184 bool doSave = wxPyRestoreThread(); \
186 if (m_myInst.findCallback(#CBNAME)) \
187 rval = m_myInst.callCallback(Py_BuildValue("(ii)",a,b)); \
188 wxPySaveThread(doSave); \
194 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
195 wxString CBNAME(int a, int b) { \
196 bool doSave = wxPyRestoreThread(); \
198 if (m_myInst.findCallback(#CBNAME)) { \
200 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
202 PyObject* str = PyObject_Str(ro); \
203 rval = PyString_AsString(str); \
204 Py_DECREF(ro); Py_DECREF(str); \
207 wxPySaveThread(doSave); \
213 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
214 void CBNAME(int a, int b, const wxString& c) { \
215 bool doSave = wxPyRestoreThread(); \
216 if (m_myInst.findCallback(#CBNAME)) \
217 m_myInst.callCallback(Py_BuildValue("(iis)",a,b,c.c_str())); \
218 wxPySaveThread(doSave); \
222 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
223 wxString CBNAME(int a, int b) { \
224 bool doSave = wxPyRestoreThread(); \
226 if (m_myInst.findCallback(#CBNAME)) { \
228 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
230 PyObject* str = PyObject_Str(ro); \
231 rval = PyString_AsString(str); \
232 Py_DECREF(ro); Py_DECREF(str); \
235 rval = PCLASS::CBNAME(a, b); \
236 wxPySaveThread(doSave); \
239 wxString base_##CBNAME(int a, int b) { \
240 return PCLASS::CBNAME(a, b); \
245 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
246 bool CBNAME(int a, int b, const wxString& c) { \
248 bool doSave = wxPyRestoreThread(); \
249 if (m_myInst.findCallback(#CBNAME)) \
250 rval = m_myInst.callCallback(Py_BuildValue("(iis)", a,b,c.c_str())); \
252 rval = PCLASS::CBNAME(a,b,c); \
253 wxPySaveThread(doSave); \
256 bool base_##CBNAME(int a, int b, const wxString& c) { \
257 return PCLASS::CBNAME(a,b,c); \
263 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
264 long CBNAME(int a, int b) { \
266 bool doSave = wxPyRestoreThread(); \
267 if (m_myInst.findCallback(#CBNAME)) \
268 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
270 rval = PCLASS::CBNAME(a,b); \
271 wxPySaveThread(doSave); \
274 long base_##CBNAME(int a, int b) { \
275 return PCLASS::CBNAME(a,b); \
280 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
281 bool CBNAME(int a, int b) { \
283 bool doSave = wxPyRestoreThread(); \
284 if (m_myInst.findCallback(#CBNAME)) \
285 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
287 rval = PCLASS::CBNAME(a,b); \
288 wxPySaveThread(doSave); \
291 bool base_##CBNAME(int a, int b) { \
292 return PCLASS::CBNAME(a,b); \
297 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
298 double CBNAME(int a, int b) { \
299 bool doSave = wxPyRestoreThread(); \
301 if (m_myInst.findCallback(#CBNAME)) { \
303 ro = m_myInst.callCallbackObj(Py_BuildValue("(ii)",a,b)); \
305 PyObject* str = PyObject_Str(ro); \
306 rval = PyFloat_AsDouble(str); \
307 Py_DECREF(ro); Py_DECREF(str); \
310 rval = PCLASS::CBNAME(a, b); \
311 wxPySaveThread(doSave); \
314 double base_##CBNAME(int a, int b) { \
315 return PCLASS::CBNAME(a, b); \
320 #define PYCALLBACK__(PCLASS, CBNAME) \
322 bool doSave = wxPyRestoreThread(); \
323 if (m_myInst.findCallback(#CBNAME)) \
324 m_myInst.callCallback(Py_BuildValue("()")); \
327 wxPySaveThread(doSave); \
329 void base_##CBNAME() { \
336 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
337 bool CBNAME(size_t a, size_t b) { \
339 bool doSave = wxPyRestoreThread(); \
340 if (m_myInst.findCallback(#CBNAME)) \
341 rval = m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
343 rval = PCLASS::CBNAME(a,b); \
344 wxPySaveThread(doSave); \
347 bool base_##CBNAME(size_t a, size_t b) { \
348 return PCLASS::CBNAME(a,b); \
353 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
354 bool CBNAME(size_t a) { \
356 bool doSave = wxPyRestoreThread(); \
357 if (m_myInst.findCallback(#CBNAME)) \
358 rval = m_myInst.callCallback(Py_BuildValue("(i)", a)); \
360 rval = PCLASS::CBNAME(a); \
361 wxPySaveThread(doSave); \
364 bool base_##CBNAME(size_t a) { \
365 return PCLASS::CBNAME(a); \
370 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
371 wxString CBNAME(int a) { \
372 bool doSave = wxPyRestoreThread(); \
374 if (m_myInst.findCallback(#CBNAME)) { \
376 ro = m_myInst.callCallbackObj(Py_BuildValue("(i)",a)); \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
383 rval = PCLASS::CBNAME(a); \
384 wxPySaveThread(doSave); \
387 wxString base_##CBNAME(int a) { \
388 return PCLASS::CBNAME(a); \
393 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
394 void CBNAME(int a, const wxString& c) { \
395 bool doSave = wxPyRestoreThread(); \
396 if (m_myInst.findCallback(#CBNAME)) \
397 m_myInst.callCallback(Py_BuildValue("(is)", a,c.c_str())); \
399 PCLASS::CBNAME(a,c); \
400 wxPySaveThread(doSave); \
402 void base_##CBNAME(int a, const wxString& c) { \
403 PCLASS::CBNAME(a,c); \
409 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
412 bool doSave = wxPyRestoreThread(); \
413 if (m_myInst.findCallback(#CBNAME)) \
414 rval = m_myInst.callCallback(Py_BuildValue("()")); \
416 rval = PCLASS::CBNAME(); \
417 wxPySaveThread(doSave); \
420 bool base_##CBNAME() { \
421 return PCLASS::CBNAME(); \
426 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
427 void CBNAME(size_t a, int b) { \
428 bool doSave = wxPyRestoreThread(); \
429 if (m_myInst.findCallback(#CBNAME)) \
430 m_myInst.callCallback(Py_BuildValue("(ii)", a,b)); \
432 PCLASS::CBNAME(a,b); \
433 wxPySaveThread(doSave); \
435 void base_##CBNAME(size_t a, int b) { \
436 PCLASS::CBNAME(a,b); \
442 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
443 void CBNAME(int a, int b, long c) { \
444 bool doSave = wxPyRestoreThread(); \
445 if (m_myInst.findCallback(#CBNAME)) \
446 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
448 PCLASS::CBNAME(a,b,c); \
449 wxPySaveThread(doSave); \
451 void base_##CBNAME(int a, int b, long c) { \
452 PCLASS::CBNAME(a,b,c); \
458 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
459 void CBNAME(int a, int b, double c) { \
460 bool doSave = wxPyRestoreThread(); \
461 if (m_myInst.findCallback(#CBNAME)) \
462 m_myInst.callCallback(Py_BuildValue("(iif)", a,b,c)); \
464 PCLASS::CBNAME(a,b,c); \
465 wxPySaveThread(doSave); \
467 void base_##CBNAME(int a, int b, double c) { \
468 PCLASS::CBNAME(a,b,c); \
473 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
474 void CBNAME(int a, int b, bool c) { \
475 bool doSave = wxPyRestoreThread(); \
476 if (m_myInst.findCallback(#CBNAME)) \
477 m_myInst.callCallback(Py_BuildValue("(iii)", a,b,c)); \
479 PCLASS::CBNAME(a,b,c); \
480 wxPySaveThread(doSave); \
482 void base_##CBNAME(int a, int b, bool c) { \
483 PCLASS::CBNAME(a,b,c); \
490 class wxPyGridCellRenderer
: public wxGridCellRenderer
493 wxPyGridCellRenderer() : wxGridCellRenderer() {};
495 // Implement Python callback aware virtual methods
496 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
497 wxDC
& dc
, const wxRect
& rect
,
498 int row
, int col
, bool isSelected
) {
499 bool doSave
= wxPyRestoreThread();
500 if (m_myInst
.findCallback("Draw")) {
501 m_myInst
.callCallback(
502 Py_BuildValue("(OOOOiii)",
503 wxPyConstructObject((void*)&grid
, "wxGrid"),
504 wxPyConstructObject((void*)&attr
, "wxGridCellAttr"),
505 wxPyConstructObject((void*)&dc
, "wxDC"),
506 wxPyConstructObject((void*)&rect
, "wxRect"),
507 row
, col
, isSelected
));
509 wxPySaveThread(doSave
);
512 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
515 bool doSave
= wxPyRestoreThread();
516 if (m_myInst
.findCallback("GetBestSize")) {
519 ro
= m_myInst
.callCallbackObj(
520 Py_BuildValue("(OOOii)",
521 wxPyConstructObject((void*)&grid
, "wxGrid"),
522 wxPyConstructObject((void*)&attr
, "wxGridCellAttr"),
523 wxPyConstructObject((void*)&dc
, "wxDC"),
526 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
531 wxPySaveThread(doSave
);
536 wxGridCellRenderer
*Clone() const {
537 wxGridCellRenderer
* rval
= NULL
;
538 bool doSave
= wxPyRestoreThread();
539 if (m_myInst
.findCallback("Clone")) {
541 wxGridCellRenderer
* ptr
;
542 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
544 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
549 wxPySaveThread(doSave
);
553 DEC_PYCALLBACK__STRING(SetParameters
);
558 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
561 class wxPyGridCellEditor
: public wxGridCellEditor
564 wxPyGridCellEditor() : wxGridCellEditor() {}
566 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
567 bool doSave
= wxPyRestoreThread();
568 if (m_myInst
.findCallback("Create")) {
569 m_myInst
.callCallback(
570 Py_BuildValue("(OiO)",
571 wxPyConstructObject((void*)parent
, "wxWindow"),
573 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler")));
575 wxPySaveThread(doSave
);
579 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
580 bool doSave
= wxPyRestoreThread();
581 if (m_myInst
.findCallback("BeginEdit")) {
582 m_myInst
.callCallback(
583 Py_BuildValue("(iiO)", row
, col
,
584 wxPyConstructObject((void*)grid
, "wxGrid")));
586 wxPySaveThread(doSave
);
590 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
592 bool doSave
= wxPyRestoreThread();
593 if (m_myInst
.findCallback("EndEdit")) {
594 rv
= m_myInst
.callCallback(
595 Py_BuildValue("(iiO)", row
, col
,
596 wxPyConstructObject((void*)grid
, "wxGrid")));
598 wxPySaveThread(doSave
);
603 wxGridCellEditor
*Clone() const {
604 wxGridCellEditor
* rval
= NULL
;
605 bool doSave
= wxPyRestoreThread();
606 if (m_myInst
.findCallback("Clone")) {
608 wxGridCellEditor
* ptr
;
609 ro
= m_myInst
.callCallbackObj(Py_BuildValue("()"));
611 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
616 wxPySaveThread(doSave
);
621 void Show(bool show
, wxGridCellAttr
*attr
) {
622 bool doSave
= wxPyRestoreThread();
623 if (m_myInst
.findCallback("Show"))
624 m_myInst
.callCallback(
625 Py_BuildValue("(iO)", show
,
626 wxPyConstructObject((void*)attr
, "wxGridCellAttr")));
628 wxGridCellEditor::Show(show
, attr
);
629 wxPySaveThread(doSave
);
631 void base_Show(bool show
, wxGridCellAttr
*attr
) {
632 wxGridCellEditor::Show(show
, attr
);
636 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
637 bool doSave
= wxPyRestoreThread();
638 if (m_myInst
.findCallback("PaintBackground"))
639 m_myInst
.callCallback(
640 Py_BuildValue("(OO)",
641 wxPyConstructObject((void*)&rectCell
, "wxRect"),
642 wxPyConstructObject((void*)attr
, "wxGridCellAttr")));
644 wxGridCellEditor::PaintBackground(rectCell
, attr
);
645 wxPySaveThread(doSave
);
647 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
648 wxGridCellEditor::PaintBackground(rectCell
, attr
);
652 DEC_PYCALLBACK___pure(Reset
);
653 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
654 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
655 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
656 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
657 DEC_PYCALLBACK__(StartingClick
);
658 DEC_PYCALLBACK__(Destroy
);
659 DEC_PYCALLBACK__STRING(SetParameters
);
665 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
666 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
667 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
668 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
669 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
670 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
671 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
672 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
675 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
678 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
680 PYCALLBACK_GCA_INTINT(wxGridCellAttrProvider
, GetAttr
);
681 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
682 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
683 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
688 class wxPyGridTableBase
: public wxGridTableBase
691 wxPyGridTableBase() : wxGridTableBase() {}
693 PYCALLBACK_INT__pure(GetNumberRows
);
694 PYCALLBACK_INT__pure(GetNumberCols
);
695 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
696 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
697 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
698 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
699 PYCALLBACK__(wxGridTableBase
, Clear
);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
702 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
703 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
704 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
705 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
706 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
707 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
708 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
709 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
710 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
711 PYCALLBACK_GCA_INTINT(wxGridTableBase
, GetAttr
);
712 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
713 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
714 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
717 wxString
GetValue(int row
, int col
) {
718 bool doSave
= wxPyRestoreThread();
720 if (m_myInst
.findCallback("GetValue")) {
722 ro
= m_myInst
.callCallbackObj(Py_BuildValue("(ii)",row
,col
));
724 PyObject
* str
= PyObject_Str(ro
);
725 rval
= PyString_AsString(str
);
730 wxPySaveThread(doSave
);
734 void SetValue(int row
, int col
, const wxString
& val
) {
735 bool doSave
= wxPyRestoreThread();
736 if (m_myInst
.findCallback("SetValue"))
737 m_myInst
.callCallback(Py_BuildValue("(iis)",row
,col
,val
.c_str()));
738 wxPySaveThread(doSave
);
742 // Map the Get/Set methods for the standard non-string types to
743 // the GetValue and SetValue python methods.
744 long GetValueAsLong( int row
, int col
) {
746 bool doSave
= wxPyRestoreThread();
747 if (m_myInst
.findCallback("GetValue")) {
750 ro
= m_myInst
.callCallbackObj(Py_BuildValue("(ii)", row
, col
));
751 if (ro
&& PyNumber_Check(ro
)) {
752 num
= PyNumber_Int(ro
);
754 rval
= PyInt_AsLong(num
);
760 wxPySaveThread(doSave
);
764 double GetValueAsDouble( int row
, int col
) {
766 bool doSave
= wxPyRestoreThread();
767 if (m_myInst
.findCallback("GetValue")) {
770 ro
= m_myInst
.callCallbackObj(Py_BuildValue("(ii)", row
, col
));
771 if (ro
&& PyNumber_Check(ro
)) {
772 num
= PyNumber_Float(ro
);
774 rval
= PyFloat_AsDouble(num
);
780 wxPySaveThread(doSave
);
784 bool GetValueAsBool( int row
, int col
) {
785 return (bool)GetValueAsLong(row
, col
);
788 void SetValueAsLong( int row
, int col
, long value
) {
789 bool doSave
= wxPyRestoreThread();
790 if (m_myInst
.findCallback("SetValue")) {
791 m_myInst
.callCallback(Py_BuildValue("(iii)", row
, col
, value
));
793 wxPySaveThread(doSave
);
796 void SetValueAsDouble( int row
, int col
, double value
) {
797 bool doSave
= wxPyRestoreThread();
798 if (m_myInst
.findCallback("SetValue")) {
799 m_myInst
.callCallback(Py_BuildValue("(iid)", row
, col
, value
));
801 wxPySaveThread(doSave
);
804 void SetValueAsBool( int row
, int col
, bool value
) {
805 SetValueAsLong( row
, col
, (long)value
);
812 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
814 // If source is an object instance then it may already be the right type
815 if (PyInstance_Check(source
)) {
816 wxGridCellCoords
* ptr
;
817 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
822 // otherwise a 2-tuple of integers is expected
823 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
824 PyObject
* o1
= PySequence_GetItem(source
, 0);
825 PyObject
* o2
= PySequence_GetItem(source
, 1);
826 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
831 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
835 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
839 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
841 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
845 static PyObject
*_wrap_wxGridNoCellCoords_get() {
849 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
850 pyobj
= PyString_FromString(ptemp
);
854 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
856 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
860 static PyObject
*_wrap_wxGridNoCellRect_get() {
864 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
865 pyobj
= PyString_FromString(ptemp
);
869 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
870 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
872 wxGridCellRenderer
* _arg0
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _obj1
= 0;
876 char *_kwnames
[] = { "self","params", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
889 #if PYTHON_API_VERSION >= 1009
890 char* tmpPtr
; int tmpSize
;
891 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
892 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
895 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
897 _arg1
= new wxString(tmpPtr
, tmpSize
);
899 if (!PyString_Check(_obj1
)) {
900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
903 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
907 wxPy_BEGIN_ALLOW_THREADS
;
908 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
910 wxPy_END_ALLOW_THREADS
;
911 } Py_INCREF(Py_None
);
912 _resultobj
= Py_None
;
920 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
921 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
923 wxGridCellRenderer
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
938 wxPy_BEGIN_ALLOW_THREADS
;
939 wxGridCellRenderer_IncRef(_arg0
);
941 wxPy_END_ALLOW_THREADS
;
942 } Py_INCREF(Py_None
);
943 _resultobj
= Py_None
;
947 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
948 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
950 wxGridCellRenderer
* _arg0
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 wxGridCellRenderer_DecRef(_arg0
);
968 wxPy_END_ALLOW_THREADS
;
969 } Py_INCREF(Py_None
);
970 _resultobj
= Py_None
;
974 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
975 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
977 wxGridCellRenderer
* _arg0
;
979 wxGridCellAttr
* _arg2
;
985 PyObject
* _argo0
= 0;
986 PyObject
* _argo1
= 0;
987 PyObject
* _argo2
= 0;
988 PyObject
* _argo3
= 0;
990 PyObject
* _obj4
= 0;
992 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1005 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1012 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1019 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1020 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1027 if (! wxRect_helper(_obj4
, &_arg4
))
1030 _arg7
= (bool ) tempbool7
;
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1035 wxPy_END_ALLOW_THREADS
;
1036 } Py_INCREF(Py_None
);
1037 _resultobj
= Py_None
;
1041 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1042 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxGridCellRenderer
* _arg0
;
1047 wxGridCellAttr
* _arg2
;
1051 PyObject
* _argo0
= 0;
1052 PyObject
* _argo1
= 0;
1053 PyObject
* _argo2
= 0;
1054 PyObject
* _argo3
= 0;
1055 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1076 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1083 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1093 wxPy_END_ALLOW_THREADS
;
1094 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1095 _resultobj
= Py_BuildValue("s",_ptemp
);
1099 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1100 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1102 wxGridCellRenderer
* _result
;
1103 wxGridCellRenderer
* _arg0
;
1104 PyObject
* _argo0
= 0;
1105 char *_kwnames
[] = { "self", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1122 wxPy_END_ALLOW_THREADS
;
1124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1125 _resultobj
= Py_BuildValue("s",_ptemp
);
1128 _resultobj
= Py_None
;
1133 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1134 wxPyGridCellRenderer
*src
;
1135 wxGridCellRenderer
*dest
;
1136 src
= (wxPyGridCellRenderer
*) ptr
;
1137 dest
= (wxGridCellRenderer
*) src
;
1138 return (void *) dest
;
1141 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1142 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1144 wxPyGridCellRenderer
* _result
;
1145 char *_kwnames
[] = { NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1155 wxPy_END_ALLOW_THREADS
;
1157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1158 _resultobj
= Py_BuildValue("s",_ptemp
);
1161 _resultobj
= Py_None
;
1166 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1167 static PyObject
*_wrap_wxPyGridCellRenderer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxPyGridCellRenderer
* _arg0
;
1172 PyObject
* _argo0
= 0;
1173 PyObject
* _obj1
= 0;
1174 PyObject
* _obj2
= 0;
1175 char *_kwnames
[] = { "self","self","_class", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 wxPyGridCellRenderer__setSelf(_arg0
,_arg1
,_arg2
);
1197 wxPy_END_ALLOW_THREADS
;
1198 } Py_INCREF(Py_None
);
1199 _resultobj
= Py_None
;
1203 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1204 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1206 wxPyGridCellRenderer
* _arg0
;
1208 PyObject
* _argo0
= 0;
1209 PyObject
* _obj1
= 0;
1210 char *_kwnames
[] = { "self","params", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1223 #if PYTHON_API_VERSION >= 1009
1224 char* tmpPtr
; int tmpSize
;
1225 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1226 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1229 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1231 _arg1
= new wxString(tmpPtr
, tmpSize
);
1233 if (!PyString_Check(_obj1
)) {
1234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1237 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1244 wxPy_END_ALLOW_THREADS
;
1245 } Py_INCREF(Py_None
);
1246 _resultobj
= Py_None
;
1254 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1255 wxGridCellStringRenderer
*src
;
1256 wxGridCellRenderer
*dest
;
1257 src
= (wxGridCellStringRenderer
*) ptr
;
1258 dest
= (wxGridCellRenderer
*) src
;
1259 return (void *) dest
;
1262 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1263 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
* _resultobj
;
1265 wxGridCellStringRenderer
* _result
;
1266 char *_kwnames
[] = { NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1273 wxPy_BEGIN_ALLOW_THREADS
;
1274 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1276 wxPy_END_ALLOW_THREADS
;
1278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1279 _resultobj
= Py_BuildValue("s",_ptemp
);
1282 _resultobj
= Py_None
;
1287 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1288 wxGridCellNumberRenderer
*src
;
1289 wxGridCellStringRenderer
*dest
;
1290 src
= (wxGridCellNumberRenderer
*) ptr
;
1291 dest
= (wxGridCellStringRenderer
*) src
;
1292 return (void *) dest
;
1295 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1296 wxGridCellNumberRenderer
*src
;
1297 wxGridCellRenderer
*dest
;
1298 src
= (wxGridCellNumberRenderer
*) ptr
;
1299 dest
= (wxGridCellRenderer
*) src
;
1300 return (void *) dest
;
1303 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1304 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxGridCellNumberRenderer
* _result
;
1307 char *_kwnames
[] = { NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1317 wxPy_END_ALLOW_THREADS
;
1319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1320 _resultobj
= Py_BuildValue("s",_ptemp
);
1323 _resultobj
= Py_None
;
1328 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1329 wxGridCellFloatRenderer
*src
;
1330 wxGridCellStringRenderer
*dest
;
1331 src
= (wxGridCellFloatRenderer
*) ptr
;
1332 dest
= (wxGridCellStringRenderer
*) src
;
1333 return (void *) dest
;
1336 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1337 wxGridCellFloatRenderer
*src
;
1338 wxGridCellRenderer
*dest
;
1339 src
= (wxGridCellFloatRenderer
*) ptr
;
1340 dest
= (wxGridCellRenderer
*) src
;
1341 return (void *) dest
;
1344 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1345 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1347 wxGridCellFloatRenderer
* _result
;
1348 int _arg0
= (int ) -1;
1349 int _arg1
= (int ) -1;
1350 char *_kwnames
[] = { "width","precision", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1363 _resultobj
= Py_BuildValue("s",_ptemp
);
1366 _resultobj
= Py_None
;
1371 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1372 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 wxGridCellFloatRenderer
* _arg0
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1394 } _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1399 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1401 wxGridCellFloatRenderer
* _arg0
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self","width", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1420 wxPy_END_ALLOW_THREADS
;
1421 } Py_INCREF(Py_None
);
1422 _resultobj
= Py_None
;
1426 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1427 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1430 wxGridCellFloatRenderer
* _arg0
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } _resultobj
= Py_BuildValue("i",_result
);
1453 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1454 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1456 wxGridCellFloatRenderer
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self","precision", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1475 wxPy_END_ALLOW_THREADS
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1482 wxGridCellBoolRenderer
*src
;
1483 wxGridCellRenderer
*dest
;
1484 src
= (wxGridCellBoolRenderer
*) ptr
;
1485 dest
= (wxGridCellRenderer
*) src
;
1486 return (void *) dest
;
1489 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1490 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1492 wxGridCellBoolRenderer
* _result
;
1493 char *_kwnames
[] = { NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1503 wxPy_END_ALLOW_THREADS
;
1505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 _resultobj
= Py_None
;
1514 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1515 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 wxGridCellEditor
* _arg0
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "self", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1541 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1542 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxControl
* _result
;
1545 wxGridCellEditor
* _arg0
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1564 wxPy_END_ALLOW_THREADS
;
1566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 _resultobj
= Py_None
;
1575 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1576 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1578 wxGridCellEditor
* _arg0
;
1580 PyObject
* _argo0
= 0;
1581 PyObject
* _argo1
= 0;
1582 char *_kwnames
[] = { "self","control", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } Py_INCREF(Py_None
);
1607 _resultobj
= Py_None
;
1611 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1612 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1614 wxGridCellEditor
* _arg0
;
1616 PyObject
* _argo0
= 0;
1617 PyObject
* _obj1
= 0;
1618 char *_kwnames
[] = { "self","params", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1631 #if PYTHON_API_VERSION >= 1009
1632 char* tmpPtr
; int tmpSize
;
1633 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1634 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1637 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1639 _arg1
= new wxString(tmpPtr
, tmpSize
);
1641 if (!PyString_Check(_obj1
)) {
1642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1645 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1662 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1663 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 wxGridCellEditor
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_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_IncRef. Expected _wxGridCellEditor_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 wxGridCellEditor_IncRef(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } Py_INCREF(Py_None
);
1685 _resultobj
= Py_None
;
1689 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1690 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxGridCellEditor
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxGridCellEditor_DecRef(_arg0
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1717 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1719 wxGridCellEditor
* _arg0
;
1722 wxEvtHandler
* _arg3
;
1723 PyObject
* _argo0
= 0;
1724 PyObject
* _argo1
= 0;
1725 PyObject
* _argo3
= 0;
1726 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1746 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1753 wxPy_BEGIN_ALLOW_THREADS
;
1754 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1756 wxPy_END_ALLOW_THREADS
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1763 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 wxGridCellEditor
* _arg0
;
1769 PyObject
* _argo0
= 0;
1770 PyObject
* _argo3
= 0;
1771 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1784 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } Py_INCREF(Py_None
);
1796 _resultobj
= Py_None
;
1800 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1801 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1804 wxGridCellEditor
* _arg0
;
1808 PyObject
* _argo0
= 0;
1809 PyObject
* _argo3
= 0;
1810 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1823 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1839 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1841 wxGridCellEditor
* _arg0
;
1842 PyObject
* _argo0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 wxGridCellEditor_Reset(_arg0
);
1859 wxPy_END_ALLOW_THREADS
;
1860 } Py_INCREF(Py_None
);
1861 _resultobj
= Py_None
;
1865 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1866 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1868 wxGridCellEditor
* _result
;
1869 wxGridCellEditor
* _arg0
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
1888 wxPy_END_ALLOW_THREADS
;
1890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
1891 _resultobj
= Py_BuildValue("s",_ptemp
);
1894 _resultobj
= Py_None
;
1899 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1900 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1902 wxGridCellEditor
* _arg0
;
1904 PyObject
* _argo0
= 0;
1906 PyObject
* _obj1
= 0;
1907 char *_kwnames
[] = { "self","rect", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1921 if (! wxRect_helper(_obj1
, &_arg1
))
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1935 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxGridCellEditor
* _arg0
;
1939 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
1940 PyObject
* _argo0
= 0;
1942 PyObject
* _argo2
= 0;
1943 char *_kwnames
[] = { "self","show","attr", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1955 _arg1
= (bool ) tempbool1
;
1957 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1974 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxGridCellEditor
* _arg0
;
1978 wxGridCellAttr
* _arg2
;
1979 PyObject
* _argo0
= 0;
1981 PyObject
* _obj1
= 0;
1982 PyObject
* _argo2
= 0;
1983 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
1997 if (! wxRect_helper(_obj1
, &_arg1
))
2001 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2018 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 wxGridCellEditor
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo1
= 0;
2025 char *_kwnames
[] = { "self","event", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } _resultobj
= Py_BuildValue("i",_result
);
2053 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2054 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2056 wxGridCellEditor
* _arg0
;
2058 PyObject
* _argo0
= 0;
2059 PyObject
* _argo1
= 0;
2060 char *_kwnames
[] = { "self","event", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2089 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2090 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2092 wxGridCellEditor
* _arg0
;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 wxGridCellEditor_StartingClick(_arg0
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2117 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2119 wxGridCellEditor
* _arg0
;
2121 PyObject
* _argo0
= 0;
2122 PyObject
* _argo1
= 0;
2123 char *_kwnames
[] = { "self","event", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
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_HandleReturn. Expected _wxGridCellEditor_p.");
2136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2146 wxPy_END_ALLOW_THREADS
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2152 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2153 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2155 wxGridCellEditor
* _arg0
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxGridCellEditor_Destroy(_arg0
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2180 wxPyGridCellEditor
*src
;
2181 wxGridCellEditor
*dest
;
2182 src
= (wxPyGridCellEditor
*) ptr
;
2183 dest
= (wxGridCellEditor
*) src
;
2184 return (void *) dest
;
2187 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2188 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2190 wxPyGridCellEditor
* _result
;
2191 char *_kwnames
[] = { NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2201 wxPy_END_ALLOW_THREADS
;
2203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2204 _resultobj
= Py_BuildValue("s",_ptemp
);
2207 _resultobj
= Py_None
;
2212 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2213 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2215 wxPyGridCellEditor
* _arg0
;
2218 PyObject
* _argo0
= 0;
2219 PyObject
* _obj1
= 0;
2220 PyObject
* _obj2
= 0;
2221 char *_kwnames
[] = { "self","self","_class", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2243 wxPy_END_ALLOW_THREADS
;
2244 } Py_INCREF(Py_None
);
2245 _resultobj
= Py_None
;
2249 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2250 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2252 wxPyGridCellEditor
* _arg0
;
2254 PyObject
* _argo0
= 0;
2256 PyObject
* _obj1
= 0;
2257 char *_kwnames
[] = { "self","rect", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2271 if (! wxRect_helper(_obj1
, &_arg1
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2285 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2287 wxPyGridCellEditor
* _arg0
;
2289 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2290 PyObject
* _argo0
= 0;
2292 PyObject
* _argo2
= 0;
2293 char *_kwnames
[] = { "self","show","attr", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2305 _arg1
= (bool ) tempbool1
;
2307 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2317 wxPy_END_ALLOW_THREADS
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2324 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2326 wxPyGridCellEditor
* _arg0
;
2328 wxGridCellAttr
* _arg2
;
2329 PyObject
* _argo0
= 0;
2331 PyObject
* _obj1
= 0;
2332 PyObject
* _argo2
= 0;
2333 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2347 if (! wxRect_helper(_obj1
, &_arg1
))
2351 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2367 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2368 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxPyGridCellEditor
* _arg0
;
2372 PyObject
* _argo0
= 0;
2373 PyObject
* _argo1
= 0;
2374 char *_kwnames
[] = { "self","event", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2403 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2404 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2406 wxPyGridCellEditor
* _arg0
;
2408 PyObject
* _argo0
= 0;
2409 PyObject
* _argo1
= 0;
2410 char *_kwnames
[] = { "self","event", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2433 wxPy_END_ALLOW_THREADS
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2440 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPyGridCellEditor
* _arg0
;
2443 PyObject
* _argo0
= 0;
2444 char *_kwnames
[] = { "self", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2457 wxPy_BEGIN_ALLOW_THREADS
;
2458 wxPyGridCellEditor_base_StartingClick(_arg0
);
2460 wxPy_END_ALLOW_THREADS
;
2461 } Py_INCREF(Py_None
);
2462 _resultobj
= Py_None
;
2466 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2467 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2469 wxPyGridCellEditor
* _arg0
;
2471 PyObject
* _argo0
= 0;
2472 PyObject
* _argo1
= 0;
2473 char *_kwnames
[] = { "self","event", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2496 wxPy_END_ALLOW_THREADS
;
2497 } Py_INCREF(Py_None
);
2498 _resultobj
= Py_None
;
2502 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2503 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2505 wxPyGridCellEditor
* _arg0
;
2506 PyObject
* _argo0
= 0;
2507 char *_kwnames
[] = { "self", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 wxPyGridCellEditor_base_Destroy(_arg0
);
2523 wxPy_END_ALLOW_THREADS
;
2524 } Py_INCREF(Py_None
);
2525 _resultobj
= Py_None
;
2529 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2530 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2532 wxPyGridCellEditor
* _arg0
;
2534 PyObject
* _argo0
= 0;
2535 PyObject
* _obj1
= 0;
2536 char *_kwnames
[] = { "self","params", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2549 #if PYTHON_API_VERSION >= 1009
2550 char* tmpPtr
; int tmpSize
;
2551 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2552 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2555 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2557 _arg1
= new wxString(tmpPtr
, tmpSize
);
2559 if (!PyString_Check(_obj1
)) {
2560 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2563 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2570 wxPy_END_ALLOW_THREADS
;
2571 } Py_INCREF(Py_None
);
2572 _resultobj
= Py_None
;
2580 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2581 wxGridCellTextEditor
*src
;
2582 wxGridCellEditor
*dest
;
2583 src
= (wxGridCellTextEditor
*) ptr
;
2584 dest
= (wxGridCellEditor
*) src
;
2585 return (void *) dest
;
2588 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2589 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2591 wxGridCellTextEditor
* _result
;
2592 char *_kwnames
[] = { NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2599 wxPy_BEGIN_ALLOW_THREADS
;
2600 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2602 wxPy_END_ALLOW_THREADS
;
2604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2605 _resultobj
= Py_BuildValue("s",_ptemp
);
2608 _resultobj
= Py_None
;
2613 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2614 wxGridCellNumberEditor
*src
;
2615 wxGridCellTextEditor
*dest
;
2616 src
= (wxGridCellNumberEditor
*) ptr
;
2617 dest
= (wxGridCellTextEditor
*) src
;
2618 return (void *) dest
;
2621 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2622 wxGridCellNumberEditor
*src
;
2623 wxGridCellEditor
*dest
;
2624 src
= (wxGridCellNumberEditor
*) ptr
;
2625 dest
= (wxGridCellEditor
*) src
;
2626 return (void *) dest
;
2629 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2630 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2632 wxGridCellNumberEditor
* _result
;
2633 int _arg0
= (int ) -1;
2634 int _arg1
= (int ) -1;
2635 char *_kwnames
[] = { "min","max", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2645 wxPy_END_ALLOW_THREADS
;
2647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2648 _resultobj
= Py_BuildValue("s",_ptemp
);
2651 _resultobj
= Py_None
;
2656 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2657 wxGridCellFloatEditor
*src
;
2658 wxGridCellTextEditor
*dest
;
2659 src
= (wxGridCellFloatEditor
*) ptr
;
2660 dest
= (wxGridCellTextEditor
*) src
;
2661 return (void *) dest
;
2664 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2665 wxGridCellFloatEditor
*src
;
2666 wxGridCellEditor
*dest
;
2667 src
= (wxGridCellFloatEditor
*) ptr
;
2668 dest
= (wxGridCellEditor
*) src
;
2669 return (void *) dest
;
2672 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2673 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxGridCellFloatEditor
* _result
;
2676 char *_kwnames
[] = { NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2686 wxPy_END_ALLOW_THREADS
;
2688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2692 _resultobj
= Py_None
;
2697 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2698 wxGridCellBoolEditor
*src
;
2699 wxGridCellEditor
*dest
;
2700 src
= (wxGridCellBoolEditor
*) ptr
;
2701 dest
= (wxGridCellEditor
*) src
;
2702 return (void *) dest
;
2705 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2706 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2708 wxGridCellBoolEditor
* _result
;
2709 char *_kwnames
[] = { NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2716 wxPy_BEGIN_ALLOW_THREADS
;
2717 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2719 wxPy_END_ALLOW_THREADS
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2730 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2731 wxGridCellChoiceEditor
*src
;
2732 wxGridCellEditor
*dest
;
2733 src
= (wxGridCellChoiceEditor
*) ptr
;
2734 dest
= (wxGridCellEditor
*) src
;
2735 return (void *) dest
;
2738 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2739 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2741 wxGridCellChoiceEditor
* _result
;
2742 int _arg0
= (int ) 0;
2743 wxString
* _arg1
= (wxString
*) NULL
;
2744 bool _arg2
= (bool ) FALSE
;
2745 PyObject
* _obj1
= 0;
2746 int tempbool2
= (int) FALSE
;
2747 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2755 _arg1
= wxString_LIST_helper(_obj1
);
2756 if (_arg1
== NULL
) {
2760 _arg2
= (bool ) tempbool2
;
2763 _arg0
= PyList_Size(_obj1
);
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2773 wxPy_END_ALLOW_THREADS
;
2775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 _resultobj
= Py_None
;
2787 #define new_wxGridCellAttr() (new wxGridCellAttr())
2788 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2790 wxGridCellAttr
* _result
;
2791 char *_kwnames
[] = { NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
2801 wxPy_END_ALLOW_THREADS
;
2803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2804 _resultobj
= Py_BuildValue("s",_ptemp
);
2807 _resultobj
= Py_None
;
2812 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2813 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2815 wxGridCellAttr
* _result
;
2816 wxGridCellAttr
* _arg0
;
2817 PyObject
* _argo0
= 0;
2818 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
2835 wxPy_END_ALLOW_THREADS
;
2837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2838 _resultobj
= Py_BuildValue("s",_ptemp
);
2841 _resultobj
= Py_None
;
2846 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2847 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2849 wxGridCellAttr
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 wxGridCellAttr_IncRef(_arg0
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2874 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2876 wxGridCellAttr
* _arg0
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 wxGridCellAttr_DecRef(_arg0
);
2894 wxPy_END_ALLOW_THREADS
;
2895 } Py_INCREF(Py_None
);
2896 _resultobj
= Py_None
;
2900 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2901 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxGridCellAttr
* _arg0
;
2905 PyObject
* _argo0
= 0;
2907 PyObject
* _obj1
= 0;
2908 char *_kwnames
[] = { "self","colText", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2922 if (! wxColour_helper(_obj1
, &_arg1
))
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2936 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2938 wxGridCellAttr
* _arg0
;
2940 PyObject
* _argo0
= 0;
2942 PyObject
* _obj1
= 0;
2943 char *_kwnames
[] = { "self","colBack", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
2957 if (! wxColour_helper(_obj1
, &_arg1
))
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } Py_INCREF(Py_None
);
2966 _resultobj
= Py_None
;
2970 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
2971 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxGridCellAttr
* _arg0
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _argo1
= 0;
2977 char *_kwnames
[] = { "self","font", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
2990 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3000 wxPy_END_ALLOW_THREADS
;
3001 } Py_INCREF(Py_None
);
3002 _resultobj
= Py_None
;
3006 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3007 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3009 wxGridCellAttr
* _arg0
;
3012 PyObject
* _argo0
= 0;
3013 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3026 wxPy_BEGIN_ALLOW_THREADS
;
3027 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3029 wxPy_END_ALLOW_THREADS
;
3030 } Py_INCREF(Py_None
);
3031 _resultobj
= Py_None
;
3035 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3036 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3038 wxGridCellAttr
* _arg0
;
3039 bool _arg1
= (bool ) TRUE
;
3040 PyObject
* _argo0
= 0;
3041 int tempbool1
= (int) TRUE
;
3042 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3054 _arg1
= (bool ) tempbool1
;
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3066 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3068 wxGridCellAttr
* _arg0
;
3069 wxGridCellRenderer
* _arg1
;
3070 PyObject
* _argo0
= 0;
3071 PyObject
* _argo1
= 0;
3072 char *_kwnames
[] = { "self","renderer", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3092 wxPy_BEGIN_ALLOW_THREADS
;
3093 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3095 wxPy_END_ALLOW_THREADS
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3102 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3104 wxGridCellAttr
* _arg0
;
3105 wxGridCellEditor
* _arg1
;
3106 PyObject
* _argo0
= 0;
3107 PyObject
* _argo1
= 0;
3108 char *_kwnames
[] = { "self","editor", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3131 wxPy_END_ALLOW_THREADS
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3138 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 wxGridCellAttr
* _arg0
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3159 wxPy_END_ALLOW_THREADS
;
3160 } _resultobj
= Py_BuildValue("i",_result
);
3164 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3165 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3168 wxGridCellAttr
* _arg0
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3183 wxPy_BEGIN_ALLOW_THREADS
;
3184 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3186 wxPy_END_ALLOW_THREADS
;
3187 } _resultobj
= Py_BuildValue("i",_result
);
3191 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3192 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3195 wxGridCellAttr
* _arg0
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3210 wxPy_BEGIN_ALLOW_THREADS
;
3211 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3213 wxPy_END_ALLOW_THREADS
;
3214 } _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3219 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3222 wxGridCellAttr
* _arg0
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3237 wxPy_BEGIN_ALLOW_THREADS
;
3238 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3240 wxPy_END_ALLOW_THREADS
;
3241 } _resultobj
= Py_BuildValue("i",_result
);
3245 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3246 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3249 wxGridCellAttr
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3264 wxPy_BEGIN_ALLOW_THREADS
;
3265 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3267 wxPy_END_ALLOW_THREADS
;
3268 } _resultobj
= Py_BuildValue("i",_result
);
3272 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3273 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3276 wxGridCellAttr
* _arg0
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3295 } _resultobj
= Py_BuildValue("i",_result
);
3299 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3300 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3303 wxGridCellAttr
* _arg0
;
3304 PyObject
* _argo0
= 0;
3305 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3321 _result
= (wxColour
*) &_result_ref
;
3323 wxPy_END_ALLOW_THREADS
;
3325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3326 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 _resultobj
= Py_None
;
3334 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3335 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3338 wxGridCellAttr
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
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_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3354 wxPy_BEGIN_ALLOW_THREADS
;
3355 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3356 _result
= (wxColour
*) &_result_ref
;
3358 wxPy_END_ALLOW_THREADS
;
3360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3361 _resultobj
= Py_BuildValue("s",_ptemp
);
3364 _resultobj
= Py_None
;
3369 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3370 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3373 wxGridCellAttr
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3389 wxPy_BEGIN_ALLOW_THREADS
;
3390 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3391 _result
= (wxFont
*) &_result_ref
;
3393 wxPy_END_ALLOW_THREADS
;
3395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3396 _resultobj
= Py_BuildValue("s",_ptemp
);
3399 _resultobj
= Py_None
;
3404 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3405 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3407 wxGridCellAttr
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3432 wxPy_BEGIN_ALLOW_THREADS
;
3433 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3435 wxPy_END_ALLOW_THREADS
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3440 o
= PyInt_FromLong((long) (*_arg1
));
3441 _resultobj
= t_output_helper(_resultobj
, o
);
3445 o
= PyInt_FromLong((long) (*_arg2
));
3446 _resultobj
= t_output_helper(_resultobj
, o
);
3451 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3452 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxGridCellRenderer
* _result
;
3455 wxGridCellAttr
* _arg0
;
3459 PyObject
* _argo0
= 0;
3460 PyObject
* _argo1
= 0;
3461 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3482 wxPy_BEGIN_ALLOW_THREADS
;
3483 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3485 wxPy_END_ALLOW_THREADS
;
3487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3488 _resultobj
= Py_BuildValue("s",_ptemp
);
3491 _resultobj
= Py_None
;
3496 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3497 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3499 wxGridCellEditor
* _result
;
3500 wxGridCellAttr
* _arg0
;
3504 PyObject
* _argo0
= 0;
3505 PyObject
* _argo1
= 0;
3506 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3530 wxPy_END_ALLOW_THREADS
;
3532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3533 _resultobj
= Py_BuildValue("s",_ptemp
);
3536 _resultobj
= Py_None
;
3541 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3542 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3545 wxGridCellAttr
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3569 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxGridCellAttr
* _arg0
;
3572 wxGridCellAttr
* _arg1
;
3573 PyObject
* _argo0
= 0;
3574 PyObject
* _argo1
= 0;
3575 char *_kwnames
[] = { "self","defAttr", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3604 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3605 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxGridCellAttrProvider
* _result
;
3608 char *_kwnames
[] = { NULL
};
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3618 wxPy_END_ALLOW_THREADS
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxGridCellAttr
* _result
;
3633 wxGridCellAttrProvider
* _arg0
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self","row","col", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3651 wxPy_BEGIN_ALLOW_THREADS
;
3652 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
);
3654 wxPy_END_ALLOW_THREADS
;
3656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3657 _resultobj
= Py_BuildValue("s",_ptemp
);
3660 _resultobj
= Py_None
;
3665 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3666 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxGridCellAttrProvider
* _arg0
;
3669 wxGridCellAttr
* _arg1
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _argo1
= 0;
3674 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3697 wxPy_END_ALLOW_THREADS
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3704 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3706 wxGridCellAttrProvider
* _arg0
;
3707 wxGridCellAttr
* _arg1
;
3709 PyObject
* _argo0
= 0;
3710 PyObject
* _argo1
= 0;
3711 char *_kwnames
[] = { "self","attr","row", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } Py_INCREF(Py_None
);
3736 _resultobj
= Py_None
;
3740 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3741 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxGridCellAttrProvider
* _arg0
;
3744 wxGridCellAttr
* _arg1
;
3746 PyObject
* _argo0
= 0;
3747 PyObject
* _argo1
= 0;
3748 char *_kwnames
[] = { "self","attr","col", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3778 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxGridCellAttrProvider
* _arg0
;
3783 PyObject
* _argo0
= 0;
3784 char *_kwnames
[] = { "self","pos","numRows", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3797 wxPy_BEGIN_ALLOW_THREADS
;
3798 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
3800 wxPy_END_ALLOW_THREADS
;
3801 } Py_INCREF(Py_None
);
3802 _resultobj
= Py_None
;
3806 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3807 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
* _resultobj
;
3809 wxGridCellAttrProvider
* _arg0
;
3812 PyObject
* _argo0
= 0;
3813 char *_kwnames
[] = { "self","pos","numCols", NULL
};
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3835 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
3836 wxPyGridCellAttrProvider
*src
;
3837 wxGridCellAttrProvider
*dest
;
3838 src
= (wxPyGridCellAttrProvider
*) ptr
;
3839 dest
= (wxGridCellAttrProvider
*) src
;
3840 return (void *) dest
;
3843 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
3844 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3846 wxPyGridCellAttrProvider
* _result
;
3847 char *_kwnames
[] = { NULL
};
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
3857 wxPy_END_ALLOW_THREADS
;
3859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3863 _resultobj
= Py_None
;
3868 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3869 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxPyGridCellAttrProvider
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _obj1
= 0;
3876 PyObject
* _obj2
= 0;
3877 char *_kwnames
[] = { "self","self","_class", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
3896 wxPy_BEGIN_ALLOW_THREADS
;
3897 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
3899 wxPy_END_ALLOW_THREADS
;
3900 } Py_INCREF(Py_None
);
3901 _resultobj
= Py_None
;
3905 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
3906 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3908 wxGridCellAttr
* _result
;
3909 wxPyGridCellAttrProvider
* _arg0
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self","row","col", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
);
3930 wxPy_END_ALLOW_THREADS
;
3932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3933 _resultobj
= Py_BuildValue("s",_ptemp
);
3936 _resultobj
= Py_None
;
3941 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
3942 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxPyGridCellAttrProvider
* _arg0
;
3945 wxGridCellAttr
* _arg1
;
3948 PyObject
* _argo0
= 0;
3949 PyObject
* _argo1
= 0;
3950 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
3963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3973 wxPy_END_ALLOW_THREADS
;
3974 } Py_INCREF(Py_None
);
3975 _resultobj
= Py_None
;
3979 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
3980 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxPyGridCellAttrProvider
* _arg0
;
3983 wxGridCellAttr
* _arg1
;
3985 PyObject
* _argo0
= 0;
3986 PyObject
* _argo1
= 0;
3987 char *_kwnames
[] = { "self","attr","row", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4007 wxPy_BEGIN_ALLOW_THREADS
;
4008 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4010 wxPy_END_ALLOW_THREADS
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4016 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4017 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4019 wxPyGridCellAttrProvider
* _arg0
;
4020 wxGridCellAttr
* _arg1
;
4022 PyObject
* _argo0
= 0;
4023 PyObject
* _argo1
= 0;
4024 char *_kwnames
[] = { "self","attr","col", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4044 wxPy_BEGIN_ALLOW_THREADS
;
4045 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4047 wxPy_END_ALLOW_THREADS
;
4048 } Py_INCREF(Py_None
);
4049 _resultobj
= Py_None
;
4053 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4054 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4056 wxGridTableBase
* _arg0
;
4057 wxGridCellAttrProvider
* _arg1
;
4058 PyObject
* _argo0
= 0;
4059 PyObject
* _argo1
= 0;
4060 char *_kwnames
[] = { "self","attrProvider", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4090 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxGridCellAttrProvider
* _result
;
4093 wxGridTableBase
* _arg0
;
4094 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4112 wxPy_END_ALLOW_THREADS
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4124 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxGridTableBase
* _arg0
;
4128 PyObject
* _argo0
= 0;
4129 PyObject
* _argo1
= 0;
4130 char *_kwnames
[] = { "self","grid", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 wxGridTableBase_SetView(_arg0
,_arg1
);
4153 wxPy_END_ALLOW_THREADS
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4159 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4160 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4163 wxGridTableBase
* _arg0
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4182 wxPy_END_ALLOW_THREADS
;
4184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
4185 _resultobj
= Py_BuildValue("s",_ptemp
);
4188 _resultobj
= Py_None
;
4193 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4194 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4197 wxGridTableBase
* _arg0
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4215 wxPy_END_ALLOW_THREADS
;
4216 } _resultobj
= Py_BuildValue("i",_result
);
4220 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4221 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4224 wxGridTableBase
* _arg0
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4248 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4251 wxGridTableBase
* _arg0
;
4254 PyObject
* _argo0
= 0;
4255 char *_kwnames
[] = { "self","row","col", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4268 wxPy_BEGIN_ALLOW_THREADS
;
4269 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4271 wxPy_END_ALLOW_THREADS
;
4272 } _resultobj
= Py_BuildValue("i",_result
);
4276 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4277 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4280 wxGridTableBase
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self","row","col", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4300 wxPy_END_ALLOW_THREADS
;
4302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4310 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4311 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4313 wxGridTableBase
* _arg0
;
4317 PyObject
* _argo0
= 0;
4318 PyObject
* _obj3
= 0;
4319 char *_kwnames
[] = { "self","row","col","value", NULL
};
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4332 #if PYTHON_API_VERSION >= 1009
4333 char* tmpPtr
; int tmpSize
;
4334 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4335 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4338 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4340 _arg3
= new wxString(tmpPtr
, tmpSize
);
4342 if (!PyString_Check(_obj3
)) {
4343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4346 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4350 wxPy_BEGIN_ALLOW_THREADS
;
4351 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4353 wxPy_END_ALLOW_THREADS
;
4354 } Py_INCREF(Py_None
);
4355 _resultobj
= Py_None
;
4363 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4364 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4367 wxGridTableBase
* _arg0
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self","row","col", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4387 wxPy_END_ALLOW_THREADS
;
4389 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4397 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4398 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4401 wxGridTableBase
* _arg0
;
4405 PyObject
* _argo0
= 0;
4406 PyObject
* _obj3
= 0;
4407 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4420 #if PYTHON_API_VERSION >= 1009
4421 char* tmpPtr
; int tmpSize
;
4422 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4423 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4426 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4428 _arg3
= new wxString(tmpPtr
, tmpSize
);
4430 if (!PyString_Check(_obj3
)) {
4431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4434 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4441 wxPy_END_ALLOW_THREADS
;
4442 } _resultobj
= Py_BuildValue("i",_result
);
4450 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4451 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4454 wxGridTableBase
* _arg0
;
4458 PyObject
* _argo0
= 0;
4459 PyObject
* _obj3
= 0;
4460 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4473 #if PYTHON_API_VERSION >= 1009
4474 char* tmpPtr
; int tmpSize
;
4475 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4476 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4479 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4481 _arg3
= new wxString(tmpPtr
, tmpSize
);
4483 if (!PyString_Check(_obj3
)) {
4484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4487 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } _resultobj
= Py_BuildValue("i",_result
);
4503 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4504 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4507 wxGridTableBase
* _arg0
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self","row","col", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } _resultobj
= Py_BuildValue("l",_result
);
4532 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4533 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4536 wxGridTableBase
* _arg0
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self","row","col", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } _resultobj
= Py_BuildValue("d",_result
);
4561 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4562 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4565 wxGridTableBase
* _arg0
;
4568 PyObject
* _argo0
= 0;
4569 char *_kwnames
[] = { "self","row","col", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4585 wxPy_END_ALLOW_THREADS
;
4586 } _resultobj
= Py_BuildValue("i",_result
);
4590 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4591 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 wxGridTableBase
* _arg0
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self","row","col","value", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4614 wxPy_END_ALLOW_THREADS
;
4615 } Py_INCREF(Py_None
);
4616 _resultobj
= Py_None
;
4620 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4621 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4623 wxGridTableBase
* _arg0
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self","row","col","value", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
4644 wxPy_END_ALLOW_THREADS
;
4645 } Py_INCREF(Py_None
);
4646 _resultobj
= Py_None
;
4650 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4651 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4653 wxGridTableBase
* _arg0
;
4657 PyObject
* _argo0
= 0;
4659 char *_kwnames
[] = { "self","row","col","value", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4671 _arg3
= (bool ) tempbool3
;
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } Py_INCREF(Py_None
);
4678 _resultobj
= Py_None
;
4682 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4683 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4685 wxGridTableBase
* _arg0
;
4686 PyObject
* _argo0
= 0;
4687 char *_kwnames
[] = { "self", NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
4693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4700 wxPy_BEGIN_ALLOW_THREADS
;
4701 wxGridTableBase_Clear(_arg0
);
4703 wxPy_END_ALLOW_THREADS
;
4704 } Py_INCREF(Py_None
);
4705 _resultobj
= Py_None
;
4709 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4710 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4713 wxGridTableBase
* _arg0
;
4714 size_t _arg1
= (size_t ) 0;
4715 size_t _arg2
= (size_t ) 1;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } _resultobj
= Py_BuildValue("i",_result
);
4738 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4739 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 wxGridTableBase
* _arg0
;
4743 size_t _arg1
= (size_t ) 1;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self","numRows", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4758 wxPy_BEGIN_ALLOW_THREADS
;
4759 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
4761 wxPy_END_ALLOW_THREADS
;
4762 } _resultobj
= Py_BuildValue("i",_result
);
4766 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4767 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 wxGridTableBase
* _arg0
;
4771 size_t _arg1
= (size_t ) 0;
4772 size_t _arg2
= (size_t ) 1;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } _resultobj
= Py_BuildValue("i",_result
);
4795 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4796 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4799 wxGridTableBase
* _arg0
;
4800 size_t _arg1
= (size_t ) 0;
4801 size_t _arg2
= (size_t ) 1;
4802 PyObject
* _argo0
= 0;
4803 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
4816 wxPy_BEGIN_ALLOW_THREADS
;
4817 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
4819 wxPy_END_ALLOW_THREADS
;
4820 } _resultobj
= Py_BuildValue("i",_result
);
4824 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
4825 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
* _resultobj
;
4828 wxGridTableBase
* _arg0
;
4829 size_t _arg1
= (size_t ) 1;
4830 PyObject
* _argo0
= 0;
4831 char *_kwnames
[] = { "self","numCols", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
4844 wxPy_BEGIN_ALLOW_THREADS
;
4845 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
4847 wxPy_END_ALLOW_THREADS
;
4848 } _resultobj
= Py_BuildValue("i",_result
);
4852 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
4853 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4856 wxGridTableBase
* _arg0
;
4857 size_t _arg1
= (size_t ) 0;
4858 size_t _arg2
= (size_t ) 1;
4859 PyObject
* _argo0
= 0;
4860 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
4873 wxPy_BEGIN_ALLOW_THREADS
;
4874 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
4876 wxPy_END_ALLOW_THREADS
;
4877 } _resultobj
= Py_BuildValue("i",_result
);
4881 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
4882 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4885 wxGridTableBase
* _arg0
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "self","row", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
4901 wxPy_BEGIN_ALLOW_THREADS
;
4902 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
4904 wxPy_END_ALLOW_THREADS
;
4906 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4914 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
4915 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 wxGridTableBase
* _arg0
;
4920 PyObject
* _argo0
= 0;
4921 char *_kwnames
[] = { "self","col", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
4934 wxPy_BEGIN_ALLOW_THREADS
;
4935 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
4937 wxPy_END_ALLOW_THREADS
;
4939 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4947 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
4948 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4950 wxGridTableBase
* _arg0
;
4953 PyObject
* _argo0
= 0;
4954 PyObject
* _obj2
= 0;
4955 char *_kwnames
[] = { "self","row","value", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
4968 #if PYTHON_API_VERSION >= 1009
4969 char* tmpPtr
; int tmpSize
;
4970 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4971 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4974 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4976 _arg2
= new wxString(tmpPtr
, tmpSize
);
4978 if (!PyString_Check(_obj2
)) {
4979 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4982 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4986 wxPy_BEGIN_ALLOW_THREADS
;
4987 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
4989 wxPy_END_ALLOW_THREADS
;
4990 } Py_INCREF(Py_None
);
4991 _resultobj
= Py_None
;
4999 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5000 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
* _resultobj
;
5002 wxGridTableBase
* _arg0
;
5005 PyObject
* _argo0
= 0;
5006 PyObject
* _obj2
= 0;
5007 char *_kwnames
[] = { "self","col","value", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5020 #if PYTHON_API_VERSION >= 1009
5021 char* tmpPtr
; int tmpSize
;
5022 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5023 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5026 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5028 _arg2
= new wxString(tmpPtr
, tmpSize
);
5030 if (!PyString_Check(_obj2
)) {
5031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5034 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5038 wxPy_BEGIN_ALLOW_THREADS
;
5039 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5041 wxPy_END_ALLOW_THREADS
;
5042 } Py_INCREF(Py_None
);
5043 _resultobj
= Py_None
;
5051 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5052 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5055 wxGridTableBase
* _arg0
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5070 wxPy_BEGIN_ALLOW_THREADS
;
5071 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5073 wxPy_END_ALLOW_THREADS
;
5074 } _resultobj
= Py_BuildValue("i",_result
);
5078 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAttr(_swigarg0,_swigarg1))
5079 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5081 wxGridCellAttr
* _result
;
5082 wxGridTableBase
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self","row","col", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5100 wxPy_BEGIN_ALLOW_THREADS
;
5101 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
);
5103 wxPy_END_ALLOW_THREADS
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5114 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5115 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5117 wxGridTableBase
* _arg0
;
5118 wxGridCellAttr
* _arg1
;
5121 PyObject
* _argo0
= 0;
5122 PyObject
* _argo1
= 0;
5123 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5136 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5143 wxPy_BEGIN_ALLOW_THREADS
;
5144 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5146 wxPy_END_ALLOW_THREADS
;
5147 } Py_INCREF(Py_None
);
5148 _resultobj
= Py_None
;
5152 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5153 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
* _resultobj
;
5155 wxGridTableBase
* _arg0
;
5156 wxGridCellAttr
* _arg1
;
5158 PyObject
* _argo0
= 0;
5159 PyObject
* _argo1
= 0;
5160 char *_kwnames
[] = { "self","attr","row", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5180 wxPy_BEGIN_ALLOW_THREADS
;
5181 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5183 wxPy_END_ALLOW_THREADS
;
5184 } Py_INCREF(Py_None
);
5185 _resultobj
= Py_None
;
5189 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5190 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5192 wxGridTableBase
* _arg0
;
5193 wxGridCellAttr
* _arg1
;
5195 PyObject
* _argo0
= 0;
5196 PyObject
* _argo1
= 0;
5197 char *_kwnames
[] = { "self","attr","col", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5217 wxPy_BEGIN_ALLOW_THREADS
;
5218 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5220 wxPy_END_ALLOW_THREADS
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5226 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5227 wxPyGridTableBase
*src
;
5228 wxGridTableBase
*dest
;
5229 src
= (wxPyGridTableBase
*) ptr
;
5230 dest
= (wxGridTableBase
*) src
;
5231 return (void *) dest
;
5234 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5235 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5237 wxPyGridTableBase
* _result
;
5238 char *_kwnames
[] = { NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5245 wxPy_BEGIN_ALLOW_THREADS
;
5246 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5248 wxPy_END_ALLOW_THREADS
;
5250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5251 _resultobj
= Py_BuildValue("s",_ptemp
);
5254 _resultobj
= Py_None
;
5259 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5260 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5262 wxPyGridTableBase
* _arg0
;
5265 PyObject
* _argo0
= 0;
5266 PyObject
* _obj1
= 0;
5267 PyObject
* _obj2
= 0;
5268 char *_kwnames
[] = { "self","self","_class", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5290 wxPy_END_ALLOW_THREADS
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5297 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5299 wxPyGridTableBase
* _arg0
;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "self", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5314 wxPy_BEGIN_ALLOW_THREADS
;
5315 wxPyGridTableBase_Destroy(_arg0
);
5317 wxPy_END_ALLOW_THREADS
;
5318 } Py_INCREF(Py_None
);
5319 _resultobj
= Py_None
;
5323 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5324 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5327 wxPyGridTableBase
* _arg0
;
5330 PyObject
* _argo0
= 0;
5331 char *_kwnames
[] = { "self","row","col", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5347 wxPy_END_ALLOW_THREADS
;
5349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5357 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5358 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5361 wxPyGridTableBase
* _arg0
;
5365 PyObject
* _argo0
= 0;
5366 PyObject
* _obj3
= 0;
5367 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5380 #if PYTHON_API_VERSION >= 1009
5381 char* tmpPtr
; int tmpSize
;
5382 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5383 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5386 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5388 _arg3
= new wxString(tmpPtr
, tmpSize
);
5390 if (!PyString_Check(_obj3
)) {
5391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5394 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5398 wxPy_BEGIN_ALLOW_THREADS
;
5399 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5401 wxPy_END_ALLOW_THREADS
;
5402 } _resultobj
= Py_BuildValue("i",_result
);
5410 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5411 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5414 wxPyGridTableBase
* _arg0
;
5418 PyObject
* _argo0
= 0;
5419 PyObject
* _obj3
= 0;
5420 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5433 #if PYTHON_API_VERSION >= 1009
5434 char* tmpPtr
; int tmpSize
;
5435 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5436 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5439 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5441 _arg3
= new wxString(tmpPtr
, tmpSize
);
5443 if (!PyString_Check(_obj3
)) {
5444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5447 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5451 wxPy_BEGIN_ALLOW_THREADS
;
5452 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5454 wxPy_END_ALLOW_THREADS
;
5455 } _resultobj
= Py_BuildValue("i",_result
);
5463 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5464 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5466 wxPyGridTableBase
* _arg0
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 wxPyGridTableBase_base_Clear(_arg0
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } Py_INCREF(Py_None
);
5486 _resultobj
= Py_None
;
5490 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5491 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5494 wxPyGridTableBase
* _arg0
;
5495 size_t _arg1
= (size_t ) 0;
5496 size_t _arg2
= (size_t ) 1;
5497 PyObject
* _argo0
= 0;
5498 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5514 wxPy_END_ALLOW_THREADS
;
5515 } _resultobj
= Py_BuildValue("i",_result
);
5519 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5520 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5523 wxPyGridTableBase
* _arg0
;
5524 size_t _arg1
= (size_t ) 1;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self","numRows", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5542 wxPy_END_ALLOW_THREADS
;
5543 } _resultobj
= Py_BuildValue("i",_result
);
5547 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5548 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5551 wxPyGridTableBase
* _arg0
;
5552 size_t _arg1
= (size_t ) 0;
5553 size_t _arg2
= (size_t ) 1;
5554 PyObject
* _argo0
= 0;
5555 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5568 wxPy_BEGIN_ALLOW_THREADS
;
5569 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5571 wxPy_END_ALLOW_THREADS
;
5572 } _resultobj
= Py_BuildValue("i",_result
);
5576 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5577 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5580 wxPyGridTableBase
* _arg0
;
5581 size_t _arg1
= (size_t ) 0;
5582 size_t _arg2
= (size_t ) 1;
5583 PyObject
* _argo0
= 0;
5584 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5597 wxPy_BEGIN_ALLOW_THREADS
;
5598 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5600 wxPy_END_ALLOW_THREADS
;
5601 } _resultobj
= Py_BuildValue("i",_result
);
5605 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5606 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5609 wxPyGridTableBase
* _arg0
;
5610 size_t _arg1
= (size_t ) 1;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self","numCols", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5625 wxPy_BEGIN_ALLOW_THREADS
;
5626 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5628 wxPy_END_ALLOW_THREADS
;
5629 } _resultobj
= Py_BuildValue("i",_result
);
5633 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5634 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5637 wxPyGridTableBase
* _arg0
;
5638 size_t _arg1
= (size_t ) 0;
5639 size_t _arg2
= (size_t ) 1;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
5657 wxPy_END_ALLOW_THREADS
;
5658 } _resultobj
= Py_BuildValue("i",_result
);
5662 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5663 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5666 wxPyGridTableBase
* _arg0
;
5668 PyObject
* _argo0
= 0;
5669 char *_kwnames
[] = { "self","row", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
5685 wxPy_END_ALLOW_THREADS
;
5687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5695 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5696 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5699 wxPyGridTableBase
* _arg0
;
5701 PyObject
* _argo0
= 0;
5702 char *_kwnames
[] = { "self","col", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
5718 wxPy_END_ALLOW_THREADS
;
5720 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5728 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5729 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5731 wxPyGridTableBase
* _arg0
;
5734 PyObject
* _argo0
= 0;
5735 PyObject
* _obj2
= 0;
5736 char *_kwnames
[] = { "self","row","value", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5749 #if PYTHON_API_VERSION >= 1009
5750 char* tmpPtr
; int tmpSize
;
5751 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5752 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5755 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5757 _arg2
= new wxString(tmpPtr
, tmpSize
);
5759 if (!PyString_Check(_obj2
)) {
5760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5763 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5770 wxPy_END_ALLOW_THREADS
;
5771 } Py_INCREF(Py_None
);
5772 _resultobj
= Py_None
;
5780 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
5781 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5783 wxPyGridTableBase
* _arg0
;
5786 PyObject
* _argo0
= 0;
5787 PyObject
* _obj2
= 0;
5788 char *_kwnames
[] = { "self","col","value", NULL
};
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
5801 #if PYTHON_API_VERSION >= 1009
5802 char* tmpPtr
; int tmpSize
;
5803 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5804 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5807 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5809 _arg2
= new wxString(tmpPtr
, tmpSize
);
5811 if (!PyString_Check(_obj2
)) {
5812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5815 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5819 wxPy_BEGIN_ALLOW_THREADS
;
5820 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5822 wxPy_END_ALLOW_THREADS
;
5823 } Py_INCREF(Py_None
);
5824 _resultobj
= Py_None
;
5832 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
5833 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5836 wxPyGridTableBase
* _arg0
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
5854 wxPy_END_ALLOW_THREADS
;
5855 } _resultobj
= Py_BuildValue("i",_result
);
5859 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetAttr(_swigarg0,_swigarg1))
5860 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5862 wxGridCellAttr
* _result
;
5863 wxPyGridTableBase
* _arg0
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self","row","col", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
5881 wxPy_BEGIN_ALLOW_THREADS
;
5882 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
);
5884 wxPy_END_ALLOW_THREADS
;
5886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5887 _resultobj
= Py_BuildValue("s",_ptemp
);
5890 _resultobj
= Py_None
;
5895 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
5896 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5898 wxPyGridTableBase
* _arg0
;
5899 wxGridCellAttr
* _arg1
;
5902 PyObject
* _argo0
= 0;
5903 PyObject
* _argo1
= 0;
5904 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
5917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
5924 wxPy_BEGIN_ALLOW_THREADS
;
5925 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5927 wxPy_END_ALLOW_THREADS
;
5928 } Py_INCREF(Py_None
);
5929 _resultobj
= Py_None
;
5933 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
5934 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5936 wxPyGridTableBase
* _arg0
;
5937 wxGridCellAttr
* _arg1
;
5939 PyObject
* _argo0
= 0;
5940 PyObject
* _argo1
= 0;
5941 char *_kwnames
[] = { "self","attr","row", NULL
};
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
5954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
5961 wxPy_BEGIN_ALLOW_THREADS
;
5962 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
5964 wxPy_END_ALLOW_THREADS
;
5965 } Py_INCREF(Py_None
);
5966 _resultobj
= Py_None
;
5970 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
5971 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5973 wxPyGridTableBase
* _arg0
;
5974 wxGridCellAttr
* _arg1
;
5976 PyObject
* _argo0
= 0;
5977 PyObject
* _argo1
= 0;
5978 char *_kwnames
[] = { "self","attr","col", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
5991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
5998 wxPy_BEGIN_ALLOW_THREADS
;
5999 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6001 wxPy_END_ALLOW_THREADS
;
6002 } Py_INCREF(Py_None
);
6003 _resultobj
= Py_None
;
6007 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6008 wxGridStringTable
*src
;
6009 wxGridTableBase
*dest
;
6010 src
= (wxGridStringTable
*) ptr
;
6011 dest
= (wxGridTableBase
*) src
;
6012 return (void *) dest
;
6015 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6016 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6018 wxGridStringTable
* _result
;
6019 int _arg0
= (int ) 0;
6020 int _arg1
= (int ) 0;
6021 char *_kwnames
[] = { "numRows","numCols", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6028 wxPy_BEGIN_ALLOW_THREADS
;
6029 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6031 wxPy_END_ALLOW_THREADS
;
6033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6034 _resultobj
= Py_BuildValue("s",_ptemp
);
6037 _resultobj
= Py_None
;
6042 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6043 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6045 wxGridTableMessage
* _result
;
6046 wxGridTableBase
* _arg0
;
6048 int _arg2
= (int ) -1;
6049 int _arg3
= (int ) -1;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6065 wxPy_BEGIN_ALLOW_THREADS
;
6066 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6068 wxPy_END_ALLOW_THREADS
;
6070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6071 _resultobj
= Py_BuildValue("s",_ptemp
);
6074 _resultobj
= Py_None
;
6079 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6080 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxGridTableMessage
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 delete_wxGridTableMessage(_arg0
);
6100 wxPy_END_ALLOW_THREADS
;
6101 } Py_INCREF(Py_None
);
6102 _resultobj
= Py_None
;
6106 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6107 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxGridTableMessage
* _arg0
;
6110 wxGridTableBase
* _arg1
;
6111 PyObject
* _argo0
= 0;
6112 PyObject
* _argo1
= 0;
6113 char *_kwnames
[] = { "self","table", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6126 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6133 wxPy_BEGIN_ALLOW_THREADS
;
6134 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6136 wxPy_END_ALLOW_THREADS
;
6137 } Py_INCREF(Py_None
);
6138 _resultobj
= Py_None
;
6142 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6143 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6145 wxGridTableBase
* _result
;
6146 wxGridTableMessage
* _arg0
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self", NULL
};
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6162 wxPy_BEGIN_ALLOW_THREADS
;
6163 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6165 wxPy_END_ALLOW_THREADS
;
6167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6168 _resultobj
= Py_BuildValue("s",_ptemp
);
6171 _resultobj
= Py_None
;
6176 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6177 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxGridTableMessage
* _arg0
;
6181 PyObject
* _argo0
= 0;
6182 char *_kwnames
[] = { "self","id", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6195 wxPy_BEGIN_ALLOW_THREADS
;
6196 wxGridTableMessage_SetId(_arg0
,_arg1
);
6198 wxPy_END_ALLOW_THREADS
;
6199 } Py_INCREF(Py_None
);
6200 _resultobj
= Py_None
;
6204 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6205 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6208 wxGridTableMessage
* _arg0
;
6209 PyObject
* _argo0
= 0;
6210 char *_kwnames
[] = { "self", NULL
};
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6223 wxPy_BEGIN_ALLOW_THREADS
;
6224 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6226 wxPy_END_ALLOW_THREADS
;
6227 } _resultobj
= Py_BuildValue("i",_result
);
6231 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6232 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
* _resultobj
;
6234 wxGridTableMessage
* _arg0
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self","comInt1", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6253 wxPy_END_ALLOW_THREADS
;
6254 } Py_INCREF(Py_None
);
6255 _resultobj
= Py_None
;
6259 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6260 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6263 wxGridTableMessage
* _arg0
;
6264 PyObject
* _argo0
= 0;
6265 char *_kwnames
[] = { "self", NULL
};
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6278 wxPy_BEGIN_ALLOW_THREADS
;
6279 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6281 wxPy_END_ALLOW_THREADS
;
6282 } _resultobj
= Py_BuildValue("i",_result
);
6286 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6287 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxGridTableMessage
* _arg0
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self","comInt2", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6308 wxPy_END_ALLOW_THREADS
;
6309 } Py_INCREF(Py_None
);
6310 _resultobj
= Py_None
;
6314 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6315 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6318 wxGridTableMessage
* _arg0
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6336 wxPy_END_ALLOW_THREADS
;
6337 } _resultobj
= Py_BuildValue("i",_result
);
6341 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6342 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
* _resultobj
;
6344 wxGridCellCoords
* _result
;
6345 int _arg0
= (int ) -1;
6346 int _arg1
= (int ) -1;
6347 char *_kwnames
[] = { "r","c", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6354 wxPy_BEGIN_ALLOW_THREADS
;
6355 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6357 wxPy_END_ALLOW_THREADS
;
6359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6360 _resultobj
= Py_BuildValue("s",_ptemp
);
6363 _resultobj
= Py_None
;
6368 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6369 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6371 wxGridCellCoords
* _arg0
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6386 wxPy_BEGIN_ALLOW_THREADS
;
6387 delete_wxGridCellCoords(_arg0
);
6389 wxPy_END_ALLOW_THREADS
;
6390 } Py_INCREF(Py_None
);
6391 _resultobj
= Py_None
;
6395 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6396 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6399 wxGridCellCoords
* _arg0
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6414 wxPy_BEGIN_ALLOW_THREADS
;
6415 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6417 wxPy_END_ALLOW_THREADS
;
6418 } _resultobj
= Py_BuildValue("i",_result
);
6422 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6423 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6425 wxGridCellCoords
* _arg0
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self","n", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6441 wxPy_BEGIN_ALLOW_THREADS
;
6442 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6444 wxPy_END_ALLOW_THREADS
;
6445 } Py_INCREF(Py_None
);
6446 _resultobj
= Py_None
;
6450 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6451 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6454 wxGridCellCoords
* _arg0
;
6455 PyObject
* _argo0
= 0;
6456 char *_kwnames
[] = { "self", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6469 wxPy_BEGIN_ALLOW_THREADS
;
6470 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6472 wxPy_END_ALLOW_THREADS
;
6473 } _resultobj
= Py_BuildValue("i",_result
);
6477 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6478 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
* _resultobj
;
6480 wxGridCellCoords
* _arg0
;
6482 PyObject
* _argo0
= 0;
6483 char *_kwnames
[] = { "self","n", NULL
};
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6496 wxPy_BEGIN_ALLOW_THREADS
;
6497 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6499 wxPy_END_ALLOW_THREADS
;
6500 } Py_INCREF(Py_None
);
6501 _resultobj
= Py_None
;
6505 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6506 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6508 wxGridCellCoords
* _arg0
;
6511 PyObject
* _argo0
= 0;
6512 char *_kwnames
[] = { "self","row","col", NULL
};
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6525 wxPy_BEGIN_ALLOW_THREADS
;
6526 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6528 wxPy_END_ALLOW_THREADS
;
6529 } Py_INCREF(Py_None
);
6530 _resultobj
= Py_None
;
6534 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6535 PyObject
* tup
= PyTuple_New(2);
6536 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6537 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6540 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6543 wxGridCellCoords
* _arg0
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6561 wxPy_END_ALLOW_THREADS
;
6563 _resultobj
= _result
;
6568 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6569 return *self
!= other
;
6571 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6574 wxGridCellCoords
* _arg0
;
6575 wxGridCellCoords
* _arg1
;
6576 PyObject
* _argo0
= 0;
6577 PyObject
* _argo1
= 0;
6578 char *_kwnames
[] = { "self","other", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6598 wxPy_BEGIN_ALLOW_THREADS
;
6599 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6601 wxPy_END_ALLOW_THREADS
;
6602 } _resultobj
= Py_BuildValue("i",_result
);
6606 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6608 wxScrolledWindow
*dest
;
6609 src
= (wxGrid
*) ptr
;
6610 dest
= (wxScrolledWindow
*) src
;
6611 return (void *) dest
;
6614 static void *SwigwxGridTowxPanel(void *ptr
) {
6617 src
= (wxGrid
*) ptr
;
6618 dest
= (wxPanel
*) src
;
6619 return (void *) dest
;
6622 static void *SwigwxGridTowxWindow(void *ptr
) {
6625 src
= (wxGrid
*) ptr
;
6626 dest
= (wxWindow
*) src
;
6627 return (void *) dest
;
6630 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
6633 src
= (wxGrid
*) ptr
;
6634 dest
= (wxEvtHandler
*) src
;
6635 return (void *) dest
;
6638 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6639 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6644 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6645 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6646 long _arg4
= (long ) wxWANTS_CHARS
;
6647 char * _arg5
= (char *) wxPanelNameStr
;
6648 PyObject
* _argo0
= 0;
6650 PyObject
* _obj2
= 0;
6652 PyObject
* _obj3
= 0;
6653 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6669 if (! wxPoint_helper(_obj2
, &_arg2
))
6675 if (! wxSize_helper(_obj3
, &_arg3
))
6679 wxPy_BEGIN_ALLOW_THREADS
;
6680 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6682 wxPy_END_ALLOW_THREADS
;
6684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
6685 _resultobj
= Py_BuildValue("s",_ptemp
);
6688 _resultobj
= Py_None
;
6693 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6694 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6700 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
6718 wxPy_END_ALLOW_THREADS
;
6719 } _resultobj
= Py_BuildValue("i",_result
);
6723 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6724 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
* _resultobj
;
6727 WXGRIDSELECTIONMODES _arg1
;
6728 PyObject
* _argo0
= 0;
6729 char *_kwnames
[] = { "self","selmode", NULL
};
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
6735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
6742 wxPy_BEGIN_ALLOW_THREADS
;
6743 wxGrid_SetSelectionMode(_arg0
,_arg1
);
6745 wxPy_END_ALLOW_THREADS
;
6746 } Py_INCREF(Py_None
);
6747 _resultobj
= Py_None
;
6751 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
6752 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6756 PyObject
* _argo0
= 0;
6757 char *_kwnames
[] = { "self", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
6770 wxPy_BEGIN_ALLOW_THREADS
;
6771 _result
= (int )wxGrid_GetNumberRows(_arg0
);
6773 wxPy_END_ALLOW_THREADS
;
6774 } _resultobj
= Py_BuildValue("i",_result
);
6778 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
6779 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 char *_kwnames
[] = { "self", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
6797 wxPy_BEGIN_ALLOW_THREADS
;
6798 _result
= (int )wxGrid_GetNumberCols(_arg0
);
6800 wxPy_END_ALLOW_THREADS
;
6801 } _resultobj
= Py_BuildValue("i",_result
);
6805 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
6806 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
* _resultobj
;
6810 wxGridTableMessage
* _arg1
;
6811 PyObject
* _argo0
= 0;
6812 PyObject
* _argo1
= 0;
6813 char *_kwnames
[] = { "self","arg2", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
6826 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
6833 wxPy_BEGIN_ALLOW_THREADS
;
6834 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
6836 wxPy_END_ALLOW_THREADS
;
6837 } _resultobj
= Py_BuildValue("i",_result
);
6841 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
6842 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6844 wxGridTableBase
* _result
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
6861 wxPy_BEGIN_ALLOW_THREADS
;
6862 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
6864 wxPy_END_ALLOW_THREADS
;
6866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableBase_p");
6867 _resultobj
= Py_BuildValue("s",_ptemp
);
6870 _resultobj
= Py_None
;
6875 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
6876 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6880 wxGridTableBase
* _arg1
;
6881 bool _arg2
= (bool ) FALSE
;
6882 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6883 PyObject
* _argo0
= 0;
6884 PyObject
* _argo1
= 0;
6885 int tempbool2
= (int) FALSE
;
6886 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
6892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
6899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
6905 _arg2
= (bool ) tempbool2
;
6907 wxPy_BEGIN_ALLOW_THREADS
;
6908 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
6910 wxPy_END_ALLOW_THREADS
;
6911 } _resultobj
= Py_BuildValue("i",_result
);
6915 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
6916 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
* _resultobj
;
6919 PyObject
* _argo0
= 0;
6920 char *_kwnames
[] = { "self", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
6933 wxPy_BEGIN_ALLOW_THREADS
;
6934 wxGrid_ClearGrid(_arg0
);
6936 wxPy_END_ALLOW_THREADS
;
6937 } Py_INCREF(Py_None
);
6938 _resultobj
= Py_None
;
6942 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
6943 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
* _resultobj
;
6947 int _arg1
= (int ) 0;
6948 int _arg2
= (int ) 1;
6949 bool _arg3
= (bool ) TRUE
;
6950 PyObject
* _argo0
= 0;
6951 int tempbool3
= (int) TRUE
;
6952 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
6958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
6964 _arg3
= (bool ) tempbool3
;
6966 wxPy_BEGIN_ALLOW_THREADS
;
6967 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
6969 wxPy_END_ALLOW_THREADS
;
6970 } _resultobj
= Py_BuildValue("i",_result
);
6974 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
6975 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
* _resultobj
;
6979 int _arg1
= (int ) 1;
6980 bool _arg2
= (bool ) TRUE
;
6981 PyObject
* _argo0
= 0;
6982 int tempbool2
= (int) TRUE
;
6983 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
6995 _arg2
= (bool ) tempbool2
;
6997 wxPy_BEGIN_ALLOW_THREADS
;
6998 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7000 wxPy_END_ALLOW_THREADS
;
7001 } _resultobj
= Py_BuildValue("i",_result
);
7005 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7006 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7010 int _arg1
= (int ) 0;
7011 int _arg2
= (int ) 1;
7012 bool _arg3
= (bool ) TRUE
;
7013 PyObject
* _argo0
= 0;
7014 int tempbool3
= (int) TRUE
;
7015 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7027 _arg3
= (bool ) tempbool3
;
7029 wxPy_BEGIN_ALLOW_THREADS
;
7030 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7032 wxPy_END_ALLOW_THREADS
;
7033 } _resultobj
= Py_BuildValue("i",_result
);
7037 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7038 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
* _resultobj
;
7042 int _arg1
= (int ) 0;
7043 int _arg2
= (int ) 1;
7044 bool _arg3
= (bool ) TRUE
;
7045 PyObject
* _argo0
= 0;
7046 int tempbool3
= (int) TRUE
;
7047 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7059 _arg3
= (bool ) tempbool3
;
7061 wxPy_BEGIN_ALLOW_THREADS
;
7062 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7064 wxPy_END_ALLOW_THREADS
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7070 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 int _arg1
= (int ) 1;
7075 bool _arg2
= (bool ) TRUE
;
7076 PyObject
* _argo0
= 0;
7077 int tempbool2
= (int) TRUE
;
7078 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7090 _arg2
= (bool ) tempbool2
;
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7095 wxPy_END_ALLOW_THREADS
;
7096 } _resultobj
= Py_BuildValue("i",_result
);
7100 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7101 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 int _arg1
= (int ) 0;
7106 int _arg2
= (int ) 1;
7107 bool _arg3
= (bool ) TRUE
;
7108 PyObject
* _argo0
= 0;
7109 int tempbool3
= (int) TRUE
;
7110 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7122 _arg3
= (bool ) tempbool3
;
7124 wxPy_BEGIN_ALLOW_THREADS
;
7125 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7127 wxPy_END_ALLOW_THREADS
;
7128 } _resultobj
= Py_BuildValue("i",_result
);
7132 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7133 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
* _resultobj
;
7137 wxGridCellAttr
* _arg2
;
7138 PyObject
* _argo0
= 0;
7139 PyObject
* _argo1
= 0;
7140 PyObject
* _argo2
= 0;
7141 char *_kwnames
[] = { "self","dc","attr", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7161 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7162 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7168 wxPy_BEGIN_ALLOW_THREADS
;
7169 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7171 wxPy_END_ALLOW_THREADS
;
7172 } Py_INCREF(Py_None
);
7173 _resultobj
= Py_None
;
7177 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7178 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
* _resultobj
;
7184 int _arg4
= (int ) wxLEFT
;
7185 int _arg5
= (int ) wxTOP
;
7186 PyObject
* _argo0
= 0;
7187 PyObject
* _argo1
= 0;
7188 PyObject
* _obj2
= 0;
7190 PyObject
* _obj3
= 0;
7191 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7211 #if PYTHON_API_VERSION >= 1009
7212 char* tmpPtr
; int tmpSize
;
7213 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7214 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7217 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7219 _arg2
= new wxString(tmpPtr
, tmpSize
);
7221 if (!PyString_Check(_obj2
)) {
7222 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7225 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7230 if (! wxRect_helper(_obj3
, &_arg3
))
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7237 wxPy_END_ALLOW_THREADS
;
7238 } Py_INCREF(Py_None
);
7239 _resultobj
= Py_None
;
7247 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7248 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7252 wxArrayString
* _arg2
;
7253 PyObject
* _argo0
= 0;
7254 PyObject
* _obj1
= 0;
7255 PyObject
* _argo2
= 0;
7256 char *_kwnames
[] = { "self","value","lines", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7269 #if PYTHON_API_VERSION >= 1009
7270 char* tmpPtr
; int tmpSize
;
7271 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7272 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
7275 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7277 _arg1
= new wxString(tmpPtr
, tmpSize
);
7279 if (!PyString_Check(_obj1
)) {
7280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7283 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7287 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7294 wxPy_BEGIN_ALLOW_THREADS
;
7295 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7297 wxPy_END_ALLOW_THREADS
;
7298 } Py_INCREF(Py_None
);
7299 _resultobj
= Py_None
;
7307 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7308 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7312 wxArrayString
* _arg2
;
7317 PyObject
* _argo0
= 0;
7318 PyObject
* _argo1
= 0;
7319 PyObject
* _argo2
= 0;
7320 char *_kwnames
[] = { "self","dc","lines", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7346 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7353 wxPy_BEGIN_ALLOW_THREADS
;
7354 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7356 wxPy_END_ALLOW_THREADS
;
7357 } Py_INCREF(Py_None
);
7358 _resultobj
= Py_None
;
7361 o
= PyInt_FromLong((long) (*_arg3
));
7362 _resultobj
= t_output_helper(_resultobj
, o
);
7366 o
= PyInt_FromLong((long) (*_arg4
));
7367 _resultobj
= t_output_helper(_resultobj
, o
);
7372 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7373 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7390 wxPy_BEGIN_ALLOW_THREADS
;
7391 wxGrid_BeginBatch(_arg0
);
7393 wxPy_END_ALLOW_THREADS
;
7394 } Py_INCREF(Py_None
);
7395 _resultobj
= Py_None
;
7399 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7400 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 char *_kwnames
[] = { "self", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7417 wxPy_BEGIN_ALLOW_THREADS
;
7418 wxGrid_EndBatch(_arg0
);
7420 wxPy_END_ALLOW_THREADS
;
7421 } Py_INCREF(Py_None
);
7422 _resultobj
= Py_None
;
7426 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7427 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7431 PyObject
* _argo0
= 0;
7432 char *_kwnames
[] = { "self", NULL
};
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7445 wxPy_BEGIN_ALLOW_THREADS
;
7446 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7448 wxPy_END_ALLOW_THREADS
;
7449 } _resultobj
= Py_BuildValue("i",_result
);
7453 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7454 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
* _resultobj
;
7458 PyObject
* _argo0
= 0;
7459 char *_kwnames
[] = { "self", NULL
};
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7472 wxPy_BEGIN_ALLOW_THREADS
;
7473 _result
= (bool )wxGrid_IsEditable(_arg0
);
7475 wxPy_END_ALLOW_THREADS
;
7476 } _resultobj
= Py_BuildValue("i",_result
);
7480 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7481 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
* _resultobj
;
7485 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self","edit", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7499 _arg1
= (bool ) tempbool1
;
7501 wxPy_BEGIN_ALLOW_THREADS
;
7502 wxGrid_EnableEditing(_arg0
,_arg1
);
7504 wxPy_END_ALLOW_THREADS
;
7505 } Py_INCREF(Py_None
);
7506 _resultobj
= Py_None
;
7510 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7511 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7514 bool _arg1
= (bool ) TRUE
;
7515 PyObject
* _argo0
= 0;
7516 int tempbool1
= (int) TRUE
;
7517 char *_kwnames
[] = { "self","enable", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7529 _arg1
= (bool ) tempbool1
;
7531 wxPy_BEGIN_ALLOW_THREADS
;
7532 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7534 wxPy_END_ALLOW_THREADS
;
7535 } Py_INCREF(Py_None
);
7536 _resultobj
= Py_None
;
7540 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7541 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7558 wxPy_BEGIN_ALLOW_THREADS
;
7559 wxGrid_DisableCellEditControl(_arg0
);
7561 wxPy_END_ALLOW_THREADS
;
7562 } Py_INCREF(Py_None
);
7563 _resultobj
= Py_None
;
7567 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7568 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7572 PyObject
* _argo0
= 0;
7573 char *_kwnames
[] = { "self", NULL
};
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7586 wxPy_BEGIN_ALLOW_THREADS
;
7587 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7589 wxPy_END_ALLOW_THREADS
;
7590 } _resultobj
= Py_BuildValue("i",_result
);
7594 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7595 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
* _resultobj
;
7599 PyObject
* _argo0
= 0;
7600 char *_kwnames
[] = { "self", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7613 wxPy_BEGIN_ALLOW_THREADS
;
7614 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7616 wxPy_END_ALLOW_THREADS
;
7617 } _resultobj
= Py_BuildValue("i",_result
);
7621 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7622 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7626 PyObject
* _argo0
= 0;
7627 char *_kwnames
[] = { "self", NULL
};
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
7633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7640 wxPy_BEGIN_ALLOW_THREADS
;
7641 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7643 wxPy_END_ALLOW_THREADS
;
7644 } _resultobj
= Py_BuildValue("i",_result
);
7648 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7649 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
* _resultobj
;
7653 PyObject
* _argo0
= 0;
7654 char *_kwnames
[] = { "self", NULL
};
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
7660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7667 wxPy_BEGIN_ALLOW_THREADS
;
7668 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7670 wxPy_END_ALLOW_THREADS
;
7671 } _resultobj
= Py_BuildValue("i",_result
);
7675 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7676 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7679 PyObject
* _argo0
= 0;
7680 char *_kwnames
[] = { "self", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7693 wxPy_BEGIN_ALLOW_THREADS
;
7694 wxGrid_ShowCellEditControl(_arg0
);
7696 wxPy_END_ALLOW_THREADS
;
7697 } Py_INCREF(Py_None
);
7698 _resultobj
= Py_None
;
7702 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7703 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7706 PyObject
* _argo0
= 0;
7707 char *_kwnames
[] = { "self", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
7720 wxPy_BEGIN_ALLOW_THREADS
;
7721 wxGrid_HideCellEditControl(_arg0
);
7723 wxPy_END_ALLOW_THREADS
;
7724 } Py_INCREF(Py_None
);
7725 _resultobj
= Py_None
;
7729 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
7730 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
* _resultobj
;
7733 PyObject
* _argo0
= 0;
7734 char *_kwnames
[] = { "self", NULL
};
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
7740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
7747 wxPy_BEGIN_ALLOW_THREADS
;
7748 wxGrid_SaveEditControlValue(_arg0
);
7750 wxPy_END_ALLOW_THREADS
;
7751 } Py_INCREF(Py_None
);
7752 _resultobj
= Py_None
;
7756 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
7757 wxGridCellCoords rv
;
7758 self
->XYToCell(x
, y
, rv
);
7759 return new wxGridCellCoords(rv
);
7761 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
* _resultobj
;
7763 wxGridCellCoords
* _result
;
7767 PyObject
* _argo0
= 0;
7768 char *_kwnames
[] = { "self","x","y", NULL
};
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
7782 wxPy_BEGIN_ALLOW_THREADS
;
7783 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
7785 wxPy_END_ALLOW_THREADS
;
7787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
7788 _resultobj
= Py_BuildValue("s",_ptemp
);
7791 _resultobj
= Py_None
;
7796 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
7797 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
* _resultobj
;
7802 PyObject
* _argo0
= 0;
7803 char *_kwnames
[] = { "self","y", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
7816 wxPy_BEGIN_ALLOW_THREADS
;
7817 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
7819 wxPy_END_ALLOW_THREADS
;
7820 } _resultobj
= Py_BuildValue("i",_result
);
7824 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
7825 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
* _resultobj
;
7830 PyObject
* _argo0
= 0;
7831 char *_kwnames
[] = { "self","x", NULL
};
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
7837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
7844 wxPy_BEGIN_ALLOW_THREADS
;
7845 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
7847 wxPy_END_ALLOW_THREADS
;
7848 } _resultobj
= Py_BuildValue("i",_result
);
7852 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
7853 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7858 PyObject
* _argo0
= 0;
7859 char *_kwnames
[] = { "self","y", NULL
};
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
7865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
7872 wxPy_BEGIN_ALLOW_THREADS
;
7873 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
7875 wxPy_END_ALLOW_THREADS
;
7876 } _resultobj
= Py_BuildValue("i",_result
);
7880 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
7881 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
* _resultobj
;
7886 PyObject
* _argo0
= 0;
7887 char *_kwnames
[] = { "self","x", NULL
};
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
7893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
7900 wxPy_BEGIN_ALLOW_THREADS
;
7901 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
7903 wxPy_END_ALLOW_THREADS
;
7904 } _resultobj
= Py_BuildValue("i",_result
);
7908 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
7909 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 char *_kwnames
[] = { "self","row","col", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
7930 wxPy_BEGIN_ALLOW_THREADS
;
7931 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
7933 wxPy_END_ALLOW_THREADS
;
7934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
7935 _resultobj
= Py_BuildValue("s",_ptemp
);
7939 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
7940 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7944 PyObject
* _argo0
= 0;
7945 char *_kwnames
[] = { "self", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
7958 wxPy_BEGIN_ALLOW_THREADS
;
7959 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
7961 wxPy_END_ALLOW_THREADS
;
7962 } _resultobj
= Py_BuildValue("i",_result
);
7966 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
7967 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7971 PyObject
* _argo0
= 0;
7972 char *_kwnames
[] = { "self", NULL
};
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
7978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
7985 wxPy_BEGIN_ALLOW_THREADS
;
7986 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
7988 wxPy_END_ALLOW_THREADS
;
7989 } _resultobj
= Py_BuildValue("i",_result
);
7993 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
7994 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
8000 bool _arg3
= (bool ) TRUE
;
8001 PyObject
* _argo0
= 0;
8002 int tempbool3
= (int) TRUE
;
8003 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8015 _arg3
= (bool ) tempbool3
;
8017 wxPy_BEGIN_ALLOW_THREADS
;
8018 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8020 wxPy_END_ALLOW_THREADS
;
8021 } _resultobj
= Py_BuildValue("i",_result
);
8025 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8026 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8031 PyObject
* _argo0
= 0;
8032 char *_kwnames
[] = { "self","row","col", NULL
};
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8045 wxPy_BEGIN_ALLOW_THREADS
;
8046 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8048 wxPy_END_ALLOW_THREADS
;
8049 } Py_INCREF(Py_None
);
8050 _resultobj
= Py_None
;
8054 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8055 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8060 PyObject
* _argo0
= 0;
8061 char *_kwnames
[] = { "self","row","col", NULL
};
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8074 wxPy_BEGIN_ALLOW_THREADS
;
8075 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8077 wxPy_END_ALLOW_THREADS
;
8078 } Py_INCREF(Py_None
);
8079 _resultobj
= Py_None
;
8083 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8084 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 PyObject
* _argo0
= 0;
8091 char *_kwnames
[] = { "self","expandSelection", NULL
};
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8103 _arg1
= (bool ) tempbool1
;
8105 wxPy_BEGIN_ALLOW_THREADS
;
8106 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8108 wxPy_END_ALLOW_THREADS
;
8109 } _resultobj
= Py_BuildValue("i",_result
);
8113 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8114 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8119 PyObject
* _argo0
= 0;
8121 char *_kwnames
[] = { "self","expandSelection", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8133 _arg1
= (bool ) tempbool1
;
8135 wxPy_BEGIN_ALLOW_THREADS
;
8136 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8138 wxPy_END_ALLOW_THREADS
;
8139 } _resultobj
= Py_BuildValue("i",_result
);
8143 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8144 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8149 PyObject
* _argo0
= 0;
8151 char *_kwnames
[] = { "self","expandSelection", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8163 _arg1
= (bool ) tempbool1
;
8165 wxPy_BEGIN_ALLOW_THREADS
;
8166 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8168 wxPy_END_ALLOW_THREADS
;
8169 } _resultobj
= Py_BuildValue("i",_result
);
8173 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8174 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8179 PyObject
* _argo0
= 0;
8181 char *_kwnames
[] = { "self","expandSelection", NULL
};
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8193 _arg1
= (bool ) tempbool1
;
8195 wxPy_BEGIN_ALLOW_THREADS
;
8196 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8198 wxPy_END_ALLOW_THREADS
;
8199 } _resultobj
= Py_BuildValue("i",_result
);
8203 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8204 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
* _resultobj
;
8208 PyObject
* _argo0
= 0;
8209 char *_kwnames
[] = { "self", NULL
};
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8222 wxPy_BEGIN_ALLOW_THREADS
;
8223 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8225 wxPy_END_ALLOW_THREADS
;
8226 } _resultobj
= Py_BuildValue("i",_result
);
8230 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8231 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 char *_kwnames
[] = { "self", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
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_MovePageUp. Expected _wxGrid_p.");
8249 wxPy_BEGIN_ALLOW_THREADS
;
8250 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8252 wxPy_END_ALLOW_THREADS
;
8253 } _resultobj
= Py_BuildValue("i",_result
);
8257 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8258 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
* _resultobj
;
8263 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self","expandSelection", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
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_MoveCursorUpBlock. Expected _wxGrid_p.");
8277 _arg1
= (bool ) tempbool1
;
8279 wxPy_BEGIN_ALLOW_THREADS
;
8280 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8282 wxPy_END_ALLOW_THREADS
;
8283 } _resultobj
= Py_BuildValue("i",_result
);
8287 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8288 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8293 PyObject
* _argo0
= 0;
8295 char *_kwnames
[] = { "self","expandSelection", NULL
};
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8307 _arg1
= (bool ) tempbool1
;
8309 wxPy_BEGIN_ALLOW_THREADS
;
8310 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8312 wxPy_END_ALLOW_THREADS
;
8313 } _resultobj
= Py_BuildValue("i",_result
);
8317 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8318 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8323 PyObject
* _argo0
= 0;
8325 char *_kwnames
[] = { "self","expandSelection", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
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_MoveCursorLeftBlock. Expected _wxGrid_p.");
8337 _arg1
= (bool ) tempbool1
;
8339 wxPy_BEGIN_ALLOW_THREADS
;
8340 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8342 wxPy_END_ALLOW_THREADS
;
8343 } _resultobj
= Py_BuildValue("i",_result
);
8347 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8348 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8355 char *_kwnames
[] = { "self","expandSelection", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8367 _arg1
= (bool ) tempbool1
;
8369 wxPy_BEGIN_ALLOW_THREADS
;
8370 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8372 wxPy_END_ALLOW_THREADS
;
8373 } _resultobj
= Py_BuildValue("i",_result
);
8377 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8378 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
* _resultobj
;
8382 PyObject
* _argo0
= 0;
8383 char *_kwnames
[] = { "self", NULL
};
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8396 wxPy_BEGIN_ALLOW_THREADS
;
8397 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8399 wxPy_END_ALLOW_THREADS
;
8400 } _resultobj
= Py_BuildValue("i",_result
);
8404 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8405 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8409 PyObject
* _argo0
= 0;
8410 char *_kwnames
[] = { "self", NULL
};
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8423 wxPy_BEGIN_ALLOW_THREADS
;
8424 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8426 wxPy_END_ALLOW_THREADS
;
8427 } _resultobj
= Py_BuildValue("i",_result
);
8431 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8432 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
* _resultobj
;
8436 PyObject
* _argo0
= 0;
8437 char *_kwnames
[] = { "self", NULL
};
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8450 wxPy_BEGIN_ALLOW_THREADS
;
8451 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8453 wxPy_END_ALLOW_THREADS
;
8454 } _resultobj
= Py_BuildValue("i",_result
);
8458 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8459 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
* _resultobj
;
8463 PyObject
* _argo0
= 0;
8464 char *_kwnames
[] = { "self", NULL
};
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8477 wxPy_BEGIN_ALLOW_THREADS
;
8478 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8480 wxPy_END_ALLOW_THREADS
;
8481 } _resultobj
= Py_BuildValue("i",_result
);
8485 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8486 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
* _resultobj
;
8490 PyObject
* _argo0
= 0;
8491 char *_kwnames
[] = { "self", NULL
};
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8505 wxPy_BEGIN_ALLOW_THREADS
;
8506 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8508 wxPy_END_ALLOW_THREADS
;
8509 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8510 _resultobj
= Py_BuildValue("s",_ptemp
);
8514 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8515 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
* _resultobj
;
8519 PyObject
* _argo0
= 0;
8520 char *_kwnames
[] = { "self", NULL
};
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8534 wxPy_BEGIN_ALLOW_THREADS
;
8535 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8537 wxPy_END_ALLOW_THREADS
;
8538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8539 _resultobj
= Py_BuildValue("s",_ptemp
);
8543 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8544 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
* _resultobj
;
8548 PyObject
* _argo0
= 0;
8549 char *_kwnames
[] = { "self", NULL
};
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8563 wxPy_BEGIN_ALLOW_THREADS
;
8564 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8566 wxPy_END_ALLOW_THREADS
;
8567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8568 _resultobj
= Py_BuildValue("s",_ptemp
);
8572 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8573 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
* _resultobj
;
8580 PyObject
* _argo0
= 0;
8581 char *_kwnames
[] = { "self", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8600 wxPy_BEGIN_ALLOW_THREADS
;
8601 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8603 wxPy_END_ALLOW_THREADS
;
8604 } Py_INCREF(Py_None
);
8605 _resultobj
= Py_None
;
8608 o
= PyInt_FromLong((long) (*_arg1
));
8609 _resultobj
= t_output_helper(_resultobj
, o
);
8613 o
= PyInt_FromLong((long) (*_arg2
));
8614 _resultobj
= t_output_helper(_resultobj
, o
);
8619 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8620 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
* _resultobj
;
8627 PyObject
* _argo0
= 0;
8628 char *_kwnames
[] = { "self", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8647 wxPy_BEGIN_ALLOW_THREADS
;
8648 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8650 wxPy_END_ALLOW_THREADS
;
8651 } Py_INCREF(Py_None
);
8652 _resultobj
= Py_None
;
8655 o
= PyInt_FromLong((long) (*_arg1
));
8656 _resultobj
= t_output_helper(_resultobj
, o
);
8660 o
= PyInt_FromLong((long) (*_arg2
));
8661 _resultobj
= t_output_helper(_resultobj
, o
);
8666 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8667 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8672 PyObject
* _argo0
= 0;
8673 char *_kwnames
[] = { "self","row", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
8686 wxPy_BEGIN_ALLOW_THREADS
;
8687 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
8689 wxPy_END_ALLOW_THREADS
;
8691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8699 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
8700 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
* _resultobj
;
8705 PyObject
* _argo0
= 0;
8706 char *_kwnames
[] = { "self","col", NULL
};
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
8712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
8719 wxPy_BEGIN_ALLOW_THREADS
;
8720 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
8722 wxPy_END_ALLOW_THREADS
;
8724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8732 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
8733 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
* _resultobj
;
8737 PyObject
* _argo0
= 0;
8738 char *_kwnames
[] = { "self", NULL
};
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
8745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
8752 wxPy_BEGIN_ALLOW_THREADS
;
8753 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
8755 wxPy_END_ALLOW_THREADS
;
8756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8757 _resultobj
= Py_BuildValue("s",_ptemp
);
8761 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
8762 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
* _resultobj
;
8766 PyObject
* _argo0
= 0;
8767 char *_kwnames
[] = { "self", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
8781 wxPy_BEGIN_ALLOW_THREADS
;
8782 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
8784 wxPy_END_ALLOW_THREADS
;
8785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8786 _resultobj
= Py_BuildValue("s",_ptemp
);
8790 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
8791 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8795 PyObject
* _argo0
= 0;
8796 char *_kwnames
[] = { "self","width", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
8809 wxPy_BEGIN_ALLOW_THREADS
;
8810 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
8812 wxPy_END_ALLOW_THREADS
;
8813 } Py_INCREF(Py_None
);
8814 _resultobj
= Py_None
;
8818 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
8819 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8823 PyObject
* _argo0
= 0;
8824 char *_kwnames
[] = { "self","height", NULL
};
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
8830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
8837 wxPy_BEGIN_ALLOW_THREADS
;
8838 wxGrid_SetColLabelSize(_arg0
,_arg1
);
8840 wxPy_END_ALLOW_THREADS
;
8841 } Py_INCREF(Py_None
);
8842 _resultobj
= Py_None
;
8846 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
8847 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
* _resultobj
;
8851 PyObject
* _argo0
= 0;
8853 PyObject
* _obj1
= 0;
8854 char *_kwnames
[] = { "self","arg2", NULL
};
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
8860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
8868 if (! wxColour_helper(_obj1
, &_arg1
))
8872 wxPy_BEGIN_ALLOW_THREADS
;
8873 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
8875 wxPy_END_ALLOW_THREADS
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8881 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
8882 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8886 PyObject
* _argo0
= 0;
8888 PyObject
* _obj1
= 0;
8889 char *_kwnames
[] = { "self","arg2", NULL
};
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
8895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
8903 if (! wxColour_helper(_obj1
, &_arg1
))
8907 wxPy_BEGIN_ALLOW_THREADS
;
8908 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
8910 wxPy_END_ALLOW_THREADS
;
8911 } Py_INCREF(Py_None
);
8912 _resultobj
= Py_None
;
8916 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
8917 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8921 PyObject
* _argo0
= 0;
8922 PyObject
* _argo1
= 0;
8923 char *_kwnames
[] = { "self","arg2", NULL
};
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
8929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
8936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
8943 wxPy_BEGIN_ALLOW_THREADS
;
8944 wxGrid_SetLabelFont(_arg0
,*_arg1
);
8946 wxPy_END_ALLOW_THREADS
;
8947 } Py_INCREF(Py_None
);
8948 _resultobj
= Py_None
;
8952 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
8953 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
* _resultobj
;
8958 PyObject
* _argo0
= 0;
8959 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
8972 wxPy_BEGIN_ALLOW_THREADS
;
8973 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8975 wxPy_END_ALLOW_THREADS
;
8976 } Py_INCREF(Py_None
);
8977 _resultobj
= Py_None
;
8981 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
8982 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
* _resultobj
;
8987 PyObject
* _argo0
= 0;
8988 char *_kwnames
[] = { "self","horiz","vert", NULL
};
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9001 wxPy_BEGIN_ALLOW_THREADS
;
9002 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9004 wxPy_END_ALLOW_THREADS
;
9005 } Py_INCREF(Py_None
);
9006 _resultobj
= Py_None
;
9010 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9011 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9017 PyObject
* _obj2
= 0;
9018 char *_kwnames
[] = { "self","row","arg3", NULL
};
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9031 #if PYTHON_API_VERSION >= 1009
9032 char* tmpPtr
; int tmpSize
;
9033 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9034 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9037 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9039 _arg2
= new wxString(tmpPtr
, tmpSize
);
9041 if (!PyString_Check(_obj2
)) {
9042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9045 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9049 wxPy_BEGIN_ALLOW_THREADS
;
9050 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9052 wxPy_END_ALLOW_THREADS
;
9053 } Py_INCREF(Py_None
);
9054 _resultobj
= Py_None
;
9062 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9063 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
* _resultobj
;
9068 PyObject
* _argo0
= 0;
9069 PyObject
* _obj2
= 0;
9070 char *_kwnames
[] = { "self","col","arg3", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9083 #if PYTHON_API_VERSION >= 1009
9084 char* tmpPtr
; int tmpSize
;
9085 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9086 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9089 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9091 _arg2
= new wxString(tmpPtr
, tmpSize
);
9093 if (!PyString_Check(_obj2
)) {
9094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9097 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9101 wxPy_BEGIN_ALLOW_THREADS
;
9102 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9104 wxPy_END_ALLOW_THREADS
;
9105 } Py_INCREF(Py_None
);
9106 _resultobj
= Py_None
;
9114 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9115 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
* _resultobj
;
9119 PyObject
* _argo0
= 0;
9121 PyObject
* _obj1
= 0;
9122 char *_kwnames
[] = { "self","arg2", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9136 if (! wxColour_helper(_obj1
, &_arg1
))
9140 wxPy_BEGIN_ALLOW_THREADS
;
9141 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9143 wxPy_END_ALLOW_THREADS
;
9144 } Py_INCREF(Py_None
);
9145 _resultobj
= Py_None
;
9149 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9150 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
* _resultobj
;
9154 PyObject
* _argo0
= 0;
9156 PyObject
* _obj1
= 0;
9157 char *_kwnames
[] = { "self","arg2", NULL
};
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9171 if (! wxColour_helper(_obj1
, &_arg1
))
9175 wxPy_BEGIN_ALLOW_THREADS
;
9176 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9178 wxPy_END_ALLOW_THREADS
;
9179 } Py_INCREF(Py_None
);
9180 _resultobj
= Py_None
;
9184 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9185 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
* _resultobj
;
9188 bool _arg1
= (bool ) TRUE
;
9189 PyObject
* _argo0
= 0;
9190 int tempbool1
= (int) TRUE
;
9191 char *_kwnames
[] = { "self","enable", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9203 _arg1
= (bool ) tempbool1
;
9205 wxPy_BEGIN_ALLOW_THREADS
;
9206 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9208 wxPy_END_ALLOW_THREADS
;
9209 } Py_INCREF(Py_None
);
9210 _resultobj
= Py_None
;
9214 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9215 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9218 PyObject
* _argo0
= 0;
9219 char *_kwnames
[] = { "self", NULL
};
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9232 wxPy_BEGIN_ALLOW_THREADS
;
9233 wxGrid_DisableDragRowSize(_arg0
);
9235 wxPy_END_ALLOW_THREADS
;
9236 } Py_INCREF(Py_None
);
9237 _resultobj
= Py_None
;
9241 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9242 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9246 PyObject
* _argo0
= 0;
9247 char *_kwnames
[] = { "self", NULL
};
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9260 wxPy_BEGIN_ALLOW_THREADS
;
9261 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9263 wxPy_END_ALLOW_THREADS
;
9264 } _resultobj
= Py_BuildValue("i",_result
);
9268 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9269 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
* _resultobj
;
9272 bool _arg1
= (bool ) TRUE
;
9273 PyObject
* _argo0
= 0;
9274 int tempbool1
= (int) TRUE
;
9275 char *_kwnames
[] = { "self","enable", NULL
};
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9287 _arg1
= (bool ) tempbool1
;
9289 wxPy_BEGIN_ALLOW_THREADS
;
9290 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9292 wxPy_END_ALLOW_THREADS
;
9293 } Py_INCREF(Py_None
);
9294 _resultobj
= Py_None
;
9298 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9299 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
* _resultobj
;
9302 PyObject
* _argo0
= 0;
9303 char *_kwnames
[] = { "self", NULL
};
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9316 wxPy_BEGIN_ALLOW_THREADS
;
9317 wxGrid_DisableDragColSize(_arg0
);
9319 wxPy_END_ALLOW_THREADS
;
9320 } Py_INCREF(Py_None
);
9321 _resultobj
= Py_None
;
9325 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9326 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
* _resultobj
;
9330 PyObject
* _argo0
= 0;
9331 char *_kwnames
[] = { "self", NULL
};
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9344 wxPy_BEGIN_ALLOW_THREADS
;
9345 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9347 wxPy_END_ALLOW_THREADS
;
9348 } _resultobj
= Py_BuildValue("i",_result
);
9352 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9353 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
* _resultobj
;
9356 bool _arg1
= (bool ) TRUE
;
9357 PyObject
* _argo0
= 0;
9358 int tempbool1
= (int) TRUE
;
9359 char *_kwnames
[] = { "self","enable", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9371 _arg1
= (bool ) tempbool1
;
9373 wxPy_BEGIN_ALLOW_THREADS
;
9374 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9376 wxPy_END_ALLOW_THREADS
;
9377 } Py_INCREF(Py_None
);
9378 _resultobj
= Py_None
;
9382 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9383 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9386 PyObject
* _argo0
= 0;
9387 char *_kwnames
[] = { "self", NULL
};
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9400 wxPy_BEGIN_ALLOW_THREADS
;
9401 wxGrid_DisableDragGridSize(_arg0
);
9403 wxPy_END_ALLOW_THREADS
;
9404 } Py_INCREF(Py_None
);
9405 _resultobj
= Py_None
;
9409 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9410 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
* _resultobj
;
9414 PyObject
* _argo0
= 0;
9415 char *_kwnames
[] = { "self", NULL
};
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9428 wxPy_BEGIN_ALLOW_THREADS
;
9429 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9431 wxPy_END_ALLOW_THREADS
;
9432 } _resultobj
= Py_BuildValue("i",_result
);
9436 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9437 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9441 wxGridCellAttr
* _arg2
;
9442 PyObject
* _argo0
= 0;
9443 PyObject
* _argo2
= 0;
9444 char *_kwnames
[] = { "self","row","attr", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9457 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9458 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9464 wxPy_BEGIN_ALLOW_THREADS
;
9465 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9467 wxPy_END_ALLOW_THREADS
;
9468 } Py_INCREF(Py_None
);
9469 _resultobj
= Py_None
;
9473 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9474 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
* _resultobj
;
9478 wxGridCellAttr
* _arg2
;
9479 PyObject
* _argo0
= 0;
9480 PyObject
* _argo2
= 0;
9481 char *_kwnames
[] = { "self","col","attr", NULL
};
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9494 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9495 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9501 wxPy_BEGIN_ALLOW_THREADS
;
9502 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9504 wxPy_END_ALLOW_THREADS
;
9505 } Py_INCREF(Py_None
);
9506 _resultobj
= Py_None
;
9510 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9511 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
* _resultobj
;
9515 PyObject
* _argo0
= 0;
9516 char *_kwnames
[] = { "self","col", NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
9522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9529 wxPy_BEGIN_ALLOW_THREADS
;
9530 wxGrid_SetColFormatBool(_arg0
,_arg1
);
9532 wxPy_END_ALLOW_THREADS
;
9533 } Py_INCREF(Py_None
);
9534 _resultobj
= Py_None
;
9538 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9539 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
* _resultobj
;
9543 PyObject
* _argo0
= 0;
9544 char *_kwnames
[] = { "self","col", NULL
};
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
9550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
9557 wxPy_BEGIN_ALLOW_THREADS
;
9558 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
9560 wxPy_END_ALLOW_THREADS
;
9561 } Py_INCREF(Py_None
);
9562 _resultobj
= Py_None
;
9566 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
9567 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
* _resultobj
;
9571 int _arg2
= (int ) -1;
9572 int _arg3
= (int ) -1;
9573 PyObject
* _argo0
= 0;
9574 char *_kwnames
[] = { "self","col","width","precision", NULL
};
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
9580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
9587 wxPy_BEGIN_ALLOW_THREADS
;
9588 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
9590 wxPy_END_ALLOW_THREADS
;
9591 } Py_INCREF(Py_None
);
9592 _resultobj
= Py_None
;
9596 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
9597 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9602 PyObject
* _argo0
= 0;
9603 PyObject
* _obj2
= 0;
9604 char *_kwnames
[] = { "self","col","typeName", NULL
};
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
9617 #if PYTHON_API_VERSION >= 1009
9618 char* tmpPtr
; int tmpSize
;
9619 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9620 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
9623 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9625 _arg2
= new wxString(tmpPtr
, tmpSize
);
9627 if (!PyString_Check(_obj2
)) {
9628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9631 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9635 wxPy_BEGIN_ALLOW_THREADS
;
9636 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
9638 wxPy_END_ALLOW_THREADS
;
9639 } Py_INCREF(Py_None
);
9640 _resultobj
= Py_None
;
9648 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
9649 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
* _resultobj
;
9652 bool _arg1
= (bool ) TRUE
;
9653 PyObject
* _argo0
= 0;
9654 int tempbool1
= (int) TRUE
;
9655 char *_kwnames
[] = { "self","enable", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
9667 _arg1
= (bool ) tempbool1
;
9669 wxPy_BEGIN_ALLOW_THREADS
;
9670 wxGrid_EnableGridLines(_arg0
,_arg1
);
9672 wxPy_END_ALLOW_THREADS
;
9673 } Py_INCREF(Py_None
);
9674 _resultobj
= Py_None
;
9678 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
9679 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
* _resultobj
;
9683 PyObject
* _argo0
= 0;
9684 char *_kwnames
[] = { "self", NULL
};
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
9690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
9697 wxPy_BEGIN_ALLOW_THREADS
;
9698 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
9700 wxPy_END_ALLOW_THREADS
;
9701 } _resultobj
= Py_BuildValue("i",_result
);
9705 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
9706 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9710 PyObject
* _argo0
= 0;
9711 char *_kwnames
[] = { "self", NULL
};
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
9717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
9724 wxPy_BEGIN_ALLOW_THREADS
;
9725 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
9727 wxPy_END_ALLOW_THREADS
;
9728 } _resultobj
= Py_BuildValue("i",_result
);
9732 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
9733 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
* _resultobj
;
9738 PyObject
* _argo0
= 0;
9739 char *_kwnames
[] = { "self","row", NULL
};
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
9745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
9752 wxPy_BEGIN_ALLOW_THREADS
;
9753 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
9755 wxPy_END_ALLOW_THREADS
;
9756 } _resultobj
= Py_BuildValue("i",_result
);
9760 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
9761 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
* _resultobj
;
9765 PyObject
* _argo0
= 0;
9766 char *_kwnames
[] = { "self", NULL
};
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
9772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
9779 wxPy_BEGIN_ALLOW_THREADS
;
9780 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
9782 wxPy_END_ALLOW_THREADS
;
9783 } _resultobj
= Py_BuildValue("i",_result
);
9787 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
9788 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9793 PyObject
* _argo0
= 0;
9794 char *_kwnames
[] = { "self","col", NULL
};
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
9800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
9807 wxPy_BEGIN_ALLOW_THREADS
;
9808 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
9810 wxPy_END_ALLOW_THREADS
;
9811 } _resultobj
= Py_BuildValue("i",_result
);
9815 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
9816 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
* _resultobj
;
9820 PyObject
* _argo0
= 0;
9821 char *_kwnames
[] = { "self", NULL
};
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_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_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
9835 wxPy_BEGIN_ALLOW_THREADS
;
9836 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
9838 wxPy_END_ALLOW_THREADS
;
9839 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9840 _resultobj
= Py_BuildValue("s",_ptemp
);
9844 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
9845 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
* _resultobj
;
9851 PyObject
* _argo0
= 0;
9852 char *_kwnames
[] = { "self","row","col", NULL
};
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
9866 wxPy_BEGIN_ALLOW_THREADS
;
9867 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
9869 wxPy_END_ALLOW_THREADS
;
9870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9871 _resultobj
= Py_BuildValue("s",_ptemp
);
9875 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
9876 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
* _resultobj
;
9880 PyObject
* _argo0
= 0;
9881 char *_kwnames
[] = { "self", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
9888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
9895 wxPy_BEGIN_ALLOW_THREADS
;
9896 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
9898 wxPy_END_ALLOW_THREADS
;
9899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9900 _resultobj
= Py_BuildValue("s",_ptemp
);
9904 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
9905 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
* _resultobj
;
9911 PyObject
* _argo0
= 0;
9912 char *_kwnames
[] = { "self","row","col", NULL
};
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
9926 wxPy_BEGIN_ALLOW_THREADS
;
9927 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
9929 wxPy_END_ALLOW_THREADS
;
9930 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9931 _resultobj
= Py_BuildValue("s",_ptemp
);
9935 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
9936 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
* _resultobj
;
9940 PyObject
* _argo0
= 0;
9941 char *_kwnames
[] = { "self", NULL
};
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
9948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
9955 wxPy_BEGIN_ALLOW_THREADS
;
9956 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
9958 wxPy_END_ALLOW_THREADS
;
9959 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9960 _resultobj
= Py_BuildValue("s",_ptemp
);
9964 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
9965 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
* _resultobj
;
9971 PyObject
* _argo0
= 0;
9972 char *_kwnames
[] = { "self","row","col", NULL
};
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
9986 wxPy_BEGIN_ALLOW_THREADS
;
9987 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
9989 wxPy_END_ALLOW_THREADS
;
9990 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9991 _resultobj
= Py_BuildValue("s",_ptemp
);
9995 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
9996 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
10001 PyObject
* _argo0
= 0;
10002 PyObject
* _argo1
= 0;
10003 PyObject
* _argo2
= 0;
10004 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10024 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10025 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10031 wxPy_BEGIN_ALLOW_THREADS
;
10032 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10034 wxPy_END_ALLOW_THREADS
;
10035 } Py_INCREF(Py_None
);
10036 _resultobj
= Py_None
;
10040 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10041 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
* _resultobj
;
10048 PyObject
* _argo0
= 0;
10049 PyObject
* _argo3
= 0;
10050 PyObject
* _argo4
= 0;
10051 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10064 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10065 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10071 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10072 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10078 wxPy_BEGIN_ALLOW_THREADS
;
10079 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10081 wxPy_END_ALLOW_THREADS
;
10082 } Py_INCREF(Py_None
);
10083 _resultobj
= Py_None
;
10087 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10088 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
* _resultobj
;
10092 bool _arg2
= (bool ) FALSE
;
10093 PyObject
* _argo0
= 0;
10094 int tempbool2
= (int) FALSE
;
10095 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10107 _arg2
= (bool ) tempbool2
;
10109 wxPy_BEGIN_ALLOW_THREADS
;
10110 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10112 wxPy_END_ALLOW_THREADS
;
10113 } Py_INCREF(Py_None
);
10114 _resultobj
= Py_None
;
10118 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10119 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10124 PyObject
* _argo0
= 0;
10125 char *_kwnames
[] = { "self","row","height", NULL
};
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10138 wxPy_BEGIN_ALLOW_THREADS
;
10139 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10141 wxPy_END_ALLOW_THREADS
;
10142 } Py_INCREF(Py_None
);
10143 _resultobj
= Py_None
;
10147 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10148 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
* _resultobj
;
10152 bool _arg2
= (bool ) FALSE
;
10153 PyObject
* _argo0
= 0;
10154 int tempbool2
= (int) FALSE
;
10155 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10167 _arg2
= (bool ) tempbool2
;
10169 wxPy_BEGIN_ALLOW_THREADS
;
10170 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10172 wxPy_END_ALLOW_THREADS
;
10173 } Py_INCREF(Py_None
);
10174 _resultobj
= Py_None
;
10178 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10179 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
* _resultobj
;
10184 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self","col","width", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10198 wxPy_BEGIN_ALLOW_THREADS
;
10199 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10201 wxPy_END_ALLOW_THREADS
;
10202 } Py_INCREF(Py_None
);
10203 _resultobj
= Py_None
;
10207 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10208 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
* _resultobj
;
10212 bool _arg2
= (bool ) TRUE
;
10213 PyObject
* _argo0
= 0;
10214 int tempbool2
= (int) TRUE
;
10215 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10227 _arg2
= (bool ) tempbool2
;
10229 wxPy_BEGIN_ALLOW_THREADS
;
10230 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10232 wxPy_END_ALLOW_THREADS
;
10233 } Py_INCREF(Py_None
);
10234 _resultobj
= Py_None
;
10238 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10239 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
* _resultobj
;
10243 bool _arg2
= (bool ) TRUE
;
10244 PyObject
* _argo0
= 0;
10245 int tempbool2
= (int) TRUE
;
10246 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10258 _arg2
= (bool ) tempbool2
;
10260 wxPy_BEGIN_ALLOW_THREADS
;
10261 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10263 wxPy_END_ALLOW_THREADS
;
10264 } Py_INCREF(Py_None
);
10265 _resultobj
= Py_None
;
10269 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10270 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
* _resultobj
;
10273 bool _arg1
= (bool ) TRUE
;
10274 PyObject
* _argo0
= 0;
10275 int tempbool1
= (int) TRUE
;
10276 char *_kwnames
[] = { "self","setAsMin", NULL
};
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10288 _arg1
= (bool ) tempbool1
;
10290 wxPy_BEGIN_ALLOW_THREADS
;
10291 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10293 wxPy_END_ALLOW_THREADS
;
10294 } Py_INCREF(Py_None
);
10295 _resultobj
= Py_None
;
10299 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10300 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10303 bool _arg1
= (bool ) TRUE
;
10304 PyObject
* _argo0
= 0;
10305 int tempbool1
= (int) TRUE
;
10306 char *_kwnames
[] = { "self","setAsMin", NULL
};
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10318 _arg1
= (bool ) tempbool1
;
10320 wxPy_BEGIN_ALLOW_THREADS
;
10321 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10323 wxPy_END_ALLOW_THREADS
;
10324 } Py_INCREF(Py_None
);
10325 _resultobj
= Py_None
;
10329 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10330 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
* _resultobj
;
10333 PyObject
* _argo0
= 0;
10334 char *_kwnames
[] = { "self", NULL
};
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10347 wxPy_BEGIN_ALLOW_THREADS
;
10348 wxGrid_AutoSize(_arg0
);
10350 wxPy_END_ALLOW_THREADS
;
10351 } Py_INCREF(Py_None
);
10352 _resultobj
= Py_None
;
10356 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10357 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
* _resultobj
;
10362 PyObject
* _argo0
= 0;
10363 char *_kwnames
[] = { "self","col","width", NULL
};
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10376 wxPy_BEGIN_ALLOW_THREADS
;
10377 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10379 wxPy_END_ALLOW_THREADS
;
10380 } Py_INCREF(Py_None
);
10381 _resultobj
= Py_None
;
10385 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10386 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
* _resultobj
;
10391 PyObject
* _argo0
= 0;
10392 char *_kwnames
[] = { "self","row","width", NULL
};
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10405 wxPy_BEGIN_ALLOW_THREADS
;
10406 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10408 wxPy_END_ALLOW_THREADS
;
10409 } Py_INCREF(Py_None
);
10410 _resultobj
= Py_None
;
10414 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10415 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10419 PyObject
* _argo0
= 0;
10421 PyObject
* _obj1
= 0;
10422 char *_kwnames
[] = { "self","arg2", NULL
};
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10436 if (! wxColour_helper(_obj1
, &_arg1
))
10440 wxPy_BEGIN_ALLOW_THREADS
;
10441 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10443 wxPy_END_ALLOW_THREADS
;
10444 } Py_INCREF(Py_None
);
10445 _resultobj
= Py_None
;
10449 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10450 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
* _resultobj
;
10456 PyObject
* _argo0
= 0;
10458 PyObject
* _obj3
= 0;
10459 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10473 if (! wxColour_helper(_obj3
, &_arg3
))
10477 wxPy_BEGIN_ALLOW_THREADS
;
10478 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10480 wxPy_END_ALLOW_THREADS
;
10481 } Py_INCREF(Py_None
);
10482 _resultobj
= Py_None
;
10486 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10487 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
* _resultobj
;
10491 PyObject
* _argo0
= 0;
10493 PyObject
* _obj1
= 0;
10494 char *_kwnames
[] = { "self","arg2", NULL
};
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
10500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10508 if (! wxColour_helper(_obj1
, &_arg1
))
10512 wxPy_BEGIN_ALLOW_THREADS
;
10513 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
10515 wxPy_END_ALLOW_THREADS
;
10516 } Py_INCREF(Py_None
);
10517 _resultobj
= Py_None
;
10521 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
10522 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
* _resultobj
;
10528 PyObject
* _argo0
= 0;
10530 PyObject
* _obj3
= 0;
10531 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
10545 if (! wxColour_helper(_obj3
, &_arg3
))
10549 wxPy_BEGIN_ALLOW_THREADS
;
10550 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10552 wxPy_END_ALLOW_THREADS
;
10553 } Py_INCREF(Py_None
);
10554 _resultobj
= Py_None
;
10558 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
10559 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
* _resultobj
;
10563 PyObject
* _argo0
= 0;
10564 PyObject
* _argo1
= 0;
10565 char *_kwnames
[] = { "self","arg2", NULL
};
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
10571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
10578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
10580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
10585 wxPy_BEGIN_ALLOW_THREADS
;
10586 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
10588 wxPy_END_ALLOW_THREADS
;
10589 } Py_INCREF(Py_None
);
10590 _resultobj
= Py_None
;
10594 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
10595 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
* _resultobj
;
10601 PyObject
* _argo0
= 0;
10602 PyObject
* _argo3
= 0;
10603 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
10616 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10617 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
10618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
10623 wxPy_BEGIN_ALLOW_THREADS
;
10624 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
10626 wxPy_END_ALLOW_THREADS
;
10627 } Py_INCREF(Py_None
);
10628 _resultobj
= Py_None
;
10632 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
10633 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10638 PyObject
* _argo0
= 0;
10639 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
10652 wxPy_BEGIN_ALLOW_THREADS
;
10653 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10655 wxPy_END_ALLOW_THREADS
;
10656 } Py_INCREF(Py_None
);
10657 _resultobj
= Py_None
;
10661 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10662 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10669 PyObject
* _argo0
= 0;
10670 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
10676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
10683 wxPy_BEGIN_ALLOW_THREADS
;
10684 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10686 wxPy_END_ALLOW_THREADS
;
10687 } Py_INCREF(Py_None
);
10688 _resultobj
= Py_None
;
10692 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
10693 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10696 wxGridCellRenderer
* _arg1
;
10697 PyObject
* _argo0
= 0;
10698 PyObject
* _argo1
= 0;
10699 char *_kwnames
[] = { "self","renderer", NULL
};
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
10705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
10712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
10714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
10719 wxPy_BEGIN_ALLOW_THREADS
;
10720 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
10722 wxPy_END_ALLOW_THREADS
;
10723 } Py_INCREF(Py_None
);
10724 _resultobj
= Py_None
;
10728 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
10729 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
* _resultobj
;
10734 wxGridCellRenderer
* _arg3
;
10735 PyObject
* _argo0
= 0;
10736 PyObject
* _argo3
= 0;
10737 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
10750 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10751 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
10752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
10757 wxPy_BEGIN_ALLOW_THREADS
;
10758 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
10760 wxPy_END_ALLOW_THREADS
;
10761 } Py_INCREF(Py_None
);
10762 _resultobj
= Py_None
;
10766 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
10767 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
* _resultobj
;
10769 wxGridCellRenderer
* _result
;
10771 PyObject
* _argo0
= 0;
10772 char *_kwnames
[] = { "self", NULL
};
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
10779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
10786 wxPy_BEGIN_ALLOW_THREADS
;
10787 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
10789 wxPy_END_ALLOW_THREADS
;
10791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10792 _resultobj
= Py_BuildValue("s",_ptemp
);
10794 Py_INCREF(Py_None
);
10795 _resultobj
= Py_None
;
10800 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
10801 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
* _resultobj
;
10803 wxGridCellRenderer
* _result
;
10807 PyObject
* _argo0
= 0;
10808 char *_kwnames
[] = { "self","row","col", NULL
};
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
10822 wxPy_BEGIN_ALLOW_THREADS
;
10823 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
10825 wxPy_END_ALLOW_THREADS
;
10827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
10828 _resultobj
= Py_BuildValue("s",_ptemp
);
10830 Py_INCREF(Py_None
);
10831 _resultobj
= Py_None
;
10836 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
10837 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
* _resultobj
;
10840 wxGridCellEditor
* _arg1
;
10841 PyObject
* _argo0
= 0;
10842 PyObject
* _argo1
= 0;
10843 char *_kwnames
[] = { "self","editor", NULL
};
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
10849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
10856 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10857 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
10858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
10863 wxPy_BEGIN_ALLOW_THREADS
;
10864 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
10866 wxPy_END_ALLOW_THREADS
;
10867 } Py_INCREF(Py_None
);
10868 _resultobj
= Py_None
;
10872 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
10873 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
* _resultobj
;
10878 wxGridCellEditor
* _arg3
;
10879 PyObject
* _argo0
= 0;
10880 PyObject
* _argo3
= 0;
10881 char *_kwnames
[] = { "self","row","col","editor", NULL
};
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
10887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
10894 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10895 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
10896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
10901 wxPy_BEGIN_ALLOW_THREADS
;
10902 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
10904 wxPy_END_ALLOW_THREADS
;
10905 } Py_INCREF(Py_None
);
10906 _resultobj
= Py_None
;
10910 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
10911 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
* _resultobj
;
10913 wxGridCellEditor
* _result
;
10915 PyObject
* _argo0
= 0;
10916 char *_kwnames
[] = { "self", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
10930 wxPy_BEGIN_ALLOW_THREADS
;
10931 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
10933 wxPy_END_ALLOW_THREADS
;
10935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10936 _resultobj
= Py_BuildValue("s",_ptemp
);
10938 Py_INCREF(Py_None
);
10939 _resultobj
= Py_None
;
10944 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
10945 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
* _resultobj
;
10947 wxGridCellEditor
* _result
;
10951 PyObject
* _argo0
= 0;
10952 char *_kwnames
[] = { "self","row","col", NULL
};
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
10966 wxPy_BEGIN_ALLOW_THREADS
;
10967 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
10969 wxPy_END_ALLOW_THREADS
;
10971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
10972 _resultobj
= Py_BuildValue("s",_ptemp
);
10974 Py_INCREF(Py_None
);
10975 _resultobj
= Py_None
;
10980 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
10981 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
* _resultobj
;
10983 wxString
* _result
;
10987 PyObject
* _argo0
= 0;
10988 char *_kwnames
[] = { "self","row","col", NULL
};
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11001 wxPy_BEGIN_ALLOW_THREADS
;
11002 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11004 wxPy_END_ALLOW_THREADS
;
11006 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11014 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11015 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
* _resultobj
;
11021 PyObject
* _argo0
= 0;
11022 PyObject
* _obj3
= 0;
11023 char *_kwnames
[] = { "self","row","col","s", NULL
};
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11036 #if PYTHON_API_VERSION >= 1009
11037 char* tmpPtr
; int tmpSize
;
11038 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11039 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11042 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11044 _arg3
= new wxString(tmpPtr
, tmpSize
);
11046 if (!PyString_Check(_obj3
)) {
11047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11050 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11054 wxPy_BEGIN_ALLOW_THREADS
;
11055 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11057 wxPy_END_ALLOW_THREADS
;
11058 } Py_INCREF(Py_None
);
11059 _resultobj
= Py_None
;
11067 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11068 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
* _resultobj
;
11074 PyObject
* _argo0
= 0;
11075 char *_kwnames
[] = { "self","row","col", NULL
};
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11088 wxPy_BEGIN_ALLOW_THREADS
;
11089 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11091 wxPy_END_ALLOW_THREADS
;
11092 } _resultobj
= Py_BuildValue("i",_result
);
11096 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11097 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
* _resultobj
;
11102 bool _arg3
= (bool ) TRUE
;
11103 PyObject
* _argo0
= 0;
11104 int tempbool3
= (int) TRUE
;
11105 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11117 _arg3
= (bool ) tempbool3
;
11119 wxPy_BEGIN_ALLOW_THREADS
;
11120 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11122 wxPy_END_ALLOW_THREADS
;
11123 } Py_INCREF(Py_None
);
11124 _resultobj
= Py_None
;
11128 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11129 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
* _resultobj
;
11133 bool _arg2
= (bool ) FALSE
;
11134 PyObject
* _argo0
= 0;
11135 int tempbool2
= (int) FALSE
;
11136 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11148 _arg2
= (bool ) tempbool2
;
11150 wxPy_BEGIN_ALLOW_THREADS
;
11151 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11153 wxPy_END_ALLOW_THREADS
;
11154 } Py_INCREF(Py_None
);
11155 _resultobj
= Py_None
;
11159 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11160 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
* _resultobj
;
11164 bool _arg2
= (bool ) FALSE
;
11165 PyObject
* _argo0
= 0;
11166 int tempbool2
= (int) FALSE
;
11167 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11179 _arg2
= (bool ) tempbool2
;
11181 wxPy_BEGIN_ALLOW_THREADS
;
11182 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11184 wxPy_END_ALLOW_THREADS
;
11185 } Py_INCREF(Py_None
);
11186 _resultobj
= Py_None
;
11190 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11191 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
* _resultobj
;
11198 bool _arg5
= (bool ) FALSE
;
11199 PyObject
* _argo0
= 0;
11200 int tempbool5
= (int) FALSE
;
11201 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11213 _arg5
= (bool ) tempbool5
;
11215 wxPy_BEGIN_ALLOW_THREADS
;
11216 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11218 wxPy_END_ALLOW_THREADS
;
11219 } Py_INCREF(Py_None
);
11220 _resultobj
= Py_None
;
11224 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11225 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
* _resultobj
;
11228 PyObject
* _argo0
= 0;
11229 char *_kwnames
[] = { "self", NULL
};
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11242 wxPy_BEGIN_ALLOW_THREADS
;
11243 wxGrid_SelectAll(_arg0
);
11245 wxPy_END_ALLOW_THREADS
;
11246 } Py_INCREF(Py_None
);
11247 _resultobj
= Py_None
;
11251 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11252 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
* _resultobj
;
11256 PyObject
* _argo0
= 0;
11257 char *_kwnames
[] = { "self", NULL
};
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11270 wxPy_BEGIN_ALLOW_THREADS
;
11271 _result
= (bool )wxGrid_IsSelection(_arg0
);
11273 wxPy_END_ALLOW_THREADS
;
11274 } _resultobj
= Py_BuildValue("i",_result
);
11278 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11279 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
* _resultobj
;
11282 PyObject
* _argo0
= 0;
11283 char *_kwnames
[] = { "self", NULL
};
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11296 wxPy_BEGIN_ALLOW_THREADS
;
11297 wxGrid_ClearSelection(_arg0
);
11299 wxPy_END_ALLOW_THREADS
;
11300 } Py_INCREF(Py_None
);
11301 _resultobj
= Py_None
;
11305 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11306 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
* _resultobj
;
11312 PyObject
* _argo0
= 0;
11313 char *_kwnames
[] = { "self","row","col", NULL
};
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11326 wxPy_BEGIN_ALLOW_THREADS
;
11327 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11329 wxPy_END_ALLOW_THREADS
;
11330 } _resultobj
= Py_BuildValue("i",_result
);
11334 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11335 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
* _resultobj
;
11339 wxGridCellCoords
* _arg1
;
11340 wxGridCellCoords
* _arg2
;
11341 PyObject
* _argo0
= 0;
11342 wxGridCellCoords temp
;
11343 PyObject
* _obj1
= 0;
11344 wxGridCellCoords temp0
;
11345 PyObject
* _obj2
= 0;
11346 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11361 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11366 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11370 wxPy_BEGIN_ALLOW_THREADS
;
11371 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11373 wxPy_END_ALLOW_THREADS
;
11374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11375 _resultobj
= Py_BuildValue("s",_ptemp
);
11379 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11380 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
* _resultobj
;
11382 wxColour
* _result
;
11384 PyObject
* _argo0
= 0;
11385 char *_kwnames
[] = { "self", NULL
};
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11399 wxPy_BEGIN_ALLOW_THREADS
;
11400 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11402 wxPy_END_ALLOW_THREADS
;
11403 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11404 _resultobj
= Py_BuildValue("s",_ptemp
);
11408 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11409 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
* _resultobj
;
11411 wxColour
* _result
;
11413 PyObject
* _argo0
= 0;
11414 char *_kwnames
[] = { "self", NULL
};
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11428 wxPy_BEGIN_ALLOW_THREADS
;
11429 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11431 wxPy_END_ALLOW_THREADS
;
11432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11433 _resultobj
= Py_BuildValue("s",_ptemp
);
11437 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11438 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
* _resultobj
;
11442 PyObject
* _argo0
= 0;
11444 PyObject
* _obj1
= 0;
11445 char *_kwnames
[] = { "self","c", NULL
};
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11459 if (! wxColour_helper(_obj1
, &_arg1
))
11463 wxPy_BEGIN_ALLOW_THREADS
;
11464 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
11466 wxPy_END_ALLOW_THREADS
;
11467 } Py_INCREF(Py_None
);
11468 _resultobj
= Py_None
;
11472 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11473 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
* _resultobj
;
11477 PyObject
* _argo0
= 0;
11479 PyObject
* _obj1
= 0;
11480 char *_kwnames
[] = { "self","c", NULL
};
11483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
11486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
11494 if (! wxColour_helper(_obj1
, &_arg1
))
11498 wxPy_BEGIN_ALLOW_THREADS
;
11499 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
11501 wxPy_END_ALLOW_THREADS
;
11502 } Py_INCREF(Py_None
);
11503 _resultobj
= Py_None
;
11507 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
11508 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
* _resultobj
;
11512 wxGridCellRenderer
* _arg2
;
11513 wxGridCellEditor
* _arg3
;
11514 PyObject
* _argo0
= 0;
11515 PyObject
* _obj1
= 0;
11516 PyObject
* _argo2
= 0;
11517 PyObject
* _argo3
= 0;
11518 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
11531 #if PYTHON_API_VERSION >= 1009
11532 char* tmpPtr
; int tmpSize
;
11533 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11534 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11537 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11539 _arg1
= new wxString(tmpPtr
, tmpSize
);
11541 if (!PyString_Check(_obj1
)) {
11542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11545 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11549 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11550 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
11551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
11556 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11557 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
11563 wxPy_BEGIN_ALLOW_THREADS
;
11564 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
11566 wxPy_END_ALLOW_THREADS
;
11567 } Py_INCREF(Py_None
);
11568 _resultobj
= Py_None
;
11576 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
11577 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
* _resultobj
;
11579 wxGridCellEditor
* _result
;
11583 PyObject
* _argo0
= 0;
11584 char *_kwnames
[] = { "self","row","col", NULL
};
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
11598 wxPy_BEGIN_ALLOW_THREADS
;
11599 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
11601 wxPy_END_ALLOW_THREADS
;
11603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11604 _resultobj
= Py_BuildValue("s",_ptemp
);
11606 Py_INCREF(Py_None
);
11607 _resultobj
= Py_None
;
11612 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
11613 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
* _resultobj
;
11615 wxGridCellRenderer
* _result
;
11619 PyObject
* _argo0
= 0;
11620 char *_kwnames
[] = { "self","row","col", NULL
};
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
11634 wxPy_BEGIN_ALLOW_THREADS
;
11635 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
11637 wxPy_END_ALLOW_THREADS
;
11639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11640 _resultobj
= Py_BuildValue("s",_ptemp
);
11642 Py_INCREF(Py_None
);
11643 _resultobj
= Py_None
;
11648 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
11649 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
* _resultobj
;
11651 wxGridCellEditor
* _result
;
11654 PyObject
* _argo0
= 0;
11655 PyObject
* _obj1
= 0;
11656 char *_kwnames
[] = { "self","typeName", NULL
};
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
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_GetDefaultEditorForType. Expected _wxGrid_p.");
11670 #if PYTHON_API_VERSION >= 1009
11671 char* tmpPtr
; int tmpSize
;
11672 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11673 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11676 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11678 _arg1
= new wxString(tmpPtr
, tmpSize
);
11680 if (!PyString_Check(_obj1
)) {
11681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11684 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11688 wxPy_BEGIN_ALLOW_THREADS
;
11689 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
11691 wxPy_END_ALLOW_THREADS
;
11693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11694 _resultobj
= Py_BuildValue("s",_ptemp
);
11696 Py_INCREF(Py_None
);
11697 _resultobj
= Py_None
;
11706 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
11707 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
* _resultobj
;
11709 wxGridCellRenderer
* _result
;
11712 PyObject
* _argo0
= 0;
11713 PyObject
* _obj1
= 0;
11714 char *_kwnames
[] = { "self","typeName", NULL
};
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
11721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
11728 #if PYTHON_API_VERSION >= 1009
11729 char* tmpPtr
; int tmpSize
;
11730 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11731 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
11734 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11736 _arg1
= new wxString(tmpPtr
, tmpSize
);
11738 if (!PyString_Check(_obj1
)) {
11739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11742 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11746 wxPy_BEGIN_ALLOW_THREADS
;
11747 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
11749 wxPy_END_ALLOW_THREADS
;
11751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11752 _resultobj
= Py_BuildValue("s",_ptemp
);
11754 Py_INCREF(Py_None
);
11755 _resultobj
= Py_None
;
11764 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
11765 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
* _resultobj
;
11770 PyObject
* _argo0
= 0;
11771 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
11784 wxPy_BEGIN_ALLOW_THREADS
;
11785 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
11787 wxPy_END_ALLOW_THREADS
;
11788 } Py_INCREF(Py_None
);
11789 _resultobj
= Py_None
;
11793 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
11795 wxNotifyEvent
*dest
;
11796 src
= (wxGridEvent
*) ptr
;
11797 dest
= (wxNotifyEvent
*) src
;
11798 return (void *) dest
;
11801 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
11803 wxCommandEvent
*dest
;
11804 src
= (wxGridEvent
*) ptr
;
11805 dest
= (wxCommandEvent
*) src
;
11806 return (void *) dest
;
11809 static void *SwigwxGridEventTowxEvent(void *ptr
) {
11812 src
= (wxGridEvent
*) ptr
;
11813 dest
= (wxEvent
*) src
;
11814 return (void *) dest
;
11817 #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))
11818 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
* _resultobj
;
11820 wxGridEvent
* _result
;
11824 int _arg3
= (int ) -1;
11825 int _arg4
= (int ) -1;
11826 int _arg5
= (int ) -1;
11827 int _arg6
= (int ) -1;
11828 bool _arg7
= (bool ) TRUE
;
11829 bool _arg8
= (bool ) FALSE
;
11830 bool _arg9
= (bool ) FALSE
;
11831 bool _arg10
= (bool ) FALSE
;
11832 bool _arg11
= (bool ) FALSE
;
11833 PyObject
* _argo2
= 0;
11834 int tempbool7
= (int) TRUE
;
11835 int tempbool8
= (int) FALSE
;
11836 int tempbool9
= (int) FALSE
;
11837 int tempbool10
= (int) FALSE
;
11838 int tempbool11
= (int) FALSE
;
11839 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
11846 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11847 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
11848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
11852 _arg7
= (bool ) tempbool7
;
11853 _arg8
= (bool ) tempbool8
;
11854 _arg9
= (bool ) tempbool9
;
11855 _arg10
= (bool ) tempbool10
;
11856 _arg11
= (bool ) tempbool11
;
11858 wxPy_BEGIN_ALLOW_THREADS
;
11859 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
11861 wxPy_END_ALLOW_THREADS
;
11863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
11864 _resultobj
= Py_BuildValue("s",_ptemp
);
11866 Py_INCREF(Py_None
);
11867 _resultobj
= Py_None
;
11872 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
11873 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
* _resultobj
;
11876 wxGridEvent
* _arg0
;
11877 PyObject
* _argo0
= 0;
11878 char *_kwnames
[] = { "self", NULL
};
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
11884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
11891 wxPy_BEGIN_ALLOW_THREADS
;
11892 _result
= (int )wxGridEvent_GetRow(_arg0
);
11894 wxPy_END_ALLOW_THREADS
;
11895 } _resultobj
= Py_BuildValue("i",_result
);
11899 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
11900 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
* _resultobj
;
11903 wxGridEvent
* _arg0
;
11904 PyObject
* _argo0
= 0;
11905 char *_kwnames
[] = { "self", NULL
};
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
11911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
11918 wxPy_BEGIN_ALLOW_THREADS
;
11919 _result
= (int )wxGridEvent_GetCol(_arg0
);
11921 wxPy_END_ALLOW_THREADS
;
11922 } _resultobj
= Py_BuildValue("i",_result
);
11926 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
11927 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
* _resultobj
;
11930 wxGridEvent
* _arg0
;
11931 PyObject
* _argo0
= 0;
11932 char *_kwnames
[] = { "self", NULL
};
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
11939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
11946 wxPy_BEGIN_ALLOW_THREADS
;
11947 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
11949 wxPy_END_ALLOW_THREADS
;
11950 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
11951 _resultobj
= Py_BuildValue("s",_ptemp
);
11955 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
11956 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
* _resultobj
;
11959 wxGridEvent
* _arg0
;
11960 PyObject
* _argo0
= 0;
11961 char *_kwnames
[] = { "self", NULL
};
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
11967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
11974 wxPy_BEGIN_ALLOW_THREADS
;
11975 _result
= (bool )wxGridEvent_Selecting(_arg0
);
11977 wxPy_END_ALLOW_THREADS
;
11978 } _resultobj
= Py_BuildValue("i",_result
);
11982 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
11983 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
* _resultobj
;
11986 wxGridEvent
* _arg0
;
11987 PyObject
* _argo0
= 0;
11988 char *_kwnames
[] = { "self", NULL
};
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
11994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
11996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12001 wxPy_BEGIN_ALLOW_THREADS
;
12002 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12004 wxPy_END_ALLOW_THREADS
;
12005 } _resultobj
= Py_BuildValue("i",_result
);
12009 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12010 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
* _resultobj
;
12013 wxGridEvent
* _arg0
;
12014 PyObject
* _argo0
= 0;
12015 char *_kwnames
[] = { "self", NULL
};
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12028 wxPy_BEGIN_ALLOW_THREADS
;
12029 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12031 wxPy_END_ALLOW_THREADS
;
12032 } _resultobj
= Py_BuildValue("i",_result
);
12036 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12037 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
* _resultobj
;
12040 wxGridEvent
* _arg0
;
12041 PyObject
* _argo0
= 0;
12042 char *_kwnames
[] = { "self", NULL
};
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12055 wxPy_BEGIN_ALLOW_THREADS
;
12056 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12058 wxPy_END_ALLOW_THREADS
;
12059 } _resultobj
= Py_BuildValue("i",_result
);
12063 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12064 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
* _resultobj
;
12067 wxGridEvent
* _arg0
;
12068 PyObject
* _argo0
= 0;
12069 char *_kwnames
[] = { "self", NULL
};
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12082 wxPy_BEGIN_ALLOW_THREADS
;
12083 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12085 wxPy_END_ALLOW_THREADS
;
12086 } _resultobj
= Py_BuildValue("i",_result
);
12090 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12091 wxGridSizeEvent
*src
;
12092 wxNotifyEvent
*dest
;
12093 src
= (wxGridSizeEvent
*) ptr
;
12094 dest
= (wxNotifyEvent
*) src
;
12095 return (void *) dest
;
12098 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12099 wxGridSizeEvent
*src
;
12100 wxCommandEvent
*dest
;
12101 src
= (wxGridSizeEvent
*) ptr
;
12102 dest
= (wxCommandEvent
*) src
;
12103 return (void *) dest
;
12106 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12107 wxGridSizeEvent
*src
;
12109 src
= (wxGridSizeEvent
*) ptr
;
12110 dest
= (wxEvent
*) src
;
12111 return (void *) dest
;
12114 #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))
12115 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
* _resultobj
;
12117 wxGridSizeEvent
* _result
;
12121 int _arg3
= (int ) -1;
12122 int _arg4
= (int ) -1;
12123 int _arg5
= (int ) -1;
12124 bool _arg6
= (bool ) FALSE
;
12125 bool _arg7
= (bool ) FALSE
;
12126 bool _arg8
= (bool ) FALSE
;
12127 bool _arg9
= (bool ) FALSE
;
12128 PyObject
* _argo2
= 0;
12129 int tempbool6
= (int) FALSE
;
12130 int tempbool7
= (int) FALSE
;
12131 int tempbool8
= (int) FALSE
;
12132 int tempbool9
= (int) FALSE
;
12133 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12140 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12141 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12146 _arg6
= (bool ) tempbool6
;
12147 _arg7
= (bool ) tempbool7
;
12148 _arg8
= (bool ) tempbool8
;
12149 _arg9
= (bool ) tempbool9
;
12151 wxPy_BEGIN_ALLOW_THREADS
;
12152 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12154 wxPy_END_ALLOW_THREADS
;
12156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12157 _resultobj
= Py_BuildValue("s",_ptemp
);
12159 Py_INCREF(Py_None
);
12160 _resultobj
= Py_None
;
12165 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12166 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
* _resultobj
;
12169 wxGridSizeEvent
* _arg0
;
12170 PyObject
* _argo0
= 0;
12171 char *_kwnames
[] = { "self", NULL
};
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12184 wxPy_BEGIN_ALLOW_THREADS
;
12185 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12187 wxPy_END_ALLOW_THREADS
;
12188 } _resultobj
= Py_BuildValue("i",_result
);
12192 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12193 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
* _resultobj
;
12196 wxGridSizeEvent
* _arg0
;
12197 PyObject
* _argo0
= 0;
12198 char *_kwnames
[] = { "self", NULL
};
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12212 wxPy_BEGIN_ALLOW_THREADS
;
12213 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12215 wxPy_END_ALLOW_THREADS
;
12216 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12217 _resultobj
= Py_BuildValue("s",_ptemp
);
12221 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12222 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
* _resultobj
;
12225 wxGridSizeEvent
* _arg0
;
12226 PyObject
* _argo0
= 0;
12227 char *_kwnames
[] = { "self", NULL
};
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12240 wxPy_BEGIN_ALLOW_THREADS
;
12241 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12243 wxPy_END_ALLOW_THREADS
;
12244 } _resultobj
= Py_BuildValue("i",_result
);
12248 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12249 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
* _resultobj
;
12252 wxGridSizeEvent
* _arg0
;
12253 PyObject
* _argo0
= 0;
12254 char *_kwnames
[] = { "self", NULL
};
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12267 wxPy_BEGIN_ALLOW_THREADS
;
12268 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12270 wxPy_END_ALLOW_THREADS
;
12271 } _resultobj
= Py_BuildValue("i",_result
);
12275 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12276 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
* _resultobj
;
12279 wxGridSizeEvent
* _arg0
;
12280 PyObject
* _argo0
= 0;
12281 char *_kwnames
[] = { "self", NULL
};
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12294 wxPy_BEGIN_ALLOW_THREADS
;
12295 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12297 wxPy_END_ALLOW_THREADS
;
12298 } _resultobj
= Py_BuildValue("i",_result
);
12302 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12303 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
* _resultobj
;
12306 wxGridSizeEvent
* _arg0
;
12307 PyObject
* _argo0
= 0;
12308 char *_kwnames
[] = { "self", NULL
};
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12321 wxPy_BEGIN_ALLOW_THREADS
;
12322 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12324 wxPy_END_ALLOW_THREADS
;
12325 } _resultobj
= Py_BuildValue("i",_result
);
12329 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
12330 wxGridRangeSelectEvent
*src
;
12331 wxNotifyEvent
*dest
;
12332 src
= (wxGridRangeSelectEvent
*) ptr
;
12333 dest
= (wxNotifyEvent
*) src
;
12334 return (void *) dest
;
12337 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
12338 wxGridRangeSelectEvent
*src
;
12339 wxCommandEvent
*dest
;
12340 src
= (wxGridRangeSelectEvent
*) ptr
;
12341 dest
= (wxCommandEvent
*) src
;
12342 return (void *) dest
;
12345 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
12346 wxGridRangeSelectEvent
*src
;
12348 src
= (wxGridRangeSelectEvent
*) ptr
;
12349 dest
= (wxEvent
*) src
;
12350 return (void *) dest
;
12353 #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))
12354 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
* _resultobj
;
12356 wxGridRangeSelectEvent
* _result
;
12360 wxGridCellCoords
* _arg3
;
12361 wxGridCellCoords
* _arg4
;
12362 bool _arg5
= (bool ) TRUE
;
12363 bool _arg6
= (bool ) FALSE
;
12364 bool _arg7
= (bool ) FALSE
;
12365 bool _arg8
= (bool ) FALSE
;
12366 bool _arg9
= (bool ) FALSE
;
12367 PyObject
* _argo2
= 0;
12368 wxGridCellCoords temp
;
12369 PyObject
* _obj3
= 0;
12370 wxGridCellCoords temp0
;
12371 PyObject
* _obj4
= 0;
12372 int tempbool5
= (int) TRUE
;
12373 int tempbool6
= (int) FALSE
;
12374 int tempbool7
= (int) FALSE
;
12375 int tempbool8
= (int) FALSE
;
12376 int tempbool9
= (int) FALSE
;
12377 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12384 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12385 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
12392 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
12397 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
12400 _arg5
= (bool ) tempbool5
;
12401 _arg6
= (bool ) tempbool6
;
12402 _arg7
= (bool ) tempbool7
;
12403 _arg8
= (bool ) tempbool8
;
12404 _arg9
= (bool ) tempbool9
;
12406 wxPy_BEGIN_ALLOW_THREADS
;
12407 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12409 wxPy_END_ALLOW_THREADS
;
12411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
12412 _resultobj
= Py_BuildValue("s",_ptemp
);
12414 Py_INCREF(Py_None
);
12415 _resultobj
= Py_None
;
12420 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
12421 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
* _resultobj
;
12423 wxGridCellCoords
* _result
;
12424 wxGridRangeSelectEvent
* _arg0
;
12425 PyObject
* _argo0
= 0;
12426 char *_kwnames
[] = { "self", NULL
};
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
12433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
12440 wxPy_BEGIN_ALLOW_THREADS
;
12441 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
12443 wxPy_END_ALLOW_THREADS
;
12444 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12445 _resultobj
= Py_BuildValue("s",_ptemp
);
12449 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
12450 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
* _resultobj
;
12452 wxGridCellCoords
* _result
;
12453 wxGridRangeSelectEvent
* _arg0
;
12454 PyObject
* _argo0
= 0;
12455 char *_kwnames
[] = { "self", NULL
};
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
12462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
12469 wxPy_BEGIN_ALLOW_THREADS
;
12470 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
12472 wxPy_END_ALLOW_THREADS
;
12473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
12474 _resultobj
= Py_BuildValue("s",_ptemp
);
12478 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
12479 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
* _resultobj
;
12482 wxGridRangeSelectEvent
* _arg0
;
12483 PyObject
* _argo0
= 0;
12484 char *_kwnames
[] = { "self", NULL
};
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
12490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
12497 wxPy_BEGIN_ALLOW_THREADS
;
12498 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
12500 wxPy_END_ALLOW_THREADS
;
12501 } _resultobj
= Py_BuildValue("i",_result
);
12505 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
12506 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
* _resultobj
;
12509 wxGridRangeSelectEvent
* _arg0
;
12510 PyObject
* _argo0
= 0;
12511 char *_kwnames
[] = { "self", NULL
};
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
12517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
12524 wxPy_BEGIN_ALLOW_THREADS
;
12525 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
12527 wxPy_END_ALLOW_THREADS
;
12528 } _resultobj
= Py_BuildValue("i",_result
);
12532 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
12533 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
* _resultobj
;
12536 wxGridRangeSelectEvent
* _arg0
;
12537 PyObject
* _argo0
= 0;
12538 char *_kwnames
[] = { "self", NULL
};
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
12544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
12551 wxPy_BEGIN_ALLOW_THREADS
;
12552 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
12554 wxPy_END_ALLOW_THREADS
;
12555 } _resultobj
= Py_BuildValue("i",_result
);
12559 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
12560 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
* _resultobj
;
12563 wxGridRangeSelectEvent
* _arg0
;
12564 PyObject
* _argo0
= 0;
12565 char *_kwnames
[] = { "self", NULL
};
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
12571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
12578 wxPy_BEGIN_ALLOW_THREADS
;
12579 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
12581 wxPy_END_ALLOW_THREADS
;
12582 } _resultobj
= Py_BuildValue("i",_result
);
12586 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
12587 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
* _resultobj
;
12590 wxGridRangeSelectEvent
* _arg0
;
12591 PyObject
* _argo0
= 0;
12592 char *_kwnames
[] = { "self", NULL
};
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
12598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
12605 wxPy_BEGIN_ALLOW_THREADS
;
12606 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
12608 wxPy_END_ALLOW_THREADS
;
12609 } _resultobj
= Py_BuildValue("i",_result
);
12613 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12614 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
* _resultobj
;
12617 wxGridRangeSelectEvent
* _arg0
;
12618 PyObject
* _argo0
= 0;
12619 char *_kwnames
[] = { "self", NULL
};
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
12625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
12632 wxPy_BEGIN_ALLOW_THREADS
;
12633 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
12635 wxPy_END_ALLOW_THREADS
;
12636 } _resultobj
= Py_BuildValue("i",_result
);
12640 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12641 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
* _resultobj
;
12644 wxGridRangeSelectEvent
* _arg0
;
12645 PyObject
* _argo0
= 0;
12646 char *_kwnames
[] = { "self", NULL
};
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
12652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
12659 wxPy_BEGIN_ALLOW_THREADS
;
12660 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
12662 wxPy_END_ALLOW_THREADS
;
12663 } _resultobj
= Py_BuildValue("i",_result
);
12667 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12668 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
* _resultobj
;
12671 wxGridRangeSelectEvent
* _arg0
;
12672 PyObject
* _argo0
= 0;
12673 char *_kwnames
[] = { "self", NULL
};
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
12679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
12686 wxPy_BEGIN_ALLOW_THREADS
;
12687 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
12689 wxPy_END_ALLOW_THREADS
;
12690 } _resultobj
= Py_BuildValue("i",_result
);
12694 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
12695 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
* _resultobj
;
12698 wxGridRangeSelectEvent
* _arg0
;
12699 PyObject
* _argo0
= 0;
12700 char *_kwnames
[] = { "self", NULL
};
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
12706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
12708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
12713 wxPy_BEGIN_ALLOW_THREADS
;
12714 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
12716 wxPy_END_ALLOW_THREADS
;
12717 } _resultobj
= Py_BuildValue("i",_result
);
12721 static PyMethodDef gridcMethods
[] = {
12722 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12723 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12724 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12725 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12726 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12727 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
12728 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
12729 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
12730 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
12731 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
12732 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
12733 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
12734 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12735 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12736 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12737 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12738 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12739 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
12740 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
12741 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
12742 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
12743 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
12744 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
12745 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
12746 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12747 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12748 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12749 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
12750 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12751 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
12752 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
12753 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
12754 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
12755 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
12756 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12757 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12758 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
12759 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
12760 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
12761 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
12762 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
12763 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
12764 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12765 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
12766 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
12767 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
12768 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12769 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12770 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12771 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
12772 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12773 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12774 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
12775 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
12776 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12777 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12778 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12779 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12780 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12781 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12782 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12783 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12784 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12785 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12786 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12787 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12788 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
12789 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
12790 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
12791 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
12792 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
12793 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
12794 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12795 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12796 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12797 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12798 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12799 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12800 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12801 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12802 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
12803 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12804 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12805 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12806 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12807 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
12808 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
12809 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12810 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12811 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12812 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
12813 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
12814 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
12815 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
12816 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
12817 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12818 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12819 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12820 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12821 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
12822 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12823 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12824 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
12825 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12826 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12827 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
12828 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12829 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12830 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12831 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12832 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12833 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12834 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12835 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12836 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12837 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12838 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12839 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
12840 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
12841 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12842 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12843 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12844 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12845 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
12846 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12847 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12848 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12849 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12850 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12851 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
12852 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
12853 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
12854 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
12855 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
12856 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
12857 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
12858 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
12859 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
12860 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
12861 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
12862 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
12863 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
12864 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
12865 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
12866 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
12867 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
12868 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
12869 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
12870 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
12871 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
12872 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
12873 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
12874 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12875 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12876 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12877 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
12878 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12879 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
12880 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12881 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
12882 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
12883 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
12884 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
12885 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
12886 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
12887 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
12888 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
12889 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12890 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12891 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12892 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12893 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12894 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12895 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12896 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12897 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
12898 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
12899 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
12900 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12901 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12902 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12903 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
12904 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
12905 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
12906 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
12907 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
12908 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
12909 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
12910 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
12911 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
12912 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
12913 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12914 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
12915 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12916 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
12917 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12918 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
12919 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12920 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12921 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12922 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
12923 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12924 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
12925 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
12926 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12927 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12928 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12929 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12930 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12931 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12932 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12933 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12934 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12935 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12936 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12937 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12938 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12939 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12940 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12941 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12942 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12943 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12944 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12945 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12946 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12947 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
12948 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12949 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12950 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12951 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12952 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
12953 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12954 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12955 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12956 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
12957 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
12958 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
12959 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
12960 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
12961 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
12962 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
12963 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12964 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12965 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12966 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12967 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
12968 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
12969 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
12970 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12971 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
12972 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
12973 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12974 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12975 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
12976 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
12977 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
12978 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
12979 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
12980 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12981 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12982 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12983 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12984 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12985 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12986 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
12987 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12988 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
12989 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
12990 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
12991 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
12992 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12993 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
12994 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
12995 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
12996 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12997 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
12998 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
12999 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13000 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13001 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13002 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13003 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13004 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13005 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13006 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13007 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13008 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13009 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13010 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13011 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13012 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13013 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13014 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13015 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13016 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13017 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13018 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13019 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13020 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13021 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13022 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13023 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13024 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13025 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13026 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13027 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13028 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13029 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13030 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13031 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13032 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13033 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13034 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13035 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13036 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13037 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13038 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13039 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13040 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13041 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13042 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13043 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13044 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13045 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
13046 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
13047 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
13048 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
13049 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13050 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13051 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13052 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13053 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13054 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
13055 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13056 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13057 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
13058 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13059 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
13060 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13061 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13062 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13063 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13064 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13065 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13066 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13067 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
13068 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
13069 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13070 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13071 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13078 * This table is used by the pointer type-checker
13080 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
13081 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
13082 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13083 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13084 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13085 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13086 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13087 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13088 { "_wxEvent","_class_wxEvent",0},
13089 { "_class_wxActivateEvent","_wxActivateEvent",0},
13090 { "_signed_long","_long",0},
13091 { "_wxMenuEvent","_class_wxMenuEvent",0},
13092 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13093 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13094 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13095 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13096 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13097 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13098 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13099 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13100 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13101 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13102 { "_class_wxGridCellRenderer","_wxGridCellRenderer",0},
13103 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
13104 { "_wxGridCellChoiceEditor","_class_wxGridCellChoiceEditor",0},
13105 { "_wxGridSizeEvent","_class_wxGridSizeEvent",0},
13106 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
13107 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
13108 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
13109 { "_wxPrintQuality","_wxCoord",0},
13110 { "_wxPrintQuality","_int",0},
13111 { "_wxPrintQuality","_signed_int",0},
13112 { "_wxPrintQuality","_unsigned_int",0},
13113 { "_wxPrintQuality","_wxWindowID",0},
13114 { "_wxPrintQuality","_uint",0},
13115 { "_wxPrintQuality","_EBool",0},
13116 { "_wxPrintQuality","_size_t",0},
13117 { "_wxPrintQuality","_time_t",0},
13118 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
13119 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
13120 { "_class_wxRegionIterator","_wxRegionIterator",0},
13121 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
13122 { "_class_wxMenuBar","_wxMenuBar",0},
13123 { "_class_wxPyGridCellEditor","_wxPyGridCellEditor",0},
13124 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13125 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13126 { "_class_wxEvtHandler","_wxEvtHandler",0},
13127 { "_wxPaintEvent","_class_wxPaintEvent",0},
13128 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
13129 { "_wxCursor","_class_wxCursor",0},
13130 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13131 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13132 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13133 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13134 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13135 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13136 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
13137 { "_wxMask","_class_wxMask",0},
13138 { "_wxGridCellNumberEditor","_class_wxGridCellNumberEditor",0},
13139 { "_wxGrid","_class_wxGrid",0},
13140 { "_wxPen","_class_wxPen",0},
13141 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
13142 { "_byte","_unsigned_char",0},
13143 { "_wxDataObject","_class_wxDataObject",0},
13144 { "_wxStaticBox","_class_wxStaticBox",0},
13145 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
13146 { "_wxPyDropSource","_class_wxPyDropSource",0},
13147 { "_wxChoice","_class_wxChoice",0},
13148 { "_wxSlider","_class_wxSlider",0},
13149 { "_wxGridTableMessage","_class_wxGridTableMessage",0},
13150 { "_long","_unsigned_long",0},
13151 { "_long","_signed_long",0},
13152 { "_wxImageList","_class_wxImageList",0},
13153 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
13154 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
13155 { "_wxBitmapButton","_class_wxBitmapButton",0},
13156 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
13157 { "_class_wxClipboard","_wxClipboard",0},
13158 { "_class_wxGauge","_wxGauge",0},
13159 { "_wxGridCellCoords","_class_wxGridCellCoords",0},
13160 { "_wxGridCellNumberRenderer","_class_wxGridCellNumberRenderer",0},
13161 { "_wxDC","_class_wxDC",0},
13162 { "_class_wxGridSizeEvent","_wxGridSizeEvent",0},
13163 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
13164 { "_class_wxGridCellBoolEditor","_wxGridCellBoolEditor",0},
13165 { "_wxSpinEvent","_class_wxSpinEvent",0},
13166 { "_size_t","_WXGRIDSELECTIONMODES",0},
13167 { "_size_t","_wxCoord",0},
13168 { "_size_t","_wxPrintQuality",0},
13169 { "_size_t","_time_t",0},
13170 { "_size_t","_unsigned_int",0},
13171 { "_size_t","_int",0},
13172 { "_size_t","_wxWindowID",0},
13173 { "_size_t","_uint",0},
13174 { "_class_wxRealPoint","_wxRealPoint",0},
13175 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
13176 { "_class_wxGridRangeSelectEvent","_wxGridRangeSelectEvent",0},
13177 { "_wxPrinterDC","_class_wxPrinterDC",0},
13178 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
13179 { "_class_wxMenuItem","_wxMenuItem",0},
13180 { "_class_wxPaintEvent","_wxPaintEvent",0},
13181 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
13182 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13183 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13184 { "_wxPanel","_class_wxPanel",0},
13185 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
13186 { "_wxCheckBox","_class_wxCheckBox",0},
13187 { "_wxPyEvent","_class_wxPyEvent",0},
13188 { "_wxTextCtrl","_class_wxTextCtrl",0},
13189 { "_class_wxMask","_wxMask",0},
13190 { "_wxTextDataObject","_class_wxTextDataObject",0},
13191 { "_class_wxKeyEvent","_wxKeyEvent",0},
13192 { "_class_wxGrid","_wxGrid",0},
13193 { "_wxColour","_class_wxColour",0},
13194 { "_class_wxDialog","_wxDialog",0},
13195 { "_class_wxFileDataObject","_wxFileDataObject",0},
13196 { "_wxIdleEvent","_class_wxIdleEvent",0},
13197 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
13198 { "_class_wxDataObject","_wxDataObject",0},
13199 { "_wxStaticLine","_class_wxStaticLine",0},
13200 { "_wxBrush","_class_wxBrush",0},
13201 { "_class_wxGridTableMessage","_wxGridTableMessage",0},
13202 { "_wxDataFormat","_class_wxDataFormat",0},
13203 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
13204 { "_class_wxGridCellAttr","_wxGridCellAttr",0},
13205 { "_wxShowEvent","_class_wxShowEvent",0},
13206 { "_uint","_WXGRIDSELECTIONMODES",0},
13207 { "_uint","_wxCoord",0},
13208 { "_uint","_wxPrintQuality",0},
13209 { "_uint","_time_t",0},
13210 { "_uint","_size_t",0},
13211 { "_uint","_unsigned_int",0},
13212 { "_uint","_int",0},
13213 { "_uint","_wxWindowID",0},
13214 { "_wxChar","_char",0},
13215 { "_wxPyValidator","_class_wxPyValidator",0},
13216 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13217 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
13218 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13219 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
13220 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
13221 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
13222 { "_class_wxEvent","_wxEvent",0},
13223 { "_wxCheckListBox","_class_wxCheckListBox",0},
13224 { "_class_wxGridCellNumberRenderer","_wxGridCellNumberRenderer",0},
13225 { "_wxGridEvent","_class_wxGridEvent",0},
13226 { "_wxRect","_class_wxRect",0},
13227 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13228 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13229 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13230 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13231 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13232 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13233 { "_wxCommandEvent","_class_wxCommandEvent",0},
13234 { "_class_wxGridCellChoiceEditor","_wxGridCellChoiceEditor",0},
13235 { "_wxSizeEvent","_class_wxSizeEvent",0},
13236 { "_wxPoint","_class_wxPoint",0},
13237 { "_class_wxButton","_wxButton",0},
13238 { "_wxRadioBox","_class_wxRadioBox",0},
13239 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
13240 { "_char","_wxChar",0},
13241 { "_wxBitmap","_class_wxBitmap",0},
13242 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13243 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13244 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13245 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13246 { "_wxGridCellStringRenderer","_class_wxGridCellStringRenderer",0},
13247 { "_wxPyGridTableBase","_class_wxPyGridTableBase",0},
13248 { "_wxWindowDC","_class_wxWindowDC",0},
13249 { "_wxTimerEvent","_class_wxTimerEvent",0},
13250 { "_wxScrollBar","_class_wxScrollBar",0},
13251 { "_wxSpinButton","_class_wxSpinButton",0},
13252 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
13253 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13254 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
13255 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13256 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
13257 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13258 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
13259 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
13260 { "_class_wxValidator","_wxValidator",0},
13261 { "_class_wxPyEvent","_wxPyEvent",0},
13262 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
13263 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
13264 { "_class_wxGridCellNumberEditor","_wxGridCellNumberEditor",0},
13265 { "_wxDropTarget","_class_wxDropTarget",0},
13266 { "_class_wxStaticLine","_wxStaticLine",0},
13267 { "_wxPyGridCellAttrProvider","_class_wxPyGridCellAttrProvider",0},
13268 { "_wxScrollEvent","_class_wxScrollEvent",0},
13269 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13270 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13271 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13272 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13273 { "_wxGridTableBase","_class_wxGridTableBase",0},
13274 { "_wxGridStringTable","_class_wxGridStringTable",0},
13275 { "_EBool","_WXGRIDSELECTIONMODES",0},
13276 { "_EBool","_wxCoord",0},
13277 { "_EBool","_wxPrintQuality",0},
13278 { "_EBool","_signed_int",0},
13279 { "_EBool","_int",0},
13280 { "_EBool","_wxWindowID",0},
13281 { "_class_wxRegion","_wxRegion",0},
13282 { "_class_wxDataFormat","_wxDataFormat",0},
13283 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
13284 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
13285 { "_wxStaticText","_class_wxStaticText",0},
13286 { "_wxFont","_class_wxFont",0},
13287 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
13288 { "_wxCloseEvent","_class_wxCloseEvent",0},
13289 { "_class_wxPyGridCellRenderer","_wxPyGridCellRenderer",0},
13290 { "_class_wxGridCellCoords","_wxGridCellCoords",0},
13291 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13292 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13293 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13294 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13295 { "_class_wxGridCellTextEditor","_wxGridCellTextEditor",0},
13296 { "_unsigned_long","_long",0},
13297 { "_class_wxRect","_wxRect",0},
13298 { "_class_wxDC","_wxDC",0},
13299 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
13300 { "_WXGRIDSELECTIONMODES","_int",0},
13301 { "_WXGRIDSELECTIONMODES","_signed_int",0},
13302 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
13303 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
13304 { "_WXGRIDSELECTIONMODES","_uint",0},
13305 { "_WXGRIDSELECTIONMODES","_EBool",0},
13306 { "_WXGRIDSELECTIONMODES","_size_t",0},
13307 { "_WXGRIDSELECTIONMODES","_time_t",0},
13308 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
13309 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
13310 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
13311 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
13312 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13313 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
13314 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13315 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
13316 { "_class_wxGridCellStringRenderer","_wxGridCellStringRenderer",0},
13317 { "_class_wxGridCellFloatRenderer","_wxGridCellFloatRenderer",0},
13318 { "_wxFocusEvent","_class_wxFocusEvent",0},
13319 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
13320 { "_class_wxTimerEvent","_wxTimerEvent",0},
13321 { "_class_wxSpinButton","_wxSpinButton",0},
13322 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
13323 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
13324 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
13325 { "_class_wxPanel","_wxPanel",0},
13326 { "_class_wxCheckBox","_wxCheckBox",0},
13327 { "_wxComboBox","_class_wxComboBox",0},
13328 { "_wxRadioButton","_class_wxRadioButton",0},
13329 { "_signed_int","_WXGRIDSELECTIONMODES",0},
13330 { "_signed_int","_wxCoord",0},
13331 { "_signed_int","_wxPrintQuality",0},
13332 { "_signed_int","_EBool",0},
13333 { "_signed_int","_wxWindowID",0},
13334 { "_signed_int","_int",0},
13335 { "_class_wxTextCtrl","_wxTextCtrl",0},
13336 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
13337 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
13338 { "_class_wxTextDataObject","_wxTextDataObject",0},
13339 { "_wxMenu","_class_wxMenu",0},
13340 { "_class_wxMoveEvent","_wxMoveEvent",0},
13341 { "_wxListBox","_class_wxListBox",0},
13342 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13343 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13344 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13345 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13346 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13347 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13348 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13349 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13350 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13351 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13352 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13353 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13354 { "_wxGridCellEditor","_class_wxGridCellEditor",0},
13355 { "_wxScreenDC","_class_wxScreenDC",0},
13356 { "_WXTYPE","_short",0},
13357 { "_WXTYPE","_signed_short",0},
13358 { "_WXTYPE","_unsigned_short",0},
13359 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13360 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13361 { "_wxGridCellAttrProvider","_class_wxGridCellAttrProvider",0},
13362 { "_class_wxDropTarget","_wxDropTarget",0},
13363 { "_wxGridCellFloatEditor","_class_wxGridCellFloatEditor",0},
13364 { "_class_wxPyGridCellAttrProvider","_wxPyGridCellAttrProvider",0},
13365 { "_class_wxBrush","_wxBrush",0},
13366 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13367 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
13368 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13369 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
13370 { "_class_wxGridTableBase","_wxGridTableBase",0},
13371 { "_unsigned_short","_WXTYPE",0},
13372 { "_unsigned_short","_short",0},
13373 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13374 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13375 { "_class_wxWindow","_wxWindow",0},
13376 { "_class_wxStaticText","_wxStaticText",0},
13377 { "_class_wxFont","_wxFont",0},
13378 { "_wxClipboard","_class_wxClipboard",0},
13379 { "_class_wxPyValidator","_wxPyValidator",0},
13380 { "_class_wxCloseEvent","_wxCloseEvent",0},
13381 { "_wxBusyInfo","_class_wxBusyInfo",0},
13382 { "_class_wxMenuEvent","_wxMenuEvent",0},
13383 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
13384 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
13385 { "_wxClientDC","_class_wxClientDC",0},
13386 { "_wxMouseEvent","_class_wxMouseEvent",0},
13387 { "_wxGridCellBoolEditor","_class_wxGridCellBoolEditor",0},
13388 { "_class_wxPoint","_wxPoint",0},
13389 { "_wxRealPoint","_class_wxRealPoint",0},
13390 { "_class_wxRadioBox","_wxRadioBox",0},
13391 { "_signed_short","_WXTYPE",0},
13392 { "_signed_short","_short",0},
13393 { "_wxMemoryDC","_class_wxMemoryDC",0},
13394 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
13395 { "_wxPaintDC","_class_wxPaintDC",0},
13396 { "_class_wxWindowDC","_wxWindowDC",0},
13397 { "_class_wxFocusEvent","_wxFocusEvent",0},
13398 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
13399 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
13400 { "_class_wxCursor","_wxCursor",0},
13401 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
13402 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13403 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13404 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
13405 { "_unsigned_char","_byte",0},
13406 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13407 { "_class_wxMenu","_wxMenu",0},
13408 { "_wxControl","_class_wxControl",0},
13409 { "_class_wxListBox","_wxListBox",0},
13410 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
13411 { "_unsigned_int","_wxCoord",0},
13412 { "_unsigned_int","_wxPrintQuality",0},
13413 { "_unsigned_int","_time_t",0},
13414 { "_unsigned_int","_size_t",0},
13415 { "_unsigned_int","_uint",0},
13416 { "_unsigned_int","_wxWindowID",0},
13417 { "_unsigned_int","_int",0},
13418 { "_wxIcon","_class_wxIcon",0},
13419 { "_wxDialog","_class_wxDialog",0},
13420 { "_class_wxPen","_wxPen",0},
13421 { "_wxGridCellBoolRenderer","_class_wxGridCellBoolRenderer",0},
13422 { "_short","_WXTYPE",0},
13423 { "_short","_unsigned_short",0},
13424 { "_short","_signed_short",0},
13425 { "_class_wxStaticBox","_wxStaticBox",0},
13426 { "_class_wxGridCellFloatEditor","_wxGridCellFloatEditor",0},
13427 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13428 { "_class_wxPyDropSource","_wxPyDropSource",0},
13429 { "_class_wxScrollEvent","_wxScrollEvent",0},
13430 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13431 { "_class_wxChoice","_wxChoice",0},
13432 { "_class_wxSlider","_wxSlider",0},
13433 { "_class_wxImageList","_wxImageList",0},
13434 { "_class_wxBitmapButton","_wxBitmapButton",0},
13435 { "_wxGridCellAttr","_class_wxGridCellAttr",0},
13436 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13437 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
13438 { "_wxWindowID","_wxCoord",0},
13439 { "_wxWindowID","_wxPrintQuality",0},
13440 { "_wxWindowID","_time_t",0},
13441 { "_wxWindowID","_size_t",0},
13442 { "_wxWindowID","_EBool",0},
13443 { "_wxWindowID","_uint",0},
13444 { "_wxWindowID","_int",0},
13445 { "_wxWindowID","_signed_int",0},
13446 { "_wxWindowID","_unsigned_int",0},
13447 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13448 { "_int","_WXGRIDSELECTIONMODES",0},
13449 { "_int","_wxCoord",0},
13450 { "_int","_wxPrintQuality",0},
13451 { "_int","_time_t",0},
13452 { "_int","_size_t",0},
13453 { "_int","_EBool",0},
13454 { "_int","_uint",0},
13455 { "_int","_wxWindowID",0},
13456 { "_int","_unsigned_int",0},
13457 { "_int","_signed_int",0},
13458 { "_class_wxMouseEvent","_wxMouseEvent",0},
13459 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13460 { "_class_wxSpinEvent","_wxSpinEvent",0},
13461 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13462 { "_time_t","_WXGRIDSELECTIONMODES",0},
13463 { "_time_t","_wxCoord",0},
13464 { "_time_t","_wxPrintQuality",0},
13465 { "_time_t","_unsigned_int",0},
13466 { "_time_t","_int",0},
13467 { "_time_t","_wxWindowID",0},
13468 { "_time_t","_uint",0},
13469 { "_time_t","_size_t",0},
13470 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13471 { "_wxButton","_class_wxButton",0},
13472 { "_wxSize","_class_wxSize",0},
13473 { "_wxRegionIterator","_class_wxRegionIterator",0},
13474 { "_class_wxPrinterDC","_wxPrinterDC",0},
13475 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13476 { "_class_wxPaintDC","_wxPaintDC",0},
13477 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13478 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13479 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13480 { "_class_wxComboBox","_wxComboBox",0},
13481 { "_class_wxRadioButton","_wxRadioButton",0},
13482 { "_wxValidator","_class_wxValidator",0},
13483 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13484 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13485 { "_class_wxControl","_wxControl",0},
13486 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13487 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13488 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
13489 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13490 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
13491 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13492 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
13493 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13494 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
13495 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13496 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
13497 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13498 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
13499 { "_class_wxGridCellEditor","_wxGridCellEditor",0},
13500 { "_class_wxIcon","_wxIcon",0},
13501 { "_class_wxColour","_wxColour",0},
13502 { "_class_wxScreenDC","_wxScreenDC",0},
13503 { "_wxPalette","_class_wxPalette",0},
13504 { "_class_wxIdleEvent","_wxIdleEvent",0},
13505 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13506 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
13507 { "_class_wxGridCellAttrProvider","_wxGridCellAttrProvider",0},
13508 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
13509 { "_wxCoord","_int",0},
13510 { "_wxCoord","_signed_int",0},
13511 { "_wxCoord","_unsigned_int",0},
13512 { "_wxCoord","_wxWindowID",0},
13513 { "_wxCoord","_uint",0},
13514 { "_wxCoord","_EBool",0},
13515 { "_wxCoord","_size_t",0},
13516 { "_wxCoord","_time_t",0},
13517 { "_wxCoord","_wxPrintQuality",0},
13518 { "_wxEraseEvent","_class_wxEraseEvent",0},
13519 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13520 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13521 { "_wxRegion","_class_wxRegion",0},
13522 { "_class_wxShowEvent","_wxShowEvent",0},
13523 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13524 { "_wxActivateEvent","_class_wxActivateEvent",0},
13525 { "_wxGauge","_class_wxGauge",0},
13526 { "_class_wxCheckListBox","_wxCheckListBox",0},
13527 { "_wxPyGridCellRenderer","_class_wxPyGridCellRenderer",0},
13528 { "_class_wxBusyInfo","_wxBusyInfo",0},
13529 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13530 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
13531 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13532 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
13533 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13534 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
13535 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13536 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
13537 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13538 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
13539 { "_wxGridCellRenderer","_class_wxGridCellRenderer",0},
13540 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13541 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
13542 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13543 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
13544 { "_wxGridCellTextEditor","_class_wxGridCellTextEditor",0},
13545 { "_class_wxGridEvent","_wxGridEvent",0},
13546 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13547 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
13548 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13549 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
13550 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13551 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
13552 { "_class_wxCommandEvent","_wxCommandEvent",0},
13553 { "_class_wxClientDC","_wxClientDC",0},
13554 { "_class_wxSizeEvent","_wxSizeEvent",0},
13555 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13556 { "_wxGridRangeSelectEvent","_class_wxGridRangeSelectEvent",0},
13557 { "_class_wxSize","_wxSize",0},
13558 { "_class_wxBitmap","_wxBitmap",0},
13559 { "_class_wxMemoryDC","_wxMemoryDC",0},
13560 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13561 { "_wxMenuBar","_class_wxMenuBar",0},
13562 { "_wxGridCellFloatRenderer","_class_wxGridCellFloatRenderer",0},
13563 { "_wxPyGridCellEditor","_class_wxPyGridCellEditor",0},
13564 { "_class_wxPyGridTableBase","_wxPyGridTableBase",0},
13565 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
13566 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
13567 { "_wxEvtHandler","_class_wxEvtHandler",0},
13568 { "_wxMenuItem","_class_wxMenuItem",0},
13569 { "_class_wxScrollBar","_wxScrollBar",0},
13570 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
13571 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
13572 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13573 { "_wxKeyEvent","_class_wxKeyEvent",0},
13574 { "_wxMoveEvent","_class_wxMoveEvent",0},
13575 { "_class_wxPalette","_wxPalette",0},
13576 { "_wxFileDataObject","_class_wxFileDataObject",0},
13577 { "_class_wxGridCellBoolRenderer","_wxGridCellBoolRenderer",0},
13578 { "_class_wxEraseEvent","_wxEraseEvent",0},
13579 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13580 { "_class_wxGridStringTable","_wxGridStringTable",0},
13581 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
13582 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
13583 { "_wxWindow","_class_wxWindow",0},
13584 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13587 static PyObject
*SWIG_globals
;
13591 SWIGEXPORT(void) initgridc() {
13593 SWIG_globals
= SWIG_newvarlink();
13594 m
= Py_InitModule("gridc", gridcMethods
);
13595 d
= PyModule_GetDict(m
);
13596 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
13597 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
13598 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
13599 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
13600 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
13601 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
13602 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
13603 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
13604 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
13605 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
13606 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
13607 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
13608 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
13609 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
13610 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
13611 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
13612 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
13613 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
13614 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
13615 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
13616 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
13617 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
13618 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
13619 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
13620 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
13621 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
13622 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
13623 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
13624 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
13625 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
13626 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
13627 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
13628 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
13629 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
13630 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
13631 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
13634 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13635 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);