2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "String type required";
95 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
96 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
97 wxGridCellAttr* rval = NULL; \
99 wxPyBeginBlockThreads(); \
100 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
102 wxGridCellAttr* ptr; \
103 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
105 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
110 wxPyEndBlockThreads(); \
112 rval = PCLASS::CBNAME(a, b, c); \
115 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
116 return PCLASS::CBNAME(a, b, c); \
121 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
122 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
123 wxPyBeginBlockThreads(); \
125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
126 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
127 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
130 wxPyEndBlockThreads(); \
132 PCLASS::CBNAME(attr, a, b); \
134 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 PCLASS::CBNAME(attr, a, b); \
140 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
141 void CBNAME(wxGridCellAttr *attr, int val) { \
142 wxPyBeginBlockThreads(); \
144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
145 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
149 wxPyEndBlockThreads(); \
151 PCLASS::CBNAME(attr, val); \
153 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
154 PCLASS::CBNAME(attr, val); \
159 #define PYCALLBACK_INT__pure(CBNAME) \
161 wxPyBeginBlockThreads(); \
163 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
165 wxPyEndBlockThreads(); \
171 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
172 bool CBNAME(int a, int b) { \
173 wxPyBeginBlockThreads(); \
175 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
176 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
177 wxPyEndBlockThreads(); \
183 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
184 wxString CBNAME(int a, int b) { \
185 wxPyBeginBlockThreads(); \
187 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
189 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
191 PyObject* str = PyObject_Str(ro); \
192 rval = PyString_AsString(str); \
193 Py_DECREF(ro); Py_DECREF(str); \
196 wxPyEndBlockThreads(); \
202 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
203 void CBNAME(int a, int b, const wxString& c) { \
204 wxPyBeginBlockThreads(); \
205 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
206 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
207 wxPyEndBlockThreads(); \
211 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
212 wxString CBNAME(int a, int b) { \
214 wxPyBeginBlockThreads(); \
216 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
220 PyObject* str = PyObject_Str(ro); \
221 rval = PyString_AsString(str); \
222 Py_DECREF(ro); Py_DECREF(str); \
225 wxPyEndBlockThreads(); \
227 rval = PCLASS::CBNAME(a, b); \
230 wxString base_##CBNAME(int a, int b) { \
231 return PCLASS::CBNAME(a, b); \
236 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
237 bool CBNAME(int a, int b, const wxString& c) { \
240 wxPyBeginBlockThreads(); \
241 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
242 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
243 wxPyEndBlockThreads(); \
245 rval = PCLASS::CBNAME(a,b,c); \
248 bool base_##CBNAME(int a, int b, const wxString& c) { \
249 return PCLASS::CBNAME(a,b,c); \
255 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
256 long CBNAME(int a, int b) { \
259 wxPyBeginBlockThreads(); \
260 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
261 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
262 wxPyEndBlockThreads(); \
264 rval = PCLASS::CBNAME(a,b); \
267 long base_##CBNAME(int a, int b) { \
268 return PCLASS::CBNAME(a,b); \
273 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
274 bool CBNAME(int a, int b) { \
277 wxPyBeginBlockThreads(); \
278 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
279 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
280 wxPyEndBlockThreads(); \
282 rval = PCLASS::CBNAME(a,b); \
285 bool base_##CBNAME(int a, int b) { \
286 return PCLASS::CBNAME(a,b); \
291 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
292 double CBNAME(int a, int b) { \
294 wxPyBeginBlockThreads(); \
296 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
300 PyObject* str = PyObject_Str(ro); \
301 rval = PyFloat_AsDouble(str); \
302 Py_DECREF(ro); Py_DECREF(str); \
305 wxPyEndBlockThreads(); \
307 rval = PCLASS::CBNAME(a, b); \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
316 #define PYCALLBACK__(PCLASS, CBNAME) \
319 wxPyBeginBlockThreads(); \
320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
322 wxPyEndBlockThreads(); \
326 void base_##CBNAME() { \
333 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
337 wxPyBeginBlockThreads(); \
338 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
340 wxPyEndBlockThreads(); \
342 rval = PCLASS::CBNAME(a,b); \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
351 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
355 wxPyBeginBlockThreads(); \
356 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
357 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
358 wxPyEndBlockThreads(); \
360 rval = PCLASS::CBNAME(a); \
363 bool base_##CBNAME(size_t a) { \
364 return PCLASS::CBNAME(a); \
369 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
370 wxString CBNAME(int a) { \
372 wxPyBeginBlockThreads(); \
374 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
383 wxPyEndBlockThreads(); \
385 rval = PCLASS::CBNAME(a); \
388 wxString base_##CBNAME(int a) { \
389 return PCLASS::CBNAME(a); \
394 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
395 void CBNAME(int a, const wxString& c) { \
397 wxPyBeginBlockThreads(); \
398 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
399 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
400 wxPyEndBlockThreads(); \
402 PCLASS::CBNAME(a,c); \
404 void base_##CBNAME(int a, const wxString& c) { \
405 PCLASS::CBNAME(a,c); \
411 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
415 wxPyBeginBlockThreads(); \
416 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
417 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
418 wxPyEndBlockThreads(); \
420 rval = PCLASS::CBNAME(); \
423 bool base_##CBNAME() { \
424 return PCLASS::CBNAME(); \
429 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
430 void CBNAME(size_t a, int b) { \
432 wxPyBeginBlockThreads(); \
433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
435 wxPyEndBlockThreads(); \
437 PCLASS::CBNAME(a,b); \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
449 wxPyBeginBlockThreads(); \
450 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
451 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
452 wxPyEndBlockThreads(); \
454 PCLASS::CBNAME(a,b,c); \
456 void base_##CBNAME(int a, int b, long c) { \
457 PCLASS::CBNAME(a,b,c); \
463 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
464 void CBNAME(int a, int b, double c) { \
466 wxPyBeginBlockThreads(); \
467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
468 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
469 wxPyEndBlockThreads(); \
471 PCLASS::CBNAME(a,b,c); \
473 void base_##CBNAME(int a, int b, double c) { \
474 PCLASS::CBNAME(a,b,c); \
479 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, bool c) { \
482 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(); \
487 PCLASS::CBNAME(a,b,c); \
489 void base_##CBNAME(int a, int b, bool c) { \
490 PCLASS::CBNAME(a,b,c); \
497 class wxPyGridCellRenderer
: public wxGridCellRenderer
500 wxPyGridCellRenderer() : wxGridCellRenderer() {};
502 // Implement Python callback aware virtual methods
503 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
504 wxDC
& dc
, const wxRect
& rect
,
505 int row
, int col
, bool isSelected
) {
506 wxPyBeginBlockThreads();
507 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
508 wxPyCBH_callCallback(m_myInst
,
509 Py_BuildValue("(OOOOiii)",
510 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
511 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
512 wxPyConstructObject((void*)&dc
, "wxDC", 0),
513 wxPyConstructObject((void*)&rect
, "wxRect", 0),
514 row
, col
, isSelected
));
516 wxPyEndBlockThreads();
519 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
522 wxPyBeginBlockThreads();
523 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
526 ro
= wxPyCBH_callCallbackObj(m_myInst
,
527 Py_BuildValue("(OOOii)",
528 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
529 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
530 wxPyConstructObject((void*)&dc
, "wxDC", 0),
533 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
538 wxPyEndBlockThreads();
543 wxGridCellRenderer
*Clone() const {
544 wxGridCellRenderer
* rval
= NULL
;
545 wxPyBeginBlockThreads();
546 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
548 wxGridCellRenderer
* ptr
;
549 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
551 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
556 wxPyEndBlockThreads();
560 DEC_PYCALLBACK__STRING(SetParameters
);
565 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
568 class wxPyGridCellEditor
: public wxGridCellEditor
571 wxPyGridCellEditor() : wxGridCellEditor() {}
573 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
574 wxPyBeginBlockThreads();
575 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
576 wxPyCBH_callCallback(m_myInst
,
577 Py_BuildValue("(OiO)",
578 wxPyConstructObject((void*)parent
, "wxWindow", 0),
580 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
582 wxPyEndBlockThreads();
586 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
587 wxPyBeginBlockThreads();
588 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
589 wxPyCBH_callCallback(m_myInst
,
590 Py_BuildValue("(iiO)", row
, col
,
591 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
593 wxPyEndBlockThreads();
597 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
599 wxPyBeginBlockThreads();
600 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
601 rv
= wxPyCBH_callCallback(m_myInst
,
602 Py_BuildValue("(iiO)", row
, col
,
603 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
605 wxPyEndBlockThreads();
610 wxGridCellEditor
*Clone() const {
611 wxGridCellEditor
* rval
= NULL
;
612 wxPyBeginBlockThreads();
613 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
615 wxGridCellEditor
* ptr
;
616 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
618 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
623 wxPyEndBlockThreads();
628 void Show(bool show
, wxGridCellAttr
*attr
) {
630 wxPyBeginBlockThreads();
631 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
632 wxPyCBH_callCallback(m_myInst
,
633 Py_BuildValue("(iO)", show
,
634 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
635 wxPyEndBlockThreads();
637 wxGridCellEditor::Show(show
, attr
);
639 void base_Show(bool show
, wxGridCellAttr
*attr
) {
640 wxGridCellEditor::Show(show
, attr
);
644 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
646 wxPyBeginBlockThreads();
647 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
648 wxPyCBH_callCallback(m_myInst
,
649 Py_BuildValue("(OO)",
650 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
651 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
652 wxPyEndBlockThreads();
654 wxGridCellEditor::PaintBackground(rectCell
, attr
);
656 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
657 wxGridCellEditor::PaintBackground(rectCell
, attr
);
661 DEC_PYCALLBACK___pure(Reset
);
662 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
663 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
664 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
665 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
666 DEC_PYCALLBACK__(StartingClick
);
667 DEC_PYCALLBACK__(Destroy
);
668 DEC_PYCALLBACK__STRING(SetParameters
);
674 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
675 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
676 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
677 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
678 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
679 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
680 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
681 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
684 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
687 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
689 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
690 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
691 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
692 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
697 class wxPyGridTableBase
: public wxGridTableBase
700 wxPyGridTableBase() : wxGridTableBase() {}
702 PYCALLBACK_INT__pure(GetNumberRows
);
703 PYCALLBACK_INT__pure(GetNumberCols
);
704 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
705 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
706 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
707 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
708 PYCALLBACK__(wxGridTableBase
, Clear
);
709 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
710 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
711 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
712 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
713 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
714 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
715 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
716 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
717 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
718 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
719 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
720 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
721 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
722 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
723 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
726 wxString
GetValue(int row
, int col
) {
727 wxPyBeginBlockThreads();
729 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
731 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
733 PyObject
* str
= PyObject_Str(ro
);
734 rval
= PyString_AsString(str
);
739 wxPyEndBlockThreads();
743 void SetValue(int row
, int col
, const wxString
& val
) {
744 wxPyBeginBlockThreads();
745 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
746 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
747 wxPyEndBlockThreads();
751 // Map the Get/Set methods for the standard non-string types to
752 // the GetValue and SetValue python methods.
753 long GetValueAsLong( int row
, int col
) {
755 wxPyBeginBlockThreads();
756 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
759 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
760 if (ro
&& PyNumber_Check(ro
)) {
761 num
= PyNumber_Int(ro
);
763 rval
= PyInt_AsLong(num
);
769 wxPyEndBlockThreads();
773 double GetValueAsDouble( int row
, int col
) {
775 wxPyBeginBlockThreads();
776 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
779 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
780 if (ro
&& PyNumber_Check(ro
)) {
781 num
= PyNumber_Float(ro
);
783 rval
= PyFloat_AsDouble(num
);
789 wxPyEndBlockThreads();
793 bool GetValueAsBool( int row
, int col
) {
794 return (bool)GetValueAsLong(row
, col
);
797 void SetValueAsLong( int row
, int col
, long value
) {
798 wxPyBeginBlockThreads();
799 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
800 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
802 wxPyEndBlockThreads();
805 void SetValueAsDouble( int row
, int col
, double value
) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
808 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
810 wxPyEndBlockThreads();
813 void SetValueAsBool( int row
, int col
, bool value
) {
814 SetValueAsLong( row
, col
, (long)value
);
821 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
823 // If source is an object instance then it may already be the right type
824 if (PyInstance_Check(source
)) {
825 wxGridCellCoords
* ptr
;
826 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
831 // otherwise a 2-tuple of integers is expected
832 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
833 PyObject
* o1
= PySequence_GetItem(source
, 0);
834 PyObject
* o2
= PySequence_GetItem(source
, 1);
835 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
840 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
844 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
848 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
854 static PyObject
*_wrap_wxGridNoCellCoords_get() {
858 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
869 static PyObject
*_wrap_wxGridNoCellRect_get() {
873 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
874 pyobj
= PyString_FromString(ptemp
);
878 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
879 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxGridCellRenderer
* _arg0
;
883 PyObject
* _argo0
= 0;
884 PyObject
* _obj1
= 0;
885 char *_kwnames
[] = { "self","params", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
898 #if PYTHON_API_VERSION >= 1009
899 char* tmpPtr
; int tmpSize
;
900 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
904 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
906 _arg1
= new wxString(tmpPtr
, tmpSize
);
908 if (!PyString_Check(_obj1
)) {
909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
912 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) return NULL
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
930 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
931 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxGridCellRenderer
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxGridCellRenderer_IncRef(_arg0
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
959 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxGridCellRenderer
* _arg0
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxGridCellRenderer_DecRef(_arg0
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxGridCellRenderer
* _arg0
;
991 wxGridCellAttr
* _arg2
;
997 PyObject
* _argo0
= 0;
998 PyObject
* _argo1
= 0;
999 PyObject
* _argo2
= 0;
1000 PyObject
* _argo3
= 0;
1002 PyObject
* _obj4
= 0;
1004 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1024 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1031 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1039 if (! wxRect_helper(_obj4
, &_arg4
))
1042 _arg7
= (bool ) tempbool7
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1054 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1055 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 wxGridCellRenderer
* _arg0
;
1060 wxGridCellAttr
* _arg2
;
1064 PyObject
* _argo0
= 0;
1065 PyObject
* _argo1
= 0;
1066 PyObject
* _argo2
= 0;
1067 PyObject
* _argo3
= 0;
1068 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1096 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1109 _resultobj
= Py_BuildValue("s",_ptemp
);
1113 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1114 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxGridCellRenderer
* _result
;
1117 wxGridCellRenderer
* _arg0
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) return NULL
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1149 wxPyGridCellRenderer
*src
;
1150 wxGridCellRenderer
*dest
;
1151 src
= (wxPyGridCellRenderer
*) ptr
;
1152 dest
= (wxGridCellRenderer
*) src
;
1153 return (void *) dest
;
1156 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1157 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxPyGridCellRenderer
* _result
;
1160 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 _resultobj
= Py_None
;
1182 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1183 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxPyGridCellRenderer
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 PyObject
* _obj1
= 0;
1190 PyObject
* _obj2
= 0;
1191 char *_kwnames
[] = { "self","self","_class", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) return NULL
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1221 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxPyGridCellRenderer
* _arg0
;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _obj1
= 0;
1227 char *_kwnames
[] = { "self","params", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr
; int tmpSize
;
1242 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1248 _arg1
= new wxString(tmpPtr
, tmpSize
);
1250 if (!PyString_Check(_obj1
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1272 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1273 wxGridCellStringRenderer
*src
;
1274 wxGridCellRenderer
*dest
;
1275 src
= (wxGridCellStringRenderer
*) ptr
;
1276 dest
= (wxGridCellRenderer
*) src
;
1277 return (void *) dest
;
1280 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1281 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1283 wxGridCellStringRenderer
* _result
;
1284 char *_kwnames
[] = { NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1298 _resultobj
= Py_BuildValue("s",_ptemp
);
1301 _resultobj
= Py_None
;
1306 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1307 wxGridCellNumberRenderer
*src
;
1308 wxGridCellStringRenderer
*dest
;
1309 src
= (wxGridCellNumberRenderer
*) ptr
;
1310 dest
= (wxGridCellStringRenderer
*) src
;
1311 return (void *) dest
;
1314 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1315 wxGridCellNumberRenderer
*src
;
1316 wxGridCellRenderer
*dest
;
1317 src
= (wxGridCellNumberRenderer
*) ptr
;
1318 dest
= (wxGridCellRenderer
*) src
;
1319 return (void *) dest
;
1322 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1323 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxGridCellNumberRenderer
* _result
;
1326 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1349 wxGridCellFloatRenderer
*src
;
1350 wxGridCellStringRenderer
*dest
;
1351 src
= (wxGridCellFloatRenderer
*) ptr
;
1352 dest
= (wxGridCellStringRenderer
*) src
;
1353 return (void *) dest
;
1356 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1357 wxGridCellFloatRenderer
*src
;
1358 wxGridCellRenderer
*dest
;
1359 src
= (wxGridCellFloatRenderer
*) ptr
;
1360 dest
= (wxGridCellRenderer
*) src
;
1361 return (void *) dest
;
1364 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1365 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxGridCellFloatRenderer
* _result
;
1368 int _arg0
= (int ) -1;
1369 int _arg1
= (int ) -1;
1370 char *_kwnames
[] = { "width","precision", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) return NULL
;
1383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1387 _resultobj
= Py_None
;
1392 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1393 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxGridCellFloatRenderer
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1423 wxGridCellFloatRenderer
* _arg0
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self","width", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) return NULL
;
1444 } Py_INCREF(Py_None
);
1445 _resultobj
= Py_None
;
1449 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1450 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxGridCellFloatRenderer
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1478 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxGridCellFloatRenderer
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self","precision", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1507 wxGridCellBoolRenderer
*src
;
1508 wxGridCellRenderer
*dest
;
1509 src
= (wxGridCellBoolRenderer
*) ptr
;
1510 dest
= (wxGridCellRenderer
*) src
;
1511 return (void *) dest
;
1514 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1515 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxGridCellBoolRenderer
* _result
;
1518 char *_kwnames
[] = { NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 _resultobj
= Py_None
;
1540 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1541 wxGridCellDateTimeRenderer
*src
;
1542 wxGridCellStringRenderer
*dest
;
1543 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1544 dest
= (wxGridCellStringRenderer
*) src
;
1545 return (void *) dest
;
1548 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1549 wxGridCellDateTimeRenderer
*src
;
1550 wxGridCellRenderer
*dest
;
1551 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1552 dest
= (wxGridCellRenderer
*) src
;
1553 return (void *) dest
;
1556 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1557 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxGridCellDateTimeRenderer
* _result
;
1560 wxString
* _arg0
= (wxString
*) &"%c";
1561 wxString
* _arg1
= (wxString
*) &"%c";
1562 PyObject
* _obj0
= 0;
1563 PyObject
* _obj1
= 0;
1564 char *_kwnames
[] = { "outformat","informat", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1572 #if PYTHON_API_VERSION >= 1009
1573 char* tmpPtr
; int tmpSize
;
1574 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1578 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1580 _arg0
= new wxString(tmpPtr
, tmpSize
);
1582 if (!PyString_Check(_obj0
)) {
1583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1586 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1591 #if PYTHON_API_VERSION >= 1009
1592 char* tmpPtr
; int tmpSize
;
1593 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1597 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1599 _arg1
= new wxString(tmpPtr
, tmpSize
);
1601 if (!PyString_Check(_obj1
)) {
1602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1605 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1632 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1633 wxGridCellEnumRenderer
*src
;
1634 wxGridCellStringRenderer
*dest
;
1635 src
= (wxGridCellEnumRenderer
*) ptr
;
1636 dest
= (wxGridCellStringRenderer
*) src
;
1637 return (void *) dest
;
1640 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1641 wxGridCellEnumRenderer
*src
;
1642 wxGridCellRenderer
*dest
;
1643 src
= (wxGridCellEnumRenderer
*) ptr
;
1644 dest
= (wxGridCellRenderer
*) src
;
1645 return (void *) dest
;
1648 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1649 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1651 wxGridCellEnumRenderer
* _result
;
1652 wxString
* _arg0
= (wxString
*) &"";
1653 PyObject
* _obj0
= 0;
1654 char *_kwnames
[] = { "choices", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1662 _arg0
= wxString_LIST_helper(_obj0
);
1663 if (_arg0
== NULL
) {
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1686 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1687 wxGridCellAutoWrapStringRenderer
*src
;
1688 wxGridCellStringRenderer
*dest
;
1689 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1690 dest
= (wxGridCellStringRenderer
*) src
;
1691 return (void *) dest
;
1694 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1695 wxGridCellAutoWrapStringRenderer
*src
;
1696 wxGridCellRenderer
*dest
;
1697 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1698 dest
= (wxGridCellRenderer
*) src
;
1699 return (void *) dest
;
1702 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1703 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 wxGridCellAutoWrapStringRenderer
* _result
;
1706 char *_kwnames
[] = { NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1720 _resultobj
= Py_BuildValue("s",_ptemp
);
1723 _resultobj
= Py_None
;
1728 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1729 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 wxGridCellEditor
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1757 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxControl
* _result
;
1760 wxGridCellEditor
* _arg0
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1784 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1785 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1787 wxGridCellEditor
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 PyObject
* _argo1
= 0;
1791 char *_kwnames
[] = { "self","control", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1822 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxGridCellEditor
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 PyObject
* _obj1
= 0;
1828 char *_kwnames
[] = { "self","params", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr
; int tmpSize
;
1843 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1847 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1849 _arg1
= new wxString(tmpPtr
, tmpSize
);
1851 if (!PyString_Check(_obj1
)) {
1852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1855 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1873 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1874 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxGridCellEditor
* _arg0
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 wxGridCellEditor_IncRef(_arg0
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1902 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxGridCellEditor
* _arg0
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 wxGridCellEditor_DecRef(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1929 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1930 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 wxGridCellEditor
* _arg0
;
1935 wxEvtHandler
* _arg3
;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _argo1
= 0;
1938 PyObject
* _argo3
= 0;
1939 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1959 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1977 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1979 wxGridCellEditor
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo3
= 0;
1985 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1998 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxGridCellEditor
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo3
= 0;
2025 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2038 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2055 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxGridCellEditor
* _arg0
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxGridCellEditor_Reset(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2083 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2085 wxGridCellEditor
* _result
;
2086 wxGridCellEditor
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 _resultobj
= Py_None
;
2117 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2118 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2120 wxGridCellEditor
* _arg0
;
2122 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","rect", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2139 if (! wxRect_helper(_obj1
, &_arg1
))
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2154 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2156 wxGridCellEditor
* _arg0
;
2158 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2159 PyObject
* _argo0
= 0;
2161 PyObject
* _argo2
= 0;
2162 char *_kwnames
[] = { "self","show","attr", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2174 _arg1
= (bool ) tempbool1
;
2176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) return NULL
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2196 wxGridCellEditor
* _arg0
;
2198 wxGridCellAttr
* _arg2
;
2199 PyObject
* _argo0
= 0;
2201 PyObject
* _obj1
= 0;
2202 PyObject
* _argo2
= 0;
2203 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2217 if (! wxRect_helper(_obj1
, &_arg1
))
2221 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) return NULL
;
2233 } Py_INCREF(Py_None
);
2234 _resultobj
= Py_None
;
2238 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2239 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2242 wxGridCellEditor
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _argo1
= 0;
2246 char *_kwnames
[] = { "self","event", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2276 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxGridCellEditor
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _argo1
= 0;
2282 char *_kwnames
[] = { "self","event", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2313 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxGridCellEditor
* _arg0
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxGridCellEditor_StartingClick(_arg0
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2341 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2343 wxGridCellEditor
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _argo1
= 0;
2347 char *_kwnames
[] = { "self","event", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) return NULL
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2378 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxGridCellEditor
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxGridCellEditor_Destroy(_arg0
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2406 wxPyGridCellEditor
*src
;
2407 wxGridCellEditor
*dest
;
2408 src
= (wxPyGridCellEditor
*) ptr
;
2409 dest
= (wxGridCellEditor
*) src
;
2410 return (void *) dest
;
2413 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2414 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxPyGridCellEditor
* _result
;
2417 char *_kwnames
[] = { NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 _resultobj
= Py_None
;
2439 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2440 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPyGridCellEditor
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 PyObject
* _obj1
= 0;
2447 PyObject
* _obj2
= 0;
2448 char *_kwnames
[] = { "self","self","_class", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) return NULL
;
2472 } Py_INCREF(Py_None
);
2473 _resultobj
= Py_None
;
2477 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2478 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2480 wxPyGridCellEditor
* _arg0
;
2482 PyObject
* _argo0
= 0;
2484 PyObject
* _obj1
= 0;
2485 char *_kwnames
[] = { "self","rect", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2499 if (! wxRect_helper(_obj1
, &_arg1
))
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2514 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 wxPyGridCellEditor
* _arg0
;
2518 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2519 PyObject
* _argo0
= 0;
2521 PyObject
* _argo2
= 0;
2522 char *_kwnames
[] = { "self","show","attr", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2534 _arg1
= (bool ) tempbool1
;
2536 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) return NULL
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2554 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxPyGridCellEditor
* _arg0
;
2558 wxGridCellAttr
* _arg2
;
2559 PyObject
* _argo0
= 0;
2561 PyObject
* _obj1
= 0;
2562 PyObject
* _argo2
= 0;
2563 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2577 if (! wxRect_helper(_obj1
, &_arg1
))
2581 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2599 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2601 wxPyGridCellEditor
* _arg0
;
2603 PyObject
* _argo0
= 0;
2604 PyObject
* _argo1
= 0;
2605 char *_kwnames
[] = { "self","event", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) return NULL
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2636 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxPyGridCellEditor
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 PyObject
* _argo1
= 0;
2642 char *_kwnames
[] = { "self","event", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2673 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxPyGridCellEditor
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 wxPyGridCellEditor_base_StartingClick(_arg0
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) return NULL
;
2695 } Py_INCREF(Py_None
);
2696 _resultobj
= Py_None
;
2700 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2701 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxPyGridCellEditor
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 PyObject
* _argo1
= 0;
2707 char *_kwnames
[] = { "self","event", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2738 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxPyGridCellEditor
* _arg0
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxPyGridCellEditor_base_Destroy(_arg0
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2766 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxPyGridCellEditor
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 char *_kwnames
[] = { "self","params", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2785 #if PYTHON_API_VERSION >= 1009
2786 char* tmpPtr
; int tmpSize
;
2787 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2791 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2793 _arg1
= new wxString(tmpPtr
, tmpSize
);
2795 if (!PyString_Check(_obj1
)) {
2796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2799 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } Py_INCREF(Py_None
);
2809 _resultobj
= Py_None
;
2817 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2818 wxGridCellTextEditor
*src
;
2819 wxGridCellEditor
*dest
;
2820 src
= (wxGridCellTextEditor
*) ptr
;
2821 dest
= (wxGridCellEditor
*) src
;
2822 return (void *) dest
;
2825 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2826 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxGridCellTextEditor
* _result
;
2829 char *_kwnames
[] = { NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2852 wxGridCellNumberEditor
*src
;
2853 wxGridCellTextEditor
*dest
;
2854 src
= (wxGridCellNumberEditor
*) ptr
;
2855 dest
= (wxGridCellTextEditor
*) src
;
2856 return (void *) dest
;
2859 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2860 wxGridCellNumberEditor
*src
;
2861 wxGridCellEditor
*dest
;
2862 src
= (wxGridCellNumberEditor
*) ptr
;
2863 dest
= (wxGridCellEditor
*) src
;
2864 return (void *) dest
;
2867 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2868 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxGridCellNumberEditor
* _result
;
2871 int _arg0
= (int ) -1;
2872 int _arg1
= (int ) -1;
2873 char *_kwnames
[] = { "min","max", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2887 _resultobj
= Py_BuildValue("s",_ptemp
);
2890 _resultobj
= Py_None
;
2895 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2896 wxGridCellFloatEditor
*src
;
2897 wxGridCellTextEditor
*dest
;
2898 src
= (wxGridCellFloatEditor
*) ptr
;
2899 dest
= (wxGridCellTextEditor
*) src
;
2900 return (void *) dest
;
2903 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2904 wxGridCellFloatEditor
*src
;
2905 wxGridCellEditor
*dest
;
2906 src
= (wxGridCellFloatEditor
*) ptr
;
2907 dest
= (wxGridCellEditor
*) src
;
2908 return (void *) dest
;
2911 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2912 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2914 wxGridCellFloatEditor
* _result
;
2915 char *_kwnames
[] = { NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) return NULL
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2938 wxGridCellBoolEditor
*src
;
2939 wxGridCellEditor
*dest
;
2940 src
= (wxGridCellBoolEditor
*) ptr
;
2941 dest
= (wxGridCellEditor
*) src
;
2942 return (void *) dest
;
2945 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2946 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxGridCellBoolEditor
* _result
;
2949 char *_kwnames
[] = { NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2963 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 _resultobj
= Py_None
;
2971 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2972 wxGridCellChoiceEditor
*src
;
2973 wxGridCellEditor
*dest
;
2974 src
= (wxGridCellChoiceEditor
*) ptr
;
2975 dest
= (wxGridCellEditor
*) src
;
2976 return (void *) dest
;
2979 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2982 wxGridCellChoiceEditor
* _result
;
2983 int _arg0
= (int ) 0;
2984 wxString
* _arg1
= (wxString
*) NULL
;
2985 bool _arg2
= (bool ) FALSE
;
2986 PyObject
* _obj1
= 0;
2987 int tempbool2
= (int) FALSE
;
2988 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2996 _arg1
= wxString_LIST_helper(_obj1
);
2997 if (_arg1
== NULL
) {
3001 _arg2
= (bool ) tempbool2
;
3004 _arg0
= PyList_Size(_obj1
);
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) return NULL
;
3017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3021 _resultobj
= Py_None
;
3029 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3030 wxGridCellEnumEditor
*src
;
3031 wxGridCellChoiceEditor
*dest
;
3032 src
= (wxGridCellEnumEditor
*) ptr
;
3033 dest
= (wxGridCellChoiceEditor
*) src
;
3034 return (void *) dest
;
3037 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3038 wxGridCellEnumEditor
*src
;
3039 wxGridCellEditor
*dest
;
3040 src
= (wxGridCellEnumEditor
*) ptr
;
3041 dest
= (wxGridCellEditor
*) src
;
3042 return (void *) dest
;
3045 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3046 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3048 wxGridCellEnumEditor
* _result
;
3049 wxString
* _arg0
= (wxString
*) &"";
3050 PyObject
* _obj0
= 0;
3051 char *_kwnames
[] = { "choices", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3059 _arg0
= wxString_LIST_helper(_obj0
);
3060 if (_arg0
== NULL
) {
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3083 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3084 wxGridCellAutoWrapStringEditor
*src
;
3085 wxGridCellTextEditor
*dest
;
3086 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3087 dest
= (wxGridCellTextEditor
*) src
;
3088 return (void *) dest
;
3091 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3092 wxGridCellAutoWrapStringEditor
*src
;
3093 wxGridCellEditor
*dest
;
3094 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3095 dest
= (wxGridCellEditor
*) src
;
3096 return (void *) dest
;
3099 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3100 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxGridCellAutoWrapStringEditor
* _result
;
3103 char *_kwnames
[] = { NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) return NULL
;
3116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3117 _resultobj
= Py_BuildValue("s",_ptemp
);
3120 _resultobj
= Py_None
;
3125 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3126 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3128 wxGridCellAttr
* _result
;
3129 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3130 PyObject
* _argo0
= 0;
3131 char *_kwnames
[] = { "attrDefault", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) return NULL
;
3151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3152 _resultobj
= Py_BuildValue("s",_ptemp
);
3155 _resultobj
= Py_None
;
3160 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3161 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3163 wxGridCellAttr
* _result
;
3164 wxGridCellAttr
* _arg0
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3187 _resultobj
= Py_BuildValue("s",_ptemp
);
3190 _resultobj
= Py_None
;
3195 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3196 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxGridCellAttr
* _arg0
;
3199 wxGridCellAttr
* _arg1
;
3200 PyObject
* _argo0
= 0;
3201 PyObject
* _argo1
= 0;
3202 char *_kwnames
[] = { "self","mergefrom", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3233 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3235 wxGridCellAttr
* _arg0
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 wxGridCellAttr_IncRef(_arg0
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) return NULL
;
3255 } Py_INCREF(Py_None
);
3256 _resultobj
= Py_None
;
3260 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3261 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3263 wxGridCellAttr
* _arg0
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 wxGridCellAttr_DecRef(_arg0
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3289 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3291 wxGridCellAttr
* _arg0
;
3293 PyObject
* _argo0
= 0;
3295 PyObject
* _obj1
= 0;
3296 char *_kwnames
[] = { "self","colText", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3310 if (! wxColour_helper(_obj1
, &_arg1
))
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) return NULL
;
3319 } Py_INCREF(Py_None
);
3320 _resultobj
= Py_None
;
3324 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3325 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3327 wxGridCellAttr
* _arg0
;
3329 PyObject
* _argo0
= 0;
3331 PyObject
* _obj1
= 0;
3332 char *_kwnames
[] = { "self","colBack", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3346 if (! wxColour_helper(_obj1
, &_arg1
))
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3361 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxGridCellAttr
* _arg0
;
3365 PyObject
* _argo0
= 0;
3366 PyObject
* _argo1
= 0;
3367 char *_kwnames
[] = { "self","font", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3398 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3400 wxGridCellAttr
* _arg0
;
3403 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) return NULL
;
3422 } Py_INCREF(Py_None
);
3423 _resultobj
= Py_None
;
3427 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3428 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3430 wxGridCellAttr
* _arg0
;
3431 bool _arg1
= (bool ) TRUE
;
3432 PyObject
* _argo0
= 0;
3433 int tempbool1
= (int) TRUE
;
3434 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3446 _arg1
= (bool ) tempbool1
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) return NULL
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3459 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 wxGridCellAttr
* _arg0
;
3462 wxGridCellRenderer
* _arg1
;
3463 PyObject
* _argo0
= 0;
3464 PyObject
* _argo1
= 0;
3465 char *_kwnames
[] = { "self","renderer", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) return NULL
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3496 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3498 wxGridCellAttr
* _arg0
;
3499 wxGridCellEditor
* _arg1
;
3500 PyObject
* _argo0
= 0;
3501 PyObject
* _argo1
= 0;
3502 char *_kwnames
[] = { "self","editor", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) return NULL
;
3527 } Py_INCREF(Py_None
);
3528 _resultobj
= Py_None
;
3532 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3533 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3535 wxGridCellAttr
* _arg0
;
3536 wxGridCellAttr::wxAttrKind _arg1
;
3537 PyObject
* _argo0
= 0;
3538 char *_kwnames
[] = { "self","kind", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3556 } Py_INCREF(Py_None
);
3557 _resultobj
= Py_None
;
3561 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3562 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3565 wxGridCellAttr
* _arg0
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3585 } _resultobj
= Py_BuildValue("i",_result
);
3589 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3590 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3593 wxGridCellAttr
* _arg0
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3618 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3621 wxGridCellAttr
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3641 } _resultobj
= Py_BuildValue("i",_result
);
3645 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3646 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3649 wxGridCellAttr
* _arg0
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } _resultobj
= Py_BuildValue("i",_result
);
3673 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3674 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3677 wxGridCellAttr
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3702 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3705 wxGridCellAttr
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } _resultobj
= Py_BuildValue("i",_result
);
3729 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3730 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3733 wxGridCellAttr
* _arg0
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "self", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) return NULL
;
3753 } _resultobj
= Py_BuildValue("i",_result
);
3757 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3758 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3761 wxGridCellAttr
* _arg0
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) return NULL
;
3782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3783 _resultobj
= Py_BuildValue("s",_ptemp
);
3787 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3788 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3791 wxGridCellAttr
* _arg0
;
3792 PyObject
* _argo0
= 0;
3793 char *_kwnames
[] = { "self", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3817 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3818 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3821 wxGridCellAttr
* _arg0
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3843 _resultobj
= Py_BuildValue("s",_ptemp
);
3847 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3848 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxGridCellAttr
* _arg0
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3884 o
= PyInt_FromLong((long) (*_arg1
));
3885 _resultobj
= t_output_helper(_resultobj
, o
);
3889 o
= PyInt_FromLong((long) (*_arg2
));
3890 _resultobj
= t_output_helper(_resultobj
, o
);
3895 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3896 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxGridCellRenderer
* _result
;
3899 wxGridCellAttr
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 PyObject
* _argo1
= 0;
3905 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) return NULL
;
3932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3933 _resultobj
= Py_BuildValue("s",_ptemp
);
3936 _resultobj
= Py_None
;
3941 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3942 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3944 wxGridCellEditor
* _result
;
3945 wxGridCellAttr
* _arg0
;
3949 PyObject
* _argo0
= 0;
3950 PyObject
* _argo1
= 0;
3951 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3979 _resultobj
= Py_BuildValue("s",_ptemp
);
3982 _resultobj
= Py_None
;
3987 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3988 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3991 wxGridCellAttr
* _arg0
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } _resultobj
= Py_BuildValue("i",_result
);
4015 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4016 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4018 wxGridCellAttr
* _arg0
;
4019 wxGridCellAttr
* _arg1
;
4020 PyObject
* _argo0
= 0;
4021 PyObject
* _argo1
= 0;
4022 char *_kwnames
[] = { "self","defAttr", NULL
};
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) return NULL
;
4047 } Py_INCREF(Py_None
);
4048 _resultobj
= Py_None
;
4052 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4053 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4055 wxGridCellAttrProvider
* _result
;
4056 char *_kwnames
[] = { NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4070 _resultobj
= Py_BuildValue("s",_ptemp
);
4073 _resultobj
= Py_None
;
4078 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4079 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4081 wxGridCellAttr
* _result
;
4082 wxGridCellAttrProvider
* _arg0
;
4085 wxGridCellAttr::wxAttrKind _arg3
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) return NULL
;
4107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4108 _resultobj
= Py_BuildValue("s",_ptemp
);
4111 _resultobj
= Py_None
;
4116 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4117 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4119 wxGridCellAttrProvider
* _arg0
;
4120 wxGridCellAttr
* _arg1
;
4123 PyObject
* _argo0
= 0;
4124 PyObject
* _argo1
= 0;
4125 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) return NULL
;
4150 } Py_INCREF(Py_None
);
4151 _resultobj
= Py_None
;
4155 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4156 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
* _resultobj
;
4158 wxGridCellAttrProvider
* _arg0
;
4159 wxGridCellAttr
* _arg1
;
4161 PyObject
* _argo0
= 0;
4162 PyObject
* _argo1
= 0;
4163 char *_kwnames
[] = { "self","attr","row", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) return NULL
;
4188 } Py_INCREF(Py_None
);
4189 _resultobj
= Py_None
;
4193 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4194 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxGridCellAttrProvider
* _arg0
;
4197 wxGridCellAttr
* _arg1
;
4199 PyObject
* _argo0
= 0;
4200 PyObject
* _argo1
= 0;
4201 char *_kwnames
[] = { "self","attr","col", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4232 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4234 wxGridCellAttrProvider
* _arg0
;
4237 PyObject
* _argo0
= 0;
4238 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) return NULL
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4262 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4264 wxGridCellAttrProvider
* _arg0
;
4267 PyObject
* _argo0
= 0;
4268 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) return NULL
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4291 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4292 wxPyGridCellAttrProvider
*src
;
4293 wxGridCellAttrProvider
*dest
;
4294 src
= (wxPyGridCellAttrProvider
*) ptr
;
4295 dest
= (wxGridCellAttrProvider
*) src
;
4296 return (void *) dest
;
4299 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4300 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4302 wxPyGridCellAttrProvider
* _result
;
4303 char *_kwnames
[] = { NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4317 _resultobj
= Py_BuildValue("s",_ptemp
);
4320 _resultobj
= Py_None
;
4325 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4326 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4328 wxPyGridCellAttrProvider
* _arg0
;
4331 PyObject
* _argo0
= 0;
4332 PyObject
* _obj1
= 0;
4333 PyObject
* _obj2
= 0;
4334 char *_kwnames
[] = { "self","self","_class", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) return NULL
;
4358 } Py_INCREF(Py_None
);
4359 _resultobj
= Py_None
;
4363 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4364 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4366 wxGridCellAttr
* _result
;
4367 wxPyGridCellAttrProvider
* _arg0
;
4370 wxGridCellAttr::wxAttrKind _arg3
;
4371 PyObject
* _argo0
= 0;
4372 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4393 _resultobj
= Py_BuildValue("s",_ptemp
);
4396 _resultobj
= Py_None
;
4401 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4402 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4404 wxPyGridCellAttrProvider
* _arg0
;
4405 wxGridCellAttr
* _arg1
;
4408 PyObject
* _argo0
= 0;
4409 PyObject
* _argo1
= 0;
4410 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4423 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) return NULL
;
4435 } Py_INCREF(Py_None
);
4436 _resultobj
= Py_None
;
4440 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4441 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4443 wxPyGridCellAttrProvider
* _arg0
;
4444 wxGridCellAttr
* _arg1
;
4446 PyObject
* _argo0
= 0;
4447 PyObject
* _argo1
= 0;
4448 char *_kwnames
[] = { "self","attr","row", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) return NULL
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4479 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxPyGridCellAttrProvider
* _arg0
;
4482 wxGridCellAttr
* _arg1
;
4484 PyObject
* _argo0
= 0;
4485 PyObject
* _argo1
= 0;
4486 char *_kwnames
[] = { "self","attr","col", NULL
};
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 } Py_INCREF(Py_None
);
4512 _resultobj
= Py_None
;
4516 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4517 wxGridTableBase
*src
;
4519 src
= (wxGridTableBase
*) ptr
;
4520 dest
= (wxObject
*) src
;
4521 return (void *) dest
;
4524 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4525 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4527 wxGridTableBase
* _arg0
;
4528 wxGridCellAttrProvider
* _arg1
;
4529 PyObject
* _argo0
= 0;
4530 PyObject
* _argo1
= 0;
4531 char *_kwnames
[] = { "self","attrProvider", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) return NULL
;
4556 } Py_INCREF(Py_None
);
4557 _resultobj
= Py_None
;
4561 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4562 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4564 wxGridCellAttrProvider
* _result
;
4565 wxGridTableBase
* _arg0
;
4566 PyObject
* _argo0
= 0;
4567 char *_kwnames
[] = { "self", NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4597 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4599 wxGridTableBase
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 PyObject
* _argo1
= 0;
4603 char *_kwnames
[] = { "self","grid", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4616 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4617 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxGridTableBase_SetView(_arg0
,_arg1
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) return NULL
;
4628 } Py_INCREF(Py_None
);
4629 _resultobj
= Py_None
;
4633 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4634 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4637 wxGridTableBase
* _arg0
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4657 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4661 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4662 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 wxGridTableBase
* _arg0
;
4666 PyObject
* _argo0
= 0;
4667 char *_kwnames
[] = { "self", NULL
};
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4685 } _resultobj
= Py_BuildValue("i",_result
);
4689 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4690 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4693 wxGridTableBase
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 char *_kwnames
[] = { "self", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) return NULL
;
4713 } _resultobj
= Py_BuildValue("i",_result
);
4717 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4718 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 wxGridTableBase
* _arg0
;
4724 PyObject
* _argo0
= 0;
4725 char *_kwnames
[] = { "self","row","col", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) return NULL
;
4743 } _resultobj
= Py_BuildValue("i",_result
);
4747 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4748 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4751 wxGridTableBase
* _arg0
;
4754 PyObject
* _argo0
= 0;
4755 char *_kwnames
[] = { "self","row","col", NULL
};
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) return NULL
;
4774 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4782 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4783 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4785 wxGridTableBase
* _arg0
;
4789 PyObject
* _argo0
= 0;
4790 PyObject
* _obj3
= 0;
4791 char *_kwnames
[] = { "self","row","col","value", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4804 #if PYTHON_API_VERSION >= 1009
4805 char* tmpPtr
; int tmpSize
;
4806 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4810 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4812 _arg3
= new wxString(tmpPtr
, tmpSize
);
4814 if (!PyString_Check(_obj3
)) {
4815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4818 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4836 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4837 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 wxGridTableBase
* _arg0
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self","row","col", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4863 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4871 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4872 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4875 wxGridTableBase
* _arg0
;
4879 PyObject
* _argo0
= 0;
4880 PyObject
* _obj3
= 0;
4881 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4894 #if PYTHON_API_VERSION >= 1009
4895 char* tmpPtr
; int tmpSize
;
4896 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4900 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4902 _arg3
= new wxString(tmpPtr
, tmpSize
);
4904 if (!PyString_Check(_obj3
)) {
4905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4908 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) return NULL
;
4917 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4926 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4929 wxGridTableBase
* _arg0
;
4933 PyObject
* _argo0
= 0;
4934 PyObject
* _obj3
= 0;
4935 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4948 #if PYTHON_API_VERSION >= 1009
4949 char* tmpPtr
; int tmpSize
;
4950 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4954 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4956 _arg3
= new wxString(tmpPtr
, tmpSize
);
4958 if (!PyString_Check(_obj3
)) {
4959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4962 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) return NULL
;
4971 } _resultobj
= Py_BuildValue("i",_result
);
4979 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4980 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4983 wxGridTableBase
* _arg0
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self","row","col", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) return NULL
;
5005 } _resultobj
= Py_BuildValue("l",_result
);
5009 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5010 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5013 wxGridTableBase
* _arg0
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "self","row","col", NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5035 } _resultobj
= Py_BuildValue("d",_result
);
5039 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5040 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
* _resultobj
;
5043 wxGridTableBase
* _arg0
;
5046 PyObject
* _argo0
= 0;
5047 char *_kwnames
[] = { "self","row","col", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5065 } _resultobj
= Py_BuildValue("i",_result
);
5069 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5070 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 wxGridTableBase
* _arg0
;
5076 PyObject
* _argo0
= 0;
5077 char *_kwnames
[] = { "self","row","col","value", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) return NULL
;
5095 } Py_INCREF(Py_None
);
5096 _resultobj
= Py_None
;
5100 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5101 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5103 wxGridTableBase
* _arg0
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self","row","col","value", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } Py_INCREF(Py_None
);
5127 _resultobj
= Py_None
;
5131 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5132 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5134 wxGridTableBase
* _arg0
;
5138 PyObject
* _argo0
= 0;
5140 char *_kwnames
[] = { "self","row","col","value", NULL
};
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5152 _arg3
= (bool ) tempbool3
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5159 } Py_INCREF(Py_None
);
5160 _resultobj
= Py_None
;
5164 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5165 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
* _resultobj
;
5167 wxGridTableBase
* _arg0
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 wxGridTableBase_Clear(_arg0
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) return NULL
;
5187 } Py_INCREF(Py_None
);
5188 _resultobj
= Py_None
;
5192 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5193 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5196 wxGridTableBase
* _arg0
;
5197 size_t _arg1
= (size_t ) 0;
5198 size_t _arg2
= (size_t ) 1;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_InsertRows. Expected _wxGridTableBase_p.");
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) return NULL
;
5218 } _resultobj
= Py_BuildValue("i",_result
);
5222 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5223 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5226 wxGridTableBase
* _arg0
;
5227 size_t _arg1
= (size_t ) 1;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self","numRows", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } _resultobj
= Py_BuildValue("i",_result
);
5251 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5252 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5255 wxGridTableBase
* _arg0
;
5256 size_t _arg1
= (size_t ) 0;
5257 size_t _arg2
= (size_t ) 1;
5258 PyObject
* _argo0
= 0;
5259 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } _resultobj
= Py_BuildValue("i",_result
);
5281 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5282 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5285 wxGridTableBase
* _arg0
;
5286 size_t _arg1
= (size_t ) 0;
5287 size_t _arg2
= (size_t ) 1;
5288 PyObject
* _argo0
= 0;
5289 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } _resultobj
= Py_BuildValue("i",_result
);
5311 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5312 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5315 wxGridTableBase
* _arg0
;
5316 size_t _arg1
= (size_t ) 1;
5317 PyObject
* _argo0
= 0;
5318 char *_kwnames
[] = { "self","numCols", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) return NULL
;
5336 } _resultobj
= Py_BuildValue("i",_result
);
5340 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5341 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5344 wxGridTableBase
* _arg0
;
5345 size_t _arg1
= (size_t ) 0;
5346 size_t _arg2
= (size_t ) 1;
5347 PyObject
* _argo0
= 0;
5348 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5366 } _resultobj
= Py_BuildValue("i",_result
);
5370 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5371 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5374 wxGridTableBase
* _arg0
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "self","row", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) return NULL
;
5396 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5404 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5405 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5408 wxGridTableBase
* _arg0
;
5410 PyObject
* _argo0
= 0;
5411 char *_kwnames
[] = { "self","col", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5438 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5439 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5441 wxGridTableBase
* _arg0
;
5444 PyObject
* _argo0
= 0;
5445 PyObject
* _obj2
= 0;
5446 char *_kwnames
[] = { "self","row","value", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5459 #if PYTHON_API_VERSION >= 1009
5460 char* tmpPtr
; int tmpSize
;
5461 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5465 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5467 _arg2
= new wxString(tmpPtr
, tmpSize
);
5469 if (!PyString_Check(_obj2
)) {
5470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5473 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) return NULL
;
5482 } Py_INCREF(Py_None
);
5483 _resultobj
= Py_None
;
5491 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5492 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5494 wxGridTableBase
* _arg0
;
5497 PyObject
* _argo0
= 0;
5498 PyObject
* _obj2
= 0;
5499 char *_kwnames
[] = { "self","col","value", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5512 #if PYTHON_API_VERSION >= 1009
5513 char* tmpPtr
; int tmpSize
;
5514 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5518 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5520 _arg2
= new wxString(tmpPtr
, tmpSize
);
5522 if (!PyString_Check(_obj2
)) {
5523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5526 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) return NULL
;
5535 } Py_INCREF(Py_None
);
5536 _resultobj
= Py_None
;
5544 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5545 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5548 wxGridTableBase
* _arg0
;
5549 PyObject
* _argo0
= 0;
5550 char *_kwnames
[] = { "self", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) return NULL
;
5568 } _resultobj
= Py_BuildValue("i",_result
);
5572 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5573 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5575 wxGridCellAttr
* _result
;
5576 wxGridTableBase
* _arg0
;
5579 wxGridCellAttr::wxAttrKind _arg3
;
5580 PyObject
* _argo0
= 0;
5581 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) return NULL
;
5601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5605 _resultobj
= Py_None
;
5610 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5611 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5613 wxGridTableBase
* _arg0
;
5614 wxGridCellAttr
* _arg1
;
5617 PyObject
* _argo0
= 0;
5618 PyObject
* _argo1
= 0;
5619 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) return NULL
;
5644 } Py_INCREF(Py_None
);
5645 _resultobj
= Py_None
;
5649 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5650 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5652 wxGridTableBase
* _arg0
;
5653 wxGridCellAttr
* _arg1
;
5655 PyObject
* _argo0
= 0;
5656 PyObject
* _argo1
= 0;
5657 char *_kwnames
[] = { "self","attr","row", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) return NULL
;
5682 } Py_INCREF(Py_None
);
5683 _resultobj
= Py_None
;
5687 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5688 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5690 wxGridTableBase
* _arg0
;
5691 wxGridCellAttr
* _arg1
;
5693 PyObject
* _argo0
= 0;
5694 PyObject
* _argo1
= 0;
5695 char *_kwnames
[] = { "self","attr","col", NULL
};
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) return NULL
;
5720 } Py_INCREF(Py_None
);
5721 _resultobj
= Py_None
;
5725 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5726 wxPyGridTableBase
*src
;
5727 wxGridTableBase
*dest
;
5728 src
= (wxPyGridTableBase
*) ptr
;
5729 dest
= (wxGridTableBase
*) src
;
5730 return (void *) dest
;
5733 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5734 wxPyGridTableBase
*src
;
5736 src
= (wxPyGridTableBase
*) ptr
;
5737 dest
= (wxObject
*) src
;
5738 return (void *) dest
;
5741 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5742 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5744 wxPyGridTableBase
* _result
;
5745 char *_kwnames
[] = { NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) return NULL
;
5758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5759 _resultobj
= Py_BuildValue("s",_ptemp
);
5762 _resultobj
= Py_None
;
5767 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5768 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5770 wxPyGridTableBase
* _arg0
;
5773 PyObject
* _argo0
= 0;
5774 PyObject
* _obj1
= 0;
5775 PyObject
* _obj2
= 0;
5776 char *_kwnames
[] = { "self","self","_class", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) return NULL
;
5800 } Py_INCREF(Py_None
);
5801 _resultobj
= Py_None
;
5805 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5806 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5808 wxPyGridTableBase
* _arg0
;
5809 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxPyGridTableBase_Destroy(_arg0
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5833 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5834 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 wxPyGridTableBase
* _arg0
;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self","row","col", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5868 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5869 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5872 wxPyGridTableBase
* _arg0
;
5876 PyObject
* _argo0
= 0;
5877 PyObject
* _obj3
= 0;
5878 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5891 #if PYTHON_API_VERSION >= 1009
5892 char* tmpPtr
; int tmpSize
;
5893 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5897 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5899 _arg3
= new wxString(tmpPtr
, tmpSize
);
5901 if (!PyString_Check(_obj3
)) {
5902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5905 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) return NULL
;
5914 } _resultobj
= Py_BuildValue("i",_result
);
5922 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5923 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5926 wxPyGridTableBase
* _arg0
;
5930 PyObject
* _argo0
= 0;
5931 PyObject
* _obj3
= 0;
5932 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5945 #if PYTHON_API_VERSION >= 1009
5946 char* tmpPtr
; int tmpSize
;
5947 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5951 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5953 _arg3
= new wxString(tmpPtr
, tmpSize
);
5955 if (!PyString_Check(_obj3
)) {
5956 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5959 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } _resultobj
= Py_BuildValue("i",_result
);
5976 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5977 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
* _resultobj
;
5979 wxPyGridTableBase
* _arg0
;
5980 PyObject
* _argo0
= 0;
5981 char *_kwnames
[] = { "self", NULL
};
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 wxPyGridTableBase_base_Clear(_arg0
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) return NULL
;
5999 } Py_INCREF(Py_None
);
6000 _resultobj
= Py_None
;
6004 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6005 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6008 wxPyGridTableBase
* _arg0
;
6009 size_t _arg1
= (size_t ) 0;
6010 size_t _arg2
= (size_t ) 1;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_InsertRows. Expected _wxPyGridTableBase_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } _resultobj
= Py_BuildValue("i",_result
);
6034 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6035 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 wxPyGridTableBase
* _arg0
;
6039 size_t _arg1
= (size_t ) 1;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self","numRows", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) return NULL
;
6059 } _resultobj
= Py_BuildValue("i",_result
);
6063 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6064 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6067 wxPyGridTableBase
* _arg0
;
6068 size_t _arg1
= (size_t ) 0;
6069 size_t _arg2
= (size_t ) 1;
6070 PyObject
* _argo0
= 0;
6071 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6089 } _resultobj
= Py_BuildValue("i",_result
);
6093 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6094 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6097 wxPyGridTableBase
* _arg0
;
6098 size_t _arg1
= (size_t ) 0;
6099 size_t _arg2
= (size_t ) 1;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 } _resultobj
= Py_BuildValue("i",_result
);
6123 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6124 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6127 wxPyGridTableBase
* _arg0
;
6128 size_t _arg1
= (size_t ) 1;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self","numCols", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) return NULL
;
6148 } _resultobj
= Py_BuildValue("i",_result
);
6152 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6153 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6156 wxPyGridTableBase
* _arg0
;
6157 size_t _arg1
= (size_t ) 0;
6158 size_t _arg2
= (size_t ) 1;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) return NULL
;
6178 } _resultobj
= Py_BuildValue("i",_result
);
6182 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6183 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6186 wxPyGridTableBase
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self","row", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) return NULL
;
6208 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6216 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6217 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6220 wxPyGridTableBase
* _arg0
;
6222 PyObject
* _argo0
= 0;
6223 char *_kwnames
[] = { "self","col", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) return NULL
;
6242 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6250 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6251 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6253 wxPyGridTableBase
* _arg0
;
6256 PyObject
* _argo0
= 0;
6257 PyObject
* _obj2
= 0;
6258 char *_kwnames
[] = { "self","row","value", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6271 #if PYTHON_API_VERSION >= 1009
6272 char* tmpPtr
; int tmpSize
;
6273 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6277 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6279 _arg2
= new wxString(tmpPtr
, tmpSize
);
6281 if (!PyString_Check(_obj2
)) {
6282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6285 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6303 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6304 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6306 wxPyGridTableBase
* _arg0
;
6309 PyObject
* _argo0
= 0;
6310 PyObject
* _obj2
= 0;
6311 char *_kwnames
[] = { "self","col","value", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6324 #if PYTHON_API_VERSION >= 1009
6325 char* tmpPtr
; int tmpSize
;
6326 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6330 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6332 _arg2
= new wxString(tmpPtr
, tmpSize
);
6334 if (!PyString_Check(_obj2
)) {
6335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6338 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) return NULL
;
6347 } Py_INCREF(Py_None
);
6348 _resultobj
= Py_None
;
6356 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6357 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6360 wxPyGridTableBase
* _arg0
;
6361 PyObject
* _argo0
= 0;
6362 char *_kwnames
[] = { "self", NULL
};
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) return NULL
;
6380 } _resultobj
= Py_BuildValue("i",_result
);
6384 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6385 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6387 wxGridCellAttr
* _result
;
6388 wxPyGridTableBase
* _arg0
;
6391 wxGridCellAttr::wxAttrKind _arg3
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) return NULL
;
6413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6414 _resultobj
= Py_BuildValue("s",_ptemp
);
6417 _resultobj
= Py_None
;
6422 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6423 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6425 wxPyGridTableBase
* _arg0
;
6426 wxGridCellAttr
* _arg1
;
6429 PyObject
* _argo0
= 0;
6430 PyObject
* _argo1
= 0;
6431 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) return NULL
;
6456 } Py_INCREF(Py_None
);
6457 _resultobj
= Py_None
;
6461 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6462 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6464 wxPyGridTableBase
* _arg0
;
6465 wxGridCellAttr
* _arg1
;
6467 PyObject
* _argo0
= 0;
6468 PyObject
* _argo1
= 0;
6469 char *_kwnames
[] = { "self","attr","row", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6482 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) return NULL
;
6494 } Py_INCREF(Py_None
);
6495 _resultobj
= Py_None
;
6499 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6500 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
* _resultobj
;
6502 wxPyGridTableBase
* _arg0
;
6503 wxGridCellAttr
* _arg1
;
6505 PyObject
* _argo0
= 0;
6506 PyObject
* _argo1
= 0;
6507 char *_kwnames
[] = { "self","attr","col", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) return NULL
;
6532 } Py_INCREF(Py_None
);
6533 _resultobj
= Py_None
;
6537 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6538 wxGridStringTable
*src
;
6539 wxGridTableBase
*dest
;
6540 src
= (wxGridStringTable
*) ptr
;
6541 dest
= (wxGridTableBase
*) src
;
6542 return (void *) dest
;
6545 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6546 wxGridStringTable
*src
;
6548 src
= (wxGridStringTable
*) ptr
;
6549 dest
= (wxObject
*) src
;
6550 return (void *) dest
;
6553 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6554 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6556 wxGridStringTable
* _result
;
6557 int _arg0
= (int ) 0;
6558 int _arg1
= (int ) 0;
6559 char *_kwnames
[] = { "numRows","numCols", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6573 _resultobj
= Py_BuildValue("s",_ptemp
);
6576 _resultobj
= Py_None
;
6581 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6582 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6584 wxGridTableMessage
* _result
;
6585 wxGridTableBase
* _arg0
;
6587 int _arg2
= (int ) -1;
6588 int _arg3
= (int ) -1;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) return NULL
;
6610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6611 _resultobj
= Py_BuildValue("s",_ptemp
);
6614 _resultobj
= Py_None
;
6619 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6620 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6622 wxGridTableMessage
* _arg0
;
6623 PyObject
* _argo0
= 0;
6624 char *_kwnames
[] = { "self", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 delete_wxGridTableMessage(_arg0
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) return NULL
;
6642 } Py_INCREF(Py_None
);
6643 _resultobj
= Py_None
;
6647 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6648 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6650 wxGridTableMessage
* _arg0
;
6651 wxGridTableBase
* _arg1
;
6652 PyObject
* _argo0
= 0;
6653 PyObject
* _argo1
= 0;
6654 char *_kwnames
[] = { "self","table", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) return NULL
;
6679 } Py_INCREF(Py_None
);
6680 _resultobj
= Py_None
;
6684 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6685 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6687 wxGridTableBase
* _result
;
6688 wxGridTableMessage
* _arg0
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6708 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6712 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6713 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6715 wxGridTableMessage
* _arg0
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self","id", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 wxGridTableMessage_SetId(_arg0
,_arg1
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6736 } Py_INCREF(Py_None
);
6737 _resultobj
= Py_None
;
6741 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6742 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6745 wxGridTableMessage
* _arg0
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) return NULL
;
6765 } _resultobj
= Py_BuildValue("i",_result
);
6769 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6770 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6772 wxGridTableMessage
* _arg0
;
6774 PyObject
* _argo0
= 0;
6775 char *_kwnames
[] = { "self","comInt1", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) return NULL
;
6793 } Py_INCREF(Py_None
);
6794 _resultobj
= Py_None
;
6798 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6799 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
* _resultobj
;
6802 wxGridTableMessage
* _arg0
;
6803 PyObject
* _argo0
= 0;
6804 char *_kwnames
[] = { "self", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) return NULL
;
6822 } _resultobj
= Py_BuildValue("i",_result
);
6826 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6827 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6829 wxGridTableMessage
* _arg0
;
6831 PyObject
* _argo0
= 0;
6832 char *_kwnames
[] = { "self","comInt2", NULL
};
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) return NULL
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6856 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
* _resultobj
;
6859 wxGridTableMessage
* _arg0
;
6860 PyObject
* _argo0
= 0;
6861 char *_kwnames
[] = { "self", NULL
};
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) return NULL
;
6879 } _resultobj
= Py_BuildValue("i",_result
);
6883 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6884 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6886 wxGridCellCoords
* _result
;
6887 int _arg0
= (int ) -1;
6888 int _arg1
= (int ) -1;
6889 char *_kwnames
[] = { "r","c", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) return NULL
;
6902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6903 _resultobj
= Py_BuildValue("s",_ptemp
);
6906 _resultobj
= Py_None
;
6911 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6912 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
* _resultobj
;
6914 wxGridCellCoords
* _arg0
;
6915 PyObject
* _argo0
= 0;
6916 char *_kwnames
[] = { "self", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 delete_wxGridCellCoords(_arg0
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) return NULL
;
6934 } Py_INCREF(Py_None
);
6935 _resultobj
= Py_None
;
6939 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6940 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
* _resultobj
;
6943 wxGridCellCoords
* _arg0
;
6944 PyObject
* _argo0
= 0;
6945 char *_kwnames
[] = { "self", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) return NULL
;
6963 } _resultobj
= Py_BuildValue("i",_result
);
6967 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6968 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6970 wxGridCellCoords
* _arg0
;
6972 PyObject
* _argo0
= 0;
6973 char *_kwnames
[] = { "self","n", NULL
};
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) return NULL
;
6991 } Py_INCREF(Py_None
);
6992 _resultobj
= Py_None
;
6996 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6997 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
7000 wxGridCellCoords
* _arg0
;
7001 PyObject
* _argo0
= 0;
7002 char *_kwnames
[] = { "self", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) return NULL
;
7020 } _resultobj
= Py_BuildValue("i",_result
);
7024 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7025 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
* _resultobj
;
7027 wxGridCellCoords
* _arg0
;
7029 PyObject
* _argo0
= 0;
7030 char *_kwnames
[] = { "self","n", NULL
};
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) return NULL
;
7048 } Py_INCREF(Py_None
);
7049 _resultobj
= Py_None
;
7053 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7054 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7056 wxGridCellCoords
* _arg0
;
7059 PyObject
* _argo0
= 0;
7060 char *_kwnames
[] = { "self","row","col", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) return NULL
;
7078 } Py_INCREF(Py_None
);
7079 _resultobj
= Py_None
;
7083 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7084 PyObject
* tup
= PyTuple_New(2);
7085 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7086 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7089 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7092 wxGridCellCoords
* _arg0
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7113 _resultobj
= _result
;
7118 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7119 return *self
!= other
;
7121 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7124 wxGridCellCoords
* _arg0
;
7125 wxGridCellCoords
* _arg1
;
7126 PyObject
* _argo0
= 0;
7127 PyObject
* _argo1
= 0;
7128 char *_kwnames
[] = { "self","other", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } _resultobj
= Py_BuildValue("i",_result
);
7157 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7159 wxScrolledWindow
*dest
;
7160 src
= (wxGrid
*) ptr
;
7161 dest
= (wxScrolledWindow
*) src
;
7162 return (void *) dest
;
7165 static void *SwigwxGridTowxPanel(void *ptr
) {
7168 src
= (wxGrid
*) ptr
;
7169 dest
= (wxPanel
*) src
;
7170 return (void *) dest
;
7173 static void *SwigwxGridTowxWindow(void *ptr
) {
7176 src
= (wxGrid
*) ptr
;
7177 dest
= (wxWindow
*) src
;
7178 return (void *) dest
;
7181 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7184 src
= (wxGrid
*) ptr
;
7185 dest
= (wxEvtHandler
*) src
;
7186 return (void *) dest
;
7189 static void *SwigwxGridTowxObject(void *ptr
) {
7192 src
= (wxGrid
*) ptr
;
7193 dest
= (wxObject
*) src
;
7194 return (void *) dest
;
7197 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7198 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
* _resultobj
;
7203 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7204 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7205 long _arg4
= (long ) wxWANTS_CHARS
;
7206 char * _arg5
= (char *) wxPanelNameStr
;
7207 PyObject
* _argo0
= 0;
7209 PyObject
* _obj2
= 0;
7211 PyObject
* _obj3
= 0;
7212 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7228 if (! wxPoint_helper(_obj2
, &_arg2
))
7234 if (! wxSize_helper(_obj3
, &_arg3
))
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) return NULL
;
7244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7245 _resultobj
= Py_BuildValue("s",_ptemp
);
7248 _resultobj
= Py_None
;
7253 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7254 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
* _resultobj
;
7260 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7261 PyObject
* _argo0
= 0;
7262 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) return NULL
;
7280 } _resultobj
= Py_BuildValue("i",_result
);
7284 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7285 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7288 WXGRIDSELECTIONMODES _arg1
;
7289 PyObject
* _argo0
= 0;
7290 char *_kwnames
[] = { "self","selmode", NULL
};
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } Py_INCREF(Py_None
);
7309 _resultobj
= Py_None
;
7313 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7314 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7318 PyObject
* _argo0
= 0;
7319 char *_kwnames
[] = { "self", NULL
};
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) return NULL
;
7337 } _resultobj
= Py_BuildValue("i",_result
);
7341 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7342 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7346 PyObject
* _argo0
= 0;
7347 char *_kwnames
[] = { "self", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) return NULL
;
7365 } _resultobj
= Py_BuildValue("i",_result
);
7369 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7370 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
* _resultobj
;
7374 wxGridTableMessage
* _arg1
;
7375 PyObject
* _argo0
= 0;
7376 PyObject
* _argo1
= 0;
7377 char *_kwnames
[] = { "self","arg2", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
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_ProcessTableMessage. Expected _wxGrid_p.");
7390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } _resultobj
= Py_BuildValue("i",_result
);
7406 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7407 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7409 wxGridTableBase
* _result
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7434 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7435 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 wxGridTableBase
* _arg1
;
7440 bool _arg2
= (bool ) FALSE
;
7441 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7442 PyObject
* _argo0
= 0;
7443 PyObject
* _argo1
= 0;
7444 int tempbool2
= (int) FALSE
;
7445 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7464 _arg2
= (bool ) tempbool2
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) return NULL
;
7471 } _resultobj
= Py_BuildValue("i",_result
);
7475 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7476 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 wxGrid_ClearGrid(_arg0
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } Py_INCREF(Py_None
);
7499 _resultobj
= Py_None
;
7503 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7504 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
* _resultobj
;
7508 int _arg1
= (int ) 0;
7509 int _arg2
= (int ) 1;
7510 bool _arg3
= (bool ) TRUE
;
7511 PyObject
* _argo0
= 0;
7512 int tempbool3
= (int) TRUE
;
7513 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7525 _arg3
= (bool ) tempbool3
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) return NULL
;
7532 } _resultobj
= Py_BuildValue("i",_result
);
7536 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7537 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
* _resultobj
;
7541 int _arg1
= (int ) 1;
7542 bool _arg2
= (bool ) TRUE
;
7543 PyObject
* _argo0
= 0;
7544 int tempbool2
= (int) TRUE
;
7545 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7557 _arg2
= (bool ) tempbool2
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) return NULL
;
7564 } _resultobj
= Py_BuildValue("i",_result
);
7568 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7569 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7573 int _arg1
= (int ) 0;
7574 int _arg2
= (int ) 1;
7575 bool _arg3
= (bool ) TRUE
;
7576 PyObject
* _argo0
= 0;
7577 int tempbool3
= (int) TRUE
;
7578 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7590 _arg3
= (bool ) tempbool3
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) return NULL
;
7597 } _resultobj
= Py_BuildValue("i",_result
);
7601 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7602 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
* _resultobj
;
7606 int _arg1
= (int ) 0;
7607 int _arg2
= (int ) 1;
7608 bool _arg3
= (bool ) TRUE
;
7609 PyObject
* _argo0
= 0;
7610 int tempbool3
= (int) TRUE
;
7611 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7623 _arg3
= (bool ) tempbool3
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) return NULL
;
7630 } _resultobj
= Py_BuildValue("i",_result
);
7634 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7635 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7639 int _arg1
= (int ) 1;
7640 bool _arg2
= (bool ) TRUE
;
7641 PyObject
* _argo0
= 0;
7642 int tempbool2
= (int) TRUE
;
7643 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7655 _arg2
= (bool ) tempbool2
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) return NULL
;
7662 } _resultobj
= Py_BuildValue("i",_result
);
7666 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7667 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
* _resultobj
;
7671 int _arg1
= (int ) 0;
7672 int _arg2
= (int ) 1;
7673 bool _arg3
= (bool ) TRUE
;
7674 PyObject
* _argo0
= 0;
7675 int tempbool3
= (int) TRUE
;
7676 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7688 _arg3
= (bool ) tempbool3
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) return NULL
;
7695 } _resultobj
= Py_BuildValue("i",_result
);
7699 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7700 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7704 wxGridCellAttr
* _arg2
;
7705 PyObject
* _argo0
= 0;
7706 PyObject
* _argo1
= 0;
7707 PyObject
* _argo2
= 0;
7708 char *_kwnames
[] = { "self","dc","attr", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7728 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } Py_INCREF(Py_None
);
7741 _resultobj
= Py_None
;
7745 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7746 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7752 int _arg4
= (int ) wxLEFT
;
7753 int _arg5
= (int ) wxTOP
;
7754 PyObject
* _argo0
= 0;
7755 PyObject
* _argo1
= 0;
7756 PyObject
* _obj2
= 0;
7758 PyObject
* _obj3
= 0;
7759 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7772 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7779 #if PYTHON_API_VERSION >= 1009
7780 char* tmpPtr
; int tmpSize
;
7781 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7785 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7787 _arg2
= new wxString(tmpPtr
, tmpSize
);
7789 if (!PyString_Check(_obj2
)) {
7790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7793 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7798 if (! wxRect_helper(_obj3
, &_arg3
))
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7816 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7817 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7821 wxArrayString
* _arg2
;
7826 PyObject
* _argo0
= 0;
7827 PyObject
* _argo1
= 0;
7828 PyObject
* _obj2
= 0;
7829 char *_kwnames
[] = { "self","dc","lines", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7855 if (! PySequence_Check(_obj2
)) {
7856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7859 _arg2
= new wxArrayString
;
7860 int i
, len
=PySequence_Length(_obj2
);
7861 for (i
=0; i
<len
; i
++) {
7862 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7863 PyObject
* str
= PyObject_Str(item
);
7864 _arg2
->Add(PyString_AsString(str
));
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7875 } Py_INCREF(Py_None
);
7876 _resultobj
= Py_None
;
7879 o
= PyInt_FromLong((long) (*_arg3
));
7880 _resultobj
= t_output_helper(_resultobj
, o
);
7884 o
= PyInt_FromLong((long) (*_arg4
));
7885 _resultobj
= t_output_helper(_resultobj
, o
);
7894 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7895 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7898 PyObject
* _argo0
= 0;
7899 char *_kwnames
[] = { "self", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 wxGrid_BeginBatch(_arg0
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) return NULL
;
7917 } Py_INCREF(Py_None
);
7918 _resultobj
= Py_None
;
7922 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7923 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7926 PyObject
* _argo0
= 0;
7927 char *_kwnames
[] = { "self", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 wxGrid_EndBatch(_arg0
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7945 } Py_INCREF(Py_None
);
7946 _resultobj
= Py_None
;
7950 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7951 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7955 PyObject
* _argo0
= 0;
7956 char *_kwnames
[] = { "self", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) return NULL
;
7974 } _resultobj
= Py_BuildValue("i",_result
);
7978 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7979 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7982 PyObject
* _argo0
= 0;
7983 char *_kwnames
[] = { "self", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 wxGrid_ForceRefresh(_arg0
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) return NULL
;
8001 } Py_INCREF(Py_None
);
8002 _resultobj
= Py_None
;
8006 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8007 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8011 PyObject
* _argo0
= 0;
8012 char *_kwnames
[] = { "self", NULL
};
8015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 _result
= (bool )wxGrid_IsEditable(_arg0
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8030 } _resultobj
= Py_BuildValue("i",_result
);
8034 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8035 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8039 PyObject
* _argo0
= 0;
8041 char *_kwnames
[] = { "self","edit", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8053 _arg1
= (bool ) tempbool1
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxGrid_EnableEditing(_arg0
,_arg1
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) return NULL
;
8060 } Py_INCREF(Py_None
);
8061 _resultobj
= Py_None
;
8065 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8066 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
* _resultobj
;
8069 bool _arg1
= (bool ) TRUE
;
8070 PyObject
* _argo0
= 0;
8071 int tempbool1
= (int) TRUE
;
8072 char *_kwnames
[] = { "self","enable", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8084 _arg1
= (bool ) tempbool1
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } Py_INCREF(Py_None
);
8092 _resultobj
= Py_None
;
8096 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8097 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8100 PyObject
* _argo0
= 0;
8101 char *_kwnames
[] = { "self", NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 wxGrid_DisableCellEditControl(_arg0
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) return NULL
;
8119 } Py_INCREF(Py_None
);
8120 _resultobj
= Py_None
;
8124 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8125 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
* _resultobj
;
8129 PyObject
* _argo0
= 0;
8130 char *_kwnames
[] = { "self", NULL
};
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) return NULL
;
8148 } _resultobj
= Py_BuildValue("i",_result
);
8152 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8153 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
* _resultobj
;
8157 PyObject
* _argo0
= 0;
8158 char *_kwnames
[] = { "self", NULL
};
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) return NULL
;
8176 } _resultobj
= Py_BuildValue("i",_result
);
8180 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8181 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
* _resultobj
;
8185 PyObject
* _argo0
= 0;
8186 char *_kwnames
[] = { "self", NULL
};
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) return NULL
;
8204 } _resultobj
= Py_BuildValue("i",_result
);
8208 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8209 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
* _resultobj
;
8213 PyObject
* _argo0
= 0;
8214 char *_kwnames
[] = { "self", NULL
};
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) return NULL
;
8232 } _resultobj
= Py_BuildValue("i",_result
);
8236 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8237 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8240 PyObject
* _argo0
= 0;
8241 char *_kwnames
[] = { "self", NULL
};
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 wxGrid_ShowCellEditControl(_arg0
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) return NULL
;
8259 } Py_INCREF(Py_None
);
8260 _resultobj
= Py_None
;
8264 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8265 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
* _resultobj
;
8268 PyObject
* _argo0
= 0;
8269 char *_kwnames
[] = { "self", NULL
};
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 wxGrid_HideCellEditControl(_arg0
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) return NULL
;
8287 } Py_INCREF(Py_None
);
8288 _resultobj
= Py_None
;
8292 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8293 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
* _resultobj
;
8296 PyObject
* _argo0
= 0;
8297 char *_kwnames
[] = { "self", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 wxGrid_SaveEditControlValue(_arg0
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) return NULL
;
8315 } Py_INCREF(Py_None
);
8316 _resultobj
= Py_None
;
8320 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8321 wxGridCellCoords rv
;
8322 self
->XYToCell(x
, y
, rv
);
8323 return new wxGridCellCoords(rv
);
8325 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8327 wxGridCellCoords
* _result
;
8331 PyObject
* _argo0
= 0;
8332 char *_kwnames
[] = { "self","x","y", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) return NULL
;
8352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8353 _resultobj
= Py_BuildValue("s",_ptemp
);
8356 _resultobj
= Py_None
;
8361 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8362 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
* _resultobj
;
8367 PyObject
* _argo0
= 0;
8368 char *_kwnames
[] = { "self","y", NULL
};
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) return NULL
;
8386 } _resultobj
= Py_BuildValue("i",_result
);
8390 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8391 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
* _resultobj
;
8396 PyObject
* _argo0
= 0;
8397 char *_kwnames
[] = { "self","x", NULL
};
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) return NULL
;
8415 } _resultobj
= Py_BuildValue("i",_result
);
8419 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8420 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
* _resultobj
;
8425 PyObject
* _argo0
= 0;
8426 char *_kwnames
[] = { "self","y", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) return NULL
;
8444 } _resultobj
= Py_BuildValue("i",_result
);
8448 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8449 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8454 PyObject
* _argo0
= 0;
8455 char *_kwnames
[] = { "self","x", NULL
};
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) return NULL
;
8473 } _resultobj
= Py_BuildValue("i",_result
);
8477 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8478 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
* _resultobj
;
8484 PyObject
* _argo0
= 0;
8485 char *_kwnames
[] = { "self","row","col", NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) return NULL
;
8504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8505 _resultobj
= Py_BuildValue("s",_ptemp
);
8509 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8510 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
* _resultobj
;
8514 PyObject
* _argo0
= 0;
8515 char *_kwnames
[] = { "self", NULL
};
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) return NULL
;
8533 } _resultobj
= Py_BuildValue("i",_result
);
8537 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8538 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
* _resultobj
;
8542 PyObject
* _argo0
= 0;
8543 char *_kwnames
[] = { "self", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) return NULL
;
8561 } _resultobj
= Py_BuildValue("i",_result
);
8565 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8566 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
* _resultobj
;
8572 bool _arg3
= (bool ) TRUE
;
8573 PyObject
* _argo0
= 0;
8574 int tempbool3
= (int) TRUE
;
8575 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8587 _arg3
= (bool ) tempbool3
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) return NULL
;
8594 } _resultobj
= Py_BuildValue("i",_result
);
8598 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8599 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self","row","col", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) return NULL
;
8623 } Py_INCREF(Py_None
);
8624 _resultobj
= Py_None
;
8628 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8629 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self","row","col", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } Py_INCREF(Py_None
);
8654 _resultobj
= Py_None
;
8658 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8659 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
* _resultobj
;
8664 PyObject
* _argo0
= 0;
8666 char *_kwnames
[] = { "self","expandSelection", NULL
};
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8678 _arg1
= (bool ) tempbool1
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) return NULL
;
8685 } _resultobj
= Py_BuildValue("i",_result
);
8689 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8690 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
* _resultobj
;
8695 PyObject
* _argo0
= 0;
8697 char *_kwnames
[] = { "self","expandSelection", NULL
};
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8709 _arg1
= (bool ) tempbool1
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) return NULL
;
8716 } _resultobj
= Py_BuildValue("i",_result
);
8720 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8721 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
* _resultobj
;
8726 PyObject
* _argo0
= 0;
8728 char *_kwnames
[] = { "self","expandSelection", NULL
};
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8740 _arg1
= (bool ) tempbool1
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) return NULL
;
8747 } _resultobj
= Py_BuildValue("i",_result
);
8751 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8752 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
* _resultobj
;
8757 PyObject
* _argo0
= 0;
8759 char *_kwnames
[] = { "self","expandSelection", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8771 _arg1
= (bool ) tempbool1
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) return NULL
;
8778 } _resultobj
= Py_BuildValue("i",_result
);
8782 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8783 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
* _resultobj
;
8787 PyObject
* _argo0
= 0;
8788 char *_kwnames
[] = { "self", NULL
};
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) return NULL
;
8806 } _resultobj
= Py_BuildValue("i",_result
);
8810 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8811 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
* _resultobj
;
8815 PyObject
* _argo0
= 0;
8816 char *_kwnames
[] = { "self", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) return NULL
;
8834 } _resultobj
= Py_BuildValue("i",_result
);
8838 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8839 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
* _resultobj
;
8844 PyObject
* _argo0
= 0;
8846 char *_kwnames
[] = { "self","expandSelection", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8858 _arg1
= (bool ) tempbool1
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) return NULL
;
8865 } _resultobj
= Py_BuildValue("i",_result
);
8869 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8870 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
* _resultobj
;
8875 PyObject
* _argo0
= 0;
8877 char *_kwnames
[] = { "self","expandSelection", NULL
};
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8889 _arg1
= (bool ) tempbool1
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 } _resultobj
= Py_BuildValue("i",_result
);
8900 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8901 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
* _resultobj
;
8906 PyObject
* _argo0
= 0;
8908 char *_kwnames
[] = { "self","expandSelection", NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8920 _arg1
= (bool ) tempbool1
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) return NULL
;
8927 } _resultobj
= Py_BuildValue("i",_result
);
8931 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8932 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8937 PyObject
* _argo0
= 0;
8939 char *_kwnames
[] = { "self","expandSelection", NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8951 _arg1
= (bool ) tempbool1
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } _resultobj
= Py_BuildValue("i",_result
);
8962 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8963 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8967 PyObject
* _argo0
= 0;
8968 char *_kwnames
[] = { "self", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } _resultobj
= Py_BuildValue("i",_result
);
8990 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8991 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
* _resultobj
;
8995 PyObject
* _argo0
= 0;
8996 char *_kwnames
[] = { "self", NULL
};
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } _resultobj
= Py_BuildValue("i",_result
);
9018 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9019 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9023 PyObject
* _argo0
= 0;
9024 char *_kwnames
[] = { "self", NULL
};
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) return NULL
;
9042 } _resultobj
= Py_BuildValue("i",_result
);
9046 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9047 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
* _resultobj
;
9051 PyObject
* _argo0
= 0;
9052 char *_kwnames
[] = { "self", NULL
};
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) return NULL
;
9070 } _resultobj
= Py_BuildValue("i",_result
);
9074 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9075 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9079 PyObject
* _argo0
= 0;
9080 char *_kwnames
[] = { "self", NULL
};
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) return NULL
;
9099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9100 _resultobj
= Py_BuildValue("s",_ptemp
);
9104 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9105 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
* _resultobj
;
9109 PyObject
* _argo0
= 0;
9110 char *_kwnames
[] = { "self", NULL
};
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) return NULL
;
9129 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9130 _resultobj
= Py_BuildValue("s",_ptemp
);
9134 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9135 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
* _resultobj
;
9139 PyObject
* _argo0
= 0;
9140 char *_kwnames
[] = { "self", NULL
};
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) return NULL
;
9159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9160 _resultobj
= Py_BuildValue("s",_ptemp
);
9164 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9165 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9172 PyObject
* _argo0
= 0;
9173 char *_kwnames
[] = { "self", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) return NULL
;
9197 } Py_INCREF(Py_None
);
9198 _resultobj
= Py_None
;
9201 o
= PyInt_FromLong((long) (*_arg1
));
9202 _resultobj
= t_output_helper(_resultobj
, o
);
9206 o
= PyInt_FromLong((long) (*_arg2
));
9207 _resultobj
= t_output_helper(_resultobj
, o
);
9212 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9213 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9220 PyObject
* _argo0
= 0;
9221 char *_kwnames
[] = { "self", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } Py_INCREF(Py_None
);
9246 _resultobj
= Py_None
;
9249 o
= PyInt_FromLong((long) (*_arg1
));
9250 _resultobj
= t_output_helper(_resultobj
, o
);
9254 o
= PyInt_FromLong((long) (*_arg2
));
9255 _resultobj
= t_output_helper(_resultobj
, o
);
9260 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9261 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9266 PyObject
* _argo0
= 0;
9267 char *_kwnames
[] = { "self","row", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) return NULL
;
9286 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9294 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9295 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
* _resultobj
;
9300 PyObject
* _argo0
= 0;
9301 char *_kwnames
[] = { "self","col", NULL
};
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) return NULL
;
9320 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9328 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9329 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
* _resultobj
;
9333 PyObject
* _argo0
= 0;
9334 char *_kwnames
[] = { "self", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) return NULL
;
9353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9354 _resultobj
= Py_BuildValue("s",_ptemp
);
9358 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9359 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
* _resultobj
;
9363 PyObject
* _argo0
= 0;
9364 char *_kwnames
[] = { "self", NULL
};
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) return NULL
;
9383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9384 _resultobj
= Py_BuildValue("s",_ptemp
);
9388 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9389 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
* _resultobj
;
9393 PyObject
* _argo0
= 0;
9394 char *_kwnames
[] = { "self", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } _resultobj
= Py_BuildValue("i",_result
);
9416 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9417 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9421 PyObject
* _argo0
= 0;
9422 char *_kwnames
[] = { "self", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) return NULL
;
9440 } _resultobj
= Py_BuildValue("i",_result
);
9444 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9445 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
* _resultobj
;
9449 PyObject
* _argo0
= 0;
9450 char *_kwnames
[] = { "self","width", NULL
};
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) return NULL
;
9468 } Py_INCREF(Py_None
);
9469 _resultobj
= Py_None
;
9473 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9474 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
* _resultobj
;
9478 PyObject
* _argo0
= 0;
9479 char *_kwnames
[] = { "self","height", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 } Py_INCREF(Py_None
);
9498 _resultobj
= Py_None
;
9502 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9503 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9507 PyObject
* _argo0
= 0;
9509 PyObject
* _obj1
= 0;
9510 char *_kwnames
[] = { "self","arg2", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9524 if (! wxColour_helper(_obj1
, &_arg1
))
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) return NULL
;
9533 } Py_INCREF(Py_None
);
9534 _resultobj
= Py_None
;
9538 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9539 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
* _resultobj
;
9543 PyObject
* _argo0
= 0;
9545 PyObject
* _obj1
= 0;
9546 char *_kwnames
[] = { "self","arg2", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9560 if (! wxColour_helper(_obj1
, &_arg1
))
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } Py_INCREF(Py_None
);
9570 _resultobj
= Py_None
;
9574 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9575 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
* _resultobj
;
9579 PyObject
* _argo0
= 0;
9580 PyObject
* _argo1
= 0;
9581 char *_kwnames
[] = { "self","arg2", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9611 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9612 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9617 PyObject
* _argo0
= 0;
9618 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) return NULL
;
9636 } Py_INCREF(Py_None
);
9637 _resultobj
= Py_None
;
9641 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9642 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
* _resultobj
;
9647 PyObject
* _argo0
= 0;
9648 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) return NULL
;
9666 } Py_INCREF(Py_None
);
9667 _resultobj
= Py_None
;
9671 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9672 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
* _resultobj
;
9677 PyObject
* _argo0
= 0;
9678 PyObject
* _obj2
= 0;
9679 char *_kwnames
[] = { "self","row","arg3", NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9692 #if PYTHON_API_VERSION >= 1009
9693 char* tmpPtr
; int tmpSize
;
9694 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9698 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9700 _arg2
= new wxString(tmpPtr
, tmpSize
);
9702 if (!PyString_Check(_obj2
)) {
9703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9706 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) return NULL
;
9715 } Py_INCREF(Py_None
);
9716 _resultobj
= Py_None
;
9724 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9725 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
* _resultobj
;
9730 PyObject
* _argo0
= 0;
9731 PyObject
* _obj2
= 0;
9732 char *_kwnames
[] = { "self","col","arg3", NULL
};
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9745 #if PYTHON_API_VERSION >= 1009
9746 char* tmpPtr
; int tmpSize
;
9747 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9751 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9753 _arg2
= new wxString(tmpPtr
, tmpSize
);
9755 if (!PyString_Check(_obj2
)) {
9756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9759 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) return NULL
;
9768 } Py_INCREF(Py_None
);
9769 _resultobj
= Py_None
;
9777 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9778 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
* _resultobj
;
9782 PyObject
* _argo0
= 0;
9784 PyObject
* _obj1
= 0;
9785 char *_kwnames
[] = { "self","arg2", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9799 if (! wxColour_helper(_obj1
, &_arg1
))
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) return NULL
;
9808 } Py_INCREF(Py_None
);
9809 _resultobj
= Py_None
;
9813 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9814 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9818 PyObject
* _argo0
= 0;
9820 PyObject
* _obj1
= 0;
9821 char *_kwnames
[] = { "self","arg2", NULL
};
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9835 if (! wxColour_helper(_obj1
, &_arg1
))
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) return NULL
;
9844 } Py_INCREF(Py_None
);
9845 _resultobj
= Py_None
;
9849 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9850 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9854 PyObject
* _argo0
= 0;
9855 char *_kwnames
[] = { "self","width", NULL
};
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) return NULL
;
9873 } Py_INCREF(Py_None
);
9874 _resultobj
= Py_None
;
9878 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9879 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
* _resultobj
;
9883 PyObject
* _argo0
= 0;
9884 char *_kwnames
[] = { "self","width", NULL
};
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) return NULL
;
9902 } Py_INCREF(Py_None
);
9903 _resultobj
= Py_None
;
9907 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9908 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
* _resultobj
;
9911 bool _arg1
= (bool ) TRUE
;
9912 PyObject
* _argo0
= 0;
9913 int tempbool1
= (int) TRUE
;
9914 char *_kwnames
[] = { "self","enable", NULL
};
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9926 _arg1
= (bool ) tempbool1
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) return NULL
;
9933 } Py_INCREF(Py_None
);
9934 _resultobj
= Py_None
;
9938 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9939 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
* _resultobj
;
9942 PyObject
* _argo0
= 0;
9943 char *_kwnames
[] = { "self", NULL
};
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxGrid_DisableDragRowSize(_arg0
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9966 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9967 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
* _resultobj
;
9971 PyObject
* _argo0
= 0;
9972 char *_kwnames
[] = { "self", NULL
};
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) return NULL
;
9990 } _resultobj
= Py_BuildValue("i",_result
);
9994 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9995 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
* _resultobj
;
9998 bool _arg1
= (bool ) TRUE
;
9999 PyObject
* _argo0
= 0;
10000 int tempbool1
= (int) TRUE
;
10001 char *_kwnames
[] = { "self","enable", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10013 _arg1
= (bool ) tempbool1
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) return NULL
;
10020 } Py_INCREF(Py_None
);
10021 _resultobj
= Py_None
;
10025 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10026 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
* _resultobj
;
10029 PyObject
* _argo0
= 0;
10030 char *_kwnames
[] = { "self", NULL
};
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 wxGrid_DisableDragColSize(_arg0
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) return NULL
;
10048 } Py_INCREF(Py_None
);
10049 _resultobj
= Py_None
;
10053 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10054 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
* _resultobj
;
10058 PyObject
* _argo0
= 0;
10059 char *_kwnames
[] = { "self", NULL
};
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) return NULL
;
10077 } _resultobj
= Py_BuildValue("i",_result
);
10081 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10082 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
* _resultobj
;
10085 bool _arg1
= (bool ) TRUE
;
10086 PyObject
* _argo0
= 0;
10087 int tempbool1
= (int) TRUE
;
10088 char *_kwnames
[] = { "self","enable", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10100 _arg1
= (bool ) tempbool1
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) return NULL
;
10107 } Py_INCREF(Py_None
);
10108 _resultobj
= Py_None
;
10112 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10113 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
* _resultobj
;
10116 PyObject
* _argo0
= 0;
10117 char *_kwnames
[] = { "self", NULL
};
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 wxGrid_DisableDragGridSize(_arg0
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) return NULL
;
10135 } Py_INCREF(Py_None
);
10136 _resultobj
= Py_None
;
10140 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10141 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
* _resultobj
;
10145 PyObject
* _argo0
= 0;
10146 char *_kwnames
[] = { "self", NULL
};
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) return NULL
;
10164 } _resultobj
= Py_BuildValue("i",_result
);
10168 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10169 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
* _resultobj
;
10173 wxGridCellAttr
* _arg2
;
10174 PyObject
* _argo0
= 0;
10175 PyObject
* _argo2
= 0;
10176 char *_kwnames
[] = { "self","row","attr", NULL
};
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10189 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) return NULL
;
10201 } Py_INCREF(Py_None
);
10202 _resultobj
= Py_None
;
10206 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10207 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
* _resultobj
;
10211 wxGridCellAttr
* _arg2
;
10212 PyObject
* _argo0
= 0;
10213 PyObject
* _argo2
= 0;
10214 char *_kwnames
[] = { "self","col","attr", NULL
};
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10227 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10228 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) return NULL
;
10239 } Py_INCREF(Py_None
);
10240 _resultobj
= Py_None
;
10244 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10245 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
* _resultobj
;
10249 PyObject
* _argo0
= 0;
10250 char *_kwnames
[] = { "self","col", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) return NULL
;
10268 } Py_INCREF(Py_None
);
10269 _resultobj
= Py_None
;
10273 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10274 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
* _resultobj
;
10278 PyObject
* _argo0
= 0;
10279 char *_kwnames
[] = { "self","col", NULL
};
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) return NULL
;
10297 } Py_INCREF(Py_None
);
10298 _resultobj
= Py_None
;
10302 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10303 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10307 int _arg2
= (int ) -1;
10308 int _arg3
= (int ) -1;
10309 PyObject
* _argo0
= 0;
10310 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) return NULL
;
10328 } Py_INCREF(Py_None
);
10329 _resultobj
= Py_None
;
10333 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10334 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
* _resultobj
;
10339 PyObject
* _argo0
= 0;
10340 PyObject
* _obj2
= 0;
10341 char *_kwnames
[] = { "self","col","typeName", NULL
};
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10354 #if PYTHON_API_VERSION >= 1009
10355 char* tmpPtr
; int tmpSize
;
10356 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10360 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10362 _arg2
= new wxString(tmpPtr
, tmpSize
);
10364 if (!PyString_Check(_obj2
)) {
10365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10368 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) return NULL
;
10377 } Py_INCREF(Py_None
);
10378 _resultobj
= Py_None
;
10386 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10387 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
* _resultobj
;
10390 bool _arg1
= (bool ) TRUE
;
10391 PyObject
* _argo0
= 0;
10392 int tempbool1
= (int) TRUE
;
10393 char *_kwnames
[] = { "self","enable", NULL
};
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10405 _arg1
= (bool ) tempbool1
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxGrid_EnableGridLines(_arg0
,_arg1
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) return NULL
;
10412 } Py_INCREF(Py_None
);
10413 _resultobj
= Py_None
;
10417 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10418 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10422 PyObject
* _argo0
= 0;
10423 char *_kwnames
[] = { "self", NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) return NULL
;
10441 } _resultobj
= Py_BuildValue("i",_result
);
10445 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10446 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
* _resultobj
;
10450 PyObject
* _argo0
= 0;
10451 char *_kwnames
[] = { "self", NULL
};
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) return NULL
;
10469 } _resultobj
= Py_BuildValue("i",_result
);
10473 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10474 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
* _resultobj
;
10479 PyObject
* _argo0
= 0;
10480 char *_kwnames
[] = { "self","row", NULL
};
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) return NULL
;
10498 } _resultobj
= Py_BuildValue("i",_result
);
10502 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10503 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
* _resultobj
;
10507 PyObject
* _argo0
= 0;
10508 char *_kwnames
[] = { "self", NULL
};
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) return NULL
;
10526 } _resultobj
= Py_BuildValue("i",_result
);
10530 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10531 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
* _resultobj
;
10536 PyObject
* _argo0
= 0;
10537 char *_kwnames
[] = { "self","col", NULL
};
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) return NULL
;
10555 } _resultobj
= Py_BuildValue("i",_result
);
10559 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10560 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
* _resultobj
;
10562 wxColour
* _result
;
10564 PyObject
* _argo0
= 0;
10565 char *_kwnames
[] = { "self", NULL
};
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) return NULL
;
10584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10585 _resultobj
= Py_BuildValue("s",_ptemp
);
10589 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10590 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
* _resultobj
;
10592 wxColour
* _result
;
10596 PyObject
* _argo0
= 0;
10597 char *_kwnames
[] = { "self","row","col", NULL
};
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) return NULL
;
10616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10617 _resultobj
= Py_BuildValue("s",_ptemp
);
10621 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10622 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10624 wxColour
* _result
;
10626 PyObject
* _argo0
= 0;
10627 char *_kwnames
[] = { "self", NULL
};
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
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_GetDefaultCellTextColour. Expected _wxGrid_p.");
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) return NULL
;
10646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10647 _resultobj
= Py_BuildValue("s",_ptemp
);
10651 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10652 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10654 wxColour
* _result
;
10658 PyObject
* _argo0
= 0;
10659 char *_kwnames
[] = { "self","row","col", NULL
};
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) return NULL
;
10678 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10679 _resultobj
= Py_BuildValue("s",_ptemp
);
10683 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10684 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
* _resultobj
;
10688 PyObject
* _argo0
= 0;
10689 char *_kwnames
[] = { "self", NULL
};
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
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_GetDefaultCellFont. Expected _wxGrid_p.");
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) return NULL
;
10708 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10709 _resultobj
= Py_BuildValue("s",_ptemp
);
10713 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10714 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
* _resultobj
;
10720 PyObject
* _argo0
= 0;
10721 char *_kwnames
[] = { "self","row","col", NULL
};
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) return NULL
;
10740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10741 _resultobj
= Py_BuildValue("s",_ptemp
);
10745 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10746 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10751 PyObject
* _argo0
= 0;
10752 PyObject
* _argo1
= 0;
10753 PyObject
* _argo2
= 0;
10754 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10774 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10775 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) return NULL
;
10786 } Py_INCREF(Py_None
);
10787 _resultobj
= Py_None
;
10791 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10792 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
* _resultobj
;
10799 PyObject
* _argo0
= 0;
10800 PyObject
* _argo3
= 0;
10801 PyObject
* _argo4
= 0;
10802 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10815 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10816 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10822 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10823 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) return NULL
;
10834 } Py_INCREF(Py_None
);
10835 _resultobj
= Py_None
;
10839 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10840 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
* _resultobj
;
10844 bool _arg2
= (bool ) FALSE
;
10845 PyObject
* _argo0
= 0;
10846 int tempbool2
= (int) FALSE
;
10847 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10859 _arg2
= (bool ) tempbool2
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) return NULL
;
10866 } Py_INCREF(Py_None
);
10867 _resultobj
= Py_None
;
10871 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10872 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
* _resultobj
;
10877 PyObject
* _argo0
= 0;
10878 char *_kwnames
[] = { "self","row","height", NULL
};
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) return NULL
;
10896 } Py_INCREF(Py_None
);
10897 _resultobj
= Py_None
;
10901 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10902 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
* _resultobj
;
10906 bool _arg2
= (bool ) FALSE
;
10907 PyObject
* _argo0
= 0;
10908 int tempbool2
= (int) FALSE
;
10909 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10921 _arg2
= (bool ) tempbool2
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) return NULL
;
10928 } Py_INCREF(Py_None
);
10929 _resultobj
= Py_None
;
10933 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10934 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
* _resultobj
;
10939 PyObject
* _argo0
= 0;
10940 char *_kwnames
[] = { "self","col","width", NULL
};
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) return NULL
;
10958 } Py_INCREF(Py_None
);
10959 _resultobj
= Py_None
;
10963 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10964 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
* _resultobj
;
10968 bool _arg2
= (bool ) TRUE
;
10969 PyObject
* _argo0
= 0;
10970 int tempbool2
= (int) TRUE
;
10971 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10983 _arg2
= (bool ) tempbool2
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) return NULL
;
10990 } Py_INCREF(Py_None
);
10991 _resultobj
= Py_None
;
10995 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10996 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
* _resultobj
;
11000 bool _arg2
= (bool ) TRUE
;
11001 PyObject
* _argo0
= 0;
11002 int tempbool2
= (int) TRUE
;
11003 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11015 _arg2
= (bool ) tempbool2
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) return NULL
;
11022 } Py_INCREF(Py_None
);
11023 _resultobj
= Py_None
;
11027 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11028 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
* _resultobj
;
11031 bool _arg1
= (bool ) TRUE
;
11032 PyObject
* _argo0
= 0;
11033 int tempbool1
= (int) TRUE
;
11034 char *_kwnames
[] = { "self","setAsMin", NULL
};
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11046 _arg1
= (bool ) tempbool1
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) return NULL
;
11053 } Py_INCREF(Py_None
);
11054 _resultobj
= Py_None
;
11058 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11059 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
* _resultobj
;
11062 bool _arg1
= (bool ) TRUE
;
11063 PyObject
* _argo0
= 0;
11064 int tempbool1
= (int) TRUE
;
11065 char *_kwnames
[] = { "self","setAsMin", NULL
};
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11077 _arg1
= (bool ) tempbool1
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) return NULL
;
11084 } Py_INCREF(Py_None
);
11085 _resultobj
= Py_None
;
11089 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11090 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
* _resultobj
;
11093 PyObject
* _argo0
= 0;
11094 char *_kwnames
[] = { "self", NULL
};
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 wxGrid_AutoSize(_arg0
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) return NULL
;
11112 } Py_INCREF(Py_None
);
11113 _resultobj
= Py_None
;
11117 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11118 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
* _resultobj
;
11123 PyObject
* _argo0
= 0;
11124 char *_kwnames
[] = { "self","col","width", NULL
};
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) return NULL
;
11142 } Py_INCREF(Py_None
);
11143 _resultobj
= Py_None
;
11147 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11148 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
* _resultobj
;
11153 PyObject
* _argo0
= 0;
11154 char *_kwnames
[] = { "self","row","width", NULL
};
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) return NULL
;
11172 } Py_INCREF(Py_None
);
11173 _resultobj
= Py_None
;
11177 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11178 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
* _resultobj
;
11182 PyObject
* _argo0
= 0;
11184 PyObject
* _obj1
= 0;
11185 char *_kwnames
[] = { "self","arg2", NULL
};
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11199 if (! wxColour_helper(_obj1
, &_arg1
))
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) return NULL
;
11208 } Py_INCREF(Py_None
);
11209 _resultobj
= Py_None
;
11213 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11214 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
* _resultobj
;
11220 PyObject
* _argo0
= 0;
11222 PyObject
* _obj3
= 0;
11223 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11237 if (! wxColour_helper(_obj3
, &_arg3
))
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) return NULL
;
11246 } Py_INCREF(Py_None
);
11247 _resultobj
= Py_None
;
11251 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11252 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
* _resultobj
;
11256 PyObject
* _argo0
= 0;
11258 PyObject
* _obj1
= 0;
11259 char *_kwnames
[] = { "self","arg2", NULL
};
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
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_SetDefaultCellTextColour. Expected _wxGrid_p.");
11273 if (! wxColour_helper(_obj1
, &_arg1
))
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) return NULL
;
11282 } Py_INCREF(Py_None
);
11283 _resultobj
= Py_None
;
11287 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11288 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
* _resultobj
;
11294 PyObject
* _argo0
= 0;
11296 PyObject
* _obj3
= 0;
11297 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11311 if (! wxColour_helper(_obj3
, &_arg3
))
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) return NULL
;
11320 } Py_INCREF(Py_None
);
11321 _resultobj
= Py_None
;
11325 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11326 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
* _resultobj
;
11330 PyObject
* _argo0
= 0;
11331 PyObject
* _argo1
= 0;
11332 char *_kwnames
[] = { "self","arg2", NULL
};
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) return NULL
;
11357 } Py_INCREF(Py_None
);
11358 _resultobj
= Py_None
;
11362 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11363 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
* _resultobj
;
11369 PyObject
* _argo0
= 0;
11370 PyObject
* _argo3
= 0;
11371 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11384 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11385 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) return NULL
;
11396 } Py_INCREF(Py_None
);
11397 _resultobj
= Py_None
;
11401 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11402 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
* _resultobj
;
11407 PyObject
* _argo0
= 0;
11408 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) return NULL
;
11426 } Py_INCREF(Py_None
);
11427 _resultobj
= Py_None
;
11431 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11432 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
* _resultobj
;
11439 PyObject
* _argo0
= 0;
11440 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) return NULL
;
11458 } Py_INCREF(Py_None
);
11459 _resultobj
= Py_None
;
11463 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11464 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
* _resultobj
;
11467 wxGridCellRenderer
* _arg1
;
11468 PyObject
* _argo0
= 0;
11469 PyObject
* _argo1
= 0;
11470 char *_kwnames
[] = { "self","renderer", NULL
};
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11483 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11484 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) return NULL
;
11495 } Py_INCREF(Py_None
);
11496 _resultobj
= Py_None
;
11500 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11501 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
* _resultobj
;
11506 wxGridCellRenderer
* _arg3
;
11507 PyObject
* _argo0
= 0;
11508 PyObject
* _argo3
= 0;
11509 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11522 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11523 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) return NULL
;
11534 } Py_INCREF(Py_None
);
11535 _resultobj
= Py_None
;
11539 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11540 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
* _resultobj
;
11542 wxGridCellRenderer
* _result
;
11544 PyObject
* _argo0
= 0;
11545 char *_kwnames
[] = { "self", NULL
};
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) return NULL
;
11565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11566 _resultobj
= Py_BuildValue("s",_ptemp
);
11568 Py_INCREF(Py_None
);
11569 _resultobj
= Py_None
;
11574 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11575 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
* _resultobj
;
11577 wxGridCellRenderer
* _result
;
11581 PyObject
* _argo0
= 0;
11582 char *_kwnames
[] = { "self","row","col", NULL
};
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) return NULL
;
11602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11603 _resultobj
= Py_BuildValue("s",_ptemp
);
11605 Py_INCREF(Py_None
);
11606 _resultobj
= Py_None
;
11611 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11612 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
* _resultobj
;
11615 wxGridCellEditor
* _arg1
;
11616 PyObject
* _argo0
= 0;
11617 PyObject
* _argo1
= 0;
11618 char *_kwnames
[] = { "self","editor", NULL
};
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) return NULL
;
11643 } Py_INCREF(Py_None
);
11644 _resultobj
= Py_None
;
11648 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11649 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
* _resultobj
;
11654 wxGridCellEditor
* _arg3
;
11655 PyObject
* _argo0
= 0;
11656 PyObject
* _argo3
= 0;
11657 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11670 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11671 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) return NULL
;
11682 } Py_INCREF(Py_None
);
11683 _resultobj
= Py_None
;
11687 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11688 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
* _resultobj
;
11690 wxGridCellEditor
* _result
;
11692 PyObject
* _argo0
= 0;
11693 char *_kwnames
[] = { "self", NULL
};
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) return NULL
;
11713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11714 _resultobj
= Py_BuildValue("s",_ptemp
);
11716 Py_INCREF(Py_None
);
11717 _resultobj
= Py_None
;
11722 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11723 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
* _resultobj
;
11725 wxGridCellEditor
* _result
;
11729 PyObject
* _argo0
= 0;
11730 char *_kwnames
[] = { "self","row","col", NULL
};
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) return NULL
;
11750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11751 _resultobj
= Py_BuildValue("s",_ptemp
);
11753 Py_INCREF(Py_None
);
11754 _resultobj
= Py_None
;
11759 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11760 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
* _resultobj
;
11762 wxString
* _result
;
11766 PyObject
* _argo0
= 0;
11767 char *_kwnames
[] = { "self","row","col", NULL
};
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) return NULL
;
11786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11794 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11795 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
* _resultobj
;
11801 PyObject
* _argo0
= 0;
11802 PyObject
* _obj3
= 0;
11803 char *_kwnames
[] = { "self","row","col","s", NULL
};
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11816 #if PYTHON_API_VERSION >= 1009
11817 char* tmpPtr
; int tmpSize
;
11818 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11822 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11824 _arg3
= new wxString(tmpPtr
, tmpSize
);
11826 if (!PyString_Check(_obj3
)) {
11827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11830 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) return NULL
;
11839 } Py_INCREF(Py_None
);
11840 _resultobj
= Py_None
;
11848 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11849 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
* _resultobj
;
11855 PyObject
* _argo0
= 0;
11856 char *_kwnames
[] = { "self","row","col", NULL
};
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) return NULL
;
11874 } _resultobj
= Py_BuildValue("i",_result
);
11878 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11879 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
* _resultobj
;
11884 bool _arg3
= (bool ) TRUE
;
11885 PyObject
* _argo0
= 0;
11886 int tempbool3
= (int) TRUE
;
11887 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
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_SetReadOnly. Expected _wxGrid_p.");
11899 _arg3
= (bool ) tempbool3
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) return NULL
;
11906 } Py_INCREF(Py_None
);
11907 _resultobj
= Py_None
;
11911 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11912 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
* _resultobj
;
11916 bool _arg2
= (bool ) FALSE
;
11917 PyObject
* _argo0
= 0;
11918 int tempbool2
= (int) FALSE
;
11919 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11931 _arg2
= (bool ) tempbool2
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) return NULL
;
11938 } Py_INCREF(Py_None
);
11939 _resultobj
= Py_None
;
11943 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11944 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
* _resultobj
;
11948 bool _arg2
= (bool ) FALSE
;
11949 PyObject
* _argo0
= 0;
11950 int tempbool2
= (int) FALSE
;
11951 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11963 _arg2
= (bool ) tempbool2
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) return NULL
;
11970 } Py_INCREF(Py_None
);
11971 _resultobj
= Py_None
;
11975 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11976 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
* _resultobj
;
11983 bool _arg5
= (bool ) FALSE
;
11984 PyObject
* _argo0
= 0;
11985 int tempbool5
= (int) FALSE
;
11986 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11998 _arg5
= (bool ) tempbool5
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) return NULL
;
12005 } Py_INCREF(Py_None
);
12006 _resultobj
= Py_None
;
12010 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12011 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
* _resultobj
;
12014 PyObject
* _argo0
= 0;
12015 char *_kwnames
[] = { "self", NULL
};
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 wxGrid_SelectAll(_arg0
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) return NULL
;
12033 } Py_INCREF(Py_None
);
12034 _resultobj
= Py_None
;
12038 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12039 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
* _resultobj
;
12043 PyObject
* _argo0
= 0;
12044 char *_kwnames
[] = { "self", NULL
};
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 _result
= (bool )wxGrid_IsSelection(_arg0
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) return NULL
;
12062 } _resultobj
= Py_BuildValue("i",_result
);
12066 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12067 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
* _resultobj
;
12070 PyObject
* _argo0
= 0;
12071 char *_kwnames
[] = { "self", NULL
};
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 wxGrid_ClearSelection(_arg0
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) return NULL
;
12089 } Py_INCREF(Py_None
);
12090 _resultobj
= Py_None
;
12094 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12095 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
* _resultobj
;
12101 PyObject
* _argo0
= 0;
12102 char *_kwnames
[] = { "self","row","col", NULL
};
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) return NULL
;
12120 } _resultobj
= Py_BuildValue("i",_result
);
12124 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12125 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
* _resultobj
;
12129 wxGridCellCoords
* _arg1
;
12130 wxGridCellCoords
* _arg2
;
12131 PyObject
* _argo0
= 0;
12132 wxGridCellCoords temp
;
12133 PyObject
* _obj1
= 0;
12134 wxGridCellCoords temp0
;
12135 PyObject
* _obj2
= 0;
12136 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12151 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12156 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) return NULL
;
12165 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12166 _resultobj
= Py_BuildValue("s",_ptemp
);
12170 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12171 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
* _resultobj
;
12173 wxColour
* _result
;
12175 PyObject
* _argo0
= 0;
12176 char *_kwnames
[] = { "self", NULL
};
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) return NULL
;
12195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12196 _resultobj
= Py_BuildValue("s",_ptemp
);
12200 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12201 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
* _resultobj
;
12203 wxColour
* _result
;
12205 PyObject
* _argo0
= 0;
12206 char *_kwnames
[] = { "self", NULL
};
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) return NULL
;
12225 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12226 _resultobj
= Py_BuildValue("s",_ptemp
);
12230 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12231 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
* _resultobj
;
12235 PyObject
* _argo0
= 0;
12237 PyObject
* _obj1
= 0;
12238 char *_kwnames
[] = { "self","c", NULL
};
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12252 if (! wxColour_helper(_obj1
, &_arg1
))
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) return NULL
;
12261 } Py_INCREF(Py_None
);
12262 _resultobj
= Py_None
;
12266 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12267 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
* _resultobj
;
12271 PyObject
* _argo0
= 0;
12273 PyObject
* _obj1
= 0;
12274 char *_kwnames
[] = { "self","c", NULL
};
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12288 if (! wxColour_helper(_obj1
, &_arg1
))
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) return NULL
;
12297 } Py_INCREF(Py_None
);
12298 _resultobj
= Py_None
;
12302 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12303 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
* _resultobj
;
12307 wxGridCellRenderer
* _arg2
;
12308 wxGridCellEditor
* _arg3
;
12309 PyObject
* _argo0
= 0;
12310 PyObject
* _obj1
= 0;
12311 PyObject
* _argo2
= 0;
12312 PyObject
* _argo3
= 0;
12313 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12326 #if PYTHON_API_VERSION >= 1009
12327 char* tmpPtr
; int tmpSize
;
12328 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12332 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12334 _arg1
= new wxString(tmpPtr
, tmpSize
);
12336 if (!PyString_Check(_obj1
)) {
12337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12340 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12351 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12352 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) return NULL
;
12363 } Py_INCREF(Py_None
);
12364 _resultobj
= Py_None
;
12372 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12373 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
* _resultobj
;
12375 wxGridCellEditor
* _result
;
12379 PyObject
* _argo0
= 0;
12380 char *_kwnames
[] = { "self","row","col", NULL
};
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) return NULL
;
12400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12401 _resultobj
= Py_BuildValue("s",_ptemp
);
12403 Py_INCREF(Py_None
);
12404 _resultobj
= Py_None
;
12409 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12410 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
* _resultobj
;
12412 wxGridCellRenderer
* _result
;
12416 PyObject
* _argo0
= 0;
12417 char *_kwnames
[] = { "self","row","col", NULL
};
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) return NULL
;
12437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12438 _resultobj
= Py_BuildValue("s",_ptemp
);
12440 Py_INCREF(Py_None
);
12441 _resultobj
= Py_None
;
12446 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12447 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
* _resultobj
;
12449 wxGridCellEditor
* _result
;
12452 PyObject
* _argo0
= 0;
12453 PyObject
* _obj1
= 0;
12454 char *_kwnames
[] = { "self","typeName", NULL
};
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12468 #if PYTHON_API_VERSION >= 1009
12469 char* tmpPtr
; int tmpSize
;
12470 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12474 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12476 _arg1
= new wxString(tmpPtr
, tmpSize
);
12478 if (!PyString_Check(_obj1
)) {
12479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12482 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) return NULL
;
12492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12493 _resultobj
= Py_BuildValue("s",_ptemp
);
12495 Py_INCREF(Py_None
);
12496 _resultobj
= Py_None
;
12505 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12506 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
* _resultobj
;
12508 wxGridCellRenderer
* _result
;
12511 PyObject
* _argo0
= 0;
12512 PyObject
* _obj1
= 0;
12513 char *_kwnames
[] = { "self","typeName", NULL
};
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12527 #if PYTHON_API_VERSION >= 1009
12528 char* tmpPtr
; int tmpSize
;
12529 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12533 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12535 _arg1
= new wxString(tmpPtr
, tmpSize
);
12537 if (!PyString_Check(_obj1
)) {
12538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12541 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) return NULL
;
12551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12552 _resultobj
= Py_BuildValue("s",_ptemp
);
12554 Py_INCREF(Py_None
);
12555 _resultobj
= Py_None
;
12564 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12565 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
* _resultobj
;
12570 PyObject
* _argo0
= 0;
12571 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) return NULL
;
12589 } Py_INCREF(Py_None
);
12590 _resultobj
= Py_None
;
12594 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12595 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
* _resultobj
;
12597 wxWindow
* _result
;
12599 PyObject
* _argo0
= 0;
12600 char *_kwnames
[] = { "self", NULL
};
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) return NULL
;
12618 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12622 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12623 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
* _resultobj
;
12625 wxWindow
* _result
;
12627 PyObject
* _argo0
= 0;
12628 char *_kwnames
[] = { "self", NULL
};
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) return NULL
;
12646 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12650 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12651 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
* _resultobj
;
12653 wxWindow
* _result
;
12655 PyObject
* _argo0
= 0;
12656 char *_kwnames
[] = { "self", NULL
};
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) return NULL
;
12674 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12678 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12679 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
* _resultobj
;
12681 wxWindow
* _result
;
12683 PyObject
* _argo0
= 0;
12684 char *_kwnames
[] = { "self", NULL
};
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) return NULL
;
12702 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12706 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12708 wxNotifyEvent
*dest
;
12709 src
= (wxGridEvent
*) ptr
;
12710 dest
= (wxNotifyEvent
*) src
;
12711 return (void *) dest
;
12714 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12716 wxCommandEvent
*dest
;
12717 src
= (wxGridEvent
*) ptr
;
12718 dest
= (wxCommandEvent
*) src
;
12719 return (void *) dest
;
12722 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12725 src
= (wxGridEvent
*) ptr
;
12726 dest
= (wxEvent
*) src
;
12727 return (void *) dest
;
12730 static void *SwigwxGridEventTowxObject(void *ptr
) {
12733 src
= (wxGridEvent
*) ptr
;
12734 dest
= (wxObject
*) src
;
12735 return (void *) dest
;
12738 #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))
12739 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
* _resultobj
;
12741 wxGridEvent
* _result
;
12745 int _arg3
= (int ) -1;
12746 int _arg4
= (int ) -1;
12747 int _arg5
= (int ) -1;
12748 int _arg6
= (int ) -1;
12749 bool _arg7
= (bool ) TRUE
;
12750 bool _arg8
= (bool ) FALSE
;
12751 bool _arg9
= (bool ) FALSE
;
12752 bool _arg10
= (bool ) FALSE
;
12753 bool _arg11
= (bool ) FALSE
;
12754 PyObject
* _argo2
= 0;
12755 int tempbool7
= (int) TRUE
;
12756 int tempbool8
= (int) FALSE
;
12757 int tempbool9
= (int) FALSE
;
12758 int tempbool10
= (int) FALSE
;
12759 int tempbool11
= (int) FALSE
;
12760 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12767 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12768 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12773 _arg7
= (bool ) tempbool7
;
12774 _arg8
= (bool ) tempbool8
;
12775 _arg9
= (bool ) tempbool9
;
12776 _arg10
= (bool ) tempbool10
;
12777 _arg11
= (bool ) tempbool11
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) return NULL
;
12785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12786 _resultobj
= Py_BuildValue("s",_ptemp
);
12788 Py_INCREF(Py_None
);
12789 _resultobj
= Py_None
;
12794 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12795 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
* _resultobj
;
12798 wxGridEvent
* _arg0
;
12799 PyObject
* _argo0
= 0;
12800 char *_kwnames
[] = { "self", NULL
};
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 _result
= (int )wxGridEvent_GetRow(_arg0
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) return NULL
;
12818 } _resultobj
= Py_BuildValue("i",_result
);
12822 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12823 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
* _resultobj
;
12826 wxGridEvent
* _arg0
;
12827 PyObject
* _argo0
= 0;
12828 char *_kwnames
[] = { "self", NULL
};
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 _result
= (int )wxGridEvent_GetCol(_arg0
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) return NULL
;
12846 } _resultobj
= Py_BuildValue("i",_result
);
12850 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12851 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
* _resultobj
;
12854 wxGridEvent
* _arg0
;
12855 PyObject
* _argo0
= 0;
12856 char *_kwnames
[] = { "self", NULL
};
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) return NULL
;
12875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12876 _resultobj
= Py_BuildValue("s",_ptemp
);
12880 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12881 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
* _resultobj
;
12884 wxGridEvent
* _arg0
;
12885 PyObject
* _argo0
= 0;
12886 char *_kwnames
[] = { "self", NULL
};
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) return NULL
;
12904 } _resultobj
= Py_BuildValue("i",_result
);
12908 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12909 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
* _resultobj
;
12912 wxGridEvent
* _arg0
;
12913 PyObject
* _argo0
= 0;
12914 char *_kwnames
[] = { "self", NULL
};
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) return NULL
;
12932 } _resultobj
= Py_BuildValue("i",_result
);
12936 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12937 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
* _resultobj
;
12940 wxGridEvent
* _arg0
;
12941 PyObject
* _argo0
= 0;
12942 char *_kwnames
[] = { "self", NULL
};
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) return NULL
;
12960 } _resultobj
= Py_BuildValue("i",_result
);
12964 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12965 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
* _resultobj
;
12968 wxGridEvent
* _arg0
;
12969 PyObject
* _argo0
= 0;
12970 char *_kwnames
[] = { "self", NULL
};
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) return NULL
;
12988 } _resultobj
= Py_BuildValue("i",_result
);
12992 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12993 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
* _resultobj
;
12996 wxGridEvent
* _arg0
;
12997 PyObject
* _argo0
= 0;
12998 char *_kwnames
[] = { "self", NULL
};
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
13004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) return NULL
;
13016 } _resultobj
= Py_BuildValue("i",_result
);
13020 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13021 wxGridSizeEvent
*src
;
13022 wxNotifyEvent
*dest
;
13023 src
= (wxGridSizeEvent
*) ptr
;
13024 dest
= (wxNotifyEvent
*) src
;
13025 return (void *) dest
;
13028 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13029 wxGridSizeEvent
*src
;
13030 wxCommandEvent
*dest
;
13031 src
= (wxGridSizeEvent
*) ptr
;
13032 dest
= (wxCommandEvent
*) src
;
13033 return (void *) dest
;
13036 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13037 wxGridSizeEvent
*src
;
13039 src
= (wxGridSizeEvent
*) ptr
;
13040 dest
= (wxEvent
*) src
;
13041 return (void *) dest
;
13044 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13045 wxGridSizeEvent
*src
;
13047 src
= (wxGridSizeEvent
*) ptr
;
13048 dest
= (wxObject
*) src
;
13049 return (void *) dest
;
13052 #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))
13053 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
* _resultobj
;
13055 wxGridSizeEvent
* _result
;
13059 int _arg3
= (int ) -1;
13060 int _arg4
= (int ) -1;
13061 int _arg5
= (int ) -1;
13062 bool _arg6
= (bool ) FALSE
;
13063 bool _arg7
= (bool ) FALSE
;
13064 bool _arg8
= (bool ) FALSE
;
13065 bool _arg9
= (bool ) FALSE
;
13066 PyObject
* _argo2
= 0;
13067 int tempbool6
= (int) FALSE
;
13068 int tempbool7
= (int) FALSE
;
13069 int tempbool8
= (int) FALSE
;
13070 int tempbool9
= (int) FALSE
;
13071 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13078 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13079 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13084 _arg6
= (bool ) tempbool6
;
13085 _arg7
= (bool ) tempbool7
;
13086 _arg8
= (bool ) tempbool8
;
13087 _arg9
= (bool ) tempbool9
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) return NULL
;
13095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13096 _resultobj
= Py_BuildValue("s",_ptemp
);
13098 Py_INCREF(Py_None
);
13099 _resultobj
= Py_None
;
13104 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13105 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
* _resultobj
;
13108 wxGridSizeEvent
* _arg0
;
13109 PyObject
* _argo0
= 0;
13110 char *_kwnames
[] = { "self", NULL
};
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) return NULL
;
13128 } _resultobj
= Py_BuildValue("i",_result
);
13132 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13133 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
* _resultobj
;
13136 wxGridSizeEvent
* _arg0
;
13137 PyObject
* _argo0
= 0;
13138 char *_kwnames
[] = { "self", NULL
};
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) return NULL
;
13157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13158 _resultobj
= Py_BuildValue("s",_ptemp
);
13162 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13163 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
* _resultobj
;
13166 wxGridSizeEvent
* _arg0
;
13167 PyObject
* _argo0
= 0;
13168 char *_kwnames
[] = { "self", NULL
};
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) return NULL
;
13186 } _resultobj
= Py_BuildValue("i",_result
);
13190 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13191 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
* _resultobj
;
13194 wxGridSizeEvent
* _arg0
;
13195 PyObject
* _argo0
= 0;
13196 char *_kwnames
[] = { "self", NULL
};
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) return NULL
;
13214 } _resultobj
= Py_BuildValue("i",_result
);
13218 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13219 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
* _resultobj
;
13222 wxGridSizeEvent
* _arg0
;
13223 PyObject
* _argo0
= 0;
13224 char *_kwnames
[] = { "self", NULL
};
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) return NULL
;
13242 } _resultobj
= Py_BuildValue("i",_result
);
13246 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13247 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
* _resultobj
;
13250 wxGridSizeEvent
* _arg0
;
13251 PyObject
* _argo0
= 0;
13252 char *_kwnames
[] = { "self", NULL
};
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) return NULL
;
13270 } _resultobj
= Py_BuildValue("i",_result
);
13274 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13275 wxGridRangeSelectEvent
*src
;
13276 wxNotifyEvent
*dest
;
13277 src
= (wxGridRangeSelectEvent
*) ptr
;
13278 dest
= (wxNotifyEvent
*) src
;
13279 return (void *) dest
;
13282 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13283 wxGridRangeSelectEvent
*src
;
13284 wxCommandEvent
*dest
;
13285 src
= (wxGridRangeSelectEvent
*) ptr
;
13286 dest
= (wxCommandEvent
*) src
;
13287 return (void *) dest
;
13290 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13291 wxGridRangeSelectEvent
*src
;
13293 src
= (wxGridRangeSelectEvent
*) ptr
;
13294 dest
= (wxEvent
*) src
;
13295 return (void *) dest
;
13298 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13299 wxGridRangeSelectEvent
*src
;
13301 src
= (wxGridRangeSelectEvent
*) ptr
;
13302 dest
= (wxObject
*) src
;
13303 return (void *) dest
;
13306 #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))
13307 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
* _resultobj
;
13309 wxGridRangeSelectEvent
* _result
;
13313 wxGridCellCoords
* _arg3
;
13314 wxGridCellCoords
* _arg4
;
13315 bool _arg5
= (bool ) TRUE
;
13316 bool _arg6
= (bool ) FALSE
;
13317 bool _arg7
= (bool ) FALSE
;
13318 bool _arg8
= (bool ) FALSE
;
13319 bool _arg9
= (bool ) FALSE
;
13320 PyObject
* _argo2
= 0;
13321 wxGridCellCoords temp
;
13322 PyObject
* _obj3
= 0;
13323 wxGridCellCoords temp0
;
13324 PyObject
* _obj4
= 0;
13325 int tempbool5
= (int) TRUE
;
13326 int tempbool6
= (int) FALSE
;
13327 int tempbool7
= (int) FALSE
;
13328 int tempbool8
= (int) FALSE
;
13329 int tempbool9
= (int) FALSE
;
13330 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13337 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13338 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13345 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13350 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13353 _arg5
= (bool ) tempbool5
;
13354 _arg6
= (bool ) tempbool6
;
13355 _arg7
= (bool ) tempbool7
;
13356 _arg8
= (bool ) tempbool8
;
13357 _arg9
= (bool ) tempbool9
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) return NULL
;
13365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13366 _resultobj
= Py_BuildValue("s",_ptemp
);
13368 Py_INCREF(Py_None
);
13369 _resultobj
= Py_None
;
13374 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13375 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
* _resultobj
;
13377 wxGridCellCoords
* _result
;
13378 wxGridRangeSelectEvent
* _arg0
;
13379 PyObject
* _argo0
= 0;
13380 char *_kwnames
[] = { "self", NULL
};
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) return NULL
;
13399 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13400 _resultobj
= Py_BuildValue("s",_ptemp
);
13404 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13405 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
* _resultobj
;
13407 wxGridCellCoords
* _result
;
13408 wxGridRangeSelectEvent
* _arg0
;
13409 PyObject
* _argo0
= 0;
13410 char *_kwnames
[] = { "self", NULL
};
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) return NULL
;
13429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13430 _resultobj
= Py_BuildValue("s",_ptemp
);
13434 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13435 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
* _resultobj
;
13438 wxGridRangeSelectEvent
* _arg0
;
13439 PyObject
* _argo0
= 0;
13440 char *_kwnames
[] = { "self", NULL
};
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) return NULL
;
13458 } _resultobj
= Py_BuildValue("i",_result
);
13462 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13463 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
* _resultobj
;
13466 wxGridRangeSelectEvent
* _arg0
;
13467 PyObject
* _argo0
= 0;
13468 char *_kwnames
[] = { "self", NULL
};
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) return NULL
;
13486 } _resultobj
= Py_BuildValue("i",_result
);
13490 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13491 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
* _resultobj
;
13494 wxGridRangeSelectEvent
* _arg0
;
13495 PyObject
* _argo0
= 0;
13496 char *_kwnames
[] = { "self", NULL
};
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) return NULL
;
13514 } _resultobj
= Py_BuildValue("i",_result
);
13518 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13519 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
* _resultobj
;
13522 wxGridRangeSelectEvent
* _arg0
;
13523 PyObject
* _argo0
= 0;
13524 char *_kwnames
[] = { "self", NULL
};
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) return NULL
;
13542 } _resultobj
= Py_BuildValue("i",_result
);
13546 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13547 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
* _resultobj
;
13550 wxGridRangeSelectEvent
* _arg0
;
13551 PyObject
* _argo0
= 0;
13552 char *_kwnames
[] = { "self", NULL
};
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) return NULL
;
13570 } _resultobj
= Py_BuildValue("i",_result
);
13574 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13575 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
* _resultobj
;
13578 wxGridRangeSelectEvent
* _arg0
;
13579 PyObject
* _argo0
= 0;
13580 char *_kwnames
[] = { "self", NULL
};
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) return NULL
;
13598 } _resultobj
= Py_BuildValue("i",_result
);
13602 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13603 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
* _resultobj
;
13606 wxGridRangeSelectEvent
* _arg0
;
13607 PyObject
* _argo0
= 0;
13608 char *_kwnames
[] = { "self", NULL
};
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) return NULL
;
13626 } _resultobj
= Py_BuildValue("i",_result
);
13630 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13631 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
* _resultobj
;
13634 wxGridRangeSelectEvent
* _arg0
;
13635 PyObject
* _argo0
= 0;
13636 char *_kwnames
[] = { "self", NULL
};
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) return NULL
;
13654 } _resultobj
= Py_BuildValue("i",_result
);
13658 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13659 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
* _resultobj
;
13662 wxGridRangeSelectEvent
* _arg0
;
13663 PyObject
* _argo0
= 0;
13664 char *_kwnames
[] = { "self", NULL
};
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) return NULL
;
13682 } _resultobj
= Py_BuildValue("i",_result
);
13686 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13687 wxGridEditorCreatedEvent
*src
;
13688 wxCommandEvent
*dest
;
13689 src
= (wxGridEditorCreatedEvent
*) ptr
;
13690 dest
= (wxCommandEvent
*) src
;
13691 return (void *) dest
;
13694 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13695 wxGridEditorCreatedEvent
*src
;
13697 src
= (wxGridEditorCreatedEvent
*) ptr
;
13698 dest
= (wxEvent
*) src
;
13699 return (void *) dest
;
13702 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13703 wxGridEditorCreatedEvent
*src
;
13705 src
= (wxGridEditorCreatedEvent
*) ptr
;
13706 dest
= (wxObject
*) src
;
13707 return (void *) dest
;
13710 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13711 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
* _resultobj
;
13713 wxGridEditorCreatedEvent
* _result
;
13720 PyObject
* _argo2
= 0;
13721 PyObject
* _argo5
= 0;
13722 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13729 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13730 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13736 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13737 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) return NULL
;
13749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13750 _resultobj
= Py_BuildValue("s",_ptemp
);
13752 Py_INCREF(Py_None
);
13753 _resultobj
= Py_None
;
13758 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13759 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
* _resultobj
;
13762 wxGridEditorCreatedEvent
* _arg0
;
13763 PyObject
* _argo0
= 0;
13764 char *_kwnames
[] = { "self", NULL
};
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) return NULL
;
13782 } _resultobj
= Py_BuildValue("i",_result
);
13786 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13787 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
* _resultobj
;
13790 wxGridEditorCreatedEvent
* _arg0
;
13791 PyObject
* _argo0
= 0;
13792 char *_kwnames
[] = { "self", NULL
};
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) return NULL
;
13810 } _resultobj
= Py_BuildValue("i",_result
);
13814 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13815 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
* _resultobj
;
13817 wxControl
* _result
;
13818 wxGridEditorCreatedEvent
* _arg0
;
13819 PyObject
* _argo0
= 0;
13820 char *_kwnames
[] = { "self", NULL
};
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) return NULL
;
13838 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13842 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13843 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
* _resultobj
;
13845 wxGridEditorCreatedEvent
* _arg0
;
13847 PyObject
* _argo0
= 0;
13848 char *_kwnames
[] = { "self","row", NULL
};
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) return NULL
;
13866 } Py_INCREF(Py_None
);
13867 _resultobj
= Py_None
;
13871 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13872 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
* _resultobj
;
13874 wxGridEditorCreatedEvent
* _arg0
;
13876 PyObject
* _argo0
= 0;
13877 char *_kwnames
[] = { "self","col", NULL
};
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) return NULL
;
13895 } Py_INCREF(Py_None
);
13896 _resultobj
= Py_None
;
13900 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13901 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
* _resultobj
;
13903 wxGridEditorCreatedEvent
* _arg0
;
13905 PyObject
* _argo0
= 0;
13906 PyObject
* _argo1
= 0;
13907 char *_kwnames
[] = { "self","ctrl", NULL
};
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) return NULL
;
13932 } Py_INCREF(Py_None
);
13933 _resultobj
= Py_None
;
13937 static PyMethodDef gridcMethods
[] = {
13938 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14071 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14072 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14073 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14074 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14075 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14076 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14077 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14078 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14079 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14080 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14081 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14082 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14083 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14084 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14085 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14086 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14087 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14088 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14089 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14090 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14091 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14092 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14093 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14094 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14095 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14096 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14097 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14098 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14099 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14100 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14101 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14102 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14103 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14104 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14105 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14106 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14107 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14108 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14109 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14110 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14111 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14112 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14113 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14114 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14115 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14116 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14117 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14118 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14119 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14120 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14121 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14122 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14123 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14124 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14125 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14126 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14127 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14128 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14129 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14130 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14131 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14132 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14133 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14134 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14135 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14136 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14137 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14138 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14139 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14140 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14141 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14142 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14143 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14144 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14145 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14146 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14147 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14148 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14149 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14150 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14151 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14152 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14153 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14154 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14155 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14156 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14157 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14158 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14159 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14160 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14161 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14162 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14163 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14164 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14165 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14166 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14167 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14168 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14169 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14170 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14171 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14172 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14173 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14174 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14175 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14176 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14177 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14178 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14179 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14180 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14181 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14182 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14183 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14184 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14185 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14186 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14187 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14188 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14189 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14190 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14191 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14192 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14193 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14194 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14195 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14196 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14197 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14198 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14199 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14200 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14201 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14202 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14203 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14204 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14205 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14206 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14207 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14208 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14209 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14210 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14211 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14212 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14213 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14214 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14215 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14216 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14217 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14218 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14219 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14220 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14221 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14222 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14223 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14224 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14225 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14226 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14227 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14228 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14229 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14230 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14231 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14232 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14233 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14234 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14235 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14236 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14237 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14238 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14239 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14240 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14241 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14242 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14243 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14244 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14245 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14246 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14247 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14248 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14249 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14250 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14251 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14252 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14253 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14254 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14255 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14256 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14257 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14258 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14259 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14260 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14261 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14262 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14263 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14264 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14265 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14266 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14267 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14268 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14269 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14270 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14271 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14272 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14273 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14274 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14275 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14276 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14277 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14278 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14279 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14280 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14281 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14282 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14283 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14284 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14285 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14286 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14287 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14288 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14289 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14290 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14291 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14292 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14293 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14294 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14295 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14296 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14297 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14298 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14299 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14300 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14301 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14302 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14303 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14304 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14305 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14306 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14307 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14308 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14309 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14310 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14317 * This table is used by the pointer type-checker
14319 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14320 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14321 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14322 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14323 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14324 { "_signed_long","_long",0},
14325 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14326 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14327 { "_wxPrintQuality","_wxCoord",0},
14328 { "_wxPrintQuality","_int",0},
14329 { "_wxPrintQuality","_signed_int",0},
14330 { "_wxPrintQuality","_unsigned_int",0},
14331 { "_wxPrintQuality","_wxWindowID",0},
14332 { "_wxPrintQuality","_uint",0},
14333 { "_wxPrintQuality","_EBool",0},
14334 { "_wxPrintQuality","_size_t",0},
14335 { "_wxPrintQuality","_time_t",0},
14336 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14337 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14338 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14339 { "_byte","_unsigned_char",0},
14340 { "_long","_unsigned_long",0},
14341 { "_long","_signed_long",0},
14342 { "_size_t","_WXGRIDSELECTIONMODES",0},
14343 { "_size_t","_wxCoord",0},
14344 { "_size_t","_wxPrintQuality",0},
14345 { "_size_t","_time_t",0},
14346 { "_size_t","_unsigned_int",0},
14347 { "_size_t","_int",0},
14348 { "_size_t","_wxWindowID",0},
14349 { "_size_t","_uint",0},
14350 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14351 { "_uint","_WXGRIDSELECTIONMODES",0},
14352 { "_uint","_wxCoord",0},
14353 { "_uint","_wxPrintQuality",0},
14354 { "_uint","_time_t",0},
14355 { "_uint","_size_t",0},
14356 { "_uint","_unsigned_int",0},
14357 { "_uint","_int",0},
14358 { "_uint","_wxWindowID",0},
14359 { "_wxChar","_char",0},
14360 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14361 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14362 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14363 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14364 { "_char","_wxChar",0},
14365 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14366 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14367 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14368 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14369 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14370 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14371 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14372 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14373 { "_EBool","_WXGRIDSELECTIONMODES",0},
14374 { "_EBool","_wxCoord",0},
14375 { "_EBool","_wxPrintQuality",0},
14376 { "_EBool","_signed_int",0},
14377 { "_EBool","_int",0},
14378 { "_EBool","_wxWindowID",0},
14379 { "_unsigned_long","_long",0},
14380 { "_WXGRIDSELECTIONMODES","_int",0},
14381 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14382 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14383 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14384 { "_WXGRIDSELECTIONMODES","_uint",0},
14385 { "_WXGRIDSELECTIONMODES","_EBool",0},
14386 { "_WXGRIDSELECTIONMODES","_size_t",0},
14387 { "_WXGRIDSELECTIONMODES","_time_t",0},
14388 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14389 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14390 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14391 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14392 { "_signed_int","_wxCoord",0},
14393 { "_signed_int","_wxPrintQuality",0},
14394 { "_signed_int","_EBool",0},
14395 { "_signed_int","_wxWindowID",0},
14396 { "_signed_int","_int",0},
14397 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14398 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14399 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14400 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14401 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14402 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14403 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14404 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14405 { "_WXTYPE","_short",0},
14406 { "_WXTYPE","_signed_short",0},
14407 { "_WXTYPE","_unsigned_short",0},
14408 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14409 { "_unsigned_short","_WXTYPE",0},
14410 { "_unsigned_short","_short",0},
14411 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14412 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14413 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14414 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14415 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14416 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14417 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14418 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14419 { "_signed_short","_WXTYPE",0},
14420 { "_signed_short","_short",0},
14421 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14422 { "_unsigned_char","_byte",0},
14423 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14424 { "_unsigned_int","_wxCoord",0},
14425 { "_unsigned_int","_wxPrintQuality",0},
14426 { "_unsigned_int","_time_t",0},
14427 { "_unsigned_int","_size_t",0},
14428 { "_unsigned_int","_uint",0},
14429 { "_unsigned_int","_wxWindowID",0},
14430 { "_unsigned_int","_int",0},
14431 { "_short","_WXTYPE",0},
14432 { "_short","_unsigned_short",0},
14433 { "_short","_signed_short",0},
14434 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14435 { "_wxWindowID","_wxCoord",0},
14436 { "_wxWindowID","_wxPrintQuality",0},
14437 { "_wxWindowID","_time_t",0},
14438 { "_wxWindowID","_size_t",0},
14439 { "_wxWindowID","_EBool",0},
14440 { "_wxWindowID","_uint",0},
14441 { "_wxWindowID","_int",0},
14442 { "_wxWindowID","_signed_int",0},
14443 { "_wxWindowID","_unsigned_int",0},
14444 { "_int","_WXGRIDSELECTIONMODES",0},
14445 { "_int","_wxCoord",0},
14446 { "_int","_wxPrintQuality",0},
14447 { "_int","_time_t",0},
14448 { "_int","_size_t",0},
14449 { "_int","_EBool",0},
14450 { "_int","_uint",0},
14451 { "_int","_wxWindowID",0},
14452 { "_int","_unsigned_int",0},
14453 { "_int","_signed_int",0},
14454 { "_time_t","_WXGRIDSELECTIONMODES",0},
14455 { "_time_t","_wxCoord",0},
14456 { "_time_t","_wxPrintQuality",0},
14457 { "_time_t","_unsigned_int",0},
14458 { "_time_t","_int",0},
14459 { "_time_t","_wxWindowID",0},
14460 { "_time_t","_uint",0},
14461 { "_time_t","_size_t",0},
14462 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14463 { "_wxCoord","_int",0},
14464 { "_wxCoord","_signed_int",0},
14465 { "_wxCoord","_unsigned_int",0},
14466 { "_wxCoord","_wxWindowID",0},
14467 { "_wxCoord","_uint",0},
14468 { "_wxCoord","_EBool",0},
14469 { "_wxCoord","_size_t",0},
14470 { "_wxCoord","_time_t",0},
14471 { "_wxCoord","_wxPrintQuality",0},
14472 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14473 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14474 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14475 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14476 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14477 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14478 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14479 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14480 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14481 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14482 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14483 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14484 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14487 static PyObject
*SWIG_globals
;
14491 SWIGEXPORT(void) initgridc() {
14493 SWIG_globals
= SWIG_newvarlink();
14494 m
= Py_InitModule("gridc", gridcMethods
);
14495 d
= PyModule_GetDict(m
);
14496 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14497 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14498 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14499 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14500 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14501 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14502 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14503 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14504 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14505 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14506 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14507 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14508 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14509 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14510 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14511 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14512 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14513 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14514 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14515 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14516 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14517 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14518 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14519 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14520 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14521 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14522 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14523 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14524 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14525 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14526 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14527 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14528 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14529 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14531 wxClassInfo::CleanUpClasses();
14532 wxClassInfo::InitializeClasses();
14533 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14534 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14535 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14536 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14537 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14538 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14539 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14540 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14541 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14544 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14545 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);