2 * FILE : src/gtk/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "string type is required for parameter";
94 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
95 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
96 wxGridCellAttr* rval = NULL; \
97 bool doSave = wxPyRestoreThread(); \
98 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
100 wxGridCellAttr* ptr; \
101 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
103 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
109 rval = PCLASS::CBNAME(a, b, c); \
110 wxPySaveThread(doSave); \
113 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
114 return PCLASS::CBNAME(a, b, c); \
119 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
120 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
121 bool doSave = wxPyRestoreThread(); \
122 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
128 PCLASS::CBNAME(attr, a, b); \
129 wxPySaveThread(doSave); \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
137 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 bool doSave = wxPyRestoreThread(); \
140 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
141 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
142 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
146 PCLASS::CBNAME(attr, val); \
147 wxPySaveThread(doSave); \
149 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
150 PCLASS::CBNAME(attr, val); \
155 #define PYCALLBACK_INT__pure(CBNAME) \
157 bool doSave = wxPyRestoreThread(); \
159 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
160 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
161 wxPySaveThread(doSave); \
167 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
168 bool CBNAME(int a, int b) { \
169 bool doSave = wxPyRestoreThread(); \
171 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
172 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
173 wxPySaveThread(doSave); \
179 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 bool doSave = wxPyRestoreThread(); \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
187 PyObject* str = PyObject_Str(ro); \
188 rval = PyString_AsString(str); \
189 Py_DECREF(ro); Py_DECREF(str); \
192 wxPySaveThread(doSave); \
198 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
199 void CBNAME(int a, int b, const wxString& c) { \
200 bool doSave = wxPyRestoreThread(); \
201 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
202 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str())); \
203 wxPySaveThread(doSave); \
207 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
208 wxString CBNAME(int a, int b) { \
209 bool doSave = wxPyRestoreThread(); \
211 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
215 PyObject* str = PyObject_Str(ro); \
216 rval = PyString_AsString(str); \
217 Py_DECREF(ro); Py_DECREF(str); \
220 rval = PCLASS::CBNAME(a, b); \
221 wxPySaveThread(doSave); \
224 wxString base_##CBNAME(int a, int b) { \
225 return PCLASS::CBNAME(a, b); \
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
233 bool doSave = wxPyRestoreThread(); \
234 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
235 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str())); \
237 rval = PCLASS::CBNAME(a,b,c); \
238 wxPySaveThread(doSave); \
241 bool base_##CBNAME(int a, int b, const wxString& c) { \
242 return PCLASS::CBNAME(a,b,c); \
248 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
249 long CBNAME(int a, int b) { \
251 bool doSave = wxPyRestoreThread(); \
252 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
255 rval = PCLASS::CBNAME(a,b); \
256 wxPySaveThread(doSave); \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
265 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
268 bool doSave = wxPyRestoreThread(); \
269 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
270 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
272 rval = PCLASS::CBNAME(a,b); \
273 wxPySaveThread(doSave); \
276 bool base_##CBNAME(int a, int b) { \
277 return PCLASS::CBNAME(a,b); \
282 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
283 double CBNAME(int a, int b) { \
284 bool doSave = wxPyRestoreThread(); \
286 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
288 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
290 PyObject* str = PyObject_Str(ro); \
291 rval = PyFloat_AsDouble(str); \
292 Py_DECREF(ro); Py_DECREF(str); \
295 rval = PCLASS::CBNAME(a, b); \
296 wxPySaveThread(doSave); \
299 double base_##CBNAME(int a, int b) { \
300 return PCLASS::CBNAME(a, b); \
305 #define PYCALLBACK__(PCLASS, CBNAME) \
307 bool doSave = wxPyRestoreThread(); \
308 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
309 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
312 wxPySaveThread(doSave); \
314 void base_##CBNAME() { \
321 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
322 bool CBNAME(size_t a, size_t b) { \
324 bool doSave = wxPyRestoreThread(); \
325 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
326 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
328 rval = PCLASS::CBNAME(a,b); \
329 wxPySaveThread(doSave); \
332 bool base_##CBNAME(size_t a, size_t b) { \
333 return PCLASS::CBNAME(a,b); \
338 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
339 bool CBNAME(size_t a) { \
341 bool doSave = wxPyRestoreThread(); \
342 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
343 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
345 rval = PCLASS::CBNAME(a); \
346 wxPySaveThread(doSave); \
349 bool base_##CBNAME(size_t a) { \
350 return PCLASS::CBNAME(a); \
355 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
356 wxString CBNAME(int a) { \
357 bool doSave = wxPyRestoreThread(); \
359 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
361 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
363 PyObject* str = PyObject_Str(ro); \
364 rval = PyString_AsString(str); \
365 Py_DECREF(ro); Py_DECREF(str); \
368 rval = PCLASS::CBNAME(a); \
369 wxPySaveThread(doSave); \
372 wxString base_##CBNAME(int a) { \
373 return PCLASS::CBNAME(a); \
378 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
379 void CBNAME(int a, const wxString& c) { \
380 bool doSave = wxPyRestoreThread(); \
381 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
382 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
384 PCLASS::CBNAME(a,c); \
385 wxPySaveThread(doSave); \
387 void base_##CBNAME(int a, const wxString& c) { \
388 PCLASS::CBNAME(a,c); \
394 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
397 bool doSave = wxPyRestoreThread(); \
398 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
399 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
401 rval = PCLASS::CBNAME(); \
402 wxPySaveThread(doSave); \
405 bool base_##CBNAME() { \
406 return PCLASS::CBNAME(); \
411 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
412 void CBNAME(size_t a, int b) { \
413 bool doSave = wxPyRestoreThread(); \
414 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
415 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
417 PCLASS::CBNAME(a,b); \
418 wxPySaveThread(doSave); \
420 void base_##CBNAME(size_t a, int b) { \
421 PCLASS::CBNAME(a,b); \
427 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
428 void CBNAME(int a, int b, long c) { \
429 bool doSave = wxPyRestoreThread(); \
430 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
431 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
433 PCLASS::CBNAME(a,b,c); \
434 wxPySaveThread(doSave); \
436 void base_##CBNAME(int a, int b, long c) { \
437 PCLASS::CBNAME(a,b,c); \
443 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
444 void CBNAME(int a, int b, double c) { \
445 bool doSave = wxPyRestoreThread(); \
446 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
447 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
449 PCLASS::CBNAME(a,b,c); \
450 wxPySaveThread(doSave); \
452 void base_##CBNAME(int a, int b, double c) { \
453 PCLASS::CBNAME(a,b,c); \
458 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
459 void CBNAME(int a, int b, bool c) { \
460 bool doSave = wxPyRestoreThread(); \
461 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
462 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
464 PCLASS::CBNAME(a,b,c); \
465 wxPySaveThread(doSave); \
467 void base_##CBNAME(int a, int b, bool c) { \
468 PCLASS::CBNAME(a,b,c); \
475 class wxPyGridCellRenderer
: public wxGridCellRenderer
478 wxPyGridCellRenderer() : wxGridCellRenderer() {};
480 // Implement Python callback aware virtual methods
481 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
482 wxDC
& dc
, const wxRect
& rect
,
483 int row
, int col
, bool isSelected
) {
484 bool doSave
= wxPyRestoreThread();
485 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
486 wxPyCBH_callCallback(m_myInst
,
487 Py_BuildValue("(OOOOiii)",
488 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
489 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
490 wxPyConstructObject((void*)&dc
, "wxDC", 0),
491 wxPyConstructObject((void*)&rect
, "wxRect", 0),
492 row
, col
, isSelected
));
494 wxPySaveThread(doSave
);
497 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
500 bool doSave
= wxPyRestoreThread();
501 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
504 ro
= wxPyCBH_callCallbackObj(m_myInst
,
505 Py_BuildValue("(OOOii)",
506 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
507 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
508 wxPyConstructObject((void*)&dc
, "wxDC", 0),
511 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
516 wxPySaveThread(doSave
);
521 wxGridCellRenderer
*Clone() const {
522 wxGridCellRenderer
* rval
= NULL
;
523 bool doSave
= wxPyRestoreThread();
524 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
526 wxGridCellRenderer
* ptr
;
527 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
529 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
534 wxPySaveThread(doSave
);
538 DEC_PYCALLBACK__STRING(SetParameters
);
543 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
546 class wxPyGridCellEditor
: public wxGridCellEditor
549 wxPyGridCellEditor() : wxGridCellEditor() {}
551 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
552 bool doSave
= wxPyRestoreThread();
553 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
554 wxPyCBH_callCallback(m_myInst
,
555 Py_BuildValue("(OiO)",
556 wxPyConstructObject((void*)parent
, "wxWindow", 0),
558 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
560 wxPySaveThread(doSave
);
564 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
565 bool doSave
= wxPyRestoreThread();
566 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
567 wxPyCBH_callCallback(m_myInst
,
568 Py_BuildValue("(iiO)", row
, col
,
569 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
571 wxPySaveThread(doSave
);
575 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
577 bool doSave
= wxPyRestoreThread();
578 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
579 rv
= wxPyCBH_callCallback(m_myInst
,
580 Py_BuildValue("(iiO)", row
, col
,
581 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
583 wxPySaveThread(doSave
);
588 wxGridCellEditor
*Clone() const {
589 wxGridCellEditor
* rval
= NULL
;
590 bool doSave
= wxPyRestoreThread();
591 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
593 wxGridCellEditor
* ptr
;
594 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
596 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
601 wxPySaveThread(doSave
);
606 void Show(bool show
, wxGridCellAttr
*attr
) {
607 bool doSave
= wxPyRestoreThread();
608 if (wxPyCBH_findCallback(m_myInst
, "Show"))
609 wxPyCBH_callCallback(m_myInst
,
610 Py_BuildValue("(iO)", show
,
611 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
613 wxGridCellEditor::Show(show
, attr
);
614 wxPySaveThread(doSave
);
616 void base_Show(bool show
, wxGridCellAttr
*attr
) {
617 wxGridCellEditor::Show(show
, attr
);
621 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
622 bool doSave
= wxPyRestoreThread();
623 if (wxPyCBH_findCallback(m_myInst
, "PaintBackground"))
624 wxPyCBH_callCallback(m_myInst
,
625 Py_BuildValue("(OO)",
626 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
627 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
629 wxGridCellEditor::PaintBackground(rectCell
, attr
);
630 wxPySaveThread(doSave
);
632 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
633 wxGridCellEditor::PaintBackground(rectCell
, attr
);
637 DEC_PYCALLBACK___pure(Reset
);
638 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
639 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
640 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
641 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
642 DEC_PYCALLBACK__(StartingClick
);
643 DEC_PYCALLBACK__(Destroy
);
644 DEC_PYCALLBACK__STRING(SetParameters
);
650 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
651 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
652 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
653 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
654 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
655 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
656 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
657 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
660 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
663 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
665 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
666 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
667 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
668 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
673 class wxPyGridTableBase
: public wxGridTableBase
676 wxPyGridTableBase() : wxGridTableBase() {}
678 PYCALLBACK_INT__pure(GetNumberRows
);
679 PYCALLBACK_INT__pure(GetNumberCols
);
680 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
681 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
682 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
683 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
684 PYCALLBACK__(wxGridTableBase
, Clear
);
685 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
686 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
687 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
688 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
689 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
690 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
691 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
692 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
693 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
694 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
695 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
696 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
697 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
698 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
699 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
702 wxString
GetValue(int row
, int col
) {
703 bool doSave
= wxPyRestoreThread();
705 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
707 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
709 PyObject
* str
= PyObject_Str(ro
);
710 rval
= PyString_AsString(str
);
715 wxPySaveThread(doSave
);
719 void SetValue(int row
, int col
, const wxString
& val
) {
720 bool doSave
= wxPyRestoreThread();
721 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
722 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
723 wxPySaveThread(doSave
);
727 // Map the Get/Set methods for the standard non-string types to
728 // the GetValue and SetValue python methods.
729 long GetValueAsLong( int row
, int col
) {
731 bool doSave
= wxPyRestoreThread();
732 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
735 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
736 if (ro
&& PyNumber_Check(ro
)) {
737 num
= PyNumber_Int(ro
);
739 rval
= PyInt_AsLong(num
);
745 wxPySaveThread(doSave
);
749 double GetValueAsDouble( int row
, int col
) {
751 bool doSave
= wxPyRestoreThread();
752 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
755 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
756 if (ro
&& PyNumber_Check(ro
)) {
757 num
= PyNumber_Float(ro
);
759 rval
= PyFloat_AsDouble(num
);
765 wxPySaveThread(doSave
);
769 bool GetValueAsBool( int row
, int col
) {
770 return (bool)GetValueAsLong(row
, col
);
773 void SetValueAsLong( int row
, int col
, long value
) {
774 bool doSave
= wxPyRestoreThread();
775 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
776 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
778 wxPySaveThread(doSave
);
781 void SetValueAsDouble( int row
, int col
, double value
) {
782 bool doSave
= wxPyRestoreThread();
783 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
784 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
786 wxPySaveThread(doSave
);
789 void SetValueAsBool( int row
, int col
, bool value
) {
790 SetValueAsLong( row
, col
, (long)value
);
797 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
799 // If source is an object instance then it may already be the right type
800 if (PyInstance_Check(source
)) {
801 wxGridCellCoords
* ptr
;
802 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
807 // otherwise a 2-tuple of integers is expected
808 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
809 PyObject
* o1
= PySequence_GetItem(source
, 0);
810 PyObject
* o2
= PySequence_GetItem(source
, 1);
811 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
816 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
820 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
824 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
826 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
830 static PyObject
*_wrap_wxGridNoCellCoords_get() {
834 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
835 pyobj
= PyString_FromString(ptemp
);
839 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
841 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
845 static PyObject
*_wrap_wxGridNoCellRect_get() {
849 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
850 pyobj
= PyString_FromString(ptemp
);
854 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
855 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxGridCellRenderer
* _arg0
;
859 PyObject
* _argo0
= 0;
860 PyObject
* _obj1
= 0;
861 char *_kwnames
[] = { "self","params", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
874 #if PYTHON_API_VERSION >= 1009
875 char* tmpPtr
; int tmpSize
;
876 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
880 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
882 _arg1
= new wxString(tmpPtr
, tmpSize
);
884 if (!PyString_Check(_obj1
)) {
885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
888 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
892 wxPy_BEGIN_ALLOW_THREADS
;
893 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
895 wxPy_END_ALLOW_THREADS
;
896 if (PyErr_Occurred()) return NULL
;
897 } Py_INCREF(Py_None
);
898 _resultobj
= Py_None
;
906 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
907 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
909 wxGridCellRenderer
* _arg0
;
910 PyObject
* _argo0
= 0;
911 char *_kwnames
[] = { "self", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
924 wxPy_BEGIN_ALLOW_THREADS
;
925 wxGridCellRenderer_IncRef(_arg0
);
927 wxPy_END_ALLOW_THREADS
;
928 if (PyErr_Occurred()) return NULL
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
934 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
935 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
937 wxGridCellRenderer
* _arg0
;
938 PyObject
* _argo0
= 0;
939 char *_kwnames
[] = { "self", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
952 wxPy_BEGIN_ALLOW_THREADS
;
953 wxGridCellRenderer_DecRef(_arg0
);
955 wxPy_END_ALLOW_THREADS
;
956 if (PyErr_Occurred()) return NULL
;
957 } Py_INCREF(Py_None
);
958 _resultobj
= Py_None
;
962 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
963 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
965 wxGridCellRenderer
* _arg0
;
967 wxGridCellAttr
* _arg2
;
973 PyObject
* _argo0
= 0;
974 PyObject
* _argo1
= 0;
975 PyObject
* _argo2
= 0;
976 PyObject
* _argo3
= 0;
978 PyObject
* _obj4
= 0;
980 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
993 if (_argo1
== Py_None
) { _arg1
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1000 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1007 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1015 if (! wxRect_helper(_obj4
, &_arg4
))
1018 _arg7
= (bool ) tempbool7
;
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1023 wxPy_END_ALLOW_THREADS
;
1024 if (PyErr_Occurred()) return NULL
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1030 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1031 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1034 wxGridCellRenderer
* _arg0
;
1036 wxGridCellAttr
* _arg2
;
1040 PyObject
* _argo0
= 0;
1041 PyObject
* _argo1
= 0;
1042 PyObject
* _argo2
= 0;
1043 PyObject
* _argo3
= 0;
1044 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1065 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1072 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1082 wxPy_END_ALLOW_THREADS
;
1083 if (PyErr_Occurred()) return NULL
;
1084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1085 _resultobj
= Py_BuildValue("s",_ptemp
);
1089 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1090 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1092 wxGridCellRenderer
* _result
;
1093 wxGridCellRenderer
* _arg0
;
1094 PyObject
* _argo0
= 0;
1095 char *_kwnames
[] = { "self", NULL
};
1099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1109 wxPy_BEGIN_ALLOW_THREADS
;
1110 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1112 wxPy_END_ALLOW_THREADS
;
1113 if (PyErr_Occurred()) return NULL
;
1115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1116 _resultobj
= Py_BuildValue("s",_ptemp
);
1119 _resultobj
= Py_None
;
1124 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1125 wxPyGridCellRenderer
*src
;
1126 wxGridCellRenderer
*dest
;
1127 src
= (wxPyGridCellRenderer
*) ptr
;
1128 dest
= (wxGridCellRenderer
*) src
;
1129 return (void *) dest
;
1132 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1133 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 wxPyGridCellRenderer
* _result
;
1136 char *_kwnames
[] = { NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1146 wxPy_END_ALLOW_THREADS
;
1147 if (PyErr_Occurred()) return NULL
;
1149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1150 _resultobj
= Py_BuildValue("s",_ptemp
);
1153 _resultobj
= Py_None
;
1158 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1159 static PyObject
*_wrap_wxPyGridCellRenderer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1161 wxPyGridCellRenderer
* _arg0
;
1164 PyObject
* _argo0
= 0;
1165 PyObject
* _obj1
= 0;
1166 PyObject
* _obj2
= 0;
1167 char *_kwnames
[] = { "self","self","_class", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 wxPyGridCellRenderer__setSelf(_arg0
,_arg1
,_arg2
);
1189 wxPy_END_ALLOW_THREADS
;
1190 if (PyErr_Occurred()) return NULL
;
1191 } Py_INCREF(Py_None
);
1192 _resultobj
= Py_None
;
1196 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1197 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1199 wxPyGridCellRenderer
* _arg0
;
1201 PyObject
* _argo0
= 0;
1202 PyObject
* _obj1
= 0;
1203 char *_kwnames
[] = { "self","params", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1216 #if PYTHON_API_VERSION >= 1009
1217 char* tmpPtr
; int tmpSize
;
1218 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1222 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1224 _arg1
= new wxString(tmpPtr
, tmpSize
);
1226 if (!PyString_Check(_obj1
)) {
1227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1230 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1237 wxPy_END_ALLOW_THREADS
;
1238 if (PyErr_Occurred()) return NULL
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1248 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1249 wxGridCellStringRenderer
*src
;
1250 wxGridCellRenderer
*dest
;
1251 src
= (wxGridCellStringRenderer
*) ptr
;
1252 dest
= (wxGridCellRenderer
*) src
;
1253 return (void *) dest
;
1256 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1257 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1259 wxGridCellStringRenderer
* _result
;
1260 char *_kwnames
[] = { NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1270 wxPy_END_ALLOW_THREADS
;
1271 if (PyErr_Occurred()) return NULL
;
1273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1274 _resultobj
= Py_BuildValue("s",_ptemp
);
1277 _resultobj
= Py_None
;
1282 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1283 wxGridCellNumberRenderer
*src
;
1284 wxGridCellStringRenderer
*dest
;
1285 src
= (wxGridCellNumberRenderer
*) ptr
;
1286 dest
= (wxGridCellStringRenderer
*) src
;
1287 return (void *) dest
;
1290 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1291 wxGridCellNumberRenderer
*src
;
1292 wxGridCellRenderer
*dest
;
1293 src
= (wxGridCellNumberRenderer
*) ptr
;
1294 dest
= (wxGridCellRenderer
*) src
;
1295 return (void *) dest
;
1298 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1299 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxGridCellNumberRenderer
* _result
;
1302 char *_kwnames
[] = { NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1312 wxPy_END_ALLOW_THREADS
;
1313 if (PyErr_Occurred()) return NULL
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1324 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1325 wxGridCellFloatRenderer
*src
;
1326 wxGridCellStringRenderer
*dest
;
1327 src
= (wxGridCellFloatRenderer
*) ptr
;
1328 dest
= (wxGridCellStringRenderer
*) src
;
1329 return (void *) dest
;
1332 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1333 wxGridCellFloatRenderer
*src
;
1334 wxGridCellRenderer
*dest
;
1335 src
= (wxGridCellFloatRenderer
*) ptr
;
1336 dest
= (wxGridCellRenderer
*) src
;
1337 return (void *) dest
;
1340 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1341 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1343 wxGridCellFloatRenderer
* _result
;
1344 int _arg0
= (int ) -1;
1345 int _arg1
= (int ) -1;
1346 char *_kwnames
[] = { "width","precision", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1356 wxPy_END_ALLOW_THREADS
;
1357 if (PyErr_Occurred()) return NULL
;
1359 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1360 _resultobj
= Py_BuildValue("s",_ptemp
);
1363 _resultobj
= Py_None
;
1368 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1369 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1372 wxGridCellFloatRenderer
* _arg0
;
1373 PyObject
* _argo0
= 0;
1374 char *_kwnames
[] = { "self", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1390 wxPy_END_ALLOW_THREADS
;
1391 if (PyErr_Occurred()) return NULL
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1397 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1399 wxGridCellFloatRenderer
* _arg0
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self","width", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1418 wxPy_END_ALLOW_THREADS
;
1419 if (PyErr_Occurred()) return NULL
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1426 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 wxGridCellFloatRenderer
* _arg0
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1448 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1483 wxGridCellBoolRenderer
*src
;
1484 wxGridCellRenderer
*dest
;
1485 src
= (wxGridCellBoolRenderer
*) ptr
;
1486 dest
= (wxGridCellRenderer
*) src
;
1487 return (void *) dest
;
1490 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1491 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1493 wxGridCellBoolRenderer
* _result
;
1494 char *_kwnames
[] = { NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1504 wxPy_END_ALLOW_THREADS
;
1505 if (PyErr_Occurred()) return NULL
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1516 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1517 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1520 wxGridCellEditor
* _arg0
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1535 wxPy_BEGIN_ALLOW_THREADS
;
1536 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1538 wxPy_END_ALLOW_THREADS
;
1539 if (PyErr_Occurred()) return NULL
;
1540 } _resultobj
= Py_BuildValue("i",_result
);
1544 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1545 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1547 wxControl
* _result
;
1548 wxGridCellEditor
* _arg0
;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1566 wxPy_END_ALLOW_THREADS
;
1567 if (PyErr_Occurred()) return NULL
;
1568 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1572 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1573 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxGridCellEditor
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 PyObject
* _argo1
= 0;
1579 char *_kwnames
[] = { "self","control", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 if (PyErr_Occurred()) return NULL
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1610 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxGridCellEditor
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _obj1
= 0;
1616 char *_kwnames
[] = { "self","params", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1629 #if PYTHON_API_VERSION >= 1009
1630 char* tmpPtr
; int tmpSize
;
1631 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1635 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1637 _arg1
= new wxString(tmpPtr
, tmpSize
);
1639 if (!PyString_Check(_obj1
)) {
1640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1643 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1650 wxPy_END_ALLOW_THREADS
;
1651 if (PyErr_Occurred()) return NULL
;
1652 } Py_INCREF(Py_None
);
1653 _resultobj
= Py_None
;
1661 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1662 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxGridCellEditor
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxGridCellEditor_IncRef(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
1712 } Py_INCREF(Py_None
);
1713 _resultobj
= Py_None
;
1717 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1718 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxGridCellEditor
* _arg0
;
1723 wxEvtHandler
* _arg3
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 PyObject
* _argo3
= 0;
1727 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1747 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1757 wxPy_END_ALLOW_THREADS
;
1758 if (PyErr_Occurred()) return NULL
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1765 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 wxGridCellEditor
* _arg0
;
1771 PyObject
* _argo0
= 0;
1772 PyObject
* _argo3
= 0;
1773 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1786 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1796 wxPy_END_ALLOW_THREADS
;
1797 if (PyErr_Occurred()) return NULL
;
1798 } Py_INCREF(Py_None
);
1799 _resultobj
= Py_None
;
1803 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1804 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxGridCellEditor
* _arg0
;
1811 PyObject
* _argo0
= 0;
1812 PyObject
* _argo3
= 0;
1813 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1826 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1836 wxPy_END_ALLOW_THREADS
;
1837 if (PyErr_Occurred()) return NULL
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1843 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1845 wxGridCellEditor
* _arg0
;
1846 PyObject
* _argo0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 wxGridCellEditor_Reset(_arg0
);
1863 wxPy_END_ALLOW_THREADS
;
1864 if (PyErr_Occurred()) return NULL
;
1865 } Py_INCREF(Py_None
);
1866 _resultobj
= Py_None
;
1870 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
1871 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1873 wxGridCellEditor
* _result
;
1874 wxGridCellEditor
* _arg0
;
1875 PyObject
* _argo0
= 0;
1876 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 if (PyErr_Occurred()) return NULL
;
1896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
1897 _resultobj
= Py_BuildValue("s",_ptemp
);
1900 _resultobj
= Py_None
;
1905 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1906 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1908 wxGridCellEditor
* _arg0
;
1910 PyObject
* _argo0
= 0;
1912 PyObject
* _obj1
= 0;
1913 char *_kwnames
[] = { "self","rect", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
1927 if (! wxRect_helper(_obj1
, &_arg1
))
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 if (PyErr_Occurred()) return NULL
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1941 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
1942 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxGridCellEditor
* _arg0
;
1946 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
1947 PyObject
* _argo0
= 0;
1949 PyObject
* _argo2
= 0;
1950 char *_kwnames
[] = { "self","show","attr", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
1962 _arg1
= (bool ) tempbool1
;
1964 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
1974 wxPy_END_ALLOW_THREADS
;
1975 if (PyErr_Occurred()) return NULL
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1981 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
1982 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1984 wxGridCellEditor
* _arg0
;
1986 wxGridCellAttr
* _arg2
;
1987 PyObject
* _argo0
= 0;
1989 PyObject
* _obj1
= 0;
1990 PyObject
* _argo2
= 0;
1991 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2005 if (! wxRect_helper(_obj1
, &_arg1
))
2009 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2019 wxPy_END_ALLOW_THREADS
;
2020 if (PyErr_Occurred()) return NULL
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2027 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 wxGridCellEditor
* _arg0
;
2032 PyObject
* _argo0
= 0;
2033 PyObject
* _argo1
= 0;
2034 char *_kwnames
[] = { "self","event", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2057 wxPy_END_ALLOW_THREADS
;
2058 if (PyErr_Occurred()) return NULL
;
2059 } _resultobj
= Py_BuildValue("i",_result
);
2063 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2064 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2066 wxGridCellEditor
* _arg0
;
2068 PyObject
* _argo0
= 0;
2069 PyObject
* _argo1
= 0;
2070 char *_kwnames
[] = { "self","event", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2093 wxPy_END_ALLOW_THREADS
;
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2100 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2101 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2103 wxGridCellEditor
* _arg0
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 wxGridCellEditor_StartingClick(_arg0
);
2121 wxPy_END_ALLOW_THREADS
;
2122 if (PyErr_Occurred()) return NULL
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2129 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2131 wxGridCellEditor
* _arg0
;
2133 PyObject
* _argo0
= 0;
2134 PyObject
* _argo1
= 0;
2135 char *_kwnames
[] = { "self","event", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2158 wxPy_END_ALLOW_THREADS
;
2159 if (PyErr_Occurred()) return NULL
;
2160 } Py_INCREF(Py_None
);
2161 _resultobj
= Py_None
;
2165 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2166 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2168 wxGridCellEditor
* _arg0
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxGridCellEditor_Destroy(_arg0
);
2186 wxPy_END_ALLOW_THREADS
;
2187 if (PyErr_Occurred()) return NULL
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2194 wxPyGridCellEditor
*src
;
2195 wxGridCellEditor
*dest
;
2196 src
= (wxPyGridCellEditor
*) ptr
;
2197 dest
= (wxGridCellEditor
*) src
;
2198 return (void *) dest
;
2201 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2202 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2204 wxPyGridCellEditor
* _result
;
2205 char *_kwnames
[] = { NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2215 wxPy_END_ALLOW_THREADS
;
2216 if (PyErr_Occurred()) return NULL
;
2218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2219 _resultobj
= Py_BuildValue("s",_ptemp
);
2222 _resultobj
= Py_None
;
2227 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2228 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2230 wxPyGridCellEditor
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 PyObject
* _obj1
= 0;
2235 PyObject
* _obj2
= 0;
2236 char *_kwnames
[] = { "self","self","_class", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2258 wxPy_END_ALLOW_THREADS
;
2259 if (PyErr_Occurred()) return NULL
;
2260 } Py_INCREF(Py_None
);
2261 _resultobj
= Py_None
;
2265 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2266 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2268 wxPyGridCellEditor
* _arg0
;
2270 PyObject
* _argo0
= 0;
2272 PyObject
* _obj1
= 0;
2273 char *_kwnames
[] = { "self","rect", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2287 if (! wxRect_helper(_obj1
, &_arg1
))
2291 wxPy_BEGIN_ALLOW_THREADS
;
2292 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2294 wxPy_END_ALLOW_THREADS
;
2295 if (PyErr_Occurred()) return NULL
;
2296 } Py_INCREF(Py_None
);
2297 _resultobj
= Py_None
;
2301 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2302 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2304 wxPyGridCellEditor
* _arg0
;
2306 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2307 PyObject
* _argo0
= 0;
2309 PyObject
* _argo2
= 0;
2310 char *_kwnames
[] = { "self","show","attr", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2322 _arg1
= (bool ) tempbool1
;
2324 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2334 wxPy_END_ALLOW_THREADS
;
2335 if (PyErr_Occurred()) return NULL
;
2336 } Py_INCREF(Py_None
);
2337 _resultobj
= Py_None
;
2341 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2342 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2344 wxPyGridCellEditor
* _arg0
;
2346 wxGridCellAttr
* _arg2
;
2347 PyObject
* _argo0
= 0;
2349 PyObject
* _obj1
= 0;
2350 PyObject
* _argo2
= 0;
2351 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2365 if (! wxRect_helper(_obj1
, &_arg1
))
2369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2379 wxPy_END_ALLOW_THREADS
;
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2387 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2389 wxPyGridCellEditor
* _arg0
;
2391 PyObject
* _argo0
= 0;
2392 PyObject
* _argo1
= 0;
2393 char *_kwnames
[] = { "self","event", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2406 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2413 wxPy_BEGIN_ALLOW_THREADS
;
2414 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2416 wxPy_END_ALLOW_THREADS
;
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2424 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2426 wxPyGridCellEditor
* _arg0
;
2428 PyObject
* _argo0
= 0;
2429 PyObject
* _argo1
= 0;
2430 char *_kwnames
[] = { "self","event", NULL
};
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2453 wxPy_END_ALLOW_THREADS
;
2454 if (PyErr_Occurred()) return NULL
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2461 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2463 wxPyGridCellEditor
* _arg0
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxPyGridCellEditor_base_StartingClick(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2489 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2491 wxPyGridCellEditor
* _arg0
;
2493 PyObject
* _argo0
= 0;
2494 PyObject
* _argo1
= 0;
2495 char *_kwnames
[] = { "self","event", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2515 wxPy_BEGIN_ALLOW_THREADS
;
2516 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2518 wxPy_END_ALLOW_THREADS
;
2519 if (PyErr_Occurred()) return NULL
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2526 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2528 wxPyGridCellEditor
* _arg0
;
2529 PyObject
* _argo0
= 0;
2530 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 wxPyGridCellEditor_base_Destroy(_arg0
);
2546 wxPy_END_ALLOW_THREADS
;
2547 if (PyErr_Occurred()) return NULL
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2554 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxPyGridCellEditor
* _arg0
;
2558 PyObject
* _argo0
= 0;
2559 PyObject
* _obj1
= 0;
2560 char *_kwnames
[] = { "self","params", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2573 #if PYTHON_API_VERSION >= 1009
2574 char* tmpPtr
; int tmpSize
;
2575 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2579 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2581 _arg1
= new wxString(tmpPtr
, tmpSize
);
2583 if (!PyString_Check(_obj1
)) {
2584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2587 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2594 wxPy_END_ALLOW_THREADS
;
2595 if (PyErr_Occurred()) return NULL
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2605 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2606 wxGridCellTextEditor
*src
;
2607 wxGridCellEditor
*dest
;
2608 src
= (wxGridCellTextEditor
*) ptr
;
2609 dest
= (wxGridCellEditor
*) src
;
2610 return (void *) dest
;
2613 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2614 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2616 wxGridCellTextEditor
* _result
;
2617 char *_kwnames
[] = { NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2627 wxPy_END_ALLOW_THREADS
;
2628 if (PyErr_Occurred()) return NULL
;
2630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2631 _resultobj
= Py_BuildValue("s",_ptemp
);
2634 _resultobj
= Py_None
;
2639 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2640 wxGridCellNumberEditor
*src
;
2641 wxGridCellTextEditor
*dest
;
2642 src
= (wxGridCellNumberEditor
*) ptr
;
2643 dest
= (wxGridCellTextEditor
*) src
;
2644 return (void *) dest
;
2647 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2648 wxGridCellNumberEditor
*src
;
2649 wxGridCellEditor
*dest
;
2650 src
= (wxGridCellNumberEditor
*) ptr
;
2651 dest
= (wxGridCellEditor
*) src
;
2652 return (void *) dest
;
2655 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2656 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
* _resultobj
;
2658 wxGridCellNumberEditor
* _result
;
2659 int _arg0
= (int ) -1;
2660 int _arg1
= (int ) -1;
2661 char *_kwnames
[] = { "min","max", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2671 wxPy_END_ALLOW_THREADS
;
2672 if (PyErr_Occurred()) return NULL
;
2674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2675 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 _resultobj
= Py_None
;
2683 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2684 wxGridCellFloatEditor
*src
;
2685 wxGridCellTextEditor
*dest
;
2686 src
= (wxGridCellFloatEditor
*) ptr
;
2687 dest
= (wxGridCellTextEditor
*) src
;
2688 return (void *) dest
;
2691 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2692 wxGridCellFloatEditor
*src
;
2693 wxGridCellEditor
*dest
;
2694 src
= (wxGridCellFloatEditor
*) ptr
;
2695 dest
= (wxGridCellEditor
*) src
;
2696 return (void *) dest
;
2699 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2700 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2702 wxGridCellFloatEditor
* _result
;
2703 char *_kwnames
[] = { NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2710 wxPy_BEGIN_ALLOW_THREADS
;
2711 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2713 wxPy_END_ALLOW_THREADS
;
2714 if (PyErr_Occurred()) return NULL
;
2716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2717 _resultobj
= Py_BuildValue("s",_ptemp
);
2720 _resultobj
= Py_None
;
2725 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2726 wxGridCellBoolEditor
*src
;
2727 wxGridCellEditor
*dest
;
2728 src
= (wxGridCellBoolEditor
*) ptr
;
2729 dest
= (wxGridCellEditor
*) src
;
2730 return (void *) dest
;
2733 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2734 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxGridCellBoolEditor
* _result
;
2737 char *_kwnames
[] = { NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2747 wxPy_END_ALLOW_THREADS
;
2748 if (PyErr_Occurred()) return NULL
;
2750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2751 _resultobj
= Py_BuildValue("s",_ptemp
);
2754 _resultobj
= Py_None
;
2759 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2760 wxGridCellChoiceEditor
*src
;
2761 wxGridCellEditor
*dest
;
2762 src
= (wxGridCellChoiceEditor
*) ptr
;
2763 dest
= (wxGridCellEditor
*) src
;
2764 return (void *) dest
;
2767 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2768 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2770 wxGridCellChoiceEditor
* _result
;
2771 int _arg0
= (int ) 0;
2772 wxString
* _arg1
= (wxString
*) NULL
;
2773 bool _arg2
= (bool ) FALSE
;
2774 PyObject
* _obj1
= 0;
2775 int tempbool2
= (int) FALSE
;
2776 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2784 _arg1
= wxString_LIST_helper(_obj1
);
2785 if (_arg1
== NULL
) {
2789 _arg2
= (bool ) tempbool2
;
2792 _arg0
= PyList_Size(_obj1
);
2799 wxPy_BEGIN_ALLOW_THREADS
;
2800 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2802 wxPy_END_ALLOW_THREADS
;
2803 if (PyErr_Occurred()) return NULL
;
2805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2806 _resultobj
= Py_BuildValue("s",_ptemp
);
2809 _resultobj
= Py_None
;
2817 #define new_wxGridCellAttr() (new wxGridCellAttr())
2818 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2820 wxGridCellAttr
* _result
;
2821 char *_kwnames
[] = { NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
2828 wxPy_BEGIN_ALLOW_THREADS
;
2829 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
2831 wxPy_END_ALLOW_THREADS
;
2832 if (PyErr_Occurred()) return NULL
;
2834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2838 _resultobj
= Py_None
;
2843 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
2844 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxGridCellAttr
* _result
;
2847 wxGridCellAttr
* _arg0
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
2866 wxPy_END_ALLOW_THREADS
;
2867 if (PyErr_Occurred()) return NULL
;
2869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
2870 _resultobj
= Py_BuildValue("s",_ptemp
);
2873 _resultobj
= Py_None
;
2878 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
2879 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2881 wxGridCellAttr
* _arg0
;
2882 wxGridCellAttr
* _arg1
;
2883 PyObject
* _argo0
= 0;
2884 PyObject
* _argo1
= 0;
2885 char *_kwnames
[] = { "self","mergefrom", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
2908 wxPy_END_ALLOW_THREADS
;
2909 if (PyErr_Occurred()) return NULL
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
2916 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2918 wxGridCellAttr
* _arg0
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
2933 wxPy_BEGIN_ALLOW_THREADS
;
2934 wxGridCellAttr_IncRef(_arg0
);
2936 wxPy_END_ALLOW_THREADS
;
2937 if (PyErr_Occurred()) return NULL
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
2944 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxGridCellAttr
* _arg0
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxGridCellAttr_DecRef(_arg0
);
2964 wxPy_END_ALLOW_THREADS
;
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
2972 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2974 wxGridCellAttr
* _arg0
;
2976 PyObject
* _argo0
= 0;
2978 PyObject
* _obj1
= 0;
2979 char *_kwnames
[] = { "self","colText", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
2993 if (! wxColour_helper(_obj1
, &_arg1
))
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3000 wxPy_END_ALLOW_THREADS
;
3001 if (PyErr_Occurred()) return NULL
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3008 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3010 wxGridCellAttr
* _arg0
;
3012 PyObject
* _argo0
= 0;
3014 PyObject
* _obj1
= 0;
3015 char *_kwnames
[] = { "self","colBack", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3029 if (! wxColour_helper(_obj1
, &_arg1
))
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3036 wxPy_END_ALLOW_THREADS
;
3037 if (PyErr_Occurred()) return NULL
;
3038 } Py_INCREF(Py_None
);
3039 _resultobj
= Py_None
;
3043 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3044 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3046 wxGridCellAttr
* _arg0
;
3048 PyObject
* _argo0
= 0;
3049 PyObject
* _argo1
= 0;
3050 char *_kwnames
[] = { "self","font", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 if (PyErr_Occurred()) return NULL
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3081 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3083 wxGridCellAttr
* _arg0
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3103 wxPy_END_ALLOW_THREADS
;
3104 if (PyErr_Occurred()) return NULL
;
3105 } Py_INCREF(Py_None
);
3106 _resultobj
= Py_None
;
3110 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3111 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3113 wxGridCellAttr
* _arg0
;
3114 bool _arg1
= (bool ) TRUE
;
3115 PyObject
* _argo0
= 0;
3116 int tempbool1
= (int) TRUE
;
3117 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3129 _arg1
= (bool ) tempbool1
;
3131 wxPy_BEGIN_ALLOW_THREADS
;
3132 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3134 wxPy_END_ALLOW_THREADS
;
3135 if (PyErr_Occurred()) return NULL
;
3136 } Py_INCREF(Py_None
);
3137 _resultobj
= Py_None
;
3141 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3142 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxGridCellAttr
* _arg0
;
3145 wxGridCellRenderer
* _arg1
;
3146 PyObject
* _argo0
= 0;
3147 PyObject
* _argo1
= 0;
3148 char *_kwnames
[] = { "self","renderer", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3171 wxPy_END_ALLOW_THREADS
;
3172 if (PyErr_Occurred()) return NULL
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3179 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxGridCellAttr
* _arg0
;
3182 wxGridCellEditor
* _arg1
;
3183 PyObject
* _argo0
= 0;
3184 PyObject
* _argo1
= 0;
3185 char *_kwnames
[] = { "self","editor", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3208 wxPy_END_ALLOW_THREADS
;
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3216 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3218 wxGridCellAttr
* _arg0
;
3219 wxGridCellAttr::wxAttrKind _arg1
;
3220 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self","kind", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3237 wxPy_END_ALLOW_THREADS
;
3238 if (PyErr_Occurred()) return NULL
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3245 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3248 wxGridCellAttr
* _arg0
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3266 wxPy_END_ALLOW_THREADS
;
3267 if (PyErr_Occurred()) return NULL
;
3268 } _resultobj
= Py_BuildValue("i",_result
);
3272 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3273 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(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_HasBackgroundColour",_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_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3295 if (PyErr_Occurred()) return NULL
;
3296 } _resultobj
= Py_BuildValue("i",_result
);
3300 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3301 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3304 wxGridCellAttr
* _arg0
;
3305 PyObject
* _argo0
= 0;
3306 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_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_HasFont. Expected _wxGridCellAttr_p.");
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3322 wxPy_END_ALLOW_THREADS
;
3323 if (PyErr_Occurred()) return NULL
;
3324 } _resultobj
= Py_BuildValue("i",_result
);
3328 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3329 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3332 wxGridCellAttr
* _arg0
;
3333 PyObject
* _argo0
= 0;
3334 char *_kwnames
[] = { "self", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3347 wxPy_BEGIN_ALLOW_THREADS
;
3348 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3350 wxPy_END_ALLOW_THREADS
;
3351 if (PyErr_Occurred()) return NULL
;
3352 } _resultobj
= Py_BuildValue("i",_result
);
3356 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3357 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3360 wxGridCellAttr
* _arg0
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3378 wxPy_END_ALLOW_THREADS
;
3379 if (PyErr_Occurred()) return NULL
;
3380 } _resultobj
= Py_BuildValue("i",_result
);
3384 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3385 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3388 wxGridCellAttr
* _arg0
;
3389 PyObject
* _argo0
= 0;
3390 char *_kwnames
[] = { "self", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3406 wxPy_END_ALLOW_THREADS
;
3407 if (PyErr_Occurred()) return NULL
;
3408 } _resultobj
= Py_BuildValue("i",_result
);
3412 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3413 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
* _resultobj
;
3416 wxGridCellAttr
* _arg0
;
3417 PyObject
* _argo0
= 0;
3418 char *_kwnames
[] = { "self", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3431 wxPy_BEGIN_ALLOW_THREADS
;
3432 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3434 wxPy_END_ALLOW_THREADS
;
3435 if (PyErr_Occurred()) return NULL
;
3436 } _resultobj
= Py_BuildValue("i",_result
);
3440 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3441 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3444 wxGridCellAttr
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3460 wxPy_BEGIN_ALLOW_THREADS
;
3461 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3462 _result
= (wxColour
*) &_result_ref
;
3464 wxPy_END_ALLOW_THREADS
;
3465 if (PyErr_Occurred()) return NULL
;
3467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 _resultobj
= Py_None
;
3476 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3477 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 wxGridCellAttr
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3496 wxPy_BEGIN_ALLOW_THREADS
;
3497 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3498 _result
= (wxColour
*) &_result_ref
;
3500 wxPy_END_ALLOW_THREADS
;
3501 if (PyErr_Occurred()) return NULL
;
3503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3504 _resultobj
= Py_BuildValue("s",_ptemp
);
3507 _resultobj
= Py_None
;
3512 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3513 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3516 wxGridCellAttr
* _arg0
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3532 wxPy_BEGIN_ALLOW_THREADS
;
3533 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3534 _result
= (wxFont
*) &_result_ref
;
3536 wxPy_END_ALLOW_THREADS
;
3537 if (PyErr_Occurred()) return NULL
;
3539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3540 _resultobj
= Py_BuildValue("s",_ptemp
);
3543 _resultobj
= Py_None
;
3548 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3549 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3551 wxGridCellAttr
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3576 wxPy_BEGIN_ALLOW_THREADS
;
3577 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3579 wxPy_END_ALLOW_THREADS
;
3580 if (PyErr_Occurred()) return NULL
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3585 o
= PyInt_FromLong((long) (*_arg1
));
3586 _resultobj
= t_output_helper(_resultobj
, o
);
3590 o
= PyInt_FromLong((long) (*_arg2
));
3591 _resultobj
= t_output_helper(_resultobj
, o
);
3596 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3597 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3599 wxGridCellRenderer
* _result
;
3600 wxGridCellAttr
* _arg0
;
3604 PyObject
* _argo0
= 0;
3605 PyObject
* _argo1
= 0;
3606 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3630 wxPy_END_ALLOW_THREADS
;
3631 if (PyErr_Occurred()) return NULL
;
3633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3634 _resultobj
= Py_BuildValue("s",_ptemp
);
3637 _resultobj
= Py_None
;
3642 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3643 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3645 wxGridCellEditor
* _result
;
3646 wxGridCellAttr
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 PyObject
* _argo1
= 0;
3652 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3676 wxPy_END_ALLOW_THREADS
;
3677 if (PyErr_Occurred()) return NULL
;
3679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3680 _resultobj
= Py_BuildValue("s",_ptemp
);
3683 _resultobj
= Py_None
;
3688 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3689 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3692 wxGridCellAttr
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3710 wxPy_END_ALLOW_THREADS
;
3711 if (PyErr_Occurred()) return NULL
;
3712 } _resultobj
= Py_BuildValue("i",_result
);
3716 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3717 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxGridCellAttr
* _arg0
;
3720 wxGridCellAttr
* _arg1
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _argo1
= 0;
3723 char *_kwnames
[] = { "self","defAttr", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 if (PyErr_Occurred()) return NULL
;
3748 } Py_INCREF(Py_None
);
3749 _resultobj
= Py_None
;
3753 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3754 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxGridCellAttrProvider
* _result
;
3757 char *_kwnames
[] = { NULL
};
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3764 wxPy_BEGIN_ALLOW_THREADS
;
3765 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3767 wxPy_END_ALLOW_THREADS
;
3768 if (PyErr_Occurred()) return NULL
;
3770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 _resultobj
= Py_None
;
3779 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3780 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3782 wxGridCellAttr
* _result
;
3783 wxGridCellAttrProvider
* _arg0
;
3786 wxGridCellAttr::wxAttrKind _arg3
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self","row","col","kind", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
3802 wxPy_BEGIN_ALLOW_THREADS
;
3803 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3805 wxPy_END_ALLOW_THREADS
;
3806 if (PyErr_Occurred()) return NULL
;
3808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3809 _resultobj
= Py_BuildValue("s",_ptemp
);
3812 _resultobj
= Py_None
;
3817 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
3818 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3820 wxGridCellAttrProvider
* _arg0
;
3821 wxGridCellAttr
* _arg1
;
3824 PyObject
* _argo0
= 0;
3825 PyObject
* _argo1
= 0;
3826 char *_kwnames
[] = { "self","attr","row","col", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
3839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
3849 wxPy_END_ALLOW_THREADS
;
3850 if (PyErr_Occurred()) return NULL
;
3851 } Py_INCREF(Py_None
);
3852 _resultobj
= Py_None
;
3856 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
3857 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3859 wxGridCellAttrProvider
* _arg0
;
3860 wxGridCellAttr
* _arg1
;
3862 PyObject
* _argo0
= 0;
3863 PyObject
* _argo1
= 0;
3864 char *_kwnames
[] = { "self","attr","row", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
3877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
3887 wxPy_END_ALLOW_THREADS
;
3888 if (PyErr_Occurred()) return NULL
;
3889 } Py_INCREF(Py_None
);
3890 _resultobj
= Py_None
;
3894 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
3895 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3897 wxGridCellAttrProvider
* _arg0
;
3898 wxGridCellAttr
* _arg1
;
3900 PyObject
* _argo0
= 0;
3901 PyObject
* _argo1
= 0;
3902 char *_kwnames
[] = { "self","attr","col", NULL
};
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
3915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
3925 wxPy_END_ALLOW_THREADS
;
3926 if (PyErr_Occurred()) return NULL
;
3927 } Py_INCREF(Py_None
);
3928 _resultobj
= Py_None
;
3932 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
3933 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3935 wxGridCellAttrProvider
* _arg0
;
3938 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self","pos","numRows", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
3952 wxPy_BEGIN_ALLOW_THREADS
;
3953 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
3955 wxPy_END_ALLOW_THREADS
;
3956 if (PyErr_Occurred()) return NULL
;
3957 } Py_INCREF(Py_None
);
3958 _resultobj
= Py_None
;
3962 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
3963 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3965 wxGridCellAttrProvider
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self","pos","numCols", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
3985 wxPy_END_ALLOW_THREADS
;
3986 if (PyErr_Occurred()) return NULL
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
3993 wxPyGridCellAttrProvider
*src
;
3994 wxGridCellAttrProvider
*dest
;
3995 src
= (wxPyGridCellAttrProvider
*) ptr
;
3996 dest
= (wxGridCellAttrProvider
*) src
;
3997 return (void *) dest
;
4000 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4001 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxPyGridCellAttrProvider
* _result
;
4004 char *_kwnames
[] = { NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4011 wxPy_BEGIN_ALLOW_THREADS
;
4012 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4014 wxPy_END_ALLOW_THREADS
;
4015 if (PyErr_Occurred()) return NULL
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4026 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4027 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4029 wxPyGridCellAttrProvider
* _arg0
;
4032 PyObject
* _argo0
= 0;
4033 PyObject
* _obj1
= 0;
4034 PyObject
* _obj2
= 0;
4035 char *_kwnames
[] = { "self","self","_class", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
4057 wxPy_END_ALLOW_THREADS
;
4058 if (PyErr_Occurred()) return NULL
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4065 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4067 wxGridCellAttr
* _result
;
4068 wxPyGridCellAttrProvider
* _arg0
;
4071 wxGridCellAttr::wxAttrKind _arg3
;
4072 PyObject
* _argo0
= 0;
4073 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4090 wxPy_END_ALLOW_THREADS
;
4091 if (PyErr_Occurred()) return NULL
;
4093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4094 _resultobj
= Py_BuildValue("s",_ptemp
);
4097 _resultobj
= Py_None
;
4102 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4103 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4105 wxPyGridCellAttrProvider
* _arg0
;
4106 wxGridCellAttr
* _arg1
;
4109 PyObject
* _argo0
= 0;
4110 PyObject
* _argo1
= 0;
4111 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4134 wxPy_END_ALLOW_THREADS
;
4135 if (PyErr_Occurred()) return NULL
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4142 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4144 wxPyGridCellAttrProvider
* _arg0
;
4145 wxGridCellAttr
* _arg1
;
4147 PyObject
* _argo0
= 0;
4148 PyObject
* _argo1
= 0;
4149 char *_kwnames
[] = { "self","attr","row", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4172 wxPy_END_ALLOW_THREADS
;
4173 if (PyErr_Occurred()) return NULL
;
4174 } Py_INCREF(Py_None
);
4175 _resultobj
= Py_None
;
4179 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4180 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4182 wxPyGridCellAttrProvider
* _arg0
;
4183 wxGridCellAttr
* _arg1
;
4185 PyObject
* _argo0
= 0;
4186 PyObject
* _argo1
= 0;
4187 char *_kwnames
[] = { "self","attr","col", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4210 wxPy_END_ALLOW_THREADS
;
4211 if (PyErr_Occurred()) return NULL
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4217 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4218 wxGridTableBase
*src
;
4220 src
= (wxGridTableBase
*) ptr
;
4221 dest
= (wxObject
*) src
;
4222 return (void *) dest
;
4225 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4226 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4228 wxGridTableBase
* _arg0
;
4229 wxGridCellAttrProvider
* _arg1
;
4230 PyObject
* _argo0
= 0;
4231 PyObject
* _argo1
= 0;
4232 char *_kwnames
[] = { "self","attrProvider", NULL
};
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4255 wxPy_END_ALLOW_THREADS
;
4256 if (PyErr_Occurred()) return NULL
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4263 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 wxGridCellAttrProvider
* _result
;
4266 wxGridTableBase
* _arg0
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4285 wxPy_END_ALLOW_THREADS
;
4286 if (PyErr_Occurred()) return NULL
;
4288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4289 _resultobj
= Py_BuildValue("s",_ptemp
);
4292 _resultobj
= Py_None
;
4297 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4298 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxGridTableBase
* _arg0
;
4302 PyObject
* _argo0
= 0;
4303 PyObject
* _argo1
= 0;
4304 char *_kwnames
[] = { "self","grid", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 wxGridTableBase_SetView(_arg0
,_arg1
);
4327 wxPy_END_ALLOW_THREADS
;
4328 if (PyErr_Occurred()) return NULL
;
4329 } Py_INCREF(Py_None
);
4330 _resultobj
= Py_None
;
4334 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4335 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4338 wxGridTableBase
* _arg0
;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "self", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4353 wxPy_BEGIN_ALLOW_THREADS
;
4354 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4356 wxPy_END_ALLOW_THREADS
;
4357 if (PyErr_Occurred()) return NULL
;
4358 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4362 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4363 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4366 wxGridTableBase
* _arg0
;
4367 PyObject
* _argo0
= 0;
4368 char *_kwnames
[] = { "self", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4381 wxPy_BEGIN_ALLOW_THREADS
;
4382 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4384 wxPy_END_ALLOW_THREADS
;
4385 if (PyErr_Occurred()) return NULL
;
4386 } _resultobj
= Py_BuildValue("i",_result
);
4390 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4391 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4394 wxGridTableBase
* _arg0
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4409 wxPy_BEGIN_ALLOW_THREADS
;
4410 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4412 wxPy_END_ALLOW_THREADS
;
4413 if (PyErr_Occurred()) return NULL
;
4414 } _resultobj
= Py_BuildValue("i",_result
);
4418 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4419 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4422 wxGridTableBase
* _arg0
;
4425 PyObject
* _argo0
= 0;
4426 char *_kwnames
[] = { "self","row","col", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4442 wxPy_END_ALLOW_THREADS
;
4443 if (PyErr_Occurred()) return NULL
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4449 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4452 wxGridTableBase
* _arg0
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self","row","col", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4472 wxPy_END_ALLOW_THREADS
;
4473 if (PyErr_Occurred()) return NULL
;
4475 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4483 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4484 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4486 wxGridTableBase
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 PyObject
* _obj3
= 0;
4492 char *_kwnames
[] = { "self","row","col","value", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4505 #if PYTHON_API_VERSION >= 1009
4506 char* tmpPtr
; int tmpSize
;
4507 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4511 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4513 _arg3
= new wxString(tmpPtr
, tmpSize
);
4515 if (!PyString_Check(_obj3
)) {
4516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4519 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4526 wxPy_END_ALLOW_THREADS
;
4527 if (PyErr_Occurred()) return NULL
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4537 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4538 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4541 wxGridTableBase
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self","row","col", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4561 wxPy_END_ALLOW_THREADS
;
4562 if (PyErr_Occurred()) return NULL
;
4564 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4572 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4573 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4576 wxGridTableBase
* _arg0
;
4580 PyObject
* _argo0
= 0;
4581 PyObject
* _obj3
= 0;
4582 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4595 #if PYTHON_API_VERSION >= 1009
4596 char* tmpPtr
; int tmpSize
;
4597 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4598 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4601 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4603 _arg3
= new wxString(tmpPtr
, tmpSize
);
4605 if (!PyString_Check(_obj3
)) {
4606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4609 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4616 wxPy_END_ALLOW_THREADS
;
4617 if (PyErr_Occurred()) return NULL
;
4618 } _resultobj
= Py_BuildValue("i",_result
);
4626 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4627 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4630 wxGridTableBase
* _arg0
;
4634 PyObject
* _argo0
= 0;
4635 PyObject
* _obj3
= 0;
4636 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4649 #if PYTHON_API_VERSION >= 1009
4650 char* tmpPtr
; int tmpSize
;
4651 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4655 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4657 _arg3
= new wxString(tmpPtr
, tmpSize
);
4659 if (!PyString_Check(_obj3
)) {
4660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4663 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4667 wxPy_BEGIN_ALLOW_THREADS
;
4668 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4670 wxPy_END_ALLOW_THREADS
;
4671 if (PyErr_Occurred()) return NULL
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4680 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4681 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 wxGridTableBase
* _arg0
;
4687 PyObject
* _argo0
= 0;
4688 char *_kwnames
[] = { "self","row","col", NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4701 wxPy_BEGIN_ALLOW_THREADS
;
4702 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4704 wxPy_END_ALLOW_THREADS
;
4705 if (PyErr_Occurred()) return NULL
;
4706 } _resultobj
= Py_BuildValue("l",_result
);
4710 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4711 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4714 wxGridTableBase
* _arg0
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self","row","col", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4734 wxPy_END_ALLOW_THREADS
;
4735 if (PyErr_Occurred()) return NULL
;
4736 } _resultobj
= Py_BuildValue("d",_result
);
4740 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4741 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4744 wxGridTableBase
* _arg0
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self","row","col", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4764 wxPy_END_ALLOW_THREADS
;
4765 if (PyErr_Occurred()) return NULL
;
4766 } _resultobj
= Py_BuildValue("i",_result
);
4770 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4771 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4773 wxGridTableBase
* _arg0
;
4777 PyObject
* _argo0
= 0;
4778 char *_kwnames
[] = { "self","row","col","value", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4791 wxPy_BEGIN_ALLOW_THREADS
;
4792 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4794 wxPy_END_ALLOW_THREADS
;
4795 if (PyErr_Occurred()) return NULL
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4802 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4804 wxGridTableBase
* _arg0
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self","row","col","value", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
4825 wxPy_END_ALLOW_THREADS
;
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
4833 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4835 wxGridTableBase
* _arg0
;
4839 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self","row","col","value", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
4853 _arg3
= (bool ) tempbool3
;
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
4858 wxPy_END_ALLOW_THREADS
;
4859 if (PyErr_Occurred()) return NULL
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4865 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
4866 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4868 wxGridTableBase
* _arg0
;
4869 PyObject
* _argo0
= 0;
4870 char *_kwnames
[] = { "self", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
4883 wxPy_BEGIN_ALLOW_THREADS
;
4884 wxGridTableBase_Clear(_arg0
);
4886 wxPy_END_ALLOW_THREADS
;
4887 if (PyErr_Occurred()) return NULL
;
4888 } Py_INCREF(Py_None
);
4889 _resultobj
= Py_None
;
4893 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
4894 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 wxGridTableBase
* _arg0
;
4898 size_t _arg1
= (size_t ) 0;
4899 size_t _arg2
= (size_t ) 1;
4900 PyObject
* _argo0
= 0;
4901 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
4914 wxPy_BEGIN_ALLOW_THREADS
;
4915 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
4917 wxPy_END_ALLOW_THREADS
;
4918 if (PyErr_Occurred()) return NULL
;
4919 } _resultobj
= Py_BuildValue("i",_result
);
4923 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
4924 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4927 wxGridTableBase
* _arg0
;
4928 size_t _arg1
= (size_t ) 1;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self","numRows", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
4946 wxPy_END_ALLOW_THREADS
;
4947 if (PyErr_Occurred()) return NULL
;
4948 } _resultobj
= Py_BuildValue("i",_result
);
4952 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
4953 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4956 wxGridTableBase
* _arg0
;
4957 size_t _arg1
= (size_t ) 0;
4958 size_t _arg2
= (size_t ) 1;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
4976 wxPy_END_ALLOW_THREADS
;
4977 if (PyErr_Occurred()) return NULL
;
4978 } _resultobj
= Py_BuildValue("i",_result
);
4982 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
4983 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4986 wxGridTableBase
* _arg0
;
4987 size_t _arg1
= (size_t ) 0;
4988 size_t _arg2
= (size_t ) 1;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5003 wxPy_BEGIN_ALLOW_THREADS
;
5004 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5006 wxPy_END_ALLOW_THREADS
;
5007 if (PyErr_Occurred()) return NULL
;
5008 } _resultobj
= Py_BuildValue("i",_result
);
5012 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5013 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5016 wxGridTableBase
* _arg0
;
5017 size_t _arg1
= (size_t ) 1;
5018 PyObject
* _argo0
= 0;
5019 char *_kwnames
[] = { "self","numCols", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5032 wxPy_BEGIN_ALLOW_THREADS
;
5033 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5035 wxPy_END_ALLOW_THREADS
;
5036 if (PyErr_Occurred()) return NULL
;
5037 } _resultobj
= Py_BuildValue("i",_result
);
5041 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5042 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5045 wxGridTableBase
* _arg0
;
5046 size_t _arg1
= (size_t ) 0;
5047 size_t _arg2
= (size_t ) 1;
5048 PyObject
* _argo0
= 0;
5049 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5062 wxPy_BEGIN_ALLOW_THREADS
;
5063 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5065 wxPy_END_ALLOW_THREADS
;
5066 if (PyErr_Occurred()) return NULL
;
5067 } _resultobj
= Py_BuildValue("i",_result
);
5071 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5072 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5075 wxGridTableBase
* _arg0
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self","row", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5091 wxPy_BEGIN_ALLOW_THREADS
;
5092 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5094 wxPy_END_ALLOW_THREADS
;
5095 if (PyErr_Occurred()) return NULL
;
5097 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5105 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5106 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5109 wxGridTableBase
* _arg0
;
5111 PyObject
* _argo0
= 0;
5112 char *_kwnames
[] = { "self","col", NULL
};
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5125 wxPy_BEGIN_ALLOW_THREADS
;
5126 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5128 wxPy_END_ALLOW_THREADS
;
5129 if (PyErr_Occurred()) return NULL
;
5131 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5139 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5140 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5142 wxGridTableBase
* _arg0
;
5145 PyObject
* _argo0
= 0;
5146 PyObject
* _obj2
= 0;
5147 char *_kwnames
[] = { "self","row","value", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5160 #if PYTHON_API_VERSION >= 1009
5161 char* tmpPtr
; int tmpSize
;
5162 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5166 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5168 _arg2
= new wxString(tmpPtr
, tmpSize
);
5170 if (!PyString_Check(_obj2
)) {
5171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5174 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5181 wxPy_END_ALLOW_THREADS
;
5182 if (PyErr_Occurred()) return NULL
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5192 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5193 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5195 wxGridTableBase
* _arg0
;
5198 PyObject
* _argo0
= 0;
5199 PyObject
* _obj2
= 0;
5200 char *_kwnames
[] = { "self","col","value", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5213 #if PYTHON_API_VERSION >= 1009
5214 char* tmpPtr
; int tmpSize
;
5215 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5219 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5221 _arg2
= new wxString(tmpPtr
, tmpSize
);
5223 if (!PyString_Check(_obj2
)) {
5224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5227 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5231 wxPy_BEGIN_ALLOW_THREADS
;
5232 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5234 wxPy_END_ALLOW_THREADS
;
5235 if (PyErr_Occurred()) return NULL
;
5236 } Py_INCREF(Py_None
);
5237 _resultobj
= Py_None
;
5245 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5246 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5249 wxGridTableBase
* _arg0
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5264 wxPy_BEGIN_ALLOW_THREADS
;
5265 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5267 wxPy_END_ALLOW_THREADS
;
5268 if (PyErr_Occurred()) return NULL
;
5269 } _resultobj
= Py_BuildValue("i",_result
);
5273 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5274 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxGridCellAttr
* _result
;
5277 wxGridTableBase
* _arg0
;
5280 wxGridCellAttr::wxAttrKind _arg3
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5299 wxPy_END_ALLOW_THREADS
;
5300 if (PyErr_Occurred()) return NULL
;
5302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5303 _resultobj
= Py_BuildValue("s",_ptemp
);
5306 _resultobj
= Py_None
;
5311 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5312 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5314 wxGridTableBase
* _arg0
;
5315 wxGridCellAttr
* _arg1
;
5318 PyObject
* _argo0
= 0;
5319 PyObject
* _argo1
= 0;
5320 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5343 wxPy_END_ALLOW_THREADS
;
5344 if (PyErr_Occurred()) return NULL
;
5345 } Py_INCREF(Py_None
);
5346 _resultobj
= Py_None
;
5350 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5351 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5353 wxGridTableBase
* _arg0
;
5354 wxGridCellAttr
* _arg1
;
5356 PyObject
* _argo0
= 0;
5357 PyObject
* _argo1
= 0;
5358 char *_kwnames
[] = { "self","attr","row", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5378 wxPy_BEGIN_ALLOW_THREADS
;
5379 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5381 wxPy_END_ALLOW_THREADS
;
5382 if (PyErr_Occurred()) return NULL
;
5383 } Py_INCREF(Py_None
);
5384 _resultobj
= Py_None
;
5388 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5389 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5391 wxGridTableBase
* _arg0
;
5392 wxGridCellAttr
* _arg1
;
5394 PyObject
* _argo0
= 0;
5395 PyObject
* _argo1
= 0;
5396 char *_kwnames
[] = { "self","attr","col", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5419 wxPy_END_ALLOW_THREADS
;
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5427 wxPyGridTableBase
*src
;
5428 wxGridTableBase
*dest
;
5429 src
= (wxPyGridTableBase
*) ptr
;
5430 dest
= (wxGridTableBase
*) src
;
5431 return (void *) dest
;
5434 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5435 wxPyGridTableBase
*src
;
5437 src
= (wxPyGridTableBase
*) ptr
;
5438 dest
= (wxObject
*) src
;
5439 return (void *) dest
;
5442 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5443 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5445 wxPyGridTableBase
* _result
;
5446 char *_kwnames
[] = { NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5456 wxPy_END_ALLOW_THREADS
;
5457 if (PyErr_Occurred()) return NULL
;
5459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5460 _resultobj
= Py_BuildValue("s",_ptemp
);
5463 _resultobj
= Py_None
;
5468 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5469 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5471 wxPyGridTableBase
* _arg0
;
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _obj1
= 0;
5476 PyObject
* _obj2
= 0;
5477 char *_kwnames
[] = { "self","self","_class", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5496 wxPy_BEGIN_ALLOW_THREADS
;
5497 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5499 wxPy_END_ALLOW_THREADS
;
5500 if (PyErr_Occurred()) return NULL
;
5501 } Py_INCREF(Py_None
);
5502 _resultobj
= Py_None
;
5506 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5507 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5509 wxPyGridTableBase
* _arg0
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "self", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5524 wxPy_BEGIN_ALLOW_THREADS
;
5525 wxPyGridTableBase_Destroy(_arg0
);
5527 wxPy_END_ALLOW_THREADS
;
5528 if (PyErr_Occurred()) return NULL
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5535 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5538 wxPyGridTableBase
* _arg0
;
5541 PyObject
* _argo0
= 0;
5542 char *_kwnames
[] = { "self","row","col", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5555 wxPy_BEGIN_ALLOW_THREADS
;
5556 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5558 wxPy_END_ALLOW_THREADS
;
5559 if (PyErr_Occurred()) return NULL
;
5561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5569 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5570 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5573 wxPyGridTableBase
* _arg0
;
5577 PyObject
* _argo0
= 0;
5578 PyObject
* _obj3
= 0;
5579 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5592 #if PYTHON_API_VERSION >= 1009
5593 char* tmpPtr
; int tmpSize
;
5594 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5598 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5600 _arg3
= new wxString(tmpPtr
, tmpSize
);
5602 if (!PyString_Check(_obj3
)) {
5603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5606 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5610 wxPy_BEGIN_ALLOW_THREADS
;
5611 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5613 wxPy_END_ALLOW_THREADS
;
5614 if (PyErr_Occurred()) return NULL
;
5615 } _resultobj
= Py_BuildValue("i",_result
);
5623 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5624 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5627 wxPyGridTableBase
* _arg0
;
5631 PyObject
* _argo0
= 0;
5632 PyObject
* _obj3
= 0;
5633 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5646 #if PYTHON_API_VERSION >= 1009
5647 char* tmpPtr
; int tmpSize
;
5648 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5652 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5654 _arg3
= new wxString(tmpPtr
, tmpSize
);
5656 if (!PyString_Check(_obj3
)) {
5657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5660 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5664 wxPy_BEGIN_ALLOW_THREADS
;
5665 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5667 wxPy_END_ALLOW_THREADS
;
5668 if (PyErr_Occurred()) return NULL
;
5669 } _resultobj
= Py_BuildValue("i",_result
);
5677 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5678 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
* _resultobj
;
5680 wxPyGridTableBase
* _arg0
;
5681 PyObject
* _argo0
= 0;
5682 char *_kwnames
[] = { "self", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5695 wxPy_BEGIN_ALLOW_THREADS
;
5696 wxPyGridTableBase_base_Clear(_arg0
);
5698 wxPy_END_ALLOW_THREADS
;
5699 if (PyErr_Occurred()) return NULL
;
5700 } Py_INCREF(Py_None
);
5701 _resultobj
= Py_None
;
5705 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5706 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
* _resultobj
;
5709 wxPyGridTableBase
* _arg0
;
5710 size_t _arg1
= (size_t ) 0;
5711 size_t _arg2
= (size_t ) 1;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5729 wxPy_END_ALLOW_THREADS
;
5730 if (PyErr_Occurred()) return NULL
;
5731 } _resultobj
= Py_BuildValue("i",_result
);
5735 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5736 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5739 wxPyGridTableBase
* _arg0
;
5740 size_t _arg1
= (size_t ) 1;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self","numRows", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5755 wxPy_BEGIN_ALLOW_THREADS
;
5756 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5758 wxPy_END_ALLOW_THREADS
;
5759 if (PyErr_Occurred()) return NULL
;
5760 } _resultobj
= Py_BuildValue("i",_result
);
5764 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5765 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5768 wxPyGridTableBase
* _arg0
;
5769 size_t _arg1
= (size_t ) 0;
5770 size_t _arg2
= (size_t ) 1;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5785 wxPy_BEGIN_ALLOW_THREADS
;
5786 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5788 wxPy_END_ALLOW_THREADS
;
5789 if (PyErr_Occurred()) return NULL
;
5790 } _resultobj
= Py_BuildValue("i",_result
);
5794 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5795 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5798 wxPyGridTableBase
* _arg0
;
5799 size_t _arg1
= (size_t ) 0;
5800 size_t _arg2
= (size_t ) 1;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5815 wxPy_BEGIN_ALLOW_THREADS
;
5816 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5818 wxPy_END_ALLOW_THREADS
;
5819 if (PyErr_Occurred()) return NULL
;
5820 } _resultobj
= Py_BuildValue("i",_result
);
5824 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5825 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5828 wxPyGridTableBase
* _arg0
;
5829 size_t _arg1
= (size_t ) 1;
5830 PyObject
* _argo0
= 0;
5831 char *_kwnames
[] = { "self","numCols", NULL
};
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5844 wxPy_BEGIN_ALLOW_THREADS
;
5845 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5847 wxPy_END_ALLOW_THREADS
;
5848 if (PyErr_Occurred()) return NULL
;
5849 } _resultobj
= Py_BuildValue("i",_result
);
5853 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5854 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5857 wxPyGridTableBase
* _arg0
;
5858 size_t _arg1
= (size_t ) 0;
5859 size_t _arg2
= (size_t ) 1;
5860 PyObject
* _argo0
= 0;
5861 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
5874 wxPy_BEGIN_ALLOW_THREADS
;
5875 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
5877 wxPy_END_ALLOW_THREADS
;
5878 if (PyErr_Occurred()) return NULL
;
5879 } _resultobj
= Py_BuildValue("i",_result
);
5883 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
5884 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
* _resultobj
;
5887 wxPyGridTableBase
* _arg0
;
5889 PyObject
* _argo0
= 0;
5890 char *_kwnames
[] = { "self","row", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
5903 wxPy_BEGIN_ALLOW_THREADS
;
5904 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
5906 wxPy_END_ALLOW_THREADS
;
5907 if (PyErr_Occurred()) return NULL
;
5909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5917 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
5918 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5921 wxPyGridTableBase
* _arg0
;
5923 PyObject
* _argo0
= 0;
5924 char *_kwnames
[] = { "self","col", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
5940 wxPy_END_ALLOW_THREADS
;
5941 if (PyErr_Occurred()) return NULL
;
5943 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5951 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
5952 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxPyGridTableBase
* _arg0
;
5957 PyObject
* _argo0
= 0;
5958 PyObject
* _obj2
= 0;
5959 char *_kwnames
[] = { "self","row","value", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
5972 #if PYTHON_API_VERSION >= 1009
5973 char* tmpPtr
; int tmpSize
;
5974 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5978 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5980 _arg2
= new wxString(tmpPtr
, tmpSize
);
5982 if (!PyString_Check(_obj2
)) {
5983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5986 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5993 wxPy_END_ALLOW_THREADS
;
5994 if (PyErr_Occurred()) return NULL
;
5995 } Py_INCREF(Py_None
);
5996 _resultobj
= Py_None
;
6004 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6005 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6007 wxPyGridTableBase
* _arg0
;
6010 PyObject
* _argo0
= 0;
6011 PyObject
* _obj2
= 0;
6012 char *_kwnames
[] = { "self","col","value", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6025 #if PYTHON_API_VERSION >= 1009
6026 char* tmpPtr
; int tmpSize
;
6027 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6031 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6033 _arg2
= new wxString(tmpPtr
, tmpSize
);
6035 if (!PyString_Check(_obj2
)) {
6036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6039 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6043 wxPy_BEGIN_ALLOW_THREADS
;
6044 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6046 wxPy_END_ALLOW_THREADS
;
6047 if (PyErr_Occurred()) return NULL
;
6048 } Py_INCREF(Py_None
);
6049 _resultobj
= Py_None
;
6057 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6058 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
* _resultobj
;
6061 wxPyGridTableBase
* _arg0
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6076 wxPy_BEGIN_ALLOW_THREADS
;
6077 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6079 wxPy_END_ALLOW_THREADS
;
6080 if (PyErr_Occurred()) return NULL
;
6081 } _resultobj
= Py_BuildValue("i",_result
);
6085 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6086 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6088 wxGridCellAttr
* _result
;
6089 wxPyGridTableBase
* _arg0
;
6092 wxGridCellAttr::wxAttrKind _arg3
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6108 wxPy_BEGIN_ALLOW_THREADS
;
6109 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6111 wxPy_END_ALLOW_THREADS
;
6112 if (PyErr_Occurred()) return NULL
;
6114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6115 _resultobj
= Py_BuildValue("s",_ptemp
);
6118 _resultobj
= Py_None
;
6123 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6124 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6126 wxPyGridTableBase
* _arg0
;
6127 wxGridCellAttr
* _arg1
;
6130 PyObject
* _argo0
= 0;
6131 PyObject
* _argo1
= 0;
6132 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6155 wxPy_END_ALLOW_THREADS
;
6156 if (PyErr_Occurred()) return NULL
;
6157 } Py_INCREF(Py_None
);
6158 _resultobj
= Py_None
;
6162 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6163 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxPyGridTableBase
* _arg0
;
6166 wxGridCellAttr
* _arg1
;
6168 PyObject
* _argo0
= 0;
6169 PyObject
* _argo1
= 0;
6170 char *_kwnames
[] = { "self","attr","row", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6190 wxPy_BEGIN_ALLOW_THREADS
;
6191 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6193 wxPy_END_ALLOW_THREADS
;
6194 if (PyErr_Occurred()) return NULL
;
6195 } Py_INCREF(Py_None
);
6196 _resultobj
= Py_None
;
6200 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6201 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
* _resultobj
;
6203 wxPyGridTableBase
* _arg0
;
6204 wxGridCellAttr
* _arg1
;
6206 PyObject
* _argo0
= 0;
6207 PyObject
* _argo1
= 0;
6208 char *_kwnames
[] = { "self","attr","col", NULL
};
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6221 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6228 wxPy_BEGIN_ALLOW_THREADS
;
6229 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6231 wxPy_END_ALLOW_THREADS
;
6232 if (PyErr_Occurred()) return NULL
;
6233 } Py_INCREF(Py_None
);
6234 _resultobj
= Py_None
;
6238 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6239 wxGridStringTable
*src
;
6240 wxGridTableBase
*dest
;
6241 src
= (wxGridStringTable
*) ptr
;
6242 dest
= (wxGridTableBase
*) src
;
6243 return (void *) dest
;
6246 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6247 wxGridStringTable
*src
;
6249 src
= (wxGridStringTable
*) ptr
;
6250 dest
= (wxObject
*) src
;
6251 return (void *) dest
;
6254 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6255 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxGridStringTable
* _result
;
6258 int _arg0
= (int ) 0;
6259 int _arg1
= (int ) 0;
6260 char *_kwnames
[] = { "numRows","numCols", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6267 wxPy_BEGIN_ALLOW_THREADS
;
6268 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6270 wxPy_END_ALLOW_THREADS
;
6271 if (PyErr_Occurred()) return NULL
;
6273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6274 _resultobj
= Py_BuildValue("s",_ptemp
);
6277 _resultobj
= Py_None
;
6282 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6283 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6285 wxGridTableMessage
* _result
;
6286 wxGridTableBase
* _arg0
;
6288 int _arg2
= (int ) -1;
6289 int _arg3
= (int ) -1;
6290 PyObject
* _argo0
= 0;
6291 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6308 wxPy_END_ALLOW_THREADS
;
6309 if (PyErr_Occurred()) return NULL
;
6311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6312 _resultobj
= Py_BuildValue("s",_ptemp
);
6315 _resultobj
= Py_None
;
6320 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6321 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxGridTableMessage
* _arg0
;
6324 PyObject
* _argo0
= 0;
6325 char *_kwnames
[] = { "self", NULL
};
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6338 wxPy_BEGIN_ALLOW_THREADS
;
6339 delete_wxGridTableMessage(_arg0
);
6341 wxPy_END_ALLOW_THREADS
;
6342 if (PyErr_Occurred()) return NULL
;
6343 } Py_INCREF(Py_None
);
6344 _resultobj
= Py_None
;
6348 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6349 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxGridTableMessage
* _arg0
;
6352 wxGridTableBase
* _arg1
;
6353 PyObject
* _argo0
= 0;
6354 PyObject
* _argo1
= 0;
6355 char *_kwnames
[] = { "self","table", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6375 wxPy_BEGIN_ALLOW_THREADS
;
6376 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6378 wxPy_END_ALLOW_THREADS
;
6379 if (PyErr_Occurred()) return NULL
;
6380 } Py_INCREF(Py_None
);
6381 _resultobj
= Py_None
;
6385 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6386 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6388 wxGridTableBase
* _result
;
6389 wxGridTableMessage
* _arg0
;
6390 PyObject
* _argo0
= 0;
6391 char *_kwnames
[] = { "self", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6404 wxPy_BEGIN_ALLOW_THREADS
;
6405 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6407 wxPy_END_ALLOW_THREADS
;
6408 if (PyErr_Occurred()) return NULL
;
6409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6413 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6414 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6416 wxGridTableMessage
* _arg0
;
6418 PyObject
* _argo0
= 0;
6419 char *_kwnames
[] = { "self","id", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6432 wxPy_BEGIN_ALLOW_THREADS
;
6433 wxGridTableMessage_SetId(_arg0
,_arg1
);
6435 wxPy_END_ALLOW_THREADS
;
6436 if (PyErr_Occurred()) return NULL
;
6437 } Py_INCREF(Py_None
);
6438 _resultobj
= Py_None
;
6442 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6443 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6446 wxGridTableMessage
* _arg0
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 if (PyErr_Occurred()) return NULL
;
6466 } _resultobj
= Py_BuildValue("i",_result
);
6470 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6471 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6473 wxGridTableMessage
* _arg0
;
6475 PyObject
* _argo0
= 0;
6476 char *_kwnames
[] = { "self","comInt1", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6489 wxPy_BEGIN_ALLOW_THREADS
;
6490 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6492 wxPy_END_ALLOW_THREADS
;
6493 if (PyErr_Occurred()) return NULL
;
6494 } Py_INCREF(Py_None
);
6495 _resultobj
= Py_None
;
6499 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6500 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6503 wxGridTableMessage
* _arg0
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6518 wxPy_BEGIN_ALLOW_THREADS
;
6519 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6521 wxPy_END_ALLOW_THREADS
;
6522 if (PyErr_Occurred()) return NULL
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6528 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6530 wxGridTableMessage
* _arg0
;
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self","comInt2", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6546 wxPy_BEGIN_ALLOW_THREADS
;
6547 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6549 wxPy_END_ALLOW_THREADS
;
6550 if (PyErr_Occurred()) return NULL
;
6551 } Py_INCREF(Py_None
);
6552 _resultobj
= Py_None
;
6556 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6557 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6560 wxGridTableMessage
* _arg0
;
6561 PyObject
* _argo0
= 0;
6562 char *_kwnames
[] = { "self", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6575 wxPy_BEGIN_ALLOW_THREADS
;
6576 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6578 wxPy_END_ALLOW_THREADS
;
6579 if (PyErr_Occurred()) return NULL
;
6580 } _resultobj
= Py_BuildValue("i",_result
);
6584 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6585 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6587 wxGridCellCoords
* _result
;
6588 int _arg0
= (int ) -1;
6589 int _arg1
= (int ) -1;
6590 char *_kwnames
[] = { "r","c", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6597 wxPy_BEGIN_ALLOW_THREADS
;
6598 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6600 wxPy_END_ALLOW_THREADS
;
6601 if (PyErr_Occurred()) return NULL
;
6603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6604 _resultobj
= Py_BuildValue("s",_ptemp
);
6607 _resultobj
= Py_None
;
6612 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6613 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6615 wxGridCellCoords
* _arg0
;
6616 PyObject
* _argo0
= 0;
6617 char *_kwnames
[] = { "self", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6630 wxPy_BEGIN_ALLOW_THREADS
;
6631 delete_wxGridCellCoords(_arg0
);
6633 wxPy_END_ALLOW_THREADS
;
6634 if (PyErr_Occurred()) return NULL
;
6635 } Py_INCREF(Py_None
);
6636 _resultobj
= Py_None
;
6640 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6641 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6644 wxGridCellCoords
* _arg0
;
6645 PyObject
* _argo0
= 0;
6646 char *_kwnames
[] = { "self", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6659 wxPy_BEGIN_ALLOW_THREADS
;
6660 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6662 wxPy_END_ALLOW_THREADS
;
6663 if (PyErr_Occurred()) return NULL
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6669 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6671 wxGridCellCoords
* _arg0
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self","n", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6687 wxPy_BEGIN_ALLOW_THREADS
;
6688 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6690 wxPy_END_ALLOW_THREADS
;
6691 if (PyErr_Occurred()) return NULL
;
6692 } Py_INCREF(Py_None
);
6693 _resultobj
= Py_None
;
6697 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6698 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
* _resultobj
;
6701 wxGridCellCoords
* _arg0
;
6702 PyObject
* _argo0
= 0;
6703 char *_kwnames
[] = { "self", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6716 wxPy_BEGIN_ALLOW_THREADS
;
6717 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6719 wxPy_END_ALLOW_THREADS
;
6720 if (PyErr_Occurred()) return NULL
;
6721 } _resultobj
= Py_BuildValue("i",_result
);
6725 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6726 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
* _resultobj
;
6728 wxGridCellCoords
* _arg0
;
6730 PyObject
* _argo0
= 0;
6731 char *_kwnames
[] = { "self","n", NULL
};
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6744 wxPy_BEGIN_ALLOW_THREADS
;
6745 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6747 wxPy_END_ALLOW_THREADS
;
6748 if (PyErr_Occurred()) return NULL
;
6749 } Py_INCREF(Py_None
);
6750 _resultobj
= Py_None
;
6754 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6755 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6757 wxGridCellCoords
* _arg0
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self","row","col", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6774 wxPy_BEGIN_ALLOW_THREADS
;
6775 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6777 wxPy_END_ALLOW_THREADS
;
6778 if (PyErr_Occurred()) return NULL
;
6779 } Py_INCREF(Py_None
);
6780 _resultobj
= Py_None
;
6784 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6785 PyObject
* tup
= PyTuple_New(2);
6786 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6787 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6790 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6793 wxGridCellCoords
* _arg0
;
6794 PyObject
* _argo0
= 0;
6795 char *_kwnames
[] = { "self", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6808 wxPy_BEGIN_ALLOW_THREADS
;
6809 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6811 wxPy_END_ALLOW_THREADS
;
6812 if (PyErr_Occurred()) return NULL
;
6814 _resultobj
= _result
;
6819 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6820 return *self
!= other
;
6822 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6825 wxGridCellCoords
* _arg0
;
6826 wxGridCellCoords
* _arg1
;
6827 PyObject
* _argo0
= 0;
6828 PyObject
* _argo1
= 0;
6829 char *_kwnames
[] = { "self","other", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6849 wxPy_BEGIN_ALLOW_THREADS
;
6850 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6852 wxPy_END_ALLOW_THREADS
;
6853 if (PyErr_Occurred()) return NULL
;
6854 } _resultobj
= Py_BuildValue("i",_result
);
6858 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6860 wxScrolledWindow
*dest
;
6861 src
= (wxGrid
*) ptr
;
6862 dest
= (wxScrolledWindow
*) src
;
6863 return (void *) dest
;
6866 static void *SwigwxGridTowxPanel(void *ptr
) {
6869 src
= (wxGrid
*) ptr
;
6870 dest
= (wxPanel
*) src
;
6871 return (void *) dest
;
6874 static void *SwigwxGridTowxWindow(void *ptr
) {
6877 src
= (wxGrid
*) ptr
;
6878 dest
= (wxWindow
*) src
;
6879 return (void *) dest
;
6882 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
6885 src
= (wxGrid
*) ptr
;
6886 dest
= (wxEvtHandler
*) src
;
6887 return (void *) dest
;
6890 static void *SwigwxGridTowxObject(void *ptr
) {
6893 src
= (wxGrid
*) ptr
;
6894 dest
= (wxObject
*) src
;
6895 return (void *) dest
;
6898 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6899 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6904 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6905 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6906 long _arg4
= (long ) wxWANTS_CHARS
;
6907 char * _arg5
= (char *) wxPanelNameStr
;
6908 PyObject
* _argo0
= 0;
6910 PyObject
* _obj2
= 0;
6912 PyObject
* _obj3
= 0;
6913 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
6929 if (! wxPoint_helper(_obj2
, &_arg2
))
6935 if (! wxSize_helper(_obj3
, &_arg3
))
6939 wxPy_BEGIN_ALLOW_THREADS
;
6940 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6942 wxPy_END_ALLOW_THREADS
;
6943 if (PyErr_Occurred()) return NULL
;
6945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
6946 _resultobj
= Py_BuildValue("s",_ptemp
);
6949 _resultobj
= Py_None
;
6954 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
6955 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6961 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
6976 wxPy_BEGIN_ALLOW_THREADS
;
6977 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
6979 wxPy_END_ALLOW_THREADS
;
6980 if (PyErr_Occurred()) return NULL
;
6981 } _resultobj
= Py_BuildValue("i",_result
);
6985 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
6986 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6989 WXGRIDSELECTIONMODES _arg1
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self","selmode", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7007 wxPy_END_ALLOW_THREADS
;
7008 if (PyErr_Occurred()) return NULL
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7014 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7015 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7019 PyObject
* _argo0
= 0;
7020 char *_kwnames
[] = { "self", NULL
};
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7033 wxPy_BEGIN_ALLOW_THREADS
;
7034 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7036 wxPy_END_ALLOW_THREADS
;
7037 if (PyErr_Occurred()) return NULL
;
7038 } _resultobj
= Py_BuildValue("i",_result
);
7042 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7043 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7061 wxPy_BEGIN_ALLOW_THREADS
;
7062 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7064 wxPy_END_ALLOW_THREADS
;
7065 if (PyErr_Occurred()) return NULL
;
7066 } _resultobj
= Py_BuildValue("i",_result
);
7070 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7071 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 wxGridTableMessage
* _arg1
;
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _argo1
= 0;
7078 char *_kwnames
[] = { "self","arg2", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
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_ProcessTableMessage. Expected _wxGrid_p.");
7091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7098 wxPy_BEGIN_ALLOW_THREADS
;
7099 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7101 wxPy_END_ALLOW_THREADS
;
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7108 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7110 wxGridTableBase
* _result
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7126 wxPy_BEGIN_ALLOW_THREADS
;
7127 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7129 wxPy_END_ALLOW_THREADS
;
7130 if (PyErr_Occurred()) return NULL
;
7131 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7135 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7136 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7140 wxGridTableBase
* _arg1
;
7141 bool _arg2
= (bool ) FALSE
;
7142 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7143 PyObject
* _argo0
= 0;
7144 PyObject
* _argo1
= 0;
7145 int tempbool2
= (int) FALSE
;
7146 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7159 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7165 _arg2
= (bool ) tempbool2
;
7167 wxPy_BEGIN_ALLOW_THREADS
;
7168 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7170 wxPy_END_ALLOW_THREADS
;
7171 if (PyErr_Occurred()) return NULL
;
7172 } _resultobj
= Py_BuildValue("i",_result
);
7176 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7177 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7180 PyObject
* _argo0
= 0;
7181 char *_kwnames
[] = { "self", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7194 wxPy_BEGIN_ALLOW_THREADS
;
7195 wxGrid_ClearGrid(_arg0
);
7197 wxPy_END_ALLOW_THREADS
;
7198 if (PyErr_Occurred()) return NULL
;
7199 } Py_INCREF(Py_None
);
7200 _resultobj
= Py_None
;
7204 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7205 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7209 int _arg1
= (int ) 0;
7210 int _arg2
= (int ) 1;
7211 bool _arg3
= (bool ) TRUE
;
7212 PyObject
* _argo0
= 0;
7213 int tempbool3
= (int) TRUE
;
7214 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7226 _arg3
= (bool ) tempbool3
;
7228 wxPy_BEGIN_ALLOW_THREADS
;
7229 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7231 wxPy_END_ALLOW_THREADS
;
7232 if (PyErr_Occurred()) return NULL
;
7233 } _resultobj
= Py_BuildValue("i",_result
);
7237 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7238 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7242 int _arg1
= (int ) 1;
7243 bool _arg2
= (bool ) TRUE
;
7244 PyObject
* _argo0
= 0;
7245 int tempbool2
= (int) TRUE
;
7246 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7258 _arg2
= (bool ) tempbool2
;
7260 wxPy_BEGIN_ALLOW_THREADS
;
7261 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7263 wxPy_END_ALLOW_THREADS
;
7264 if (PyErr_Occurred()) return NULL
;
7265 } _resultobj
= Py_BuildValue("i",_result
);
7269 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7270 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 int _arg1
= (int ) 0;
7275 int _arg2
= (int ) 1;
7276 bool _arg3
= (bool ) TRUE
;
7277 PyObject
* _argo0
= 0;
7278 int tempbool3
= (int) TRUE
;
7279 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7291 _arg3
= (bool ) tempbool3
;
7293 wxPy_BEGIN_ALLOW_THREADS
;
7294 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7296 wxPy_END_ALLOW_THREADS
;
7297 if (PyErr_Occurred()) return NULL
;
7298 } _resultobj
= Py_BuildValue("i",_result
);
7302 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7303 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
* _resultobj
;
7307 int _arg1
= (int ) 0;
7308 int _arg2
= (int ) 1;
7309 bool _arg3
= (bool ) TRUE
;
7310 PyObject
* _argo0
= 0;
7311 int tempbool3
= (int) TRUE
;
7312 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7324 _arg3
= (bool ) tempbool3
;
7326 wxPy_BEGIN_ALLOW_THREADS
;
7327 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7329 wxPy_END_ALLOW_THREADS
;
7330 if (PyErr_Occurred()) return NULL
;
7331 } _resultobj
= Py_BuildValue("i",_result
);
7335 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7336 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7340 int _arg1
= (int ) 1;
7341 bool _arg2
= (bool ) TRUE
;
7342 PyObject
* _argo0
= 0;
7343 int tempbool2
= (int) TRUE
;
7344 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7356 _arg2
= (bool ) tempbool2
;
7358 wxPy_BEGIN_ALLOW_THREADS
;
7359 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7361 wxPy_END_ALLOW_THREADS
;
7362 if (PyErr_Occurred()) return NULL
;
7363 } _resultobj
= Py_BuildValue("i",_result
);
7367 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7368 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
* _resultobj
;
7372 int _arg1
= (int ) 0;
7373 int _arg2
= (int ) 1;
7374 bool _arg3
= (bool ) TRUE
;
7375 PyObject
* _argo0
= 0;
7376 int tempbool3
= (int) TRUE
;
7377 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
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_DeleteCols. Expected _wxGrid_p.");
7389 _arg3
= (bool ) tempbool3
;
7391 wxPy_BEGIN_ALLOW_THREADS
;
7392 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7394 wxPy_END_ALLOW_THREADS
;
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7401 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 wxGridCellAttr
* _arg2
;
7406 PyObject
* _argo0
= 0;
7407 PyObject
* _argo1
= 0;
7408 PyObject
* _argo2
= 0;
7409 char *_kwnames
[] = { "self","dc","attr", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7429 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7436 wxPy_BEGIN_ALLOW_THREADS
;
7437 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7439 wxPy_END_ALLOW_THREADS
;
7440 if (PyErr_Occurred()) return NULL
;
7441 } Py_INCREF(Py_None
);
7442 _resultobj
= Py_None
;
7446 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7447 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7453 int _arg4
= (int ) wxLEFT
;
7454 int _arg5
= (int ) wxTOP
;
7455 PyObject
* _argo0
= 0;
7456 PyObject
* _argo1
= 0;
7457 PyObject
* _obj2
= 0;
7459 PyObject
* _obj3
= 0;
7460 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7480 #if PYTHON_API_VERSION >= 1009
7481 char* tmpPtr
; int tmpSize
;
7482 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7486 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7488 _arg2
= new wxString(tmpPtr
, tmpSize
);
7490 if (!PyString_Check(_obj2
)) {
7491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7494 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7499 if (! wxRect_helper(_obj3
, &_arg3
))
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7506 wxPy_END_ALLOW_THREADS
;
7507 if (PyErr_Occurred()) return NULL
;
7508 } Py_INCREF(Py_None
);
7509 _resultobj
= Py_None
;
7517 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7518 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 wxArrayString
* _arg2
;
7523 PyObject
* _argo0
= 0;
7524 PyObject
* _obj1
= 0;
7525 PyObject
* _argo2
= 0;
7526 char *_kwnames
[] = { "self","value","lines", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7539 #if PYTHON_API_VERSION >= 1009
7540 char* tmpPtr
; int tmpSize
;
7541 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7545 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7547 _arg1
= new wxString(tmpPtr
, tmpSize
);
7549 if (!PyString_Check(_obj1
)) {
7550 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7553 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7557 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7564 wxPy_BEGIN_ALLOW_THREADS
;
7565 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7567 wxPy_END_ALLOW_THREADS
;
7568 if (PyErr_Occurred()) return NULL
;
7569 } Py_INCREF(Py_None
);
7570 _resultobj
= Py_None
;
7578 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7579 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7583 wxArrayString
* _arg2
;
7588 PyObject
* _argo0
= 0;
7589 PyObject
* _argo1
= 0;
7590 PyObject
* _argo2
= 0;
7591 char *_kwnames
[] = { "self","dc","lines", NULL
};
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7617 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7624 wxPy_BEGIN_ALLOW_THREADS
;
7625 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7627 wxPy_END_ALLOW_THREADS
;
7628 if (PyErr_Occurred()) return NULL
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7633 o
= PyInt_FromLong((long) (*_arg3
));
7634 _resultobj
= t_output_helper(_resultobj
, o
);
7638 o
= PyInt_FromLong((long) (*_arg4
));
7639 _resultobj
= t_output_helper(_resultobj
, o
);
7644 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7645 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7662 wxPy_BEGIN_ALLOW_THREADS
;
7663 wxGrid_BeginBatch(_arg0
);
7665 wxPy_END_ALLOW_THREADS
;
7666 if (PyErr_Occurred()) return NULL
;
7667 } Py_INCREF(Py_None
);
7668 _resultobj
= Py_None
;
7672 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7673 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7690 wxPy_BEGIN_ALLOW_THREADS
;
7691 wxGrid_EndBatch(_arg0
);
7693 wxPy_END_ALLOW_THREADS
;
7694 if (PyErr_Occurred()) return NULL
;
7695 } Py_INCREF(Py_None
);
7696 _resultobj
= Py_None
;
7700 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7701 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
* _resultobj
;
7705 PyObject
* _argo0
= 0;
7706 char *_kwnames
[] = { "self", NULL
};
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7719 wxPy_BEGIN_ALLOW_THREADS
;
7720 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7722 wxPy_END_ALLOW_THREADS
;
7723 if (PyErr_Occurred()) return NULL
;
7724 } _resultobj
= Py_BuildValue("i",_result
);
7728 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7729 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7733 PyObject
* _argo0
= 0;
7734 char *_kwnames
[] = { "self", NULL
};
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_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_IsEditable. Expected _wxGrid_p.");
7747 wxPy_BEGIN_ALLOW_THREADS
;
7748 _result
= (bool )wxGrid_IsEditable(_arg0
);
7750 wxPy_END_ALLOW_THREADS
;
7751 if (PyErr_Occurred()) return NULL
;
7752 } _resultobj
= Py_BuildValue("i",_result
);
7756 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7757 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7761 PyObject
* _argo0
= 0;
7763 char *_kwnames
[] = { "self","edit", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7775 _arg1
= (bool ) tempbool1
;
7777 wxPy_BEGIN_ALLOW_THREADS
;
7778 wxGrid_EnableEditing(_arg0
,_arg1
);
7780 wxPy_END_ALLOW_THREADS
;
7781 if (PyErr_Occurred()) return NULL
;
7782 } Py_INCREF(Py_None
);
7783 _resultobj
= Py_None
;
7787 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7788 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
* _resultobj
;
7791 bool _arg1
= (bool ) TRUE
;
7792 PyObject
* _argo0
= 0;
7793 int tempbool1
= (int) TRUE
;
7794 char *_kwnames
[] = { "self","enable", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7806 _arg1
= (bool ) tempbool1
;
7808 wxPy_BEGIN_ALLOW_THREADS
;
7809 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7811 wxPy_END_ALLOW_THREADS
;
7812 if (PyErr_Occurred()) return NULL
;
7813 } Py_INCREF(Py_None
);
7814 _resultobj
= Py_None
;
7818 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7819 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
* _resultobj
;
7822 PyObject
* _argo0
= 0;
7823 char *_kwnames
[] = { "self", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 wxGrid_DisableCellEditControl(_arg0
);
7839 wxPy_END_ALLOW_THREADS
;
7840 if (PyErr_Occurred()) return NULL
;
7841 } Py_INCREF(Py_None
);
7842 _resultobj
= Py_None
;
7846 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7847 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7851 PyObject
* _argo0
= 0;
7852 char *_kwnames
[] = { "self", NULL
};
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7865 wxPy_BEGIN_ALLOW_THREADS
;
7866 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7868 wxPy_END_ALLOW_THREADS
;
7869 if (PyErr_Occurred()) return NULL
;
7870 } _resultobj
= Py_BuildValue("i",_result
);
7874 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7875 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7879 PyObject
* _argo0
= 0;
7880 char *_kwnames
[] = { "self", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7893 wxPy_BEGIN_ALLOW_THREADS
;
7894 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7896 wxPy_END_ALLOW_THREADS
;
7897 if (PyErr_Occurred()) return NULL
;
7898 } _resultobj
= Py_BuildValue("i",_result
);
7902 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7903 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
* _resultobj
;
7907 PyObject
* _argo0
= 0;
7908 char *_kwnames
[] = { "self", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
7914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
7921 wxPy_BEGIN_ALLOW_THREADS
;
7922 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7924 wxPy_END_ALLOW_THREADS
;
7925 if (PyErr_Occurred()) return NULL
;
7926 } _resultobj
= Py_BuildValue("i",_result
);
7930 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7931 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
* _resultobj
;
7935 PyObject
* _argo0
= 0;
7936 char *_kwnames
[] = { "self", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7949 wxPy_BEGIN_ALLOW_THREADS
;
7950 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7952 wxPy_END_ALLOW_THREADS
;
7953 if (PyErr_Occurred()) return NULL
;
7954 } _resultobj
= Py_BuildValue("i",_result
);
7958 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7959 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
* _resultobj
;
7962 PyObject
* _argo0
= 0;
7963 char *_kwnames
[] = { "self", NULL
};
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
7969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
7976 wxPy_BEGIN_ALLOW_THREADS
;
7977 wxGrid_ShowCellEditControl(_arg0
);
7979 wxPy_END_ALLOW_THREADS
;
7980 if (PyErr_Occurred()) return NULL
;
7981 } Py_INCREF(Py_None
);
7982 _resultobj
= Py_None
;
7986 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
7987 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
* _resultobj
;
7990 PyObject
* _argo0
= 0;
7991 char *_kwnames
[] = { "self", NULL
};
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
7997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8004 wxPy_BEGIN_ALLOW_THREADS
;
8005 wxGrid_HideCellEditControl(_arg0
);
8007 wxPy_END_ALLOW_THREADS
;
8008 if (PyErr_Occurred()) return NULL
;
8009 } Py_INCREF(Py_None
);
8010 _resultobj
= Py_None
;
8014 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8015 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8018 PyObject
* _argo0
= 0;
8019 char *_kwnames
[] = { "self", NULL
};
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8032 wxPy_BEGIN_ALLOW_THREADS
;
8033 wxGrid_SaveEditControlValue(_arg0
);
8035 wxPy_END_ALLOW_THREADS
;
8036 if (PyErr_Occurred()) return NULL
;
8037 } Py_INCREF(Py_None
);
8038 _resultobj
= Py_None
;
8042 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8043 wxGridCellCoords rv
;
8044 self
->XYToCell(x
, y
, rv
);
8045 return new wxGridCellCoords(rv
);
8047 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
* _resultobj
;
8049 wxGridCellCoords
* _result
;
8053 PyObject
* _argo0
= 0;
8054 char *_kwnames
[] = { "self","x","y", NULL
};
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8068 wxPy_BEGIN_ALLOW_THREADS
;
8069 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8071 wxPy_END_ALLOW_THREADS
;
8072 if (PyErr_Occurred()) return NULL
;
8074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8075 _resultobj
= Py_BuildValue("s",_ptemp
);
8078 _resultobj
= Py_None
;
8083 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8084 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
* _resultobj
;
8089 PyObject
* _argo0
= 0;
8090 char *_kwnames
[] = { "self","y", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8103 wxPy_BEGIN_ALLOW_THREADS
;
8104 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8106 wxPy_END_ALLOW_THREADS
;
8107 if (PyErr_Occurred()) return NULL
;
8108 } _resultobj
= Py_BuildValue("i",_result
);
8112 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8113 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8118 PyObject
* _argo0
= 0;
8119 char *_kwnames
[] = { "self","x", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8132 wxPy_BEGIN_ALLOW_THREADS
;
8133 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8135 wxPy_END_ALLOW_THREADS
;
8136 if (PyErr_Occurred()) return NULL
;
8137 } _resultobj
= Py_BuildValue("i",_result
);
8141 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8142 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
* _resultobj
;
8147 PyObject
* _argo0
= 0;
8148 char *_kwnames
[] = { "self","y", NULL
};
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8161 wxPy_BEGIN_ALLOW_THREADS
;
8162 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8164 wxPy_END_ALLOW_THREADS
;
8165 if (PyErr_Occurred()) return NULL
;
8166 } _resultobj
= Py_BuildValue("i",_result
);
8170 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8171 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
* _resultobj
;
8176 PyObject
* _argo0
= 0;
8177 char *_kwnames
[] = { "self","x", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8190 wxPy_BEGIN_ALLOW_THREADS
;
8191 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8193 wxPy_END_ALLOW_THREADS
;
8194 if (PyErr_Occurred()) return NULL
;
8195 } _resultobj
= Py_BuildValue("i",_result
);
8199 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8200 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8206 PyObject
* _argo0
= 0;
8207 char *_kwnames
[] = { "self","row","col", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8224 wxPy_END_ALLOW_THREADS
;
8225 if (PyErr_Occurred()) return NULL
;
8226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8227 _resultobj
= Py_BuildValue("s",_ptemp
);
8231 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8232 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
* _resultobj
;
8236 PyObject
* _argo0
= 0;
8237 char *_kwnames
[] = { "self", NULL
};
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8250 wxPy_BEGIN_ALLOW_THREADS
;
8251 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8253 wxPy_END_ALLOW_THREADS
;
8254 if (PyErr_Occurred()) return NULL
;
8255 } _resultobj
= Py_BuildValue("i",_result
);
8259 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8260 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
* _resultobj
;
8264 PyObject
* _argo0
= 0;
8265 char *_kwnames
[] = { "self", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
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_GetGridCursorCol. Expected _wxGrid_p.");
8278 wxPy_BEGIN_ALLOW_THREADS
;
8279 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8281 wxPy_END_ALLOW_THREADS
;
8282 if (PyErr_Occurred()) return NULL
;
8283 } _resultobj
= Py_BuildValue("i",_result
);
8287 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8288 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8294 bool _arg3
= (bool ) TRUE
;
8295 PyObject
* _argo0
= 0;
8296 int tempbool3
= (int) TRUE
;
8297 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8309 _arg3
= (bool ) tempbool3
;
8311 wxPy_BEGIN_ALLOW_THREADS
;
8312 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8314 wxPy_END_ALLOW_THREADS
;
8315 if (PyErr_Occurred()) return NULL
;
8316 } _resultobj
= Py_BuildValue("i",_result
);
8320 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8321 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
* _resultobj
;
8326 PyObject
* _argo0
= 0;
8327 char *_kwnames
[] = { "self","row","col", NULL
};
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8340 wxPy_BEGIN_ALLOW_THREADS
;
8341 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8343 wxPy_END_ALLOW_THREADS
;
8344 if (PyErr_Occurred()) return NULL
;
8345 } Py_INCREF(Py_None
);
8346 _resultobj
= Py_None
;
8350 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8351 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
* _resultobj
;
8356 PyObject
* _argo0
= 0;
8357 char *_kwnames
[] = { "self","row","col", NULL
};
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8370 wxPy_BEGIN_ALLOW_THREADS
;
8371 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8373 wxPy_END_ALLOW_THREADS
;
8374 if (PyErr_Occurred()) return NULL
;
8375 } Py_INCREF(Py_None
);
8376 _resultobj
= Py_None
;
8380 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8381 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8386 PyObject
* _argo0
= 0;
8388 char *_kwnames
[] = { "self","expandSelection", NULL
};
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8400 _arg1
= (bool ) tempbool1
;
8402 wxPy_BEGIN_ALLOW_THREADS
;
8403 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8405 wxPy_END_ALLOW_THREADS
;
8406 if (PyErr_Occurred()) return NULL
;
8407 } _resultobj
= Py_BuildValue("i",_result
);
8411 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8412 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
* _resultobj
;
8417 PyObject
* _argo0
= 0;
8419 char *_kwnames
[] = { "self","expandSelection", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8431 _arg1
= (bool ) tempbool1
;
8433 wxPy_BEGIN_ALLOW_THREADS
;
8434 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8436 wxPy_END_ALLOW_THREADS
;
8437 if (PyErr_Occurred()) return NULL
;
8438 } _resultobj
= Py_BuildValue("i",_result
);
8442 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8443 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8448 PyObject
* _argo0
= 0;
8450 char *_kwnames
[] = { "self","expandSelection", NULL
};
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8462 _arg1
= (bool ) tempbool1
;
8464 wxPy_BEGIN_ALLOW_THREADS
;
8465 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8467 wxPy_END_ALLOW_THREADS
;
8468 if (PyErr_Occurred()) return NULL
;
8469 } _resultobj
= Py_BuildValue("i",_result
);
8473 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8474 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8479 PyObject
* _argo0
= 0;
8481 char *_kwnames
[] = { "self","expandSelection", NULL
};
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8493 _arg1
= (bool ) tempbool1
;
8495 wxPy_BEGIN_ALLOW_THREADS
;
8496 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8498 wxPy_END_ALLOW_THREADS
;
8499 if (PyErr_Occurred()) return NULL
;
8500 } _resultobj
= Py_BuildValue("i",_result
);
8504 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8505 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8509 PyObject
* _argo0
= 0;
8510 char *_kwnames
[] = { "self", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8523 wxPy_BEGIN_ALLOW_THREADS
;
8524 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8526 wxPy_END_ALLOW_THREADS
;
8527 if (PyErr_Occurred()) return NULL
;
8528 } _resultobj
= Py_BuildValue("i",_result
);
8532 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8533 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8537 PyObject
* _argo0
= 0;
8538 char *_kwnames
[] = { "self", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8551 wxPy_BEGIN_ALLOW_THREADS
;
8552 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8554 wxPy_END_ALLOW_THREADS
;
8555 if (PyErr_Occurred()) return NULL
;
8556 } _resultobj
= Py_BuildValue("i",_result
);
8560 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8561 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8566 PyObject
* _argo0
= 0;
8568 char *_kwnames
[] = { "self","expandSelection", NULL
};
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8580 _arg1
= (bool ) tempbool1
;
8582 wxPy_BEGIN_ALLOW_THREADS
;
8583 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8585 wxPy_END_ALLOW_THREADS
;
8586 if (PyErr_Occurred()) return NULL
;
8587 } _resultobj
= Py_BuildValue("i",_result
);
8591 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8592 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8599 char *_kwnames
[] = { "self","expandSelection", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8611 _arg1
= (bool ) tempbool1
;
8613 wxPy_BEGIN_ALLOW_THREADS
;
8614 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8616 wxPy_END_ALLOW_THREADS
;
8617 if (PyErr_Occurred()) return NULL
;
8618 } _resultobj
= Py_BuildValue("i",_result
);
8622 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8623 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
* _resultobj
;
8628 PyObject
* _argo0
= 0;
8630 char *_kwnames
[] = { "self","expandSelection", NULL
};
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8642 _arg1
= (bool ) tempbool1
;
8644 wxPy_BEGIN_ALLOW_THREADS
;
8645 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8647 wxPy_END_ALLOW_THREADS
;
8648 if (PyErr_Occurred()) return NULL
;
8649 } _resultobj
= Py_BuildValue("i",_result
);
8653 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8654 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
* _resultobj
;
8659 PyObject
* _argo0
= 0;
8661 char *_kwnames
[] = { "self","expandSelection", NULL
};
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8673 _arg1
= (bool ) tempbool1
;
8675 wxPy_BEGIN_ALLOW_THREADS
;
8676 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8678 wxPy_END_ALLOW_THREADS
;
8679 if (PyErr_Occurred()) return NULL
;
8680 } _resultobj
= Py_BuildValue("i",_result
);
8684 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8685 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 char *_kwnames
[] = { "self", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8703 wxPy_BEGIN_ALLOW_THREADS
;
8704 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8706 wxPy_END_ALLOW_THREADS
;
8707 if (PyErr_Occurred()) return NULL
;
8708 } _resultobj
= Py_BuildValue("i",_result
);
8712 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8713 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
* _resultobj
;
8717 PyObject
* _argo0
= 0;
8718 char *_kwnames
[] = { "self", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8731 wxPy_BEGIN_ALLOW_THREADS
;
8732 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8734 wxPy_END_ALLOW_THREADS
;
8735 if (PyErr_Occurred()) return NULL
;
8736 } _resultobj
= Py_BuildValue("i",_result
);
8740 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8741 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8745 PyObject
* _argo0
= 0;
8746 char *_kwnames
[] = { "self", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8759 wxPy_BEGIN_ALLOW_THREADS
;
8760 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8762 wxPy_END_ALLOW_THREADS
;
8763 if (PyErr_Occurred()) return NULL
;
8764 } _resultobj
= Py_BuildValue("i",_result
);
8768 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8769 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8773 PyObject
* _argo0
= 0;
8774 char *_kwnames
[] = { "self", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8787 wxPy_BEGIN_ALLOW_THREADS
;
8788 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8790 wxPy_END_ALLOW_THREADS
;
8791 if (PyErr_Occurred()) return NULL
;
8792 } _resultobj
= Py_BuildValue("i",_result
);
8796 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8797 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8801 PyObject
* _argo0
= 0;
8802 char *_kwnames
[] = { "self", NULL
};
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8816 wxPy_BEGIN_ALLOW_THREADS
;
8817 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8819 wxPy_END_ALLOW_THREADS
;
8820 if (PyErr_Occurred()) return NULL
;
8821 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8822 _resultobj
= Py_BuildValue("s",_ptemp
);
8826 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8827 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
* _resultobj
;
8831 PyObject
* _argo0
= 0;
8832 char *_kwnames
[] = { "self", NULL
};
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8846 wxPy_BEGIN_ALLOW_THREADS
;
8847 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8849 wxPy_END_ALLOW_THREADS
;
8850 if (PyErr_Occurred()) return NULL
;
8851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8852 _resultobj
= Py_BuildValue("s",_ptemp
);
8856 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8857 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8861 PyObject
* _argo0
= 0;
8862 char *_kwnames
[] = { "self", NULL
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8876 wxPy_BEGIN_ALLOW_THREADS
;
8877 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8879 wxPy_END_ALLOW_THREADS
;
8880 if (PyErr_Occurred()) return NULL
;
8881 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8882 _resultobj
= Py_BuildValue("s",_ptemp
);
8886 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8887 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
* _resultobj
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self", NULL
};
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8914 wxPy_BEGIN_ALLOW_THREADS
;
8915 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8917 wxPy_END_ALLOW_THREADS
;
8918 if (PyErr_Occurred()) return NULL
;
8919 } Py_INCREF(Py_None
);
8920 _resultobj
= Py_None
;
8923 o
= PyInt_FromLong((long) (*_arg1
));
8924 _resultobj
= t_output_helper(_resultobj
, o
);
8928 o
= PyInt_FromLong((long) (*_arg2
));
8929 _resultobj
= t_output_helper(_resultobj
, o
);
8934 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8935 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
* _resultobj
;
8942 PyObject
* _argo0
= 0;
8943 char *_kwnames
[] = { "self", NULL
};
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8962 wxPy_BEGIN_ALLOW_THREADS
;
8963 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8965 wxPy_END_ALLOW_THREADS
;
8966 if (PyErr_Occurred()) return NULL
;
8967 } Py_INCREF(Py_None
);
8968 _resultobj
= Py_None
;
8971 o
= PyInt_FromLong((long) (*_arg1
));
8972 _resultobj
= t_output_helper(_resultobj
, o
);
8976 o
= PyInt_FromLong((long) (*_arg2
));
8977 _resultobj
= t_output_helper(_resultobj
, o
);
8982 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
8983 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8988 PyObject
* _argo0
= 0;
8989 char *_kwnames
[] = { "self","row", NULL
};
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
8995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9002 wxPy_BEGIN_ALLOW_THREADS
;
9003 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9005 wxPy_END_ALLOW_THREADS
;
9006 if (PyErr_Occurred()) return NULL
;
9008 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9016 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9017 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
* _resultobj
;
9022 PyObject
* _argo0
= 0;
9023 char *_kwnames
[] = { "self","col", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9036 wxPy_BEGIN_ALLOW_THREADS
;
9037 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9039 wxPy_END_ALLOW_THREADS
;
9040 if (PyErr_Occurred()) return NULL
;
9042 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9050 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9051 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
* _resultobj
;
9055 PyObject
* _argo0
= 0;
9056 char *_kwnames
[] = { "self", NULL
};
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9070 wxPy_BEGIN_ALLOW_THREADS
;
9071 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9073 wxPy_END_ALLOW_THREADS
;
9074 if (PyErr_Occurred()) return NULL
;
9075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9076 _resultobj
= Py_BuildValue("s",_ptemp
);
9080 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9081 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9085 PyObject
* _argo0
= 0;
9086 char *_kwnames
[] = { "self", NULL
};
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9100 wxPy_BEGIN_ALLOW_THREADS
;
9101 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9103 wxPy_END_ALLOW_THREADS
;
9104 if (PyErr_Occurred()) return NULL
;
9105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9106 _resultobj
= Py_BuildValue("s",_ptemp
);
9110 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9111 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
* _resultobj
;
9115 PyObject
* _argo0
= 0;
9116 char *_kwnames
[] = { "self", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9129 wxPy_BEGIN_ALLOW_THREADS
;
9130 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9132 wxPy_END_ALLOW_THREADS
;
9133 if (PyErr_Occurred()) return NULL
;
9134 } _resultobj
= Py_BuildValue("i",_result
);
9138 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9139 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
* _resultobj
;
9143 PyObject
* _argo0
= 0;
9144 char *_kwnames
[] = { "self", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9157 wxPy_BEGIN_ALLOW_THREADS
;
9158 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9160 wxPy_END_ALLOW_THREADS
;
9161 if (PyErr_Occurred()) return NULL
;
9162 } _resultobj
= Py_BuildValue("i",_result
);
9166 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9167 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
* _resultobj
;
9171 PyObject
* _argo0
= 0;
9172 char *_kwnames
[] = { "self","width", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9185 wxPy_BEGIN_ALLOW_THREADS
;
9186 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9188 wxPy_END_ALLOW_THREADS
;
9189 if (PyErr_Occurred()) return NULL
;
9190 } Py_INCREF(Py_None
);
9191 _resultobj
= Py_None
;
9195 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9196 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9200 PyObject
* _argo0
= 0;
9201 char *_kwnames
[] = { "self","height", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9214 wxPy_BEGIN_ALLOW_THREADS
;
9215 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9217 wxPy_END_ALLOW_THREADS
;
9218 if (PyErr_Occurred()) return NULL
;
9219 } Py_INCREF(Py_None
);
9220 _resultobj
= Py_None
;
9224 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9225 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
* _resultobj
;
9229 PyObject
* _argo0
= 0;
9231 PyObject
* _obj1
= 0;
9232 char *_kwnames
[] = { "self","arg2", NULL
};
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9246 if (! wxColour_helper(_obj1
, &_arg1
))
9250 wxPy_BEGIN_ALLOW_THREADS
;
9251 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9253 wxPy_END_ALLOW_THREADS
;
9254 if (PyErr_Occurred()) return NULL
;
9255 } Py_INCREF(Py_None
);
9256 _resultobj
= Py_None
;
9260 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9261 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9265 PyObject
* _argo0
= 0;
9267 PyObject
* _obj1
= 0;
9268 char *_kwnames
[] = { "self","arg2", NULL
};
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9282 if (! wxColour_helper(_obj1
, &_arg1
))
9286 wxPy_BEGIN_ALLOW_THREADS
;
9287 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9289 wxPy_END_ALLOW_THREADS
;
9290 if (PyErr_Occurred()) return NULL
;
9291 } Py_INCREF(Py_None
);
9292 _resultobj
= Py_None
;
9296 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9297 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
* _resultobj
;
9301 PyObject
* _argo0
= 0;
9302 PyObject
* _argo1
= 0;
9303 char *_kwnames
[] = { "self","arg2", NULL
};
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
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_SetLabelFont. Expected _wxGrid_p.");
9316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9323 wxPy_BEGIN_ALLOW_THREADS
;
9324 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9326 wxPy_END_ALLOW_THREADS
;
9327 if (PyErr_Occurred()) return NULL
;
9328 } Py_INCREF(Py_None
);
9329 _resultobj
= Py_None
;
9333 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9334 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
* _resultobj
;
9339 PyObject
* _argo0
= 0;
9340 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9353 wxPy_BEGIN_ALLOW_THREADS
;
9354 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9356 wxPy_END_ALLOW_THREADS
;
9357 if (PyErr_Occurred()) return NULL
;
9358 } Py_INCREF(Py_None
);
9359 _resultobj
= Py_None
;
9363 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9364 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9369 PyObject
* _argo0
= 0;
9370 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9383 wxPy_BEGIN_ALLOW_THREADS
;
9384 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9386 wxPy_END_ALLOW_THREADS
;
9387 if (PyErr_Occurred()) return NULL
;
9388 } Py_INCREF(Py_None
);
9389 _resultobj
= Py_None
;
9393 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9394 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9399 PyObject
* _argo0
= 0;
9400 PyObject
* _obj2
= 0;
9401 char *_kwnames
[] = { "self","row","arg3", NULL
};
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9414 #if PYTHON_API_VERSION >= 1009
9415 char* tmpPtr
; int tmpSize
;
9416 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9420 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9422 _arg2
= new wxString(tmpPtr
, tmpSize
);
9424 if (!PyString_Check(_obj2
)) {
9425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9428 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9432 wxPy_BEGIN_ALLOW_THREADS
;
9433 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9435 wxPy_END_ALLOW_THREADS
;
9436 if (PyErr_Occurred()) return NULL
;
9437 } Py_INCREF(Py_None
);
9438 _resultobj
= Py_None
;
9446 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9447 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
* _resultobj
;
9452 PyObject
* _argo0
= 0;
9453 PyObject
* _obj2
= 0;
9454 char *_kwnames
[] = { "self","col","arg3", NULL
};
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9467 #if PYTHON_API_VERSION >= 1009
9468 char* tmpPtr
; int tmpSize
;
9469 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9473 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9475 _arg2
= new wxString(tmpPtr
, tmpSize
);
9477 if (!PyString_Check(_obj2
)) {
9478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9481 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9485 wxPy_BEGIN_ALLOW_THREADS
;
9486 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9488 wxPy_END_ALLOW_THREADS
;
9489 if (PyErr_Occurred()) return NULL
;
9490 } Py_INCREF(Py_None
);
9491 _resultobj
= Py_None
;
9499 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9500 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9504 PyObject
* _argo0
= 0;
9506 PyObject
* _obj1
= 0;
9507 char *_kwnames
[] = { "self","arg2", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9521 if (! wxColour_helper(_obj1
, &_arg1
))
9525 wxPy_BEGIN_ALLOW_THREADS
;
9526 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9528 wxPy_END_ALLOW_THREADS
;
9529 if (PyErr_Occurred()) return NULL
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9536 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9540 PyObject
* _argo0
= 0;
9542 PyObject
* _obj1
= 0;
9543 char *_kwnames
[] = { "self","arg2", NULL
};
9546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9557 if (! wxColour_helper(_obj1
, &_arg1
))
9561 wxPy_BEGIN_ALLOW_THREADS
;
9562 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9564 wxPy_END_ALLOW_THREADS
;
9565 if (PyErr_Occurred()) return NULL
;
9566 } Py_INCREF(Py_None
);
9567 _resultobj
= Py_None
;
9571 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9572 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
* _resultobj
;
9576 PyObject
* _argo0
= 0;
9577 char *_kwnames
[] = { "self","width", NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9590 wxPy_BEGIN_ALLOW_THREADS
;
9591 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9593 wxPy_END_ALLOW_THREADS
;
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9601 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9605 PyObject
* _argo0
= 0;
9606 char *_kwnames
[] = { "self","width", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9619 wxPy_BEGIN_ALLOW_THREADS
;
9620 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9622 wxPy_END_ALLOW_THREADS
;
9623 if (PyErr_Occurred()) return NULL
;
9624 } Py_INCREF(Py_None
);
9625 _resultobj
= Py_None
;
9629 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9630 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
* _resultobj
;
9633 bool _arg1
= (bool ) TRUE
;
9634 PyObject
* _argo0
= 0;
9635 int tempbool1
= (int) TRUE
;
9636 char *_kwnames
[] = { "self","enable", NULL
};
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9648 _arg1
= (bool ) tempbool1
;
9650 wxPy_BEGIN_ALLOW_THREADS
;
9651 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9653 wxPy_END_ALLOW_THREADS
;
9654 if (PyErr_Occurred()) return NULL
;
9655 } Py_INCREF(Py_None
);
9656 _resultobj
= Py_None
;
9660 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9661 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9664 PyObject
* _argo0
= 0;
9665 char *_kwnames
[] = { "self", NULL
};
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9678 wxPy_BEGIN_ALLOW_THREADS
;
9679 wxGrid_DisableDragRowSize(_arg0
);
9681 wxPy_END_ALLOW_THREADS
;
9682 if (PyErr_Occurred()) return NULL
;
9683 } Py_INCREF(Py_None
);
9684 _resultobj
= Py_None
;
9688 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9689 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
* _resultobj
;
9693 PyObject
* _argo0
= 0;
9694 char *_kwnames
[] = { "self", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9707 wxPy_BEGIN_ALLOW_THREADS
;
9708 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9710 wxPy_END_ALLOW_THREADS
;
9711 if (PyErr_Occurred()) return NULL
;
9712 } _resultobj
= Py_BuildValue("i",_result
);
9716 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9717 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9720 bool _arg1
= (bool ) TRUE
;
9721 PyObject
* _argo0
= 0;
9722 int tempbool1
= (int) TRUE
;
9723 char *_kwnames
[] = { "self","enable", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9735 _arg1
= (bool ) tempbool1
;
9737 wxPy_BEGIN_ALLOW_THREADS
;
9738 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9740 wxPy_END_ALLOW_THREADS
;
9741 if (PyErr_Occurred()) return NULL
;
9742 } Py_INCREF(Py_None
);
9743 _resultobj
= Py_None
;
9747 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9748 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
* _resultobj
;
9751 PyObject
* _argo0
= 0;
9752 char *_kwnames
[] = { "self", NULL
};
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9765 wxPy_BEGIN_ALLOW_THREADS
;
9766 wxGrid_DisableDragColSize(_arg0
);
9768 wxPy_END_ALLOW_THREADS
;
9769 if (PyErr_Occurred()) return NULL
;
9770 } Py_INCREF(Py_None
);
9771 _resultobj
= Py_None
;
9775 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9776 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9780 PyObject
* _argo0
= 0;
9781 char *_kwnames
[] = { "self", NULL
};
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9794 wxPy_BEGIN_ALLOW_THREADS
;
9795 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9797 wxPy_END_ALLOW_THREADS
;
9798 if (PyErr_Occurred()) return NULL
;
9799 } _resultobj
= Py_BuildValue("i",_result
);
9803 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9804 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
* _resultobj
;
9807 bool _arg1
= (bool ) TRUE
;
9808 PyObject
* _argo0
= 0;
9809 int tempbool1
= (int) TRUE
;
9810 char *_kwnames
[] = { "self","enable", NULL
};
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9822 _arg1
= (bool ) tempbool1
;
9824 wxPy_BEGIN_ALLOW_THREADS
;
9825 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9827 wxPy_END_ALLOW_THREADS
;
9828 if (PyErr_Occurred()) return NULL
;
9829 } Py_INCREF(Py_None
);
9830 _resultobj
= Py_None
;
9834 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9835 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
* _resultobj
;
9838 PyObject
* _argo0
= 0;
9839 char *_kwnames
[] = { "self", NULL
};
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9852 wxPy_BEGIN_ALLOW_THREADS
;
9853 wxGrid_DisableDragGridSize(_arg0
);
9855 wxPy_END_ALLOW_THREADS
;
9856 if (PyErr_Occurred()) return NULL
;
9857 } Py_INCREF(Py_None
);
9858 _resultobj
= Py_None
;
9862 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9863 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9867 PyObject
* _argo0
= 0;
9868 char *_kwnames
[] = { "self", NULL
};
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9881 wxPy_BEGIN_ALLOW_THREADS
;
9882 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9884 wxPy_END_ALLOW_THREADS
;
9885 if (PyErr_Occurred()) return NULL
;
9886 } _resultobj
= Py_BuildValue("i",_result
);
9890 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9891 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
* _resultobj
;
9895 wxGridCellAttr
* _arg2
;
9896 PyObject
* _argo0
= 0;
9897 PyObject
* _argo2
= 0;
9898 char *_kwnames
[] = { "self","row","attr", NULL
};
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9911 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9912 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9918 wxPy_BEGIN_ALLOW_THREADS
;
9919 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9921 wxPy_END_ALLOW_THREADS
;
9922 if (PyErr_Occurred()) return NULL
;
9923 } Py_INCREF(Py_None
);
9924 _resultobj
= Py_None
;
9928 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9929 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
* _resultobj
;
9933 wxGridCellAttr
* _arg2
;
9934 PyObject
* _argo0
= 0;
9935 PyObject
* _argo2
= 0;
9936 char *_kwnames
[] = { "self","col","attr", NULL
};
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9949 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9956 wxPy_BEGIN_ALLOW_THREADS
;
9957 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9959 wxPy_END_ALLOW_THREADS
;
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9966 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9967 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
* _resultobj
;
9971 PyObject
* _argo0
= 0;
9972 char *_kwnames
[] = { "self","col", NULL
};
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
9978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
9985 wxPy_BEGIN_ALLOW_THREADS
;
9986 wxGrid_SetColFormatBool(_arg0
,_arg1
);
9988 wxPy_END_ALLOW_THREADS
;
9989 if (PyErr_Occurred()) return NULL
;
9990 } Py_INCREF(Py_None
);
9991 _resultobj
= Py_None
;
9995 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
9996 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
10000 PyObject
* _argo0
= 0;
10001 char *_kwnames
[] = { "self","col", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10014 wxPy_BEGIN_ALLOW_THREADS
;
10015 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10017 wxPy_END_ALLOW_THREADS
;
10018 if (PyErr_Occurred()) return NULL
;
10019 } Py_INCREF(Py_None
);
10020 _resultobj
= Py_None
;
10024 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10025 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
* _resultobj
;
10029 int _arg2
= (int ) -1;
10030 int _arg3
= (int ) -1;
10031 PyObject
* _argo0
= 0;
10032 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10045 wxPy_BEGIN_ALLOW_THREADS
;
10046 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10048 wxPy_END_ALLOW_THREADS
;
10049 if (PyErr_Occurred()) return NULL
;
10050 } Py_INCREF(Py_None
);
10051 _resultobj
= Py_None
;
10055 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10056 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
* _resultobj
;
10061 PyObject
* _argo0
= 0;
10062 PyObject
* _obj2
= 0;
10063 char *_kwnames
[] = { "self","col","typeName", NULL
};
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10076 #if PYTHON_API_VERSION >= 1009
10077 char* tmpPtr
; int tmpSize
;
10078 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10082 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10084 _arg2
= new wxString(tmpPtr
, tmpSize
);
10086 if (!PyString_Check(_obj2
)) {
10087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10090 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10094 wxPy_BEGIN_ALLOW_THREADS
;
10095 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10097 wxPy_END_ALLOW_THREADS
;
10098 if (PyErr_Occurred()) return NULL
;
10099 } Py_INCREF(Py_None
);
10100 _resultobj
= Py_None
;
10108 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10109 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
* _resultobj
;
10112 bool _arg1
= (bool ) TRUE
;
10113 PyObject
* _argo0
= 0;
10114 int tempbool1
= (int) TRUE
;
10115 char *_kwnames
[] = { "self","enable", NULL
};
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10127 _arg1
= (bool ) tempbool1
;
10129 wxPy_BEGIN_ALLOW_THREADS
;
10130 wxGrid_EnableGridLines(_arg0
,_arg1
);
10132 wxPy_END_ALLOW_THREADS
;
10133 if (PyErr_Occurred()) return NULL
;
10134 } Py_INCREF(Py_None
);
10135 _resultobj
= Py_None
;
10139 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10140 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10144 PyObject
* _argo0
= 0;
10145 char *_kwnames
[] = { "self", NULL
};
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10158 wxPy_BEGIN_ALLOW_THREADS
;
10159 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10161 wxPy_END_ALLOW_THREADS
;
10162 if (PyErr_Occurred()) return NULL
;
10163 } _resultobj
= Py_BuildValue("i",_result
);
10167 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10168 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
* _resultobj
;
10172 PyObject
* _argo0
= 0;
10173 char *_kwnames
[] = { "self", NULL
};
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10186 wxPy_BEGIN_ALLOW_THREADS
;
10187 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10189 wxPy_END_ALLOW_THREADS
;
10190 if (PyErr_Occurred()) return NULL
;
10191 } _resultobj
= Py_BuildValue("i",_result
);
10195 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10196 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
* _resultobj
;
10201 PyObject
* _argo0
= 0;
10202 char *_kwnames
[] = { "self","row", NULL
};
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10215 wxPy_BEGIN_ALLOW_THREADS
;
10216 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10218 wxPy_END_ALLOW_THREADS
;
10219 if (PyErr_Occurred()) return NULL
;
10220 } _resultobj
= Py_BuildValue("i",_result
);
10224 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10225 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
* _resultobj
;
10229 PyObject
* _argo0
= 0;
10230 char *_kwnames
[] = { "self", NULL
};
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10243 wxPy_BEGIN_ALLOW_THREADS
;
10244 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10246 wxPy_END_ALLOW_THREADS
;
10247 if (PyErr_Occurred()) return NULL
;
10248 } _resultobj
= Py_BuildValue("i",_result
);
10252 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10253 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self","col", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10272 wxPy_BEGIN_ALLOW_THREADS
;
10273 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10275 wxPy_END_ALLOW_THREADS
;
10276 if (PyErr_Occurred()) return NULL
;
10277 } _resultobj
= Py_BuildValue("i",_result
);
10281 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10282 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10284 wxColour
* _result
;
10286 PyObject
* _argo0
= 0;
10287 char *_kwnames
[] = { "self", NULL
};
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10301 wxPy_BEGIN_ALLOW_THREADS
;
10302 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10304 wxPy_END_ALLOW_THREADS
;
10305 if (PyErr_Occurred()) return NULL
;
10306 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10307 _resultobj
= Py_BuildValue("s",_ptemp
);
10311 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10312 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
* _resultobj
;
10314 wxColour
* _result
;
10318 PyObject
* _argo0
= 0;
10319 char *_kwnames
[] = { "self","row","col", NULL
};
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10333 wxPy_BEGIN_ALLOW_THREADS
;
10334 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10336 wxPy_END_ALLOW_THREADS
;
10337 if (PyErr_Occurred()) return NULL
;
10338 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10339 _resultobj
= Py_BuildValue("s",_ptemp
);
10343 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10344 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
* _resultobj
;
10346 wxColour
* _result
;
10348 PyObject
* _argo0
= 0;
10349 char *_kwnames
[] = { "self", NULL
};
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10363 wxPy_BEGIN_ALLOW_THREADS
;
10364 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10366 wxPy_END_ALLOW_THREADS
;
10367 if (PyErr_Occurred()) return NULL
;
10368 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10369 _resultobj
= Py_BuildValue("s",_ptemp
);
10373 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10374 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
* _resultobj
;
10376 wxColour
* _result
;
10380 PyObject
* _argo0
= 0;
10381 char *_kwnames
[] = { "self","row","col", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10395 wxPy_BEGIN_ALLOW_THREADS
;
10396 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10398 wxPy_END_ALLOW_THREADS
;
10399 if (PyErr_Occurred()) return NULL
;
10400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10401 _resultobj
= Py_BuildValue("s",_ptemp
);
10405 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10406 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
* _resultobj
;
10410 PyObject
* _argo0
= 0;
10411 char *_kwnames
[] = { "self", NULL
};
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10425 wxPy_BEGIN_ALLOW_THREADS
;
10426 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10428 wxPy_END_ALLOW_THREADS
;
10429 if (PyErr_Occurred()) return NULL
;
10430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10431 _resultobj
= Py_BuildValue("s",_ptemp
);
10435 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10436 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10442 PyObject
* _argo0
= 0;
10443 char *_kwnames
[] = { "self","row","col", NULL
};
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10457 wxPy_BEGIN_ALLOW_THREADS
;
10458 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10460 wxPy_END_ALLOW_THREADS
;
10461 if (PyErr_Occurred()) return NULL
;
10462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10463 _resultobj
= Py_BuildValue("s",_ptemp
);
10467 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10468 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
* _resultobj
;
10473 PyObject
* _argo0
= 0;
10474 PyObject
* _argo1
= 0;
10475 PyObject
* _argo2
= 0;
10476 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10496 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10503 wxPy_BEGIN_ALLOW_THREADS
;
10504 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10506 wxPy_END_ALLOW_THREADS
;
10507 if (PyErr_Occurred()) return NULL
;
10508 } Py_INCREF(Py_None
);
10509 _resultobj
= Py_None
;
10513 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10514 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
* _resultobj
;
10521 PyObject
* _argo0
= 0;
10522 PyObject
* _argo3
= 0;
10523 PyObject
* _argo4
= 0;
10524 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10537 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10538 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10544 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10545 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10551 wxPy_BEGIN_ALLOW_THREADS
;
10552 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10554 wxPy_END_ALLOW_THREADS
;
10555 if (PyErr_Occurred()) return NULL
;
10556 } Py_INCREF(Py_None
);
10557 _resultobj
= Py_None
;
10561 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10562 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10566 bool _arg2
= (bool ) FALSE
;
10567 PyObject
* _argo0
= 0;
10568 int tempbool2
= (int) FALSE
;
10569 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10581 _arg2
= (bool ) tempbool2
;
10583 wxPy_BEGIN_ALLOW_THREADS
;
10584 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10586 wxPy_END_ALLOW_THREADS
;
10587 if (PyErr_Occurred()) return NULL
;
10588 } Py_INCREF(Py_None
);
10589 _resultobj
= Py_None
;
10593 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10594 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
* _resultobj
;
10599 PyObject
* _argo0
= 0;
10600 char *_kwnames
[] = { "self","row","height", NULL
};
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10613 wxPy_BEGIN_ALLOW_THREADS
;
10614 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10616 wxPy_END_ALLOW_THREADS
;
10617 if (PyErr_Occurred()) return NULL
;
10618 } Py_INCREF(Py_None
);
10619 _resultobj
= Py_None
;
10623 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10624 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
* _resultobj
;
10628 bool _arg2
= (bool ) FALSE
;
10629 PyObject
* _argo0
= 0;
10630 int tempbool2
= (int) FALSE
;
10631 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10643 _arg2
= (bool ) tempbool2
;
10645 wxPy_BEGIN_ALLOW_THREADS
;
10646 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10648 wxPy_END_ALLOW_THREADS
;
10649 if (PyErr_Occurred()) return NULL
;
10650 } Py_INCREF(Py_None
);
10651 _resultobj
= Py_None
;
10655 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10656 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
* _resultobj
;
10661 PyObject
* _argo0
= 0;
10662 char *_kwnames
[] = { "self","col","width", NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10675 wxPy_BEGIN_ALLOW_THREADS
;
10676 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10678 wxPy_END_ALLOW_THREADS
;
10679 if (PyErr_Occurred()) return NULL
;
10680 } Py_INCREF(Py_None
);
10681 _resultobj
= Py_None
;
10685 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10686 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
* _resultobj
;
10690 bool _arg2
= (bool ) TRUE
;
10691 PyObject
* _argo0
= 0;
10692 int tempbool2
= (int) TRUE
;
10693 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10705 _arg2
= (bool ) tempbool2
;
10707 wxPy_BEGIN_ALLOW_THREADS
;
10708 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10710 wxPy_END_ALLOW_THREADS
;
10711 if (PyErr_Occurred()) return NULL
;
10712 } Py_INCREF(Py_None
);
10713 _resultobj
= Py_None
;
10717 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10718 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10722 bool _arg2
= (bool ) TRUE
;
10723 PyObject
* _argo0
= 0;
10724 int tempbool2
= (int) TRUE
;
10725 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10737 _arg2
= (bool ) tempbool2
;
10739 wxPy_BEGIN_ALLOW_THREADS
;
10740 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10742 wxPy_END_ALLOW_THREADS
;
10743 if (PyErr_Occurred()) return NULL
;
10744 } Py_INCREF(Py_None
);
10745 _resultobj
= Py_None
;
10749 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10750 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
* _resultobj
;
10753 bool _arg1
= (bool ) TRUE
;
10754 PyObject
* _argo0
= 0;
10755 int tempbool1
= (int) TRUE
;
10756 char *_kwnames
[] = { "self","setAsMin", NULL
};
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10768 _arg1
= (bool ) tempbool1
;
10770 wxPy_BEGIN_ALLOW_THREADS
;
10771 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10773 wxPy_END_ALLOW_THREADS
;
10774 if (PyErr_Occurred()) return NULL
;
10775 } Py_INCREF(Py_None
);
10776 _resultobj
= Py_None
;
10780 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10781 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
* _resultobj
;
10784 bool _arg1
= (bool ) TRUE
;
10785 PyObject
* _argo0
= 0;
10786 int tempbool1
= (int) TRUE
;
10787 char *_kwnames
[] = { "self","setAsMin", NULL
};
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10799 _arg1
= (bool ) tempbool1
;
10801 wxPy_BEGIN_ALLOW_THREADS
;
10802 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10804 wxPy_END_ALLOW_THREADS
;
10805 if (PyErr_Occurred()) return NULL
;
10806 } Py_INCREF(Py_None
);
10807 _resultobj
= Py_None
;
10811 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10812 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
* _resultobj
;
10815 PyObject
* _argo0
= 0;
10816 char *_kwnames
[] = { "self", NULL
};
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10829 wxPy_BEGIN_ALLOW_THREADS
;
10830 wxGrid_AutoSize(_arg0
);
10832 wxPy_END_ALLOW_THREADS
;
10833 if (PyErr_Occurred()) return NULL
;
10834 } Py_INCREF(Py_None
);
10835 _resultobj
= Py_None
;
10839 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10840 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
* _resultobj
;
10845 PyObject
* _argo0
= 0;
10846 char *_kwnames
[] = { "self","col","width", NULL
};
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10859 wxPy_BEGIN_ALLOW_THREADS
;
10860 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10862 wxPy_END_ALLOW_THREADS
;
10863 if (PyErr_Occurred()) return NULL
;
10864 } Py_INCREF(Py_None
);
10865 _resultobj
= Py_None
;
10869 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10870 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
* _resultobj
;
10875 PyObject
* _argo0
= 0;
10876 char *_kwnames
[] = { "self","row","width", NULL
};
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10889 wxPy_BEGIN_ALLOW_THREADS
;
10890 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10892 wxPy_END_ALLOW_THREADS
;
10893 if (PyErr_Occurred()) return NULL
;
10894 } Py_INCREF(Py_None
);
10895 _resultobj
= Py_None
;
10899 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10900 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
* _resultobj
;
10904 PyObject
* _argo0
= 0;
10906 PyObject
* _obj1
= 0;
10907 char *_kwnames
[] = { "self","arg2", NULL
};
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10921 if (! wxColour_helper(_obj1
, &_arg1
))
10925 wxPy_BEGIN_ALLOW_THREADS
;
10926 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10928 wxPy_END_ALLOW_THREADS
;
10929 if (PyErr_Occurred()) return NULL
;
10930 } Py_INCREF(Py_None
);
10931 _resultobj
= Py_None
;
10935 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10936 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
* _resultobj
;
10942 PyObject
* _argo0
= 0;
10944 PyObject
* _obj3
= 0;
10945 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10959 if (! wxColour_helper(_obj3
, &_arg3
))
10963 wxPy_BEGIN_ALLOW_THREADS
;
10964 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10966 wxPy_END_ALLOW_THREADS
;
10967 if (PyErr_Occurred()) return NULL
;
10968 } Py_INCREF(Py_None
);
10969 _resultobj
= Py_None
;
10973 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
10974 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10978 PyObject
* _argo0
= 0;
10980 PyObject
* _obj1
= 0;
10981 char *_kwnames
[] = { "self","arg2", NULL
};
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
10987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
10995 if (! wxColour_helper(_obj1
, &_arg1
))
10999 wxPy_BEGIN_ALLOW_THREADS
;
11000 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11002 wxPy_END_ALLOW_THREADS
;
11003 if (PyErr_Occurred()) return NULL
;
11004 } Py_INCREF(Py_None
);
11005 _resultobj
= Py_None
;
11009 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11010 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
* _resultobj
;
11016 PyObject
* _argo0
= 0;
11018 PyObject
* _obj3
= 0;
11019 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11033 if (! wxColour_helper(_obj3
, &_arg3
))
11037 wxPy_BEGIN_ALLOW_THREADS
;
11038 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11040 wxPy_END_ALLOW_THREADS
;
11041 if (PyErr_Occurred()) return NULL
;
11042 } Py_INCREF(Py_None
);
11043 _resultobj
= Py_None
;
11047 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11048 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
* _resultobj
;
11052 PyObject
* _argo0
= 0;
11053 PyObject
* _argo1
= 0;
11054 char *_kwnames
[] = { "self","arg2", NULL
};
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11074 wxPy_BEGIN_ALLOW_THREADS
;
11075 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11077 wxPy_END_ALLOW_THREADS
;
11078 if (PyErr_Occurred()) return NULL
;
11079 } Py_INCREF(Py_None
);
11080 _resultobj
= Py_None
;
11084 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11085 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
* _resultobj
;
11091 PyObject
* _argo0
= 0;
11092 PyObject
* _argo3
= 0;
11093 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11106 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11107 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11113 wxPy_BEGIN_ALLOW_THREADS
;
11114 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11116 wxPy_END_ALLOW_THREADS
;
11117 if (PyErr_Occurred()) return NULL
;
11118 } Py_INCREF(Py_None
);
11119 _resultobj
= Py_None
;
11123 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11124 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
* _resultobj
;
11129 PyObject
* _argo0
= 0;
11130 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11143 wxPy_BEGIN_ALLOW_THREADS
;
11144 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11146 wxPy_END_ALLOW_THREADS
;
11147 if (PyErr_Occurred()) return NULL
;
11148 } Py_INCREF(Py_None
);
11149 _resultobj
= Py_None
;
11153 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11154 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
* _resultobj
;
11161 PyObject
* _argo0
= 0;
11162 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11175 wxPy_BEGIN_ALLOW_THREADS
;
11176 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11178 wxPy_END_ALLOW_THREADS
;
11179 if (PyErr_Occurred()) return NULL
;
11180 } Py_INCREF(Py_None
);
11181 _resultobj
= Py_None
;
11185 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11186 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
* _resultobj
;
11189 wxGridCellRenderer
* _arg1
;
11190 PyObject
* _argo0
= 0;
11191 PyObject
* _argo1
= 0;
11192 char *_kwnames
[] = { "self","renderer", NULL
};
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11212 wxPy_BEGIN_ALLOW_THREADS
;
11213 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11215 wxPy_END_ALLOW_THREADS
;
11216 if (PyErr_Occurred()) return NULL
;
11217 } Py_INCREF(Py_None
);
11218 _resultobj
= Py_None
;
11222 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11223 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
* _resultobj
;
11228 wxGridCellRenderer
* _arg3
;
11229 PyObject
* _argo0
= 0;
11230 PyObject
* _argo3
= 0;
11231 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11244 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11245 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11251 wxPy_BEGIN_ALLOW_THREADS
;
11252 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11254 wxPy_END_ALLOW_THREADS
;
11255 if (PyErr_Occurred()) return NULL
;
11256 } Py_INCREF(Py_None
);
11257 _resultobj
= Py_None
;
11261 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11262 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
* _resultobj
;
11264 wxGridCellRenderer
* _result
;
11266 PyObject
* _argo0
= 0;
11267 char *_kwnames
[] = { "self", NULL
};
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11281 wxPy_BEGIN_ALLOW_THREADS
;
11282 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11284 wxPy_END_ALLOW_THREADS
;
11285 if (PyErr_Occurred()) return NULL
;
11287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11288 _resultobj
= Py_BuildValue("s",_ptemp
);
11290 Py_INCREF(Py_None
);
11291 _resultobj
= Py_None
;
11296 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11297 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
* _resultobj
;
11299 wxGridCellRenderer
* _result
;
11303 PyObject
* _argo0
= 0;
11304 char *_kwnames
[] = { "self","row","col", NULL
};
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11318 wxPy_BEGIN_ALLOW_THREADS
;
11319 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11321 wxPy_END_ALLOW_THREADS
;
11322 if (PyErr_Occurred()) return NULL
;
11324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11325 _resultobj
= Py_BuildValue("s",_ptemp
);
11327 Py_INCREF(Py_None
);
11328 _resultobj
= Py_None
;
11333 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11334 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
* _resultobj
;
11337 wxGridCellEditor
* _arg1
;
11338 PyObject
* _argo0
= 0;
11339 PyObject
* _argo1
= 0;
11340 char *_kwnames
[] = { "self","editor", NULL
};
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11360 wxPy_BEGIN_ALLOW_THREADS
;
11361 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11363 wxPy_END_ALLOW_THREADS
;
11364 if (PyErr_Occurred()) return NULL
;
11365 } Py_INCREF(Py_None
);
11366 _resultobj
= Py_None
;
11370 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11371 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
* _resultobj
;
11376 wxGridCellEditor
* _arg3
;
11377 PyObject
* _argo0
= 0;
11378 PyObject
* _argo3
= 0;
11379 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11392 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11393 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11399 wxPy_BEGIN_ALLOW_THREADS
;
11400 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11402 wxPy_END_ALLOW_THREADS
;
11403 if (PyErr_Occurred()) return NULL
;
11404 } Py_INCREF(Py_None
);
11405 _resultobj
= Py_None
;
11409 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11410 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
* _resultobj
;
11412 wxGridCellEditor
* _result
;
11414 PyObject
* _argo0
= 0;
11415 char *_kwnames
[] = { "self", NULL
};
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11429 wxPy_BEGIN_ALLOW_THREADS
;
11430 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11432 wxPy_END_ALLOW_THREADS
;
11433 if (PyErr_Occurred()) return NULL
;
11435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11436 _resultobj
= Py_BuildValue("s",_ptemp
);
11438 Py_INCREF(Py_None
);
11439 _resultobj
= Py_None
;
11444 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11445 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
* _resultobj
;
11447 wxGridCellEditor
* _result
;
11451 PyObject
* _argo0
= 0;
11452 char *_kwnames
[] = { "self","row","col", NULL
};
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11466 wxPy_BEGIN_ALLOW_THREADS
;
11467 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11469 wxPy_END_ALLOW_THREADS
;
11470 if (PyErr_Occurred()) return NULL
;
11472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11473 _resultobj
= Py_BuildValue("s",_ptemp
);
11475 Py_INCREF(Py_None
);
11476 _resultobj
= Py_None
;
11481 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11482 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
* _resultobj
;
11484 wxString
* _result
;
11488 PyObject
* _argo0
= 0;
11489 char *_kwnames
[] = { "self","row","col", NULL
};
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11502 wxPy_BEGIN_ALLOW_THREADS
;
11503 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11505 wxPy_END_ALLOW_THREADS
;
11506 if (PyErr_Occurred()) return NULL
;
11508 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11516 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11517 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
* _resultobj
;
11523 PyObject
* _argo0
= 0;
11524 PyObject
* _obj3
= 0;
11525 char *_kwnames
[] = { "self","row","col","s", NULL
};
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11538 #if PYTHON_API_VERSION >= 1009
11539 char* tmpPtr
; int tmpSize
;
11540 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11544 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11546 _arg3
= new wxString(tmpPtr
, tmpSize
);
11548 if (!PyString_Check(_obj3
)) {
11549 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11552 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11556 wxPy_BEGIN_ALLOW_THREADS
;
11557 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11559 wxPy_END_ALLOW_THREADS
;
11560 if (PyErr_Occurred()) return NULL
;
11561 } Py_INCREF(Py_None
);
11562 _resultobj
= Py_None
;
11570 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11571 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
* _resultobj
;
11577 PyObject
* _argo0
= 0;
11578 char *_kwnames
[] = { "self","row","col", NULL
};
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11591 wxPy_BEGIN_ALLOW_THREADS
;
11592 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11594 wxPy_END_ALLOW_THREADS
;
11595 if (PyErr_Occurred()) return NULL
;
11596 } _resultobj
= Py_BuildValue("i",_result
);
11600 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11601 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
* _resultobj
;
11606 bool _arg3
= (bool ) TRUE
;
11607 PyObject
* _argo0
= 0;
11608 int tempbool3
= (int) TRUE
;
11609 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11621 _arg3
= (bool ) tempbool3
;
11623 wxPy_BEGIN_ALLOW_THREADS
;
11624 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11626 wxPy_END_ALLOW_THREADS
;
11627 if (PyErr_Occurred()) return NULL
;
11628 } Py_INCREF(Py_None
);
11629 _resultobj
= Py_None
;
11633 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11634 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
* _resultobj
;
11638 bool _arg2
= (bool ) FALSE
;
11639 PyObject
* _argo0
= 0;
11640 int tempbool2
= (int) FALSE
;
11641 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11653 _arg2
= (bool ) tempbool2
;
11655 wxPy_BEGIN_ALLOW_THREADS
;
11656 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11658 wxPy_END_ALLOW_THREADS
;
11659 if (PyErr_Occurred()) return NULL
;
11660 } Py_INCREF(Py_None
);
11661 _resultobj
= Py_None
;
11665 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11666 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
* _resultobj
;
11670 bool _arg2
= (bool ) FALSE
;
11671 PyObject
* _argo0
= 0;
11672 int tempbool2
= (int) FALSE
;
11673 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11685 _arg2
= (bool ) tempbool2
;
11687 wxPy_BEGIN_ALLOW_THREADS
;
11688 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11690 wxPy_END_ALLOW_THREADS
;
11691 if (PyErr_Occurred()) return NULL
;
11692 } Py_INCREF(Py_None
);
11693 _resultobj
= Py_None
;
11697 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11698 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
* _resultobj
;
11705 bool _arg5
= (bool ) FALSE
;
11706 PyObject
* _argo0
= 0;
11707 int tempbool5
= (int) FALSE
;
11708 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11720 _arg5
= (bool ) tempbool5
;
11722 wxPy_BEGIN_ALLOW_THREADS
;
11723 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11725 wxPy_END_ALLOW_THREADS
;
11726 if (PyErr_Occurred()) return NULL
;
11727 } Py_INCREF(Py_None
);
11728 _resultobj
= Py_None
;
11732 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11733 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11734 PyObject
* _resultobj
;
11736 PyObject
* _argo0
= 0;
11737 char *_kwnames
[] = { "self", NULL
};
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11750 wxPy_BEGIN_ALLOW_THREADS
;
11751 wxGrid_SelectAll(_arg0
);
11753 wxPy_END_ALLOW_THREADS
;
11754 if (PyErr_Occurred()) return NULL
;
11755 } Py_INCREF(Py_None
);
11756 _resultobj
= Py_None
;
11760 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11761 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
* _resultobj
;
11765 PyObject
* _argo0
= 0;
11766 char *_kwnames
[] = { "self", NULL
};
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11779 wxPy_BEGIN_ALLOW_THREADS
;
11780 _result
= (bool )wxGrid_IsSelection(_arg0
);
11782 wxPy_END_ALLOW_THREADS
;
11783 if (PyErr_Occurred()) return NULL
;
11784 } _resultobj
= Py_BuildValue("i",_result
);
11788 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11789 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
* _resultobj
;
11792 PyObject
* _argo0
= 0;
11793 char *_kwnames
[] = { "self", NULL
};
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11806 wxPy_BEGIN_ALLOW_THREADS
;
11807 wxGrid_ClearSelection(_arg0
);
11809 wxPy_END_ALLOW_THREADS
;
11810 if (PyErr_Occurred()) return NULL
;
11811 } Py_INCREF(Py_None
);
11812 _resultobj
= Py_None
;
11816 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11817 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
* _resultobj
;
11823 PyObject
* _argo0
= 0;
11824 char *_kwnames
[] = { "self","row","col", NULL
};
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11837 wxPy_BEGIN_ALLOW_THREADS
;
11838 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11840 wxPy_END_ALLOW_THREADS
;
11841 if (PyErr_Occurred()) return NULL
;
11842 } _resultobj
= Py_BuildValue("i",_result
);
11846 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11847 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11848 PyObject
* _resultobj
;
11851 wxGridCellCoords
* _arg1
;
11852 wxGridCellCoords
* _arg2
;
11853 PyObject
* _argo0
= 0;
11854 wxGridCellCoords temp
;
11855 PyObject
* _obj1
= 0;
11856 wxGridCellCoords temp0
;
11857 PyObject
* _obj2
= 0;
11858 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11873 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11878 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11882 wxPy_BEGIN_ALLOW_THREADS
;
11883 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11885 wxPy_END_ALLOW_THREADS
;
11886 if (PyErr_Occurred()) return NULL
;
11887 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11888 _resultobj
= Py_BuildValue("s",_ptemp
);
11892 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11893 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
* _resultobj
;
11895 wxColour
* _result
;
11897 PyObject
* _argo0
= 0;
11898 char *_kwnames
[] = { "self", NULL
};
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11912 wxPy_BEGIN_ALLOW_THREADS
;
11913 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11915 wxPy_END_ALLOW_THREADS
;
11916 if (PyErr_Occurred()) return NULL
;
11917 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11918 _resultobj
= Py_BuildValue("s",_ptemp
);
11922 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11923 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
* _resultobj
;
11925 wxColour
* _result
;
11927 PyObject
* _argo0
= 0;
11928 char *_kwnames
[] = { "self", NULL
};
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11942 wxPy_BEGIN_ALLOW_THREADS
;
11943 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11945 wxPy_END_ALLOW_THREADS
;
11946 if (PyErr_Occurred()) return NULL
;
11947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11948 _resultobj
= Py_BuildValue("s",_ptemp
);
11952 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11953 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
* _resultobj
;
11957 PyObject
* _argo0
= 0;
11959 PyObject
* _obj1
= 0;
11960 char *_kwnames
[] = { "self","c", NULL
};
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
11974 if (! wxColour_helper(_obj1
, &_arg1
))
11978 wxPy_BEGIN_ALLOW_THREADS
;
11979 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
11981 wxPy_END_ALLOW_THREADS
;
11982 if (PyErr_Occurred()) return NULL
;
11983 } Py_INCREF(Py_None
);
11984 _resultobj
= Py_None
;
11988 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
11989 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
* _resultobj
;
11993 PyObject
* _argo0
= 0;
11995 PyObject
* _obj1
= 0;
11996 char *_kwnames
[] = { "self","c", NULL
};
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12010 if (! wxColour_helper(_obj1
, &_arg1
))
12014 wxPy_BEGIN_ALLOW_THREADS
;
12015 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12017 wxPy_END_ALLOW_THREADS
;
12018 if (PyErr_Occurred()) return NULL
;
12019 } Py_INCREF(Py_None
);
12020 _resultobj
= Py_None
;
12024 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12025 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
* _resultobj
;
12029 wxGridCellRenderer
* _arg2
;
12030 wxGridCellEditor
* _arg3
;
12031 PyObject
* _argo0
= 0;
12032 PyObject
* _obj1
= 0;
12033 PyObject
* _argo2
= 0;
12034 PyObject
* _argo3
= 0;
12035 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12048 #if PYTHON_API_VERSION >= 1009
12049 char* tmpPtr
; int tmpSize
;
12050 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12054 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12056 _arg1
= new wxString(tmpPtr
, tmpSize
);
12058 if (!PyString_Check(_obj1
)) {
12059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12062 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12066 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12067 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12073 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12074 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12080 wxPy_BEGIN_ALLOW_THREADS
;
12081 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12083 wxPy_END_ALLOW_THREADS
;
12084 if (PyErr_Occurred()) return NULL
;
12085 } Py_INCREF(Py_None
);
12086 _resultobj
= Py_None
;
12094 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12095 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
* _resultobj
;
12097 wxGridCellEditor
* _result
;
12101 PyObject
* _argo0
= 0;
12102 char *_kwnames
[] = { "self","row","col", NULL
};
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12116 wxPy_BEGIN_ALLOW_THREADS
;
12117 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12119 wxPy_END_ALLOW_THREADS
;
12120 if (PyErr_Occurred()) return NULL
;
12122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12123 _resultobj
= Py_BuildValue("s",_ptemp
);
12125 Py_INCREF(Py_None
);
12126 _resultobj
= Py_None
;
12131 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12132 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
* _resultobj
;
12134 wxGridCellRenderer
* _result
;
12138 PyObject
* _argo0
= 0;
12139 char *_kwnames
[] = { "self","row","col", NULL
};
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12153 wxPy_BEGIN_ALLOW_THREADS
;
12154 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12156 wxPy_END_ALLOW_THREADS
;
12157 if (PyErr_Occurred()) return NULL
;
12159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12160 _resultobj
= Py_BuildValue("s",_ptemp
);
12162 Py_INCREF(Py_None
);
12163 _resultobj
= Py_None
;
12168 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12169 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
* _resultobj
;
12171 wxGridCellEditor
* _result
;
12174 PyObject
* _argo0
= 0;
12175 PyObject
* _obj1
= 0;
12176 char *_kwnames
[] = { "self","typeName", NULL
};
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12190 #if PYTHON_API_VERSION >= 1009
12191 char* tmpPtr
; int tmpSize
;
12192 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12196 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12198 _arg1
= new wxString(tmpPtr
, tmpSize
);
12200 if (!PyString_Check(_obj1
)) {
12201 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12204 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12208 wxPy_BEGIN_ALLOW_THREADS
;
12209 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12211 wxPy_END_ALLOW_THREADS
;
12212 if (PyErr_Occurred()) return NULL
;
12214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12215 _resultobj
= Py_BuildValue("s",_ptemp
);
12217 Py_INCREF(Py_None
);
12218 _resultobj
= Py_None
;
12227 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12228 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
* _resultobj
;
12230 wxGridCellRenderer
* _result
;
12233 PyObject
* _argo0
= 0;
12234 PyObject
* _obj1
= 0;
12235 char *_kwnames
[] = { "self","typeName", NULL
};
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12249 #if PYTHON_API_VERSION >= 1009
12250 char* tmpPtr
; int tmpSize
;
12251 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12255 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12257 _arg1
= new wxString(tmpPtr
, tmpSize
);
12259 if (!PyString_Check(_obj1
)) {
12260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12263 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12267 wxPy_BEGIN_ALLOW_THREADS
;
12268 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12270 wxPy_END_ALLOW_THREADS
;
12271 if (PyErr_Occurred()) return NULL
;
12273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12274 _resultobj
= Py_BuildValue("s",_ptemp
);
12276 Py_INCREF(Py_None
);
12277 _resultobj
= Py_None
;
12286 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12287 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
* _resultobj
;
12292 PyObject
* _argo0
= 0;
12293 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12306 wxPy_BEGIN_ALLOW_THREADS
;
12307 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12309 wxPy_END_ALLOW_THREADS
;
12310 if (PyErr_Occurred()) return NULL
;
12311 } Py_INCREF(Py_None
);
12312 _resultobj
= Py_None
;
12316 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12317 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
* _resultobj
;
12319 wxWindow
* _result
;
12321 PyObject
* _argo0
= 0;
12322 char *_kwnames
[] = { "self", NULL
};
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12335 wxPy_BEGIN_ALLOW_THREADS
;
12336 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12338 wxPy_END_ALLOW_THREADS
;
12339 if (PyErr_Occurred()) return NULL
;
12340 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12344 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12345 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
* _resultobj
;
12347 wxWindow
* _result
;
12349 PyObject
* _argo0
= 0;
12350 char *_kwnames
[] = { "self", NULL
};
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12363 wxPy_BEGIN_ALLOW_THREADS
;
12364 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12366 wxPy_END_ALLOW_THREADS
;
12367 if (PyErr_Occurred()) return NULL
;
12368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12372 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12373 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
* _resultobj
;
12375 wxWindow
* _result
;
12377 PyObject
* _argo0
= 0;
12378 char *_kwnames
[] = { "self", NULL
};
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12391 wxPy_BEGIN_ALLOW_THREADS
;
12392 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12394 wxPy_END_ALLOW_THREADS
;
12395 if (PyErr_Occurred()) return NULL
;
12396 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12400 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12401 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12403 wxWindow
* _result
;
12405 PyObject
* _argo0
= 0;
12406 char *_kwnames
[] = { "self", NULL
};
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12419 wxPy_BEGIN_ALLOW_THREADS
;
12420 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12422 wxPy_END_ALLOW_THREADS
;
12423 if (PyErr_Occurred()) return NULL
;
12424 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12428 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12430 wxNotifyEvent
*dest
;
12431 src
= (wxGridEvent
*) ptr
;
12432 dest
= (wxNotifyEvent
*) src
;
12433 return (void *) dest
;
12436 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12438 wxCommandEvent
*dest
;
12439 src
= (wxGridEvent
*) ptr
;
12440 dest
= (wxCommandEvent
*) src
;
12441 return (void *) dest
;
12444 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12447 src
= (wxGridEvent
*) ptr
;
12448 dest
= (wxEvent
*) src
;
12449 return (void *) dest
;
12452 static void *SwigwxGridEventTowxObject(void *ptr
) {
12455 src
= (wxGridEvent
*) ptr
;
12456 dest
= (wxObject
*) src
;
12457 return (void *) dest
;
12460 #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))
12461 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
* _resultobj
;
12463 wxGridEvent
* _result
;
12467 int _arg3
= (int ) -1;
12468 int _arg4
= (int ) -1;
12469 int _arg5
= (int ) -1;
12470 int _arg6
= (int ) -1;
12471 bool _arg7
= (bool ) TRUE
;
12472 bool _arg8
= (bool ) FALSE
;
12473 bool _arg9
= (bool ) FALSE
;
12474 bool _arg10
= (bool ) FALSE
;
12475 bool _arg11
= (bool ) FALSE
;
12476 PyObject
* _argo2
= 0;
12477 int tempbool7
= (int) TRUE
;
12478 int tempbool8
= (int) FALSE
;
12479 int tempbool9
= (int) FALSE
;
12480 int tempbool10
= (int) FALSE
;
12481 int tempbool11
= (int) FALSE
;
12482 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12489 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12490 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12495 _arg7
= (bool ) tempbool7
;
12496 _arg8
= (bool ) tempbool8
;
12497 _arg9
= (bool ) tempbool9
;
12498 _arg10
= (bool ) tempbool10
;
12499 _arg11
= (bool ) tempbool11
;
12501 wxPy_BEGIN_ALLOW_THREADS
;
12502 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12504 wxPy_END_ALLOW_THREADS
;
12505 if (PyErr_Occurred()) return NULL
;
12507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12508 _resultobj
= Py_BuildValue("s",_ptemp
);
12510 Py_INCREF(Py_None
);
12511 _resultobj
= Py_None
;
12516 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12517 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
* _resultobj
;
12520 wxGridEvent
* _arg0
;
12521 PyObject
* _argo0
= 0;
12522 char *_kwnames
[] = { "self", NULL
};
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12535 wxPy_BEGIN_ALLOW_THREADS
;
12536 _result
= (int )wxGridEvent_GetRow(_arg0
);
12538 wxPy_END_ALLOW_THREADS
;
12539 if (PyErr_Occurred()) return NULL
;
12540 } _resultobj
= Py_BuildValue("i",_result
);
12544 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12545 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
* _resultobj
;
12548 wxGridEvent
* _arg0
;
12549 PyObject
* _argo0
= 0;
12550 char *_kwnames
[] = { "self", NULL
};
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12563 wxPy_BEGIN_ALLOW_THREADS
;
12564 _result
= (int )wxGridEvent_GetCol(_arg0
);
12566 wxPy_END_ALLOW_THREADS
;
12567 if (PyErr_Occurred()) return NULL
;
12568 } _resultobj
= Py_BuildValue("i",_result
);
12572 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12573 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
* _resultobj
;
12576 wxGridEvent
* _arg0
;
12577 PyObject
* _argo0
= 0;
12578 char *_kwnames
[] = { "self", NULL
};
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12592 wxPy_BEGIN_ALLOW_THREADS
;
12593 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12595 wxPy_END_ALLOW_THREADS
;
12596 if (PyErr_Occurred()) return NULL
;
12597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12598 _resultobj
= Py_BuildValue("s",_ptemp
);
12602 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12603 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
* _resultobj
;
12606 wxGridEvent
* _arg0
;
12607 PyObject
* _argo0
= 0;
12608 char *_kwnames
[] = { "self", NULL
};
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12621 wxPy_BEGIN_ALLOW_THREADS
;
12622 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12624 wxPy_END_ALLOW_THREADS
;
12625 if (PyErr_Occurred()) return NULL
;
12626 } _resultobj
= Py_BuildValue("i",_result
);
12630 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12631 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
* _resultobj
;
12634 wxGridEvent
* _arg0
;
12635 PyObject
* _argo0
= 0;
12636 char *_kwnames
[] = { "self", NULL
};
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12649 wxPy_BEGIN_ALLOW_THREADS
;
12650 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12652 wxPy_END_ALLOW_THREADS
;
12653 if (PyErr_Occurred()) return NULL
;
12654 } _resultobj
= Py_BuildValue("i",_result
);
12658 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12659 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
* _resultobj
;
12662 wxGridEvent
* _arg0
;
12663 PyObject
* _argo0
= 0;
12664 char *_kwnames
[] = { "self", NULL
};
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12677 wxPy_BEGIN_ALLOW_THREADS
;
12678 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12680 wxPy_END_ALLOW_THREADS
;
12681 if (PyErr_Occurred()) return NULL
;
12682 } _resultobj
= Py_BuildValue("i",_result
);
12686 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12687 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
* _resultobj
;
12690 wxGridEvent
* _arg0
;
12691 PyObject
* _argo0
= 0;
12692 char *_kwnames
[] = { "self", NULL
};
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12705 wxPy_BEGIN_ALLOW_THREADS
;
12706 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12708 wxPy_END_ALLOW_THREADS
;
12709 if (PyErr_Occurred()) return NULL
;
12710 } _resultobj
= Py_BuildValue("i",_result
);
12714 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12715 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
* _resultobj
;
12718 wxGridEvent
* _arg0
;
12719 PyObject
* _argo0
= 0;
12720 char *_kwnames
[] = { "self", NULL
};
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12733 wxPy_BEGIN_ALLOW_THREADS
;
12734 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12736 wxPy_END_ALLOW_THREADS
;
12737 if (PyErr_Occurred()) return NULL
;
12738 } _resultobj
= Py_BuildValue("i",_result
);
12742 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12743 wxGridSizeEvent
*src
;
12744 wxNotifyEvent
*dest
;
12745 src
= (wxGridSizeEvent
*) ptr
;
12746 dest
= (wxNotifyEvent
*) src
;
12747 return (void *) dest
;
12750 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12751 wxGridSizeEvent
*src
;
12752 wxCommandEvent
*dest
;
12753 src
= (wxGridSizeEvent
*) ptr
;
12754 dest
= (wxCommandEvent
*) src
;
12755 return (void *) dest
;
12758 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12759 wxGridSizeEvent
*src
;
12761 src
= (wxGridSizeEvent
*) ptr
;
12762 dest
= (wxEvent
*) src
;
12763 return (void *) dest
;
12766 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12767 wxGridSizeEvent
*src
;
12769 src
= (wxGridSizeEvent
*) ptr
;
12770 dest
= (wxObject
*) src
;
12771 return (void *) dest
;
12774 #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))
12775 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
* _resultobj
;
12777 wxGridSizeEvent
* _result
;
12781 int _arg3
= (int ) -1;
12782 int _arg4
= (int ) -1;
12783 int _arg5
= (int ) -1;
12784 bool _arg6
= (bool ) FALSE
;
12785 bool _arg7
= (bool ) FALSE
;
12786 bool _arg8
= (bool ) FALSE
;
12787 bool _arg9
= (bool ) FALSE
;
12788 PyObject
* _argo2
= 0;
12789 int tempbool6
= (int) FALSE
;
12790 int tempbool7
= (int) FALSE
;
12791 int tempbool8
= (int) FALSE
;
12792 int tempbool9
= (int) FALSE
;
12793 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12800 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12801 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12806 _arg6
= (bool ) tempbool6
;
12807 _arg7
= (bool ) tempbool7
;
12808 _arg8
= (bool ) tempbool8
;
12809 _arg9
= (bool ) tempbool9
;
12811 wxPy_BEGIN_ALLOW_THREADS
;
12812 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12814 wxPy_END_ALLOW_THREADS
;
12815 if (PyErr_Occurred()) return NULL
;
12817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12818 _resultobj
= Py_BuildValue("s",_ptemp
);
12820 Py_INCREF(Py_None
);
12821 _resultobj
= Py_None
;
12826 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12827 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
* _resultobj
;
12830 wxGridSizeEvent
* _arg0
;
12831 PyObject
* _argo0
= 0;
12832 char *_kwnames
[] = { "self", NULL
};
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12845 wxPy_BEGIN_ALLOW_THREADS
;
12846 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12848 wxPy_END_ALLOW_THREADS
;
12849 if (PyErr_Occurred()) return NULL
;
12850 } _resultobj
= Py_BuildValue("i",_result
);
12854 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12855 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
* _resultobj
;
12858 wxGridSizeEvent
* _arg0
;
12859 PyObject
* _argo0
= 0;
12860 char *_kwnames
[] = { "self", NULL
};
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12874 wxPy_BEGIN_ALLOW_THREADS
;
12875 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12877 wxPy_END_ALLOW_THREADS
;
12878 if (PyErr_Occurred()) return NULL
;
12879 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12880 _resultobj
= Py_BuildValue("s",_ptemp
);
12884 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12885 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
* _resultobj
;
12888 wxGridSizeEvent
* _arg0
;
12889 PyObject
* _argo0
= 0;
12890 char *_kwnames
[] = { "self", NULL
};
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12903 wxPy_BEGIN_ALLOW_THREADS
;
12904 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12906 wxPy_END_ALLOW_THREADS
;
12907 if (PyErr_Occurred()) return NULL
;
12908 } _resultobj
= Py_BuildValue("i",_result
);
12912 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12913 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
* _resultobj
;
12916 wxGridSizeEvent
* _arg0
;
12917 PyObject
* _argo0
= 0;
12918 char *_kwnames
[] = { "self", NULL
};
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12931 wxPy_BEGIN_ALLOW_THREADS
;
12932 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12934 wxPy_END_ALLOW_THREADS
;
12935 if (PyErr_Occurred()) return NULL
;
12936 } _resultobj
= Py_BuildValue("i",_result
);
12940 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12941 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
* _resultobj
;
12944 wxGridSizeEvent
* _arg0
;
12945 PyObject
* _argo0
= 0;
12946 char *_kwnames
[] = { "self", NULL
};
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12959 wxPy_BEGIN_ALLOW_THREADS
;
12960 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12962 wxPy_END_ALLOW_THREADS
;
12963 if (PyErr_Occurred()) return NULL
;
12964 } _resultobj
= Py_BuildValue("i",_result
);
12968 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12969 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
* _resultobj
;
12972 wxGridSizeEvent
* _arg0
;
12973 PyObject
* _argo0
= 0;
12974 char *_kwnames
[] = { "self", NULL
};
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
12980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
12987 wxPy_BEGIN_ALLOW_THREADS
;
12988 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
12990 wxPy_END_ALLOW_THREADS
;
12991 if (PyErr_Occurred()) return NULL
;
12992 } _resultobj
= Py_BuildValue("i",_result
);
12996 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
12997 wxGridRangeSelectEvent
*src
;
12998 wxNotifyEvent
*dest
;
12999 src
= (wxGridRangeSelectEvent
*) ptr
;
13000 dest
= (wxNotifyEvent
*) src
;
13001 return (void *) dest
;
13004 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13005 wxGridRangeSelectEvent
*src
;
13006 wxCommandEvent
*dest
;
13007 src
= (wxGridRangeSelectEvent
*) ptr
;
13008 dest
= (wxCommandEvent
*) src
;
13009 return (void *) dest
;
13012 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13013 wxGridRangeSelectEvent
*src
;
13015 src
= (wxGridRangeSelectEvent
*) ptr
;
13016 dest
= (wxEvent
*) src
;
13017 return (void *) dest
;
13020 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13021 wxGridRangeSelectEvent
*src
;
13023 src
= (wxGridRangeSelectEvent
*) ptr
;
13024 dest
= (wxObject
*) src
;
13025 return (void *) dest
;
13028 #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))
13029 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
* _resultobj
;
13031 wxGridRangeSelectEvent
* _result
;
13035 wxGridCellCoords
* _arg3
;
13036 wxGridCellCoords
* _arg4
;
13037 bool _arg5
= (bool ) TRUE
;
13038 bool _arg6
= (bool ) FALSE
;
13039 bool _arg7
= (bool ) FALSE
;
13040 bool _arg8
= (bool ) FALSE
;
13041 bool _arg9
= (bool ) FALSE
;
13042 PyObject
* _argo2
= 0;
13043 wxGridCellCoords temp
;
13044 PyObject
* _obj3
= 0;
13045 wxGridCellCoords temp0
;
13046 PyObject
* _obj4
= 0;
13047 int tempbool5
= (int) TRUE
;
13048 int tempbool6
= (int) FALSE
;
13049 int tempbool7
= (int) FALSE
;
13050 int tempbool8
= (int) FALSE
;
13051 int tempbool9
= (int) FALSE
;
13052 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13059 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13060 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13067 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13072 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13075 _arg5
= (bool ) tempbool5
;
13076 _arg6
= (bool ) tempbool6
;
13077 _arg7
= (bool ) tempbool7
;
13078 _arg8
= (bool ) tempbool8
;
13079 _arg9
= (bool ) tempbool9
;
13081 wxPy_BEGIN_ALLOW_THREADS
;
13082 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13084 wxPy_END_ALLOW_THREADS
;
13085 if (PyErr_Occurred()) return NULL
;
13087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13088 _resultobj
= Py_BuildValue("s",_ptemp
);
13090 Py_INCREF(Py_None
);
13091 _resultobj
= Py_None
;
13096 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13097 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
* _resultobj
;
13099 wxGridCellCoords
* _result
;
13100 wxGridRangeSelectEvent
* _arg0
;
13101 PyObject
* _argo0
= 0;
13102 char *_kwnames
[] = { "self", NULL
};
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13116 wxPy_BEGIN_ALLOW_THREADS
;
13117 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13119 wxPy_END_ALLOW_THREADS
;
13120 if (PyErr_Occurred()) return NULL
;
13121 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13122 _resultobj
= Py_BuildValue("s",_ptemp
);
13126 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13127 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
* _resultobj
;
13129 wxGridCellCoords
* _result
;
13130 wxGridRangeSelectEvent
* _arg0
;
13131 PyObject
* _argo0
= 0;
13132 char *_kwnames
[] = { "self", NULL
};
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13146 wxPy_BEGIN_ALLOW_THREADS
;
13147 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13149 wxPy_END_ALLOW_THREADS
;
13150 if (PyErr_Occurred()) return NULL
;
13151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13152 _resultobj
= Py_BuildValue("s",_ptemp
);
13156 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13157 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
* _resultobj
;
13160 wxGridRangeSelectEvent
* _arg0
;
13161 PyObject
* _argo0
= 0;
13162 char *_kwnames
[] = { "self", NULL
};
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13175 wxPy_BEGIN_ALLOW_THREADS
;
13176 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13178 wxPy_END_ALLOW_THREADS
;
13179 if (PyErr_Occurred()) return NULL
;
13180 } _resultobj
= Py_BuildValue("i",_result
);
13184 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13185 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
* _resultobj
;
13188 wxGridRangeSelectEvent
* _arg0
;
13189 PyObject
* _argo0
= 0;
13190 char *_kwnames
[] = { "self", NULL
};
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13203 wxPy_BEGIN_ALLOW_THREADS
;
13204 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13206 wxPy_END_ALLOW_THREADS
;
13207 if (PyErr_Occurred()) return NULL
;
13208 } _resultobj
= Py_BuildValue("i",_result
);
13212 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13213 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
* _resultobj
;
13216 wxGridRangeSelectEvent
* _arg0
;
13217 PyObject
* _argo0
= 0;
13218 char *_kwnames
[] = { "self", NULL
};
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13231 wxPy_BEGIN_ALLOW_THREADS
;
13232 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13234 wxPy_END_ALLOW_THREADS
;
13235 if (PyErr_Occurred()) return NULL
;
13236 } _resultobj
= Py_BuildValue("i",_result
);
13240 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13241 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
* _resultobj
;
13244 wxGridRangeSelectEvent
* _arg0
;
13245 PyObject
* _argo0
= 0;
13246 char *_kwnames
[] = { "self", NULL
};
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13259 wxPy_BEGIN_ALLOW_THREADS
;
13260 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13262 wxPy_END_ALLOW_THREADS
;
13263 if (PyErr_Occurred()) return NULL
;
13264 } _resultobj
= Py_BuildValue("i",_result
);
13268 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13269 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
* _resultobj
;
13272 wxGridRangeSelectEvent
* _arg0
;
13273 PyObject
* _argo0
= 0;
13274 char *_kwnames
[] = { "self", NULL
};
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13287 wxPy_BEGIN_ALLOW_THREADS
;
13288 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13290 wxPy_END_ALLOW_THREADS
;
13291 if (PyErr_Occurred()) return NULL
;
13292 } _resultobj
= Py_BuildValue("i",_result
);
13296 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13297 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
* _resultobj
;
13300 wxGridRangeSelectEvent
* _arg0
;
13301 PyObject
* _argo0
= 0;
13302 char *_kwnames
[] = { "self", NULL
};
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13315 wxPy_BEGIN_ALLOW_THREADS
;
13316 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13318 wxPy_END_ALLOW_THREADS
;
13319 if (PyErr_Occurred()) return NULL
;
13320 } _resultobj
= Py_BuildValue("i",_result
);
13324 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13325 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
* _resultobj
;
13328 wxGridRangeSelectEvent
* _arg0
;
13329 PyObject
* _argo0
= 0;
13330 char *_kwnames
[] = { "self", NULL
};
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13343 wxPy_BEGIN_ALLOW_THREADS
;
13344 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13346 wxPy_END_ALLOW_THREADS
;
13347 if (PyErr_Occurred()) return NULL
;
13348 } _resultobj
= Py_BuildValue("i",_result
);
13352 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13353 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
* _resultobj
;
13356 wxGridRangeSelectEvent
* _arg0
;
13357 PyObject
* _argo0
= 0;
13358 char *_kwnames
[] = { "self", NULL
};
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13371 wxPy_BEGIN_ALLOW_THREADS
;
13372 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13374 wxPy_END_ALLOW_THREADS
;
13375 if (PyErr_Occurred()) return NULL
;
13376 } _resultobj
= Py_BuildValue("i",_result
);
13380 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13381 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
* _resultobj
;
13384 wxGridRangeSelectEvent
* _arg0
;
13385 PyObject
* _argo0
= 0;
13386 char *_kwnames
[] = { "self", NULL
};
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13399 wxPy_BEGIN_ALLOW_THREADS
;
13400 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13402 wxPy_END_ALLOW_THREADS
;
13403 if (PyErr_Occurred()) return NULL
;
13404 } _resultobj
= Py_BuildValue("i",_result
);
13408 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13409 wxGridEditorCreatedEvent
*src
;
13410 wxCommandEvent
*dest
;
13411 src
= (wxGridEditorCreatedEvent
*) ptr
;
13412 dest
= (wxCommandEvent
*) src
;
13413 return (void *) dest
;
13416 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13417 wxGridEditorCreatedEvent
*src
;
13419 src
= (wxGridEditorCreatedEvent
*) ptr
;
13420 dest
= (wxEvent
*) src
;
13421 return (void *) dest
;
13424 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13425 wxGridEditorCreatedEvent
*src
;
13427 src
= (wxGridEditorCreatedEvent
*) ptr
;
13428 dest
= (wxObject
*) src
;
13429 return (void *) dest
;
13432 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13433 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
* _resultobj
;
13435 wxGridEditorCreatedEvent
* _result
;
13442 PyObject
* _argo2
= 0;
13443 PyObject
* _argo5
= 0;
13444 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13451 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13452 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13458 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13459 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13465 wxPy_BEGIN_ALLOW_THREADS
;
13466 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13468 wxPy_END_ALLOW_THREADS
;
13469 if (PyErr_Occurred()) return NULL
;
13471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13472 _resultobj
= Py_BuildValue("s",_ptemp
);
13474 Py_INCREF(Py_None
);
13475 _resultobj
= Py_None
;
13480 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13481 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
* _resultobj
;
13484 wxGridEditorCreatedEvent
* _arg0
;
13485 PyObject
* _argo0
= 0;
13486 char *_kwnames
[] = { "self", NULL
};
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13499 wxPy_BEGIN_ALLOW_THREADS
;
13500 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13502 wxPy_END_ALLOW_THREADS
;
13503 if (PyErr_Occurred()) return NULL
;
13504 } _resultobj
= Py_BuildValue("i",_result
);
13508 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13509 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
* _resultobj
;
13512 wxGridEditorCreatedEvent
* _arg0
;
13513 PyObject
* _argo0
= 0;
13514 char *_kwnames
[] = { "self", NULL
};
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13527 wxPy_BEGIN_ALLOW_THREADS
;
13528 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13530 wxPy_END_ALLOW_THREADS
;
13531 if (PyErr_Occurred()) return NULL
;
13532 } _resultobj
= Py_BuildValue("i",_result
);
13536 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13537 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
* _resultobj
;
13539 wxControl
* _result
;
13540 wxGridEditorCreatedEvent
* _arg0
;
13541 PyObject
* _argo0
= 0;
13542 char *_kwnames
[] = { "self", NULL
};
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13555 wxPy_BEGIN_ALLOW_THREADS
;
13556 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13558 wxPy_END_ALLOW_THREADS
;
13559 if (PyErr_Occurred()) return NULL
;
13560 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13564 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13565 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
* _resultobj
;
13567 wxGridEditorCreatedEvent
* _arg0
;
13569 PyObject
* _argo0
= 0;
13570 char *_kwnames
[] = { "self","row", NULL
};
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13583 wxPy_BEGIN_ALLOW_THREADS
;
13584 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13586 wxPy_END_ALLOW_THREADS
;
13587 if (PyErr_Occurred()) return NULL
;
13588 } Py_INCREF(Py_None
);
13589 _resultobj
= Py_None
;
13593 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13594 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
* _resultobj
;
13596 wxGridEditorCreatedEvent
* _arg0
;
13598 PyObject
* _argo0
= 0;
13599 char *_kwnames
[] = { "self","col", NULL
};
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13612 wxPy_BEGIN_ALLOW_THREADS
;
13613 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13615 wxPy_END_ALLOW_THREADS
;
13616 if (PyErr_Occurred()) return NULL
;
13617 } Py_INCREF(Py_None
);
13618 _resultobj
= Py_None
;
13622 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13623 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
* _resultobj
;
13625 wxGridEditorCreatedEvent
* _arg0
;
13627 PyObject
* _argo0
= 0;
13628 PyObject
* _argo1
= 0;
13629 char *_kwnames
[] = { "self","ctrl", NULL
};
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13649 wxPy_BEGIN_ALLOW_THREADS
;
13650 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13652 wxPy_END_ALLOW_THREADS
;
13653 if (PyErr_Occurred()) return NULL
;
13654 } Py_INCREF(Py_None
);
13655 _resultobj
= Py_None
;
13659 static PyMethodDef gridcMethods
[] = {
13660 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13661 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13662 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13663 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13664 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13665 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13666 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13667 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13668 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13669 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13670 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13671 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13672 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13673 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13674 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13675 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13676 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13677 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13678 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13679 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13680 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13681 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13682 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13683 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13684 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13685 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13686 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13687 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13688 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13689 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13690 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13691 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13692 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13693 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13694 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13695 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13696 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13697 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13698 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14034 * This table is used by the pointer type-checker
14036 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14037 { "_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14038 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14039 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14040 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14041 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14042 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14043 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14044 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14045 { "_signed_long","_long",0},
14046 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14047 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14048 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14049 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14050 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14051 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14052 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14053 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14054 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14055 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14056 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14057 { "_wxPrintQuality","_wxCoord",0},
14058 { "_wxPrintQuality","_int",0},
14059 { "_wxPrintQuality","_signed_int",0},
14060 { "_wxPrintQuality","_unsigned_int",0},
14061 { "_wxPrintQuality","_wxWindowID",0},
14062 { "_wxPrintQuality","_uint",0},
14063 { "_wxPrintQuality","_EBool",0},
14064 { "_wxPrintQuality","_size_t",0},
14065 { "_wxPrintQuality","_time_t",0},
14066 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14067 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14068 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14069 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14070 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14071 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14072 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14073 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14074 { "_byte","_unsigned_char",0},
14075 { "_long","_unsigned_long",0},
14076 { "_long","_signed_long",0},
14077 { "_class_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14078 { "_class_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14079 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14080 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14081 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14082 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14083 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14084 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14085 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14086 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject
},
14087 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14088 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14089 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14090 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14091 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14092 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14093 { "_size_t","_WXGRIDSELECTIONMODES",0},
14094 { "_size_t","_wxCoord",0},
14095 { "_size_t","_wxPrintQuality",0},
14096 { "_size_t","_time_t",0},
14097 { "_size_t","_unsigned_int",0},
14098 { "_size_t","_int",0},
14099 { "_size_t","_wxWindowID",0},
14100 { "_size_t","_uint",0},
14101 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14102 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14103 { "_uint","_WXGRIDSELECTIONMODES",0},
14104 { "_uint","_wxCoord",0},
14105 { "_uint","_wxPrintQuality",0},
14106 { "_uint","_time_t",0},
14107 { "_uint","_size_t",0},
14108 { "_uint","_unsigned_int",0},
14109 { "_uint","_int",0},
14110 { "_uint","_wxWindowID",0},
14111 { "_wxChar","_char",0},
14112 { "_class_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14113 { "_class_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14114 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14115 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14116 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14117 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14118 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14119 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14120 { "_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14121 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14122 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14123 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14124 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14125 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14126 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14127 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14128 { "_char","_wxChar",0},
14129 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14130 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14131 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14132 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14133 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14134 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14135 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14136 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14137 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14138 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14139 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14140 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14141 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14142 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14143 { "_EBool","_WXGRIDSELECTIONMODES",0},
14144 { "_EBool","_wxCoord",0},
14145 { "_EBool","_wxPrintQuality",0},
14146 { "_EBool","_signed_int",0},
14147 { "_EBool","_int",0},
14148 { "_EBool","_wxWindowID",0},
14149 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14150 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14151 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14152 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14153 { "_unsigned_long","_long",0},
14154 { "_WXGRIDSELECTIONMODES","_int",0},
14155 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14156 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14157 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14158 { "_WXGRIDSELECTIONMODES","_uint",0},
14159 { "_WXGRIDSELECTIONMODES","_EBool",0},
14160 { "_WXGRIDSELECTIONMODES","_size_t",0},
14161 { "_WXGRIDSELECTIONMODES","_time_t",0},
14162 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14163 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14164 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14165 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14166 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14167 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14168 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14169 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14170 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14171 { "_signed_int","_wxCoord",0},
14172 { "_signed_int","_wxPrintQuality",0},
14173 { "_signed_int","_EBool",0},
14174 { "_signed_int","_wxWindowID",0},
14175 { "_signed_int","_int",0},
14176 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14177 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14178 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14179 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14180 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14181 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14182 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14183 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14184 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14185 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14186 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14187 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14188 { "_WXTYPE","_short",0},
14189 { "_WXTYPE","_signed_short",0},
14190 { "_WXTYPE","_unsigned_short",0},
14191 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14192 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14193 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14194 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14195 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14196 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14197 { "_unsigned_short","_WXTYPE",0},
14198 { "_unsigned_short","_short",0},
14199 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14200 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14201 { "_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14202 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14203 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14204 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14205 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14206 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14207 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14208 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14209 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14210 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14211 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14212 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14213 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14214 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14215 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14216 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14217 { "_signed_short","_WXTYPE",0},
14218 { "_signed_short","_short",0},
14219 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14220 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14221 { "_unsigned_char","_byte",0},
14222 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14223 { "_unsigned_int","_wxCoord",0},
14224 { "_unsigned_int","_wxPrintQuality",0},
14225 { "_unsigned_int","_time_t",0},
14226 { "_unsigned_int","_size_t",0},
14227 { "_unsigned_int","_uint",0},
14228 { "_unsigned_int","_wxWindowID",0},
14229 { "_unsigned_int","_int",0},
14230 { "_short","_WXTYPE",0},
14231 { "_short","_unsigned_short",0},
14232 { "_short","_signed_short",0},
14233 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14234 { "_wxWindowID","_wxCoord",0},
14235 { "_wxWindowID","_wxPrintQuality",0},
14236 { "_wxWindowID","_time_t",0},
14237 { "_wxWindowID","_size_t",0},
14238 { "_wxWindowID","_EBool",0},
14239 { "_wxWindowID","_uint",0},
14240 { "_wxWindowID","_int",0},
14241 { "_wxWindowID","_signed_int",0},
14242 { "_wxWindowID","_unsigned_int",0},
14243 { "_int","_WXGRIDSELECTIONMODES",0},
14244 { "_int","_wxCoord",0},
14245 { "_int","_wxPrintQuality",0},
14246 { "_int","_time_t",0},
14247 { "_int","_size_t",0},
14248 { "_int","_EBool",0},
14249 { "_int","_uint",0},
14250 { "_int","_wxWindowID",0},
14251 { "_int","_unsigned_int",0},
14252 { "_int","_signed_int",0},
14253 { "_time_t","_WXGRIDSELECTIONMODES",0},
14254 { "_time_t","_wxCoord",0},
14255 { "_time_t","_wxPrintQuality",0},
14256 { "_time_t","_unsigned_int",0},
14257 { "_time_t","_int",0},
14258 { "_time_t","_wxWindowID",0},
14259 { "_time_t","_uint",0},
14260 { "_time_t","_size_t",0},
14261 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14262 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14263 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14264 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14265 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14266 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14267 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14268 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14269 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14270 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14271 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14272 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14273 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14274 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14275 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14276 { "_wxCoord","_int",0},
14277 { "_wxCoord","_signed_int",0},
14278 { "_wxCoord","_unsigned_int",0},
14279 { "_wxCoord","_wxWindowID",0},
14280 { "_wxCoord","_uint",0},
14281 { "_wxCoord","_EBool",0},
14282 { "_wxCoord","_size_t",0},
14283 { "_wxCoord","_time_t",0},
14284 { "_wxCoord","_wxPrintQuality",0},
14285 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14286 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14287 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14288 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14289 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14290 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14291 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14292 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14293 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14294 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14295 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14296 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14297 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14298 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14299 { "_class_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14300 { "_class_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14301 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14302 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14303 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14304 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14305 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14306 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14307 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14308 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14309 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14310 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14311 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14312 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14315 static PyObject
*SWIG_globals
;
14319 SWIGEXPORT(void) initgridc() {
14321 SWIG_globals
= SWIG_newvarlink();
14322 m
= Py_InitModule("gridc", gridcMethods
);
14323 d
= PyModule_GetDict(m
);
14324 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14325 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14326 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14327 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14328 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14329 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14330 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14331 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14332 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14333 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14334 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14335 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14336 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14337 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14338 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14339 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14340 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14341 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14342 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14343 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14344 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14345 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14346 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14347 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14348 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14349 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14350 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14351 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14352 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14353 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14354 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14355 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14356 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14357 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14359 wxClassInfo::CleanUpClasses();
14360 wxClassInfo::InitializeClasses();
14361 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14362 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14363 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14364 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14365 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14366 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14367 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14368 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14369 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14372 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14373 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);