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_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7729 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
* _resultobj
;
7732 PyObject
* _argo0
= 0;
7733 char *_kwnames
[] = { "self", NULL
};
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7746 wxPy_BEGIN_ALLOW_THREADS
;
7747 wxGrid_ForceRefresh(_arg0
);
7749 wxPy_END_ALLOW_THREADS
;
7750 if (PyErr_Occurred()) return NULL
;
7751 } Py_INCREF(Py_None
);
7752 _resultobj
= Py_None
;
7756 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7757 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7761 PyObject
* _argo0
= 0;
7762 char *_kwnames
[] = { "self", NULL
};
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7775 wxPy_BEGIN_ALLOW_THREADS
;
7776 _result
= (bool )wxGrid_IsEditable(_arg0
);
7778 wxPy_END_ALLOW_THREADS
;
7779 if (PyErr_Occurred()) return NULL
;
7780 } _resultobj
= Py_BuildValue("i",_result
);
7784 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7785 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7789 PyObject
* _argo0
= 0;
7791 char *_kwnames
[] = { "self","edit", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7803 _arg1
= (bool ) tempbool1
;
7805 wxPy_BEGIN_ALLOW_THREADS
;
7806 wxGrid_EnableEditing(_arg0
,_arg1
);
7808 wxPy_END_ALLOW_THREADS
;
7809 if (PyErr_Occurred()) return NULL
;
7810 } Py_INCREF(Py_None
);
7811 _resultobj
= Py_None
;
7815 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7816 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7819 bool _arg1
= (bool ) TRUE
;
7820 PyObject
* _argo0
= 0;
7821 int tempbool1
= (int) TRUE
;
7822 char *_kwnames
[] = { "self","enable", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7834 _arg1
= (bool ) tempbool1
;
7836 wxPy_BEGIN_ALLOW_THREADS
;
7837 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7839 wxPy_END_ALLOW_THREADS
;
7840 if (PyErr_Occurred()) return NULL
;
7841 } Py_INCREF(Py_None
);
7842 _resultobj
= Py_None
;
7846 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7847 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7850 PyObject
* _argo0
= 0;
7851 char *_kwnames
[] = { "self", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7864 wxPy_BEGIN_ALLOW_THREADS
;
7865 wxGrid_DisableCellEditControl(_arg0
);
7867 wxPy_END_ALLOW_THREADS
;
7868 if (PyErr_Occurred()) return NULL
;
7869 } Py_INCREF(Py_None
);
7870 _resultobj
= Py_None
;
7874 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7875 static PyObject
*_wrap_wxGrid_CanEnableCellControl(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_CanEnableCellControl",_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_CanEnableCellControl. Expected _wxGrid_p.");
7893 wxPy_BEGIN_ALLOW_THREADS
;
7894 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7896 wxPy_END_ALLOW_THREADS
;
7897 if (PyErr_Occurred()) return NULL
;
7898 } _resultobj
= Py_BuildValue("i",_result
);
7902 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7903 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(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_IsCellEditControlEnabled",_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_IsCellEditControlEnabled. Expected _wxGrid_p.");
7921 wxPy_BEGIN_ALLOW_THREADS
;
7922 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7924 wxPy_END_ALLOW_THREADS
;
7925 if (PyErr_Occurred()) return NULL
;
7926 } _resultobj
= Py_BuildValue("i",_result
);
7930 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
7931 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(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_IsCellEditControlShown",_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_IsCellEditControlShown. Expected _wxGrid_p.");
7949 wxPy_BEGIN_ALLOW_THREADS
;
7950 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
7952 wxPy_END_ALLOW_THREADS
;
7953 if (PyErr_Occurred()) return NULL
;
7954 } _resultobj
= Py_BuildValue("i",_result
);
7958 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
7959 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
* _resultobj
;
7963 PyObject
* _argo0
= 0;
7964 char *_kwnames
[] = { "self", NULL
};
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
7970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
7977 wxPy_BEGIN_ALLOW_THREADS
;
7978 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
7980 wxPy_END_ALLOW_THREADS
;
7981 if (PyErr_Occurred()) return NULL
;
7982 } _resultobj
= Py_BuildValue("i",_result
);
7986 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
7987 static PyObject
*_wrap_wxGrid_ShowCellEditControl(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_ShowCellEditControl",_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_ShowCellEditControl. Expected _wxGrid_p.");
8004 wxPy_BEGIN_ALLOW_THREADS
;
8005 wxGrid_ShowCellEditControl(_arg0
);
8007 wxPy_END_ALLOW_THREADS
;
8008 if (PyErr_Occurred()) return NULL
;
8009 } Py_INCREF(Py_None
);
8010 _resultobj
= Py_None
;
8014 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8015 static PyObject
*_wrap_wxGrid_HideCellEditControl(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_HideCellEditControl",_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_HideCellEditControl. Expected _wxGrid_p.");
8032 wxPy_BEGIN_ALLOW_THREADS
;
8033 wxGrid_HideCellEditControl(_arg0
);
8035 wxPy_END_ALLOW_THREADS
;
8036 if (PyErr_Occurred()) return NULL
;
8037 } Py_INCREF(Py_None
);
8038 _resultobj
= Py_None
;
8042 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8043 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8046 PyObject
* _argo0
= 0;
8047 char *_kwnames
[] = { "self", NULL
};
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8060 wxPy_BEGIN_ALLOW_THREADS
;
8061 wxGrid_SaveEditControlValue(_arg0
);
8063 wxPy_END_ALLOW_THREADS
;
8064 if (PyErr_Occurred()) return NULL
;
8065 } Py_INCREF(Py_None
);
8066 _resultobj
= Py_None
;
8070 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8071 wxGridCellCoords rv
;
8072 self
->XYToCell(x
, y
, rv
);
8073 return new wxGridCellCoords(rv
);
8075 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
* _resultobj
;
8077 wxGridCellCoords
* _result
;
8081 PyObject
* _argo0
= 0;
8082 char *_kwnames
[] = { "self","x","y", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8096 wxPy_BEGIN_ALLOW_THREADS
;
8097 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8099 wxPy_END_ALLOW_THREADS
;
8100 if (PyErr_Occurred()) return NULL
;
8102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8103 _resultobj
= Py_BuildValue("s",_ptemp
);
8106 _resultobj
= Py_None
;
8111 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8112 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8117 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self","y", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8131 wxPy_BEGIN_ALLOW_THREADS
;
8132 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8134 wxPy_END_ALLOW_THREADS
;
8135 if (PyErr_Occurred()) return NULL
;
8136 } _resultobj
= Py_BuildValue("i",_result
);
8140 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8141 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
* _resultobj
;
8146 PyObject
* _argo0
= 0;
8147 char *_kwnames
[] = { "self","x", NULL
};
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8160 wxPy_BEGIN_ALLOW_THREADS
;
8161 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8163 wxPy_END_ALLOW_THREADS
;
8164 if (PyErr_Occurred()) return NULL
;
8165 } _resultobj
= Py_BuildValue("i",_result
);
8169 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8170 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
* _resultobj
;
8175 PyObject
* _argo0
= 0;
8176 char *_kwnames
[] = { "self","y", NULL
};
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8189 wxPy_BEGIN_ALLOW_THREADS
;
8190 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8192 wxPy_END_ALLOW_THREADS
;
8193 if (PyErr_Occurred()) return NULL
;
8194 } _resultobj
= Py_BuildValue("i",_result
);
8198 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8199 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
* _resultobj
;
8204 PyObject
* _argo0
= 0;
8205 char *_kwnames
[] = { "self","x", NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8218 wxPy_BEGIN_ALLOW_THREADS
;
8219 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8221 wxPy_END_ALLOW_THREADS
;
8222 if (PyErr_Occurred()) return NULL
;
8223 } _resultobj
= Py_BuildValue("i",_result
);
8227 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8228 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8234 PyObject
* _argo0
= 0;
8235 char *_kwnames
[] = { "self","row","col", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8249 wxPy_BEGIN_ALLOW_THREADS
;
8250 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8252 wxPy_END_ALLOW_THREADS
;
8253 if (PyErr_Occurred()) return NULL
;
8254 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8255 _resultobj
= Py_BuildValue("s",_ptemp
);
8259 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8260 static PyObject
*_wrap_wxGrid_GetGridCursorRow(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_GetGridCursorRow",_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_GetGridCursorRow. Expected _wxGrid_p.");
8278 wxPy_BEGIN_ALLOW_THREADS
;
8279 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8281 wxPy_END_ALLOW_THREADS
;
8282 if (PyErr_Occurred()) return NULL
;
8283 } _resultobj
= Py_BuildValue("i",_result
);
8287 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8288 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8306 wxPy_BEGIN_ALLOW_THREADS
;
8307 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8309 wxPy_END_ALLOW_THREADS
;
8310 if (PyErr_Occurred()) return NULL
;
8311 } _resultobj
= Py_BuildValue("i",_result
);
8315 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8316 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8322 bool _arg3
= (bool ) TRUE
;
8323 PyObject
* _argo0
= 0;
8324 int tempbool3
= (int) TRUE
;
8325 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8337 _arg3
= (bool ) tempbool3
;
8339 wxPy_BEGIN_ALLOW_THREADS
;
8340 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8342 wxPy_END_ALLOW_THREADS
;
8343 if (PyErr_Occurred()) return NULL
;
8344 } _resultobj
= Py_BuildValue("i",_result
);
8348 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8349 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8354 PyObject
* _argo0
= 0;
8355 char *_kwnames
[] = { "self","row","col", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8368 wxPy_BEGIN_ALLOW_THREADS
;
8369 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8371 wxPy_END_ALLOW_THREADS
;
8372 if (PyErr_Occurred()) return NULL
;
8373 } Py_INCREF(Py_None
);
8374 _resultobj
= Py_None
;
8378 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8379 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
* _resultobj
;
8384 PyObject
* _argo0
= 0;
8385 char *_kwnames
[] = { "self","row","col", NULL
};
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8398 wxPy_BEGIN_ALLOW_THREADS
;
8399 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8401 wxPy_END_ALLOW_THREADS
;
8402 if (PyErr_Occurred()) return NULL
;
8403 } Py_INCREF(Py_None
);
8404 _resultobj
= Py_None
;
8408 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8409 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8414 PyObject
* _argo0
= 0;
8416 char *_kwnames
[] = { "self","expandSelection", NULL
};
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8428 _arg1
= (bool ) tempbool1
;
8430 wxPy_BEGIN_ALLOW_THREADS
;
8431 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8433 wxPy_END_ALLOW_THREADS
;
8434 if (PyErr_Occurred()) return NULL
;
8435 } _resultobj
= Py_BuildValue("i",_result
);
8439 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8440 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
* _resultobj
;
8445 PyObject
* _argo0
= 0;
8447 char *_kwnames
[] = { "self","expandSelection", NULL
};
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8459 _arg1
= (bool ) tempbool1
;
8461 wxPy_BEGIN_ALLOW_THREADS
;
8462 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8464 wxPy_END_ALLOW_THREADS
;
8465 if (PyErr_Occurred()) return NULL
;
8466 } _resultobj
= Py_BuildValue("i",_result
);
8470 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8471 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8476 PyObject
* _argo0
= 0;
8478 char *_kwnames
[] = { "self","expandSelection", NULL
};
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8490 _arg1
= (bool ) tempbool1
;
8492 wxPy_BEGIN_ALLOW_THREADS
;
8493 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8495 wxPy_END_ALLOW_THREADS
;
8496 if (PyErr_Occurred()) return NULL
;
8497 } _resultobj
= Py_BuildValue("i",_result
);
8501 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8502 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
* _resultobj
;
8507 PyObject
* _argo0
= 0;
8509 char *_kwnames
[] = { "self","expandSelection", NULL
};
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8521 _arg1
= (bool ) tempbool1
;
8523 wxPy_BEGIN_ALLOW_THREADS
;
8524 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8526 wxPy_END_ALLOW_THREADS
;
8527 if (PyErr_Occurred()) return NULL
;
8528 } _resultobj
= Py_BuildValue("i",_result
);
8532 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8533 static PyObject
*_wrap_wxGrid_MovePageDown(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_MovePageDown",_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_MovePageDown. Expected _wxGrid_p.");
8551 wxPy_BEGIN_ALLOW_THREADS
;
8552 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8554 wxPy_END_ALLOW_THREADS
;
8555 if (PyErr_Occurred()) return NULL
;
8556 } _resultobj
= Py_BuildValue("i",_result
);
8560 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8561 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8566 char *_kwnames
[] = { "self", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8579 wxPy_BEGIN_ALLOW_THREADS
;
8580 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8582 wxPy_END_ALLOW_THREADS
;
8583 if (PyErr_Occurred()) return NULL
;
8584 } _resultobj
= Py_BuildValue("i",_result
);
8588 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8589 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
* _resultobj
;
8594 PyObject
* _argo0
= 0;
8596 char *_kwnames
[] = { "self","expandSelection", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8608 _arg1
= (bool ) tempbool1
;
8610 wxPy_BEGIN_ALLOW_THREADS
;
8611 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8613 wxPy_END_ALLOW_THREADS
;
8614 if (PyErr_Occurred()) return NULL
;
8615 } _resultobj
= Py_BuildValue("i",_result
);
8619 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8620 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
* _resultobj
;
8625 PyObject
* _argo0
= 0;
8627 char *_kwnames
[] = { "self","expandSelection", NULL
};
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8639 _arg1
= (bool ) tempbool1
;
8641 wxPy_BEGIN_ALLOW_THREADS
;
8642 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8644 wxPy_END_ALLOW_THREADS
;
8645 if (PyErr_Occurred()) return NULL
;
8646 } _resultobj
= Py_BuildValue("i",_result
);
8650 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8651 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
* _resultobj
;
8656 PyObject
* _argo0
= 0;
8658 char *_kwnames
[] = { "self","expandSelection", NULL
};
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8670 _arg1
= (bool ) tempbool1
;
8672 wxPy_BEGIN_ALLOW_THREADS
;
8673 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8675 wxPy_END_ALLOW_THREADS
;
8676 if (PyErr_Occurred()) return NULL
;
8677 } _resultobj
= Py_BuildValue("i",_result
);
8681 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8682 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8687 PyObject
* _argo0
= 0;
8689 char *_kwnames
[] = { "self","expandSelection", NULL
};
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8701 _arg1
= (bool ) tempbool1
;
8703 wxPy_BEGIN_ALLOW_THREADS
;
8704 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8706 wxPy_END_ALLOW_THREADS
;
8707 if (PyErr_Occurred()) return NULL
;
8708 } _resultobj
= Py_BuildValue("i",_result
);
8712 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8713 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(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_GetDefaultRowLabelSize",_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_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8731 wxPy_BEGIN_ALLOW_THREADS
;
8732 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8734 wxPy_END_ALLOW_THREADS
;
8735 if (PyErr_Occurred()) return NULL
;
8736 } _resultobj
= Py_BuildValue("i",_result
);
8740 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8741 static PyObject
*_wrap_wxGrid_GetRowLabelSize(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_GetRowLabelSize",_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_GetRowLabelSize. Expected _wxGrid_p.");
8759 wxPy_BEGIN_ALLOW_THREADS
;
8760 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8762 wxPy_END_ALLOW_THREADS
;
8763 if (PyErr_Occurred()) return NULL
;
8764 } _resultobj
= Py_BuildValue("i",_result
);
8768 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8769 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(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_GetDefaultColLabelSize",_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_GetDefaultColLabelSize. Expected _wxGrid_p.");
8787 wxPy_BEGIN_ALLOW_THREADS
;
8788 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8790 wxPy_END_ALLOW_THREADS
;
8791 if (PyErr_Occurred()) return NULL
;
8792 } _resultobj
= Py_BuildValue("i",_result
);
8796 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8797 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8801 PyObject
* _argo0
= 0;
8802 char *_kwnames
[] = { "self", NULL
};
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8815 wxPy_BEGIN_ALLOW_THREADS
;
8816 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8818 wxPy_END_ALLOW_THREADS
;
8819 if (PyErr_Occurred()) return NULL
;
8820 } _resultobj
= Py_BuildValue("i",_result
);
8824 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8825 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
* _resultobj
;
8829 PyObject
* _argo0
= 0;
8830 char *_kwnames
[] = { "self", NULL
};
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8844 wxPy_BEGIN_ALLOW_THREADS
;
8845 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8847 wxPy_END_ALLOW_THREADS
;
8848 if (PyErr_Occurred()) return NULL
;
8849 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8850 _resultobj
= Py_BuildValue("s",_ptemp
);
8854 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8855 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8859 PyObject
* _argo0
= 0;
8860 char *_kwnames
[] = { "self", NULL
};
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8874 wxPy_BEGIN_ALLOW_THREADS
;
8875 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8877 wxPy_END_ALLOW_THREADS
;
8878 if (PyErr_Occurred()) return NULL
;
8879 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8880 _resultobj
= Py_BuildValue("s",_ptemp
);
8884 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8885 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8889 PyObject
* _argo0
= 0;
8890 char *_kwnames
[] = { "self", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8904 wxPy_BEGIN_ALLOW_THREADS
;
8905 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8907 wxPy_END_ALLOW_THREADS
;
8908 if (PyErr_Occurred()) return NULL
;
8909 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8910 _resultobj
= Py_BuildValue("s",_ptemp
);
8914 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8915 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
* _resultobj
;
8922 PyObject
* _argo0
= 0;
8923 char *_kwnames
[] = { "self", NULL
};
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
8935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
8942 wxPy_BEGIN_ALLOW_THREADS
;
8943 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
8945 wxPy_END_ALLOW_THREADS
;
8946 if (PyErr_Occurred()) return NULL
;
8947 } Py_INCREF(Py_None
);
8948 _resultobj
= Py_None
;
8951 o
= PyInt_FromLong((long) (*_arg1
));
8952 _resultobj
= t_output_helper(_resultobj
, o
);
8956 o
= PyInt_FromLong((long) (*_arg2
));
8957 _resultobj
= t_output_helper(_resultobj
, o
);
8962 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
8963 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8970 PyObject
* _argo0
= 0;
8971 char *_kwnames
[] = { "self", NULL
};
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
8983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
8990 wxPy_BEGIN_ALLOW_THREADS
;
8991 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
8993 wxPy_END_ALLOW_THREADS
;
8994 if (PyErr_Occurred()) return NULL
;
8995 } Py_INCREF(Py_None
);
8996 _resultobj
= Py_None
;
8999 o
= PyInt_FromLong((long) (*_arg1
));
9000 _resultobj
= t_output_helper(_resultobj
, o
);
9004 o
= PyInt_FromLong((long) (*_arg2
));
9005 _resultobj
= t_output_helper(_resultobj
, o
);
9010 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9011 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9017 char *_kwnames
[] = { "self","row", NULL
};
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9030 wxPy_BEGIN_ALLOW_THREADS
;
9031 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9033 wxPy_END_ALLOW_THREADS
;
9034 if (PyErr_Occurred()) return NULL
;
9036 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9044 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9045 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
* _resultobj
;
9050 PyObject
* _argo0
= 0;
9051 char *_kwnames
[] = { "self","col", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9064 wxPy_BEGIN_ALLOW_THREADS
;
9065 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9067 wxPy_END_ALLOW_THREADS
;
9068 if (PyErr_Occurred()) return NULL
;
9070 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9078 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9079 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
* _resultobj
;
9083 PyObject
* _argo0
= 0;
9084 char *_kwnames
[] = { "self", NULL
};
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9098 wxPy_BEGIN_ALLOW_THREADS
;
9099 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9101 wxPy_END_ALLOW_THREADS
;
9102 if (PyErr_Occurred()) return NULL
;
9103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9104 _resultobj
= Py_BuildValue("s",_ptemp
);
9108 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9109 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9113 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "self", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9128 wxPy_BEGIN_ALLOW_THREADS
;
9129 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9131 wxPy_END_ALLOW_THREADS
;
9132 if (PyErr_Occurred()) return NULL
;
9133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9134 _resultobj
= Py_BuildValue("s",_ptemp
);
9138 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9139 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(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_GetCellHighlightPenWidth",_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_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9157 wxPy_BEGIN_ALLOW_THREADS
;
9158 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9160 wxPy_END_ALLOW_THREADS
;
9161 if (PyErr_Occurred()) return NULL
;
9162 } _resultobj
= Py_BuildValue("i",_result
);
9166 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9167 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
* _resultobj
;
9171 PyObject
* _argo0
= 0;
9172 char *_kwnames
[] = { "self", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9185 wxPy_BEGIN_ALLOW_THREADS
;
9186 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9188 wxPy_END_ALLOW_THREADS
;
9189 if (PyErr_Occurred()) return NULL
;
9190 } _resultobj
= Py_BuildValue("i",_result
);
9194 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9195 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9199 PyObject
* _argo0
= 0;
9200 char *_kwnames
[] = { "self","width", NULL
};
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9213 wxPy_BEGIN_ALLOW_THREADS
;
9214 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9216 wxPy_END_ALLOW_THREADS
;
9217 if (PyErr_Occurred()) return NULL
;
9218 } Py_INCREF(Py_None
);
9219 _resultobj
= Py_None
;
9223 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9224 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9228 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self","height", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9242 wxPy_BEGIN_ALLOW_THREADS
;
9243 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9245 wxPy_END_ALLOW_THREADS
;
9246 if (PyErr_Occurred()) return NULL
;
9247 } Py_INCREF(Py_None
);
9248 _resultobj
= Py_None
;
9252 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9253 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9259 PyObject
* _obj1
= 0;
9260 char *_kwnames
[] = { "self","arg2", NULL
};
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9274 if (! wxColour_helper(_obj1
, &_arg1
))
9278 wxPy_BEGIN_ALLOW_THREADS
;
9279 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9281 wxPy_END_ALLOW_THREADS
;
9282 if (PyErr_Occurred()) return NULL
;
9283 } Py_INCREF(Py_None
);
9284 _resultobj
= Py_None
;
9288 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9289 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9293 PyObject
* _argo0
= 0;
9295 PyObject
* _obj1
= 0;
9296 char *_kwnames
[] = { "self","arg2", NULL
};
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9310 if (! wxColour_helper(_obj1
, &_arg1
))
9314 wxPy_BEGIN_ALLOW_THREADS
;
9315 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9317 wxPy_END_ALLOW_THREADS
;
9318 if (PyErr_Occurred()) return NULL
;
9319 } Py_INCREF(Py_None
);
9320 _resultobj
= Py_None
;
9324 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9325 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
* _resultobj
;
9329 PyObject
* _argo0
= 0;
9330 PyObject
* _argo1
= 0;
9331 char *_kwnames
[] = { "self","arg2", NULL
};
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9351 wxPy_BEGIN_ALLOW_THREADS
;
9352 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9354 wxPy_END_ALLOW_THREADS
;
9355 if (PyErr_Occurred()) return NULL
;
9356 } Py_INCREF(Py_None
);
9357 _resultobj
= Py_None
;
9361 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9362 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
* _resultobj
;
9367 PyObject
* _argo0
= 0;
9368 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9381 wxPy_BEGIN_ALLOW_THREADS
;
9382 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9384 wxPy_END_ALLOW_THREADS
;
9385 if (PyErr_Occurred()) return NULL
;
9386 } Py_INCREF(Py_None
);
9387 _resultobj
= Py_None
;
9391 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9392 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
* _resultobj
;
9397 PyObject
* _argo0
= 0;
9398 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9411 wxPy_BEGIN_ALLOW_THREADS
;
9412 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9414 wxPy_END_ALLOW_THREADS
;
9415 if (PyErr_Occurred()) return NULL
;
9416 } Py_INCREF(Py_None
);
9417 _resultobj
= Py_None
;
9421 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9422 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
* _resultobj
;
9427 PyObject
* _argo0
= 0;
9428 PyObject
* _obj2
= 0;
9429 char *_kwnames
[] = { "self","row","arg3", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9442 #if PYTHON_API_VERSION >= 1009
9443 char* tmpPtr
; int tmpSize
;
9444 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9445 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9448 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9450 _arg2
= new wxString(tmpPtr
, tmpSize
);
9452 if (!PyString_Check(_obj2
)) {
9453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9456 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9460 wxPy_BEGIN_ALLOW_THREADS
;
9461 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9463 wxPy_END_ALLOW_THREADS
;
9464 if (PyErr_Occurred()) return NULL
;
9465 } Py_INCREF(Py_None
);
9466 _resultobj
= Py_None
;
9474 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9475 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
* _resultobj
;
9480 PyObject
* _argo0
= 0;
9481 PyObject
* _obj2
= 0;
9482 char *_kwnames
[] = { "self","col","arg3", NULL
};
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9495 #if PYTHON_API_VERSION >= 1009
9496 char* tmpPtr
; int tmpSize
;
9497 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9501 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9503 _arg2
= new wxString(tmpPtr
, tmpSize
);
9505 if (!PyString_Check(_obj2
)) {
9506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9509 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9513 wxPy_BEGIN_ALLOW_THREADS
;
9514 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9516 wxPy_END_ALLOW_THREADS
;
9517 if (PyErr_Occurred()) return NULL
;
9518 } Py_INCREF(Py_None
);
9519 _resultobj
= Py_None
;
9527 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9528 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
* _resultobj
;
9532 PyObject
* _argo0
= 0;
9534 PyObject
* _obj1
= 0;
9535 char *_kwnames
[] = { "self","arg2", NULL
};
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9549 if (! wxColour_helper(_obj1
, &_arg1
))
9553 wxPy_BEGIN_ALLOW_THREADS
;
9554 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9556 wxPy_END_ALLOW_THREADS
;
9557 if (PyErr_Occurred()) return NULL
;
9558 } Py_INCREF(Py_None
);
9559 _resultobj
= Py_None
;
9563 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9564 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
* _resultobj
;
9568 PyObject
* _argo0
= 0;
9570 PyObject
* _obj1
= 0;
9571 char *_kwnames
[] = { "self","arg2", NULL
};
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9585 if (! wxColour_helper(_obj1
, &_arg1
))
9589 wxPy_BEGIN_ALLOW_THREADS
;
9590 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9592 wxPy_END_ALLOW_THREADS
;
9593 if (PyErr_Occurred()) return NULL
;
9594 } Py_INCREF(Py_None
);
9595 _resultobj
= Py_None
;
9599 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9600 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
* _resultobj
;
9604 PyObject
* _argo0
= 0;
9605 char *_kwnames
[] = { "self","width", NULL
};
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9618 wxPy_BEGIN_ALLOW_THREADS
;
9619 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9621 wxPy_END_ALLOW_THREADS
;
9622 if (PyErr_Occurred()) return NULL
;
9623 } Py_INCREF(Py_None
);
9624 _resultobj
= Py_None
;
9628 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9629 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
* _resultobj
;
9633 PyObject
* _argo0
= 0;
9634 char *_kwnames
[] = { "self","width", NULL
};
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9647 wxPy_BEGIN_ALLOW_THREADS
;
9648 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9650 wxPy_END_ALLOW_THREADS
;
9651 if (PyErr_Occurred()) return NULL
;
9652 } Py_INCREF(Py_None
);
9653 _resultobj
= Py_None
;
9657 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9658 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
* _resultobj
;
9661 bool _arg1
= (bool ) TRUE
;
9662 PyObject
* _argo0
= 0;
9663 int tempbool1
= (int) TRUE
;
9664 char *_kwnames
[] = { "self","enable", NULL
};
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9676 _arg1
= (bool ) tempbool1
;
9678 wxPy_BEGIN_ALLOW_THREADS
;
9679 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9681 wxPy_END_ALLOW_THREADS
;
9682 if (PyErr_Occurred()) return NULL
;
9683 } Py_INCREF(Py_None
);
9684 _resultobj
= Py_None
;
9688 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9689 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
* _resultobj
;
9692 PyObject
* _argo0
= 0;
9693 char *_kwnames
[] = { "self", NULL
};
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9706 wxPy_BEGIN_ALLOW_THREADS
;
9707 wxGrid_DisableDragRowSize(_arg0
);
9709 wxPy_END_ALLOW_THREADS
;
9710 if (PyErr_Occurred()) return NULL
;
9711 } Py_INCREF(Py_None
);
9712 _resultobj
= Py_None
;
9716 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9717 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9721 PyObject
* _argo0
= 0;
9722 char *_kwnames
[] = { "self", NULL
};
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9735 wxPy_BEGIN_ALLOW_THREADS
;
9736 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9738 wxPy_END_ALLOW_THREADS
;
9739 if (PyErr_Occurred()) return NULL
;
9740 } _resultobj
= Py_BuildValue("i",_result
);
9744 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9745 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9748 bool _arg1
= (bool ) TRUE
;
9749 PyObject
* _argo0
= 0;
9750 int tempbool1
= (int) TRUE
;
9751 char *_kwnames
[] = { "self","enable", NULL
};
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9763 _arg1
= (bool ) tempbool1
;
9765 wxPy_BEGIN_ALLOW_THREADS
;
9766 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9768 wxPy_END_ALLOW_THREADS
;
9769 if (PyErr_Occurred()) return NULL
;
9770 } Py_INCREF(Py_None
);
9771 _resultobj
= Py_None
;
9775 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9776 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9779 PyObject
* _argo0
= 0;
9780 char *_kwnames
[] = { "self", NULL
};
9783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9793 wxPy_BEGIN_ALLOW_THREADS
;
9794 wxGrid_DisableDragColSize(_arg0
);
9796 wxPy_END_ALLOW_THREADS
;
9797 if (PyErr_Occurred()) return NULL
;
9798 } Py_INCREF(Py_None
);
9799 _resultobj
= Py_None
;
9803 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9804 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
* _resultobj
;
9808 PyObject
* _argo0
= 0;
9809 char *_kwnames
[] = { "self", NULL
};
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9822 wxPy_BEGIN_ALLOW_THREADS
;
9823 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9825 wxPy_END_ALLOW_THREADS
;
9826 if (PyErr_Occurred()) return NULL
;
9827 } _resultobj
= Py_BuildValue("i",_result
);
9831 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9832 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
* _resultobj
;
9835 bool _arg1
= (bool ) TRUE
;
9836 PyObject
* _argo0
= 0;
9837 int tempbool1
= (int) TRUE
;
9838 char *_kwnames
[] = { "self","enable", NULL
};
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9850 _arg1
= (bool ) tempbool1
;
9852 wxPy_BEGIN_ALLOW_THREADS
;
9853 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9855 wxPy_END_ALLOW_THREADS
;
9856 if (PyErr_Occurred()) return NULL
;
9857 } Py_INCREF(Py_None
);
9858 _resultobj
= Py_None
;
9862 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9863 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9866 PyObject
* _argo0
= 0;
9867 char *_kwnames
[] = { "self", NULL
};
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9880 wxPy_BEGIN_ALLOW_THREADS
;
9881 wxGrid_DisableDragGridSize(_arg0
);
9883 wxPy_END_ALLOW_THREADS
;
9884 if (PyErr_Occurred()) return NULL
;
9885 } Py_INCREF(Py_None
);
9886 _resultobj
= Py_None
;
9890 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9891 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
* _resultobj
;
9895 PyObject
* _argo0
= 0;
9896 char *_kwnames
[] = { "self", NULL
};
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9909 wxPy_BEGIN_ALLOW_THREADS
;
9910 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9912 wxPy_END_ALLOW_THREADS
;
9913 if (PyErr_Occurred()) return NULL
;
9914 } _resultobj
= Py_BuildValue("i",_result
);
9918 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9919 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9923 wxGridCellAttr
* _arg2
;
9924 PyObject
* _argo0
= 0;
9925 PyObject
* _argo2
= 0;
9926 char *_kwnames
[] = { "self","row","attr", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9939 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
9946 wxPy_BEGIN_ALLOW_THREADS
;
9947 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
9949 wxPy_END_ALLOW_THREADS
;
9950 if (PyErr_Occurred()) return NULL
;
9951 } Py_INCREF(Py_None
);
9952 _resultobj
= Py_None
;
9956 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
9957 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
* _resultobj
;
9961 wxGridCellAttr
* _arg2
;
9962 PyObject
* _argo0
= 0;
9963 PyObject
* _argo2
= 0;
9964 char *_kwnames
[] = { "self","col","attr", NULL
};
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
9977 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
9984 wxPy_BEGIN_ALLOW_THREADS
;
9985 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
9987 wxPy_END_ALLOW_THREADS
;
9988 if (PyErr_Occurred()) return NULL
;
9989 } Py_INCREF(Py_None
);
9990 _resultobj
= Py_None
;
9994 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
9995 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
* _resultobj
;
9999 PyObject
* _argo0
= 0;
10000 char *_kwnames
[] = { "self","col", NULL
};
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10013 wxPy_BEGIN_ALLOW_THREADS
;
10014 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10016 wxPy_END_ALLOW_THREADS
;
10017 if (PyErr_Occurred()) return NULL
;
10018 } Py_INCREF(Py_None
);
10019 _resultobj
= Py_None
;
10023 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10024 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
* _resultobj
;
10028 PyObject
* _argo0
= 0;
10029 char *_kwnames
[] = { "self","col", NULL
};
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10042 wxPy_BEGIN_ALLOW_THREADS
;
10043 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10045 wxPy_END_ALLOW_THREADS
;
10046 if (PyErr_Occurred()) return NULL
;
10047 } Py_INCREF(Py_None
);
10048 _resultobj
= Py_None
;
10052 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10053 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
* _resultobj
;
10057 int _arg2
= (int ) -1;
10058 int _arg3
= (int ) -1;
10059 PyObject
* _argo0
= 0;
10060 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10073 wxPy_BEGIN_ALLOW_THREADS
;
10074 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10076 wxPy_END_ALLOW_THREADS
;
10077 if (PyErr_Occurred()) return NULL
;
10078 } Py_INCREF(Py_None
);
10079 _resultobj
= Py_None
;
10083 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10084 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
* _resultobj
;
10089 PyObject
* _argo0
= 0;
10090 PyObject
* _obj2
= 0;
10091 char *_kwnames
[] = { "self","col","typeName", NULL
};
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10104 #if PYTHON_API_VERSION >= 1009
10105 char* tmpPtr
; int tmpSize
;
10106 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10107 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10110 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10112 _arg2
= new wxString(tmpPtr
, tmpSize
);
10114 if (!PyString_Check(_obj2
)) {
10115 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10118 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10122 wxPy_BEGIN_ALLOW_THREADS
;
10123 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10125 wxPy_END_ALLOW_THREADS
;
10126 if (PyErr_Occurred()) return NULL
;
10127 } Py_INCREF(Py_None
);
10128 _resultobj
= Py_None
;
10136 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10137 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
* _resultobj
;
10140 bool _arg1
= (bool ) TRUE
;
10141 PyObject
* _argo0
= 0;
10142 int tempbool1
= (int) TRUE
;
10143 char *_kwnames
[] = { "self","enable", NULL
};
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10155 _arg1
= (bool ) tempbool1
;
10157 wxPy_BEGIN_ALLOW_THREADS
;
10158 wxGrid_EnableGridLines(_arg0
,_arg1
);
10160 wxPy_END_ALLOW_THREADS
;
10161 if (PyErr_Occurred()) return NULL
;
10162 } Py_INCREF(Py_None
);
10163 _resultobj
= Py_None
;
10167 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10168 static PyObject
*_wrap_wxGrid_GridLinesEnabled(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_GridLinesEnabled",_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_GridLinesEnabled. Expected _wxGrid_p.");
10186 wxPy_BEGIN_ALLOW_THREADS
;
10187 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10189 wxPy_END_ALLOW_THREADS
;
10190 if (PyErr_Occurred()) return NULL
;
10191 } _resultobj
= Py_BuildValue("i",_result
);
10195 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10196 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
* _resultobj
;
10200 PyObject
* _argo0
= 0;
10201 char *_kwnames
[] = { "self", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10214 wxPy_BEGIN_ALLOW_THREADS
;
10215 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10217 wxPy_END_ALLOW_THREADS
;
10218 if (PyErr_Occurred()) return NULL
;
10219 } _resultobj
= Py_BuildValue("i",_result
);
10223 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10224 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
* _resultobj
;
10229 PyObject
* _argo0
= 0;
10230 char *_kwnames
[] = { "self","row", NULL
};
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
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_GetRowSize. Expected _wxGrid_p.");
10243 wxPy_BEGIN_ALLOW_THREADS
;
10244 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10246 wxPy_END_ALLOW_THREADS
;
10247 if (PyErr_Occurred()) return NULL
;
10248 } _resultobj
= Py_BuildValue("i",_result
);
10252 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10253 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10257 PyObject
* _argo0
= 0;
10258 char *_kwnames
[] = { "self", NULL
};
10261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10271 wxPy_BEGIN_ALLOW_THREADS
;
10272 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10274 wxPy_END_ALLOW_THREADS
;
10275 if (PyErr_Occurred()) return NULL
;
10276 } _resultobj
= Py_BuildValue("i",_result
);
10280 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10281 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
* _resultobj
;
10286 PyObject
* _argo0
= 0;
10287 char *_kwnames
[] = { "self","col", NULL
};
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10300 wxPy_BEGIN_ALLOW_THREADS
;
10301 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10303 wxPy_END_ALLOW_THREADS
;
10304 if (PyErr_Occurred()) return NULL
;
10305 } _resultobj
= Py_BuildValue("i",_result
);
10309 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10310 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
* _resultobj
;
10312 wxColour
* _result
;
10314 PyObject
* _argo0
= 0;
10315 char *_kwnames
[] = { "self", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10329 wxPy_BEGIN_ALLOW_THREADS
;
10330 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10332 wxPy_END_ALLOW_THREADS
;
10333 if (PyErr_Occurred()) return NULL
;
10334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10335 _resultobj
= Py_BuildValue("s",_ptemp
);
10339 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10340 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10342 wxColour
* _result
;
10346 PyObject
* _argo0
= 0;
10347 char *_kwnames
[] = { "self","row","col", NULL
};
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10361 wxPy_BEGIN_ALLOW_THREADS
;
10362 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10364 wxPy_END_ALLOW_THREADS
;
10365 if (PyErr_Occurred()) return NULL
;
10366 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10367 _resultobj
= Py_BuildValue("s",_ptemp
);
10371 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10372 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
* _resultobj
;
10374 wxColour
* _result
;
10376 PyObject
* _argo0
= 0;
10377 char *_kwnames
[] = { "self", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10391 wxPy_BEGIN_ALLOW_THREADS
;
10392 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10394 wxPy_END_ALLOW_THREADS
;
10395 if (PyErr_Occurred()) return NULL
;
10396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10397 _resultobj
= Py_BuildValue("s",_ptemp
);
10401 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10402 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
* _resultobj
;
10404 wxColour
* _result
;
10408 PyObject
* _argo0
= 0;
10409 char *_kwnames
[] = { "self","row","col", NULL
};
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10423 wxPy_BEGIN_ALLOW_THREADS
;
10424 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10426 wxPy_END_ALLOW_THREADS
;
10427 if (PyErr_Occurred()) return NULL
;
10428 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10429 _resultobj
= Py_BuildValue("s",_ptemp
);
10433 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10434 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
* _resultobj
;
10438 PyObject
* _argo0
= 0;
10439 char *_kwnames
[] = { "self", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10453 wxPy_BEGIN_ALLOW_THREADS
;
10454 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10456 wxPy_END_ALLOW_THREADS
;
10457 if (PyErr_Occurred()) return NULL
;
10458 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10459 _resultobj
= Py_BuildValue("s",_ptemp
);
10463 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10464 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
* _resultobj
;
10470 PyObject
* _argo0
= 0;
10471 char *_kwnames
[] = { "self","row","col", NULL
};
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10485 wxPy_BEGIN_ALLOW_THREADS
;
10486 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10488 wxPy_END_ALLOW_THREADS
;
10489 if (PyErr_Occurred()) return NULL
;
10490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10491 _resultobj
= Py_BuildValue("s",_ptemp
);
10495 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10496 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
* _resultobj
;
10501 PyObject
* _argo0
= 0;
10502 PyObject
* _argo1
= 0;
10503 PyObject
* _argo2
= 0;
10504 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10524 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10531 wxPy_BEGIN_ALLOW_THREADS
;
10532 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10534 wxPy_END_ALLOW_THREADS
;
10535 if (PyErr_Occurred()) return NULL
;
10536 } Py_INCREF(Py_None
);
10537 _resultobj
= Py_None
;
10541 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10542 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
* _resultobj
;
10549 PyObject
* _argo0
= 0;
10550 PyObject
* _argo3
= 0;
10551 PyObject
* _argo4
= 0;
10552 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10565 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10566 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10572 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10573 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10579 wxPy_BEGIN_ALLOW_THREADS
;
10580 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10582 wxPy_END_ALLOW_THREADS
;
10583 if (PyErr_Occurred()) return NULL
;
10584 } Py_INCREF(Py_None
);
10585 _resultobj
= Py_None
;
10589 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10590 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
* _resultobj
;
10594 bool _arg2
= (bool ) FALSE
;
10595 PyObject
* _argo0
= 0;
10596 int tempbool2
= (int) FALSE
;
10597 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10609 _arg2
= (bool ) tempbool2
;
10611 wxPy_BEGIN_ALLOW_THREADS
;
10612 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10614 wxPy_END_ALLOW_THREADS
;
10615 if (PyErr_Occurred()) return NULL
;
10616 } Py_INCREF(Py_None
);
10617 _resultobj
= Py_None
;
10621 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10622 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10627 PyObject
* _argo0
= 0;
10628 char *_kwnames
[] = { "self","row","height", NULL
};
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10641 wxPy_BEGIN_ALLOW_THREADS
;
10642 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10644 wxPy_END_ALLOW_THREADS
;
10645 if (PyErr_Occurred()) return NULL
;
10646 } Py_INCREF(Py_None
);
10647 _resultobj
= Py_None
;
10651 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10652 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10656 bool _arg2
= (bool ) FALSE
;
10657 PyObject
* _argo0
= 0;
10658 int tempbool2
= (int) FALSE
;
10659 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10671 _arg2
= (bool ) tempbool2
;
10673 wxPy_BEGIN_ALLOW_THREADS
;
10674 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10676 wxPy_END_ALLOW_THREADS
;
10677 if (PyErr_Occurred()) return NULL
;
10678 } Py_INCREF(Py_None
);
10679 _resultobj
= Py_None
;
10683 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10684 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
* _resultobj
;
10689 PyObject
* _argo0
= 0;
10690 char *_kwnames
[] = { "self","col","width", NULL
};
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10703 wxPy_BEGIN_ALLOW_THREADS
;
10704 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10706 wxPy_END_ALLOW_THREADS
;
10707 if (PyErr_Occurred()) return NULL
;
10708 } Py_INCREF(Py_None
);
10709 _resultobj
= Py_None
;
10713 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10714 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
* _resultobj
;
10718 bool _arg2
= (bool ) TRUE
;
10719 PyObject
* _argo0
= 0;
10720 int tempbool2
= (int) TRUE
;
10721 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10733 _arg2
= (bool ) tempbool2
;
10735 wxPy_BEGIN_ALLOW_THREADS
;
10736 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10738 wxPy_END_ALLOW_THREADS
;
10739 if (PyErr_Occurred()) return NULL
;
10740 } Py_INCREF(Py_None
);
10741 _resultobj
= Py_None
;
10745 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10746 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10750 bool _arg2
= (bool ) TRUE
;
10751 PyObject
* _argo0
= 0;
10752 int tempbool2
= (int) TRUE
;
10753 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10765 _arg2
= (bool ) tempbool2
;
10767 wxPy_BEGIN_ALLOW_THREADS
;
10768 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10770 wxPy_END_ALLOW_THREADS
;
10771 if (PyErr_Occurred()) return NULL
;
10772 } Py_INCREF(Py_None
);
10773 _resultobj
= Py_None
;
10777 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10778 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10781 bool _arg1
= (bool ) TRUE
;
10782 PyObject
* _argo0
= 0;
10783 int tempbool1
= (int) TRUE
;
10784 char *_kwnames
[] = { "self","setAsMin", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10796 _arg1
= (bool ) tempbool1
;
10798 wxPy_BEGIN_ALLOW_THREADS
;
10799 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10801 wxPy_END_ALLOW_THREADS
;
10802 if (PyErr_Occurred()) return NULL
;
10803 } Py_INCREF(Py_None
);
10804 _resultobj
= Py_None
;
10808 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10809 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
* _resultobj
;
10812 bool _arg1
= (bool ) TRUE
;
10813 PyObject
* _argo0
= 0;
10814 int tempbool1
= (int) TRUE
;
10815 char *_kwnames
[] = { "self","setAsMin", NULL
};
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10827 _arg1
= (bool ) tempbool1
;
10829 wxPy_BEGIN_ALLOW_THREADS
;
10830 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10832 wxPy_END_ALLOW_THREADS
;
10833 if (PyErr_Occurred()) return NULL
;
10834 } Py_INCREF(Py_None
);
10835 _resultobj
= Py_None
;
10839 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10840 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
* _resultobj
;
10843 PyObject
* _argo0
= 0;
10844 char *_kwnames
[] = { "self", NULL
};
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10857 wxPy_BEGIN_ALLOW_THREADS
;
10858 wxGrid_AutoSize(_arg0
);
10860 wxPy_END_ALLOW_THREADS
;
10861 if (PyErr_Occurred()) return NULL
;
10862 } Py_INCREF(Py_None
);
10863 _resultobj
= Py_None
;
10867 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10868 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
* _resultobj
;
10873 PyObject
* _argo0
= 0;
10874 char *_kwnames
[] = { "self","col","width", NULL
};
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10887 wxPy_BEGIN_ALLOW_THREADS
;
10888 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10890 wxPy_END_ALLOW_THREADS
;
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10898 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10903 PyObject
* _argo0
= 0;
10904 char *_kwnames
[] = { "self","row","width", NULL
};
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10917 wxPy_BEGIN_ALLOW_THREADS
;
10918 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10920 wxPy_END_ALLOW_THREADS
;
10921 if (PyErr_Occurred()) return NULL
;
10922 } Py_INCREF(Py_None
);
10923 _resultobj
= Py_None
;
10927 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10928 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
* _resultobj
;
10932 PyObject
* _argo0
= 0;
10934 PyObject
* _obj1
= 0;
10935 char *_kwnames
[] = { "self","arg2", NULL
};
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10949 if (! wxColour_helper(_obj1
, &_arg1
))
10953 wxPy_BEGIN_ALLOW_THREADS
;
10954 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10956 wxPy_END_ALLOW_THREADS
;
10957 if (PyErr_Occurred()) return NULL
;
10958 } Py_INCREF(Py_None
);
10959 _resultobj
= Py_None
;
10963 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
10964 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
* _resultobj
;
10970 PyObject
* _argo0
= 0;
10972 PyObject
* _obj3
= 0;
10973 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
10976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
10979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
10987 if (! wxColour_helper(_obj3
, &_arg3
))
10991 wxPy_BEGIN_ALLOW_THREADS
;
10992 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
10994 wxPy_END_ALLOW_THREADS
;
10995 if (PyErr_Occurred()) return NULL
;
10996 } Py_INCREF(Py_None
);
10997 _resultobj
= Py_None
;
11001 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11002 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
* _resultobj
;
11006 PyObject
* _argo0
= 0;
11008 PyObject
* _obj1
= 0;
11009 char *_kwnames
[] = { "self","arg2", NULL
};
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11023 if (! wxColour_helper(_obj1
, &_arg1
))
11027 wxPy_BEGIN_ALLOW_THREADS
;
11028 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11030 wxPy_END_ALLOW_THREADS
;
11031 if (PyErr_Occurred()) return NULL
;
11032 } Py_INCREF(Py_None
);
11033 _resultobj
= Py_None
;
11037 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11038 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
* _resultobj
;
11044 PyObject
* _argo0
= 0;
11046 PyObject
* _obj3
= 0;
11047 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11061 if (! wxColour_helper(_obj3
, &_arg3
))
11065 wxPy_BEGIN_ALLOW_THREADS
;
11066 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11068 wxPy_END_ALLOW_THREADS
;
11069 if (PyErr_Occurred()) return NULL
;
11070 } Py_INCREF(Py_None
);
11071 _resultobj
= Py_None
;
11075 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11076 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
* _resultobj
;
11080 PyObject
* _argo0
= 0;
11081 PyObject
* _argo1
= 0;
11082 char *_kwnames
[] = { "self","arg2", NULL
};
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11102 wxPy_BEGIN_ALLOW_THREADS
;
11103 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11105 wxPy_END_ALLOW_THREADS
;
11106 if (PyErr_Occurred()) return NULL
;
11107 } Py_INCREF(Py_None
);
11108 _resultobj
= Py_None
;
11112 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11113 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
* _resultobj
;
11119 PyObject
* _argo0
= 0;
11120 PyObject
* _argo3
= 0;
11121 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11134 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11135 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11141 wxPy_BEGIN_ALLOW_THREADS
;
11142 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11144 wxPy_END_ALLOW_THREADS
;
11145 if (PyErr_Occurred()) return NULL
;
11146 } Py_INCREF(Py_None
);
11147 _resultobj
= Py_None
;
11151 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11152 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
* _resultobj
;
11157 PyObject
* _argo0
= 0;
11158 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11171 wxPy_BEGIN_ALLOW_THREADS
;
11172 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11174 wxPy_END_ALLOW_THREADS
;
11175 if (PyErr_Occurred()) return NULL
;
11176 } Py_INCREF(Py_None
);
11177 _resultobj
= Py_None
;
11181 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11182 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
* _resultobj
;
11189 PyObject
* _argo0
= 0;
11190 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11203 wxPy_BEGIN_ALLOW_THREADS
;
11204 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11206 wxPy_END_ALLOW_THREADS
;
11207 if (PyErr_Occurred()) return NULL
;
11208 } Py_INCREF(Py_None
);
11209 _resultobj
= Py_None
;
11213 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11214 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
* _resultobj
;
11217 wxGridCellRenderer
* _arg1
;
11218 PyObject
* _argo0
= 0;
11219 PyObject
* _argo1
= 0;
11220 char *_kwnames
[] = { "self","renderer", NULL
};
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11240 wxPy_BEGIN_ALLOW_THREADS
;
11241 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11243 wxPy_END_ALLOW_THREADS
;
11244 if (PyErr_Occurred()) return NULL
;
11245 } Py_INCREF(Py_None
);
11246 _resultobj
= Py_None
;
11250 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11251 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
* _resultobj
;
11256 wxGridCellRenderer
* _arg3
;
11257 PyObject
* _argo0
= 0;
11258 PyObject
* _argo3
= 0;
11259 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11272 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11273 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11279 wxPy_BEGIN_ALLOW_THREADS
;
11280 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11282 wxPy_END_ALLOW_THREADS
;
11283 if (PyErr_Occurred()) return NULL
;
11284 } Py_INCREF(Py_None
);
11285 _resultobj
= Py_None
;
11289 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11290 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
* _resultobj
;
11292 wxGridCellRenderer
* _result
;
11294 PyObject
* _argo0
= 0;
11295 char *_kwnames
[] = { "self", NULL
};
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11309 wxPy_BEGIN_ALLOW_THREADS
;
11310 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11312 wxPy_END_ALLOW_THREADS
;
11313 if (PyErr_Occurred()) return NULL
;
11315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11316 _resultobj
= Py_BuildValue("s",_ptemp
);
11318 Py_INCREF(Py_None
);
11319 _resultobj
= Py_None
;
11324 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11325 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
* _resultobj
;
11327 wxGridCellRenderer
* _result
;
11331 PyObject
* _argo0
= 0;
11332 char *_kwnames
[] = { "self","row","col", NULL
};
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11346 wxPy_BEGIN_ALLOW_THREADS
;
11347 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11349 wxPy_END_ALLOW_THREADS
;
11350 if (PyErr_Occurred()) return NULL
;
11352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11353 _resultobj
= Py_BuildValue("s",_ptemp
);
11355 Py_INCREF(Py_None
);
11356 _resultobj
= Py_None
;
11361 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11362 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
* _resultobj
;
11365 wxGridCellEditor
* _arg1
;
11366 PyObject
* _argo0
= 0;
11367 PyObject
* _argo1
= 0;
11368 char *_kwnames
[] = { "self","editor", NULL
};
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11388 wxPy_BEGIN_ALLOW_THREADS
;
11389 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11391 wxPy_END_ALLOW_THREADS
;
11392 if (PyErr_Occurred()) return NULL
;
11393 } Py_INCREF(Py_None
);
11394 _resultobj
= Py_None
;
11398 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11399 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
* _resultobj
;
11404 wxGridCellEditor
* _arg3
;
11405 PyObject
* _argo0
= 0;
11406 PyObject
* _argo3
= 0;
11407 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11420 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11421 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11427 wxPy_BEGIN_ALLOW_THREADS
;
11428 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11430 wxPy_END_ALLOW_THREADS
;
11431 if (PyErr_Occurred()) return NULL
;
11432 } Py_INCREF(Py_None
);
11433 _resultobj
= Py_None
;
11437 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11438 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
* _resultobj
;
11440 wxGridCellEditor
* _result
;
11442 PyObject
* _argo0
= 0;
11443 char *_kwnames
[] = { "self", NULL
};
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11457 wxPy_BEGIN_ALLOW_THREADS
;
11458 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11460 wxPy_END_ALLOW_THREADS
;
11461 if (PyErr_Occurred()) return NULL
;
11463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11464 _resultobj
= Py_BuildValue("s",_ptemp
);
11466 Py_INCREF(Py_None
);
11467 _resultobj
= Py_None
;
11472 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11473 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
* _resultobj
;
11475 wxGridCellEditor
* _result
;
11479 PyObject
* _argo0
= 0;
11480 char *_kwnames
[] = { "self","row","col", NULL
};
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11494 wxPy_BEGIN_ALLOW_THREADS
;
11495 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11497 wxPy_END_ALLOW_THREADS
;
11498 if (PyErr_Occurred()) return NULL
;
11500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11501 _resultobj
= Py_BuildValue("s",_ptemp
);
11503 Py_INCREF(Py_None
);
11504 _resultobj
= Py_None
;
11509 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11510 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
* _resultobj
;
11512 wxString
* _result
;
11516 PyObject
* _argo0
= 0;
11517 char *_kwnames
[] = { "self","row","col", NULL
};
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11530 wxPy_BEGIN_ALLOW_THREADS
;
11531 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11533 wxPy_END_ALLOW_THREADS
;
11534 if (PyErr_Occurred()) return NULL
;
11536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11544 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11545 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
* _resultobj
;
11551 PyObject
* _argo0
= 0;
11552 PyObject
* _obj3
= 0;
11553 char *_kwnames
[] = { "self","row","col","s", NULL
};
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11566 #if PYTHON_API_VERSION >= 1009
11567 char* tmpPtr
; int tmpSize
;
11568 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11572 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11574 _arg3
= new wxString(tmpPtr
, tmpSize
);
11576 if (!PyString_Check(_obj3
)) {
11577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11580 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11584 wxPy_BEGIN_ALLOW_THREADS
;
11585 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11587 wxPy_END_ALLOW_THREADS
;
11588 if (PyErr_Occurred()) return NULL
;
11589 } Py_INCREF(Py_None
);
11590 _resultobj
= Py_None
;
11598 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11599 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
* _resultobj
;
11605 PyObject
* _argo0
= 0;
11606 char *_kwnames
[] = { "self","row","col", NULL
};
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11619 wxPy_BEGIN_ALLOW_THREADS
;
11620 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11622 wxPy_END_ALLOW_THREADS
;
11623 if (PyErr_Occurred()) return NULL
;
11624 } _resultobj
= Py_BuildValue("i",_result
);
11628 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11629 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
* _resultobj
;
11634 bool _arg3
= (bool ) TRUE
;
11635 PyObject
* _argo0
= 0;
11636 int tempbool3
= (int) TRUE
;
11637 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11649 _arg3
= (bool ) tempbool3
;
11651 wxPy_BEGIN_ALLOW_THREADS
;
11652 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11654 wxPy_END_ALLOW_THREADS
;
11655 if (PyErr_Occurred()) return NULL
;
11656 } Py_INCREF(Py_None
);
11657 _resultobj
= Py_None
;
11661 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11662 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
* _resultobj
;
11666 bool _arg2
= (bool ) FALSE
;
11667 PyObject
* _argo0
= 0;
11668 int tempbool2
= (int) FALSE
;
11669 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11681 _arg2
= (bool ) tempbool2
;
11683 wxPy_BEGIN_ALLOW_THREADS
;
11684 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11686 wxPy_END_ALLOW_THREADS
;
11687 if (PyErr_Occurred()) return NULL
;
11688 } Py_INCREF(Py_None
);
11689 _resultobj
= Py_None
;
11693 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11694 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
* _resultobj
;
11698 bool _arg2
= (bool ) FALSE
;
11699 PyObject
* _argo0
= 0;
11700 int tempbool2
= (int) FALSE
;
11701 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11713 _arg2
= (bool ) tempbool2
;
11715 wxPy_BEGIN_ALLOW_THREADS
;
11716 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11718 wxPy_END_ALLOW_THREADS
;
11719 if (PyErr_Occurred()) return NULL
;
11720 } Py_INCREF(Py_None
);
11721 _resultobj
= Py_None
;
11725 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11726 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
* _resultobj
;
11733 bool _arg5
= (bool ) FALSE
;
11734 PyObject
* _argo0
= 0;
11735 int tempbool5
= (int) FALSE
;
11736 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11748 _arg5
= (bool ) tempbool5
;
11750 wxPy_BEGIN_ALLOW_THREADS
;
11751 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11753 wxPy_END_ALLOW_THREADS
;
11754 if (PyErr_Occurred()) return NULL
;
11755 } Py_INCREF(Py_None
);
11756 _resultobj
= Py_None
;
11760 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11761 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
* _resultobj
;
11764 PyObject
* _argo0
= 0;
11765 char *_kwnames
[] = { "self", NULL
};
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11778 wxPy_BEGIN_ALLOW_THREADS
;
11779 wxGrid_SelectAll(_arg0
);
11781 wxPy_END_ALLOW_THREADS
;
11782 if (PyErr_Occurred()) return NULL
;
11783 } Py_INCREF(Py_None
);
11784 _resultobj
= Py_None
;
11788 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11789 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
* _resultobj
;
11793 PyObject
* _argo0
= 0;
11794 char *_kwnames
[] = { "self", NULL
};
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11807 wxPy_BEGIN_ALLOW_THREADS
;
11808 _result
= (bool )wxGrid_IsSelection(_arg0
);
11810 wxPy_END_ALLOW_THREADS
;
11811 if (PyErr_Occurred()) return NULL
;
11812 } _resultobj
= Py_BuildValue("i",_result
);
11816 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11817 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
* _resultobj
;
11820 PyObject
* _argo0
= 0;
11821 char *_kwnames
[] = { "self", NULL
};
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11834 wxPy_BEGIN_ALLOW_THREADS
;
11835 wxGrid_ClearSelection(_arg0
);
11837 wxPy_END_ALLOW_THREADS
;
11838 if (PyErr_Occurred()) return NULL
;
11839 } Py_INCREF(Py_None
);
11840 _resultobj
= Py_None
;
11844 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11845 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
* _resultobj
;
11851 PyObject
* _argo0
= 0;
11852 char *_kwnames
[] = { "self","row","col", NULL
};
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11865 wxPy_BEGIN_ALLOW_THREADS
;
11866 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11868 wxPy_END_ALLOW_THREADS
;
11869 if (PyErr_Occurred()) return NULL
;
11870 } _resultobj
= Py_BuildValue("i",_result
);
11874 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11875 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
* _resultobj
;
11879 wxGridCellCoords
* _arg1
;
11880 wxGridCellCoords
* _arg2
;
11881 PyObject
* _argo0
= 0;
11882 wxGridCellCoords temp
;
11883 PyObject
* _obj1
= 0;
11884 wxGridCellCoords temp0
;
11885 PyObject
* _obj2
= 0;
11886 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11901 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11906 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11910 wxPy_BEGIN_ALLOW_THREADS
;
11911 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11913 wxPy_END_ALLOW_THREADS
;
11914 if (PyErr_Occurred()) return NULL
;
11915 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11916 _resultobj
= Py_BuildValue("s",_ptemp
);
11920 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11921 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
* _resultobj
;
11923 wxColour
* _result
;
11925 PyObject
* _argo0
= 0;
11926 char *_kwnames
[] = { "self", NULL
};
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11940 wxPy_BEGIN_ALLOW_THREADS
;
11941 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11943 wxPy_END_ALLOW_THREADS
;
11944 if (PyErr_Occurred()) return NULL
;
11945 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11946 _resultobj
= Py_BuildValue("s",_ptemp
);
11950 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11951 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
* _resultobj
;
11953 wxColour
* _result
;
11955 PyObject
* _argo0
= 0;
11956 char *_kwnames
[] = { "self", NULL
};
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
11970 wxPy_BEGIN_ALLOW_THREADS
;
11971 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
11973 wxPy_END_ALLOW_THREADS
;
11974 if (PyErr_Occurred()) return NULL
;
11975 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11976 _resultobj
= Py_BuildValue("s",_ptemp
);
11980 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
11981 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
* _resultobj
;
11985 PyObject
* _argo0
= 0;
11987 PyObject
* _obj1
= 0;
11988 char *_kwnames
[] = { "self","c", NULL
};
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
11994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12002 if (! wxColour_helper(_obj1
, &_arg1
))
12006 wxPy_BEGIN_ALLOW_THREADS
;
12007 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12009 wxPy_END_ALLOW_THREADS
;
12010 if (PyErr_Occurred()) return NULL
;
12011 } Py_INCREF(Py_None
);
12012 _resultobj
= Py_None
;
12016 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12017 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
* _resultobj
;
12021 PyObject
* _argo0
= 0;
12023 PyObject
* _obj1
= 0;
12024 char *_kwnames
[] = { "self","c", NULL
};
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12038 if (! wxColour_helper(_obj1
, &_arg1
))
12042 wxPy_BEGIN_ALLOW_THREADS
;
12043 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12045 wxPy_END_ALLOW_THREADS
;
12046 if (PyErr_Occurred()) return NULL
;
12047 } Py_INCREF(Py_None
);
12048 _resultobj
= Py_None
;
12052 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12053 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
* _resultobj
;
12057 wxGridCellRenderer
* _arg2
;
12058 wxGridCellEditor
* _arg3
;
12059 PyObject
* _argo0
= 0;
12060 PyObject
* _obj1
= 0;
12061 PyObject
* _argo2
= 0;
12062 PyObject
* _argo3
= 0;
12063 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12076 #if PYTHON_API_VERSION >= 1009
12077 char* tmpPtr
; int tmpSize
;
12078 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12082 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12084 _arg1
= new wxString(tmpPtr
, tmpSize
);
12086 if (!PyString_Check(_obj1
)) {
12087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12090 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12094 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12095 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12101 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12102 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12108 wxPy_BEGIN_ALLOW_THREADS
;
12109 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12111 wxPy_END_ALLOW_THREADS
;
12112 if (PyErr_Occurred()) return NULL
;
12113 } Py_INCREF(Py_None
);
12114 _resultobj
= Py_None
;
12122 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12123 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
* _resultobj
;
12125 wxGridCellEditor
* _result
;
12129 PyObject
* _argo0
= 0;
12130 char *_kwnames
[] = { "self","row","col", NULL
};
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12144 wxPy_BEGIN_ALLOW_THREADS
;
12145 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12147 wxPy_END_ALLOW_THREADS
;
12148 if (PyErr_Occurred()) return NULL
;
12150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12151 _resultobj
= Py_BuildValue("s",_ptemp
);
12153 Py_INCREF(Py_None
);
12154 _resultobj
= Py_None
;
12159 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12160 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
* _resultobj
;
12162 wxGridCellRenderer
* _result
;
12166 PyObject
* _argo0
= 0;
12167 char *_kwnames
[] = { "self","row","col", NULL
};
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12181 wxPy_BEGIN_ALLOW_THREADS
;
12182 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12184 wxPy_END_ALLOW_THREADS
;
12185 if (PyErr_Occurred()) return NULL
;
12187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12188 _resultobj
= Py_BuildValue("s",_ptemp
);
12190 Py_INCREF(Py_None
);
12191 _resultobj
= Py_None
;
12196 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12197 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
* _resultobj
;
12199 wxGridCellEditor
* _result
;
12202 PyObject
* _argo0
= 0;
12203 PyObject
* _obj1
= 0;
12204 char *_kwnames
[] = { "self","typeName", NULL
};
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12218 #if PYTHON_API_VERSION >= 1009
12219 char* tmpPtr
; int tmpSize
;
12220 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12224 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12226 _arg1
= new wxString(tmpPtr
, tmpSize
);
12228 if (!PyString_Check(_obj1
)) {
12229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12232 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12236 wxPy_BEGIN_ALLOW_THREADS
;
12237 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12239 wxPy_END_ALLOW_THREADS
;
12240 if (PyErr_Occurred()) return NULL
;
12242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12243 _resultobj
= Py_BuildValue("s",_ptemp
);
12245 Py_INCREF(Py_None
);
12246 _resultobj
= Py_None
;
12255 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12256 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
* _resultobj
;
12258 wxGridCellRenderer
* _result
;
12261 PyObject
* _argo0
= 0;
12262 PyObject
* _obj1
= 0;
12263 char *_kwnames
[] = { "self","typeName", NULL
};
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12277 #if PYTHON_API_VERSION >= 1009
12278 char* tmpPtr
; int tmpSize
;
12279 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12283 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12285 _arg1
= new wxString(tmpPtr
, tmpSize
);
12287 if (!PyString_Check(_obj1
)) {
12288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12291 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12295 wxPy_BEGIN_ALLOW_THREADS
;
12296 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12298 wxPy_END_ALLOW_THREADS
;
12299 if (PyErr_Occurred()) return NULL
;
12301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12302 _resultobj
= Py_BuildValue("s",_ptemp
);
12304 Py_INCREF(Py_None
);
12305 _resultobj
= Py_None
;
12314 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12315 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
* _resultobj
;
12320 PyObject
* _argo0
= 0;
12321 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12334 wxPy_BEGIN_ALLOW_THREADS
;
12335 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12337 wxPy_END_ALLOW_THREADS
;
12338 if (PyErr_Occurred()) return NULL
;
12339 } Py_INCREF(Py_None
);
12340 _resultobj
= Py_None
;
12344 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12345 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
* _resultobj
;
12347 wxWindow
* _result
;
12349 PyObject
* _argo0
= 0;
12350 char *_kwnames
[] = { "self", NULL
};
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12363 wxPy_BEGIN_ALLOW_THREADS
;
12364 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12366 wxPy_END_ALLOW_THREADS
;
12367 if (PyErr_Occurred()) return NULL
;
12368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12372 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12373 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
* _resultobj
;
12375 wxWindow
* _result
;
12377 PyObject
* _argo0
= 0;
12378 char *_kwnames
[] = { "self", NULL
};
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12391 wxPy_BEGIN_ALLOW_THREADS
;
12392 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12394 wxPy_END_ALLOW_THREADS
;
12395 if (PyErr_Occurred()) return NULL
;
12396 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12400 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12401 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12403 wxWindow
* _result
;
12405 PyObject
* _argo0
= 0;
12406 char *_kwnames
[] = { "self", NULL
};
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12419 wxPy_BEGIN_ALLOW_THREADS
;
12420 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12422 wxPy_END_ALLOW_THREADS
;
12423 if (PyErr_Occurred()) return NULL
;
12424 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12428 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12429 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
* _resultobj
;
12431 wxWindow
* _result
;
12433 PyObject
* _argo0
= 0;
12434 char *_kwnames
[] = { "self", NULL
};
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12447 wxPy_BEGIN_ALLOW_THREADS
;
12448 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12450 wxPy_END_ALLOW_THREADS
;
12451 if (PyErr_Occurred()) return NULL
;
12452 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12456 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12458 wxNotifyEvent
*dest
;
12459 src
= (wxGridEvent
*) ptr
;
12460 dest
= (wxNotifyEvent
*) src
;
12461 return (void *) dest
;
12464 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12466 wxCommandEvent
*dest
;
12467 src
= (wxGridEvent
*) ptr
;
12468 dest
= (wxCommandEvent
*) src
;
12469 return (void *) dest
;
12472 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12475 src
= (wxGridEvent
*) ptr
;
12476 dest
= (wxEvent
*) src
;
12477 return (void *) dest
;
12480 static void *SwigwxGridEventTowxObject(void *ptr
) {
12483 src
= (wxGridEvent
*) ptr
;
12484 dest
= (wxObject
*) src
;
12485 return (void *) dest
;
12488 #define new_wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11) (new wxGridEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11))
12489 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
* _resultobj
;
12491 wxGridEvent
* _result
;
12495 int _arg3
= (int ) -1;
12496 int _arg4
= (int ) -1;
12497 int _arg5
= (int ) -1;
12498 int _arg6
= (int ) -1;
12499 bool _arg7
= (bool ) TRUE
;
12500 bool _arg8
= (bool ) FALSE
;
12501 bool _arg9
= (bool ) FALSE
;
12502 bool _arg10
= (bool ) FALSE
;
12503 bool _arg11
= (bool ) FALSE
;
12504 PyObject
* _argo2
= 0;
12505 int tempbool7
= (int) TRUE
;
12506 int tempbool8
= (int) FALSE
;
12507 int tempbool9
= (int) FALSE
;
12508 int tempbool10
= (int) FALSE
;
12509 int tempbool11
= (int) FALSE
;
12510 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12517 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12518 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12523 _arg7
= (bool ) tempbool7
;
12524 _arg8
= (bool ) tempbool8
;
12525 _arg9
= (bool ) tempbool9
;
12526 _arg10
= (bool ) tempbool10
;
12527 _arg11
= (bool ) tempbool11
;
12529 wxPy_BEGIN_ALLOW_THREADS
;
12530 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12532 wxPy_END_ALLOW_THREADS
;
12533 if (PyErr_Occurred()) return NULL
;
12535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12536 _resultobj
= Py_BuildValue("s",_ptemp
);
12538 Py_INCREF(Py_None
);
12539 _resultobj
= Py_None
;
12544 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12545 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
* _resultobj
;
12548 wxGridEvent
* _arg0
;
12549 PyObject
* _argo0
= 0;
12550 char *_kwnames
[] = { "self", NULL
};
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12563 wxPy_BEGIN_ALLOW_THREADS
;
12564 _result
= (int )wxGridEvent_GetRow(_arg0
);
12566 wxPy_END_ALLOW_THREADS
;
12567 if (PyErr_Occurred()) return NULL
;
12568 } _resultobj
= Py_BuildValue("i",_result
);
12572 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12573 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
* _resultobj
;
12576 wxGridEvent
* _arg0
;
12577 PyObject
* _argo0
= 0;
12578 char *_kwnames
[] = { "self", NULL
};
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12591 wxPy_BEGIN_ALLOW_THREADS
;
12592 _result
= (int )wxGridEvent_GetCol(_arg0
);
12594 wxPy_END_ALLOW_THREADS
;
12595 if (PyErr_Occurred()) return NULL
;
12596 } _resultobj
= Py_BuildValue("i",_result
);
12600 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12601 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
* _resultobj
;
12604 wxGridEvent
* _arg0
;
12605 PyObject
* _argo0
= 0;
12606 char *_kwnames
[] = { "self", NULL
};
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12620 wxPy_BEGIN_ALLOW_THREADS
;
12621 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12623 wxPy_END_ALLOW_THREADS
;
12624 if (PyErr_Occurred()) return NULL
;
12625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12626 _resultobj
= Py_BuildValue("s",_ptemp
);
12630 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12631 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
* _resultobj
;
12634 wxGridEvent
* _arg0
;
12635 PyObject
* _argo0
= 0;
12636 char *_kwnames
[] = { "self", NULL
};
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12649 wxPy_BEGIN_ALLOW_THREADS
;
12650 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12652 wxPy_END_ALLOW_THREADS
;
12653 if (PyErr_Occurred()) return NULL
;
12654 } _resultobj
= Py_BuildValue("i",_result
);
12658 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12659 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
* _resultobj
;
12662 wxGridEvent
* _arg0
;
12663 PyObject
* _argo0
= 0;
12664 char *_kwnames
[] = { "self", NULL
};
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12677 wxPy_BEGIN_ALLOW_THREADS
;
12678 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12680 wxPy_END_ALLOW_THREADS
;
12681 if (PyErr_Occurred()) return NULL
;
12682 } _resultobj
= Py_BuildValue("i",_result
);
12686 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12687 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
* _resultobj
;
12690 wxGridEvent
* _arg0
;
12691 PyObject
* _argo0
= 0;
12692 char *_kwnames
[] = { "self", NULL
};
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12705 wxPy_BEGIN_ALLOW_THREADS
;
12706 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12708 wxPy_END_ALLOW_THREADS
;
12709 if (PyErr_Occurred()) return NULL
;
12710 } _resultobj
= Py_BuildValue("i",_result
);
12714 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12715 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
* _resultobj
;
12718 wxGridEvent
* _arg0
;
12719 PyObject
* _argo0
= 0;
12720 char *_kwnames
[] = { "self", NULL
};
12723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12733 wxPy_BEGIN_ALLOW_THREADS
;
12734 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12736 wxPy_END_ALLOW_THREADS
;
12737 if (PyErr_Occurred()) return NULL
;
12738 } _resultobj
= Py_BuildValue("i",_result
);
12742 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12743 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
* _resultobj
;
12746 wxGridEvent
* _arg0
;
12747 PyObject
* _argo0
= 0;
12748 char *_kwnames
[] = { "self", NULL
};
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12761 wxPy_BEGIN_ALLOW_THREADS
;
12762 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12764 wxPy_END_ALLOW_THREADS
;
12765 if (PyErr_Occurred()) return NULL
;
12766 } _resultobj
= Py_BuildValue("i",_result
);
12770 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12771 wxGridSizeEvent
*src
;
12772 wxNotifyEvent
*dest
;
12773 src
= (wxGridSizeEvent
*) ptr
;
12774 dest
= (wxNotifyEvent
*) src
;
12775 return (void *) dest
;
12778 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12779 wxGridSizeEvent
*src
;
12780 wxCommandEvent
*dest
;
12781 src
= (wxGridSizeEvent
*) ptr
;
12782 dest
= (wxCommandEvent
*) src
;
12783 return (void *) dest
;
12786 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12787 wxGridSizeEvent
*src
;
12789 src
= (wxGridSizeEvent
*) ptr
;
12790 dest
= (wxEvent
*) src
;
12791 return (void *) dest
;
12794 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12795 wxGridSizeEvent
*src
;
12797 src
= (wxGridSizeEvent
*) ptr
;
12798 dest
= (wxObject
*) src
;
12799 return (void *) dest
;
12802 #define new_wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridSizeEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
12803 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
* _resultobj
;
12805 wxGridSizeEvent
* _result
;
12809 int _arg3
= (int ) -1;
12810 int _arg4
= (int ) -1;
12811 int _arg5
= (int ) -1;
12812 bool _arg6
= (bool ) FALSE
;
12813 bool _arg7
= (bool ) FALSE
;
12814 bool _arg8
= (bool ) FALSE
;
12815 bool _arg9
= (bool ) FALSE
;
12816 PyObject
* _argo2
= 0;
12817 int tempbool6
= (int) FALSE
;
12818 int tempbool7
= (int) FALSE
;
12819 int tempbool8
= (int) FALSE
;
12820 int tempbool9
= (int) FALSE
;
12821 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12828 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12829 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12834 _arg6
= (bool ) tempbool6
;
12835 _arg7
= (bool ) tempbool7
;
12836 _arg8
= (bool ) tempbool8
;
12837 _arg9
= (bool ) tempbool9
;
12839 wxPy_BEGIN_ALLOW_THREADS
;
12840 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12842 wxPy_END_ALLOW_THREADS
;
12843 if (PyErr_Occurred()) return NULL
;
12845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12846 _resultobj
= Py_BuildValue("s",_ptemp
);
12848 Py_INCREF(Py_None
);
12849 _resultobj
= Py_None
;
12854 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12855 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
* _resultobj
;
12858 wxGridSizeEvent
* _arg0
;
12859 PyObject
* _argo0
= 0;
12860 char *_kwnames
[] = { "self", NULL
};
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12873 wxPy_BEGIN_ALLOW_THREADS
;
12874 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12876 wxPy_END_ALLOW_THREADS
;
12877 if (PyErr_Occurred()) return NULL
;
12878 } _resultobj
= Py_BuildValue("i",_result
);
12882 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12883 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
* _resultobj
;
12886 wxGridSizeEvent
* _arg0
;
12887 PyObject
* _argo0
= 0;
12888 char *_kwnames
[] = { "self", NULL
};
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12902 wxPy_BEGIN_ALLOW_THREADS
;
12903 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12905 wxPy_END_ALLOW_THREADS
;
12906 if (PyErr_Occurred()) return NULL
;
12907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12908 _resultobj
= Py_BuildValue("s",_ptemp
);
12912 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12913 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
* _resultobj
;
12916 wxGridSizeEvent
* _arg0
;
12917 PyObject
* _argo0
= 0;
12918 char *_kwnames
[] = { "self", NULL
};
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12931 wxPy_BEGIN_ALLOW_THREADS
;
12932 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12934 wxPy_END_ALLOW_THREADS
;
12935 if (PyErr_Occurred()) return NULL
;
12936 } _resultobj
= Py_BuildValue("i",_result
);
12940 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12941 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
* _resultobj
;
12944 wxGridSizeEvent
* _arg0
;
12945 PyObject
* _argo0
= 0;
12946 char *_kwnames
[] = { "self", NULL
};
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12959 wxPy_BEGIN_ALLOW_THREADS
;
12960 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12962 wxPy_END_ALLOW_THREADS
;
12963 if (PyErr_Occurred()) return NULL
;
12964 } _resultobj
= Py_BuildValue("i",_result
);
12968 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12969 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
* _resultobj
;
12972 wxGridSizeEvent
* _arg0
;
12973 PyObject
* _argo0
= 0;
12974 char *_kwnames
[] = { "self", NULL
};
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12987 wxPy_BEGIN_ALLOW_THREADS
;
12988 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12990 wxPy_END_ALLOW_THREADS
;
12991 if (PyErr_Occurred()) return NULL
;
12992 } _resultobj
= Py_BuildValue("i",_result
);
12996 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12997 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
* _resultobj
;
13000 wxGridSizeEvent
* _arg0
;
13001 PyObject
* _argo0
= 0;
13002 char *_kwnames
[] = { "self", NULL
};
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13015 wxPy_BEGIN_ALLOW_THREADS
;
13016 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13018 wxPy_END_ALLOW_THREADS
;
13019 if (PyErr_Occurred()) return NULL
;
13020 } _resultobj
= Py_BuildValue("i",_result
);
13024 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13025 wxGridRangeSelectEvent
*src
;
13026 wxNotifyEvent
*dest
;
13027 src
= (wxGridRangeSelectEvent
*) ptr
;
13028 dest
= (wxNotifyEvent
*) src
;
13029 return (void *) dest
;
13032 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13033 wxGridRangeSelectEvent
*src
;
13034 wxCommandEvent
*dest
;
13035 src
= (wxGridRangeSelectEvent
*) ptr
;
13036 dest
= (wxCommandEvent
*) src
;
13037 return (void *) dest
;
13040 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13041 wxGridRangeSelectEvent
*src
;
13043 src
= (wxGridRangeSelectEvent
*) ptr
;
13044 dest
= (wxEvent
*) src
;
13045 return (void *) dest
;
13048 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13049 wxGridRangeSelectEvent
*src
;
13051 src
= (wxGridRangeSelectEvent
*) ptr
;
13052 dest
= (wxObject
*) src
;
13053 return (void *) dest
;
13056 #define new_wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxGridRangeSelectEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
13057 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
* _resultobj
;
13059 wxGridRangeSelectEvent
* _result
;
13063 wxGridCellCoords
* _arg3
;
13064 wxGridCellCoords
* _arg4
;
13065 bool _arg5
= (bool ) TRUE
;
13066 bool _arg6
= (bool ) FALSE
;
13067 bool _arg7
= (bool ) FALSE
;
13068 bool _arg8
= (bool ) FALSE
;
13069 bool _arg9
= (bool ) FALSE
;
13070 PyObject
* _argo2
= 0;
13071 wxGridCellCoords temp
;
13072 PyObject
* _obj3
= 0;
13073 wxGridCellCoords temp0
;
13074 PyObject
* _obj4
= 0;
13075 int tempbool5
= (int) TRUE
;
13076 int tempbool6
= (int) FALSE
;
13077 int tempbool7
= (int) FALSE
;
13078 int tempbool8
= (int) FALSE
;
13079 int tempbool9
= (int) FALSE
;
13080 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13087 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13088 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13095 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13100 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13103 _arg5
= (bool ) tempbool5
;
13104 _arg6
= (bool ) tempbool6
;
13105 _arg7
= (bool ) tempbool7
;
13106 _arg8
= (bool ) tempbool8
;
13107 _arg9
= (bool ) tempbool9
;
13109 wxPy_BEGIN_ALLOW_THREADS
;
13110 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13112 wxPy_END_ALLOW_THREADS
;
13113 if (PyErr_Occurred()) return NULL
;
13115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13116 _resultobj
= Py_BuildValue("s",_ptemp
);
13118 Py_INCREF(Py_None
);
13119 _resultobj
= Py_None
;
13124 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13125 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
* _resultobj
;
13127 wxGridCellCoords
* _result
;
13128 wxGridRangeSelectEvent
* _arg0
;
13129 PyObject
* _argo0
= 0;
13130 char *_kwnames
[] = { "self", NULL
};
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13144 wxPy_BEGIN_ALLOW_THREADS
;
13145 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13147 wxPy_END_ALLOW_THREADS
;
13148 if (PyErr_Occurred()) return NULL
;
13149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13150 _resultobj
= Py_BuildValue("s",_ptemp
);
13154 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13155 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
* _resultobj
;
13157 wxGridCellCoords
* _result
;
13158 wxGridRangeSelectEvent
* _arg0
;
13159 PyObject
* _argo0
= 0;
13160 char *_kwnames
[] = { "self", NULL
};
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13174 wxPy_BEGIN_ALLOW_THREADS
;
13175 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13177 wxPy_END_ALLOW_THREADS
;
13178 if (PyErr_Occurred()) return NULL
;
13179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13180 _resultobj
= Py_BuildValue("s",_ptemp
);
13184 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13185 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
* _resultobj
;
13188 wxGridRangeSelectEvent
* _arg0
;
13189 PyObject
* _argo0
= 0;
13190 char *_kwnames
[] = { "self", NULL
};
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13203 wxPy_BEGIN_ALLOW_THREADS
;
13204 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13206 wxPy_END_ALLOW_THREADS
;
13207 if (PyErr_Occurred()) return NULL
;
13208 } _resultobj
= Py_BuildValue("i",_result
);
13212 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13213 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
* _resultobj
;
13216 wxGridRangeSelectEvent
* _arg0
;
13217 PyObject
* _argo0
= 0;
13218 char *_kwnames
[] = { "self", NULL
};
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13231 wxPy_BEGIN_ALLOW_THREADS
;
13232 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13234 wxPy_END_ALLOW_THREADS
;
13235 if (PyErr_Occurred()) return NULL
;
13236 } _resultobj
= Py_BuildValue("i",_result
);
13240 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13241 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
* _resultobj
;
13244 wxGridRangeSelectEvent
* _arg0
;
13245 PyObject
* _argo0
= 0;
13246 char *_kwnames
[] = { "self", NULL
};
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13259 wxPy_BEGIN_ALLOW_THREADS
;
13260 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13262 wxPy_END_ALLOW_THREADS
;
13263 if (PyErr_Occurred()) return NULL
;
13264 } _resultobj
= Py_BuildValue("i",_result
);
13268 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13269 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
* _resultobj
;
13272 wxGridRangeSelectEvent
* _arg0
;
13273 PyObject
* _argo0
= 0;
13274 char *_kwnames
[] = { "self", NULL
};
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13287 wxPy_BEGIN_ALLOW_THREADS
;
13288 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13290 wxPy_END_ALLOW_THREADS
;
13291 if (PyErr_Occurred()) return NULL
;
13292 } _resultobj
= Py_BuildValue("i",_result
);
13296 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13297 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
* _resultobj
;
13300 wxGridRangeSelectEvent
* _arg0
;
13301 PyObject
* _argo0
= 0;
13302 char *_kwnames
[] = { "self", NULL
};
13305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13315 wxPy_BEGIN_ALLOW_THREADS
;
13316 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13318 wxPy_END_ALLOW_THREADS
;
13319 if (PyErr_Occurred()) return NULL
;
13320 } _resultobj
= Py_BuildValue("i",_result
);
13324 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13325 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
* _resultobj
;
13328 wxGridRangeSelectEvent
* _arg0
;
13329 PyObject
* _argo0
= 0;
13330 char *_kwnames
[] = { "self", NULL
};
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13343 wxPy_BEGIN_ALLOW_THREADS
;
13344 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13346 wxPy_END_ALLOW_THREADS
;
13347 if (PyErr_Occurred()) return NULL
;
13348 } _resultobj
= Py_BuildValue("i",_result
);
13352 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13353 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
* _resultobj
;
13356 wxGridRangeSelectEvent
* _arg0
;
13357 PyObject
* _argo0
= 0;
13358 char *_kwnames
[] = { "self", NULL
};
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13371 wxPy_BEGIN_ALLOW_THREADS
;
13372 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13374 wxPy_END_ALLOW_THREADS
;
13375 if (PyErr_Occurred()) return NULL
;
13376 } _resultobj
= Py_BuildValue("i",_result
);
13380 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13381 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
* _resultobj
;
13384 wxGridRangeSelectEvent
* _arg0
;
13385 PyObject
* _argo0
= 0;
13386 char *_kwnames
[] = { "self", NULL
};
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13399 wxPy_BEGIN_ALLOW_THREADS
;
13400 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13402 wxPy_END_ALLOW_THREADS
;
13403 if (PyErr_Occurred()) return NULL
;
13404 } _resultobj
= Py_BuildValue("i",_result
);
13408 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13409 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
* _resultobj
;
13412 wxGridRangeSelectEvent
* _arg0
;
13413 PyObject
* _argo0
= 0;
13414 char *_kwnames
[] = { "self", NULL
};
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13427 wxPy_BEGIN_ALLOW_THREADS
;
13428 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13430 wxPy_END_ALLOW_THREADS
;
13431 if (PyErr_Occurred()) return NULL
;
13432 } _resultobj
= Py_BuildValue("i",_result
);
13436 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13437 wxGridEditorCreatedEvent
*src
;
13438 wxCommandEvent
*dest
;
13439 src
= (wxGridEditorCreatedEvent
*) ptr
;
13440 dest
= (wxCommandEvent
*) src
;
13441 return (void *) dest
;
13444 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13445 wxGridEditorCreatedEvent
*src
;
13447 src
= (wxGridEditorCreatedEvent
*) ptr
;
13448 dest
= (wxEvent
*) src
;
13449 return (void *) dest
;
13452 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13453 wxGridEditorCreatedEvent
*src
;
13455 src
= (wxGridEditorCreatedEvent
*) ptr
;
13456 dest
= (wxObject
*) src
;
13457 return (void *) dest
;
13460 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13461 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
* _resultobj
;
13463 wxGridEditorCreatedEvent
* _result
;
13470 PyObject
* _argo2
= 0;
13471 PyObject
* _argo5
= 0;
13472 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13479 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13480 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13486 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13487 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13493 wxPy_BEGIN_ALLOW_THREADS
;
13494 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13496 wxPy_END_ALLOW_THREADS
;
13497 if (PyErr_Occurred()) return NULL
;
13499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13500 _resultobj
= Py_BuildValue("s",_ptemp
);
13502 Py_INCREF(Py_None
);
13503 _resultobj
= Py_None
;
13508 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13509 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
* _resultobj
;
13512 wxGridEditorCreatedEvent
* _arg0
;
13513 PyObject
* _argo0
= 0;
13514 char *_kwnames
[] = { "self", NULL
};
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13527 wxPy_BEGIN_ALLOW_THREADS
;
13528 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13530 wxPy_END_ALLOW_THREADS
;
13531 if (PyErr_Occurred()) return NULL
;
13532 } _resultobj
= Py_BuildValue("i",_result
);
13536 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13537 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
* _resultobj
;
13540 wxGridEditorCreatedEvent
* _arg0
;
13541 PyObject
* _argo0
= 0;
13542 char *_kwnames
[] = { "self", NULL
};
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13555 wxPy_BEGIN_ALLOW_THREADS
;
13556 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13558 wxPy_END_ALLOW_THREADS
;
13559 if (PyErr_Occurred()) return NULL
;
13560 } _resultobj
= Py_BuildValue("i",_result
);
13564 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13565 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
* _resultobj
;
13567 wxControl
* _result
;
13568 wxGridEditorCreatedEvent
* _arg0
;
13569 PyObject
* _argo0
= 0;
13570 char *_kwnames
[] = { "self", NULL
};
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13583 wxPy_BEGIN_ALLOW_THREADS
;
13584 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13586 wxPy_END_ALLOW_THREADS
;
13587 if (PyErr_Occurred()) return NULL
;
13588 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13592 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13593 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
* _resultobj
;
13595 wxGridEditorCreatedEvent
* _arg0
;
13597 PyObject
* _argo0
= 0;
13598 char *_kwnames
[] = { "self","row", NULL
};
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13611 wxPy_BEGIN_ALLOW_THREADS
;
13612 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13614 wxPy_END_ALLOW_THREADS
;
13615 if (PyErr_Occurred()) return NULL
;
13616 } Py_INCREF(Py_None
);
13617 _resultobj
= Py_None
;
13621 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13622 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
* _resultobj
;
13624 wxGridEditorCreatedEvent
* _arg0
;
13626 PyObject
* _argo0
= 0;
13627 char *_kwnames
[] = { "self","col", NULL
};
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13640 wxPy_BEGIN_ALLOW_THREADS
;
13641 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13643 wxPy_END_ALLOW_THREADS
;
13644 if (PyErr_Occurred()) return NULL
;
13645 } Py_INCREF(Py_None
);
13646 _resultobj
= Py_None
;
13650 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13651 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
* _resultobj
;
13653 wxGridEditorCreatedEvent
* _arg0
;
13655 PyObject
* _argo0
= 0;
13656 PyObject
* _argo1
= 0;
13657 char *_kwnames
[] = { "self","ctrl", NULL
};
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13677 wxPy_BEGIN_ALLOW_THREADS
;
13678 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13680 wxPy_END_ALLOW_THREADS
;
13681 if (PyErr_Occurred()) return NULL
;
13682 } Py_INCREF(Py_None
);
13683 _resultobj
= Py_None
;
13687 static PyMethodDef gridcMethods
[] = {
13688 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13689 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13690 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13691 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13692 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13693 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13694 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13695 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13696 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13697 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13698 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14063 * This table is used by the pointer type-checker
14065 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14066 { "_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14067 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14068 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14069 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14070 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14071 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14072 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14073 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14074 { "_signed_long","_long",0},
14075 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14076 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14077 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14078 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14079 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14080 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14081 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14082 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14083 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14084 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14085 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14086 { "_wxPrintQuality","_wxCoord",0},
14087 { "_wxPrintQuality","_int",0},
14088 { "_wxPrintQuality","_signed_int",0},
14089 { "_wxPrintQuality","_unsigned_int",0},
14090 { "_wxPrintQuality","_wxWindowID",0},
14091 { "_wxPrintQuality","_uint",0},
14092 { "_wxPrintQuality","_EBool",0},
14093 { "_wxPrintQuality","_size_t",0},
14094 { "_wxPrintQuality","_time_t",0},
14095 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14096 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14097 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14098 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14099 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14100 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14101 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14102 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14103 { "_byte","_unsigned_char",0},
14104 { "_long","_unsigned_long",0},
14105 { "_long","_signed_long",0},
14106 { "_class_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14107 { "_class_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14108 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14109 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14110 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14111 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14112 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14113 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14114 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14115 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject
},
14116 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14117 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14118 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14119 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14120 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14121 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14122 { "_size_t","_WXGRIDSELECTIONMODES",0},
14123 { "_size_t","_wxCoord",0},
14124 { "_size_t","_wxPrintQuality",0},
14125 { "_size_t","_time_t",0},
14126 { "_size_t","_unsigned_int",0},
14127 { "_size_t","_int",0},
14128 { "_size_t","_wxWindowID",0},
14129 { "_size_t","_uint",0},
14130 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14131 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14132 { "_uint","_WXGRIDSELECTIONMODES",0},
14133 { "_uint","_wxCoord",0},
14134 { "_uint","_wxPrintQuality",0},
14135 { "_uint","_time_t",0},
14136 { "_uint","_size_t",0},
14137 { "_uint","_unsigned_int",0},
14138 { "_uint","_int",0},
14139 { "_uint","_wxWindowID",0},
14140 { "_wxChar","_char",0},
14141 { "_class_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14142 { "_class_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14143 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14144 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14145 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14146 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14147 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14148 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14149 { "_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14150 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14151 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14152 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14153 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14154 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14155 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14156 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14157 { "_char","_wxChar",0},
14158 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14159 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14160 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14161 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14162 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14163 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14164 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14165 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14166 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14167 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14168 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14169 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14170 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14171 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14172 { "_EBool","_WXGRIDSELECTIONMODES",0},
14173 { "_EBool","_wxCoord",0},
14174 { "_EBool","_wxPrintQuality",0},
14175 { "_EBool","_signed_int",0},
14176 { "_EBool","_int",0},
14177 { "_EBool","_wxWindowID",0},
14178 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14179 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14180 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14181 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14182 { "_unsigned_long","_long",0},
14183 { "_WXGRIDSELECTIONMODES","_int",0},
14184 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14185 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14186 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14187 { "_WXGRIDSELECTIONMODES","_uint",0},
14188 { "_WXGRIDSELECTIONMODES","_EBool",0},
14189 { "_WXGRIDSELECTIONMODES","_size_t",0},
14190 { "_WXGRIDSELECTIONMODES","_time_t",0},
14191 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14192 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14193 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14194 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14195 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14196 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14197 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14198 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14199 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14200 { "_signed_int","_wxCoord",0},
14201 { "_signed_int","_wxPrintQuality",0},
14202 { "_signed_int","_EBool",0},
14203 { "_signed_int","_wxWindowID",0},
14204 { "_signed_int","_int",0},
14205 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14206 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14207 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14208 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14209 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14210 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14211 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14212 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14213 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14214 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14215 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14216 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14217 { "_WXTYPE","_short",0},
14218 { "_WXTYPE","_signed_short",0},
14219 { "_WXTYPE","_unsigned_short",0},
14220 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14221 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14222 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14223 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14224 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14225 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14226 { "_unsigned_short","_WXTYPE",0},
14227 { "_unsigned_short","_short",0},
14228 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14229 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14230 { "_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14231 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14232 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14233 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14234 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14235 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14236 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14237 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14238 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14239 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14240 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14241 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14242 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14243 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14244 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14245 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14246 { "_signed_short","_WXTYPE",0},
14247 { "_signed_short","_short",0},
14248 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14249 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14250 { "_unsigned_char","_byte",0},
14251 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14252 { "_unsigned_int","_wxCoord",0},
14253 { "_unsigned_int","_wxPrintQuality",0},
14254 { "_unsigned_int","_time_t",0},
14255 { "_unsigned_int","_size_t",0},
14256 { "_unsigned_int","_uint",0},
14257 { "_unsigned_int","_wxWindowID",0},
14258 { "_unsigned_int","_int",0},
14259 { "_short","_WXTYPE",0},
14260 { "_short","_unsigned_short",0},
14261 { "_short","_signed_short",0},
14262 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14263 { "_wxWindowID","_wxCoord",0},
14264 { "_wxWindowID","_wxPrintQuality",0},
14265 { "_wxWindowID","_time_t",0},
14266 { "_wxWindowID","_size_t",0},
14267 { "_wxWindowID","_EBool",0},
14268 { "_wxWindowID","_uint",0},
14269 { "_wxWindowID","_int",0},
14270 { "_wxWindowID","_signed_int",0},
14271 { "_wxWindowID","_unsigned_int",0},
14272 { "_int","_WXGRIDSELECTIONMODES",0},
14273 { "_int","_wxCoord",0},
14274 { "_int","_wxPrintQuality",0},
14275 { "_int","_time_t",0},
14276 { "_int","_size_t",0},
14277 { "_int","_EBool",0},
14278 { "_int","_uint",0},
14279 { "_int","_wxWindowID",0},
14280 { "_int","_unsigned_int",0},
14281 { "_int","_signed_int",0},
14282 { "_time_t","_WXGRIDSELECTIONMODES",0},
14283 { "_time_t","_wxCoord",0},
14284 { "_time_t","_wxPrintQuality",0},
14285 { "_time_t","_unsigned_int",0},
14286 { "_time_t","_int",0},
14287 { "_time_t","_wxWindowID",0},
14288 { "_time_t","_uint",0},
14289 { "_time_t","_size_t",0},
14290 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14291 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14292 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14293 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14294 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14295 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14296 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14297 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14298 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14299 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14300 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14301 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14302 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14303 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14304 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14305 { "_wxCoord","_int",0},
14306 { "_wxCoord","_signed_int",0},
14307 { "_wxCoord","_unsigned_int",0},
14308 { "_wxCoord","_wxWindowID",0},
14309 { "_wxCoord","_uint",0},
14310 { "_wxCoord","_EBool",0},
14311 { "_wxCoord","_size_t",0},
14312 { "_wxCoord","_time_t",0},
14313 { "_wxCoord","_wxPrintQuality",0},
14314 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14315 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14316 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14317 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14318 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14319 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14320 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14321 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14322 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14323 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14324 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14325 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14326 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14327 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14328 { "_class_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14329 { "_class_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14330 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14331 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14332 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14333 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14334 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14335 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14336 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14337 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14338 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14339 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14340 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14341 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14344 static PyObject
*SWIG_globals
;
14348 SWIGEXPORT(void) initgridc() {
14350 SWIG_globals
= SWIG_newvarlink();
14351 m
= Py_InitModule("gridc", gridcMethods
);
14352 d
= PyModule_GetDict(m
);
14353 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14354 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14355 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14356 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14357 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14358 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14359 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14360 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14361 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14362 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14363 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14364 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14365 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14366 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14367 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14368 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14369 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14370 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14371 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14372 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14373 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14374 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14375 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14376 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14377 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14378 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14379 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14380 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14381 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14382 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14383 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14384 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14385 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14386 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14388 wxClassInfo::CleanUpClasses();
14389 wxClassInfo::InitializeClasses();
14390 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14391 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14392 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14393 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14394 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14395 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14396 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14397 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14398 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14401 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14402 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);