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 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 DECLARE_DEF_STRING2(DateTimeFormatStr
, wxT("%c"));
92 static const wxString
wxPyEmptyString(wxT(""));
94 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
95 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
96 wxGridCellAttr* rval = NULL; \
98 wxPyBeginBlockThreads(); \
99 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
101 wxGridCellAttr* ptr; \
102 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
104 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
109 wxPyEndBlockThreads(); \
111 rval = PCLASS::CBNAME(a, b, c); \
114 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
115 return PCLASS::CBNAME(a, b, c); \
120 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
121 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
122 wxPyBeginBlockThreads(); \
124 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
125 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
126 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
129 wxPyEndBlockThreads(); \
131 PCLASS::CBNAME(attr, a, b); \
133 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
134 PCLASS::CBNAME(attr, a, b); \
139 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
140 void CBNAME(wxGridCellAttr *attr, int val) { \
141 wxPyBeginBlockThreads(); \
143 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
144 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
145 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
148 wxPyEndBlockThreads(); \
150 PCLASS::CBNAME(attr, val); \
152 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
153 PCLASS::CBNAME(attr, val); \
158 #define PYCALLBACK_INT__pure(CBNAME) \
160 wxPyBeginBlockThreads(); \
162 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
164 wxPyEndBlockThreads(); \
170 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
171 bool CBNAME(int a, int b) { \
172 wxPyBeginBlockThreads(); \
174 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
175 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
176 wxPyEndBlockThreads(); \
181 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
182 wxString CBNAME(int a, int b) { \
183 wxPyBeginBlockThreads(); \
185 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
187 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
189 rval = Py2wxString(ro); \
193 wxPyEndBlockThreads(); \
198 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
199 void CBNAME(int a, int b, const wxString& c) { \
200 wxPyBeginBlockThreads(); \
201 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
202 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
203 wxPyEndBlockThreads(); \
207 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
208 wxString CBNAME(int a, int b) { \
210 wxPyBeginBlockThreads(); \
212 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
214 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
216 rval = Py2wxString(ro); \
220 wxPyEndBlockThreads(); \
222 rval = PCLASS::CBNAME(a, b); \
225 wxString base_##CBNAME(int a, int b) { \
226 return PCLASS::CBNAME(a, b); \
230 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
231 bool CBNAME(int a, int b, const wxString& c) { \
234 wxPyBeginBlockThreads(); \
235 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
236 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
237 wxPyEndBlockThreads(); \
239 rval = PCLASS::CBNAME(a,b,c); \
242 bool base_##CBNAME(int a, int b, const wxString& c) { \
243 return PCLASS::CBNAME(a,b,c); \
249 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
250 long CBNAME(int a, int b) { \
253 wxPyBeginBlockThreads(); \
254 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
255 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
256 wxPyEndBlockThreads(); \
258 rval = PCLASS::CBNAME(a,b); \
261 long base_##CBNAME(int a, int b) { \
262 return PCLASS::CBNAME(a,b); \
267 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
268 bool CBNAME(int a, int b) { \
271 wxPyBeginBlockThreads(); \
272 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
273 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
274 wxPyEndBlockThreads(); \
276 rval = PCLASS::CBNAME(a,b); \
279 bool base_##CBNAME(int a, int b) { \
280 return PCLASS::CBNAME(a,b); \
285 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
286 double CBNAME(int a, int b) { \
288 wxPyBeginBlockThreads(); \
290 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
292 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
294 PyObject* str = PyObject_Str(ro); \
295 rval = PyFloat_AsDouble(str); \
296 Py_DECREF(ro); Py_DECREF(str); \
299 wxPyEndBlockThreads(); \
301 rval = PCLASS::CBNAME(a, b); \
304 double base_##CBNAME(int a, int b) { \
305 return PCLASS::CBNAME(a, b); \
310 #define PYCALLBACK__(PCLASS, CBNAME) \
313 wxPyBeginBlockThreads(); \
314 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
315 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
316 wxPyEndBlockThreads(); \
320 void base_##CBNAME() { \
327 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
328 bool CBNAME(size_t a, size_t b) { \
331 wxPyBeginBlockThreads(); \
332 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
333 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
334 wxPyEndBlockThreads(); \
336 rval = PCLASS::CBNAME(a,b); \
339 bool base_##CBNAME(size_t a, size_t b) { \
340 return PCLASS::CBNAME(a,b); \
345 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
346 bool CBNAME(size_t a) { \
349 wxPyBeginBlockThreads(); \
350 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
351 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
352 wxPyEndBlockThreads(); \
354 rval = PCLASS::CBNAME(a); \
357 bool base_##CBNAME(size_t a) { \
358 return PCLASS::CBNAME(a); \
362 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
363 wxString CBNAME(int a) { \
365 wxPyBeginBlockThreads(); \
367 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
369 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
371 rval = Py2wxString(ro); \
375 wxPyEndBlockThreads(); \
377 rval = PCLASS::CBNAME(a); \
380 wxString base_##CBNAME(int a) { \
381 return PCLASS::CBNAME(a); \
385 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
386 void CBNAME(int a, const wxString& c) { \
388 wxPyBeginBlockThreads(); \
389 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
390 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
391 wxPyEndBlockThreads(); \
393 PCLASS::CBNAME(a,c); \
395 void base_##CBNAME(int a, const wxString& c) { \
396 PCLASS::CBNAME(a,c); \
402 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
406 wxPyBeginBlockThreads(); \
407 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
408 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
409 wxPyEndBlockThreads(); \
411 rval = PCLASS::CBNAME(); \
414 bool base_##CBNAME() { \
415 return PCLASS::CBNAME(); \
420 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
421 void CBNAME(size_t a, int b) { \
423 wxPyBeginBlockThreads(); \
424 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
425 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
426 wxPyEndBlockThreads(); \
428 PCLASS::CBNAME(a,b); \
430 void base_##CBNAME(size_t a, int b) { \
431 PCLASS::CBNAME(a,b); \
437 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
438 void CBNAME(int a, int b, long c) { \
440 wxPyBeginBlockThreads(); \
441 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
442 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
443 wxPyEndBlockThreads(); \
445 PCLASS::CBNAME(a,b,c); \
447 void base_##CBNAME(int a, int b, long c) { \
448 PCLASS::CBNAME(a,b,c); \
454 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
455 void CBNAME(int a, int b, double c) { \
457 wxPyBeginBlockThreads(); \
458 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
459 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
460 wxPyEndBlockThreads(); \
462 PCLASS::CBNAME(a,b,c); \
464 void base_##CBNAME(int a, int b, double c) { \
465 PCLASS::CBNAME(a,b,c); \
470 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
471 void CBNAME(int a, int b, bool c) { \
473 wxPyBeginBlockThreads(); \
474 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
475 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
476 wxPyEndBlockThreads(); \
478 PCLASS::CBNAME(a,b,c); \
480 void base_##CBNAME(int a, int b, bool c) { \
481 PCLASS::CBNAME(a,b,c); \
490 #define wxPyMake_TEMPLATE(TYPE) \
491 PyObject* wxPyMake_##TYPE(TYPE* source) { \
492 PyObject* target = NULL; \
494 /* Check if there is already a pointer to a Python object in the \
495 OOR data that we can use. */ \
496 wxPyOORClientData* data = (wxPyOORClientData*)source->GetClientObject(); \
498 target = data->m_obj; \
501 /* Otherwise make a new wrapper for it the old fashioned way and \
502 give it the OOR treatment */ \
504 target = wxPyConstructObject(source, #TYPE, FALSE); \
506 source->SetClientObject(new wxPyOORClientData(target)); \
508 } else { /* source was NULL so return None. */ \
509 Py_INCREF(Py_None); target = Py_None; \
514 wxPyMake_TEMPLATE(wxGridCellRenderer)
515 wxPyMake_TEMPLATE(wxGridCellEditor
)
516 wxPyMake_TEMPLATE(wxGridCellAttr
)
517 wxPyMake_TEMPLATE(wxGridCellAttrProvider
)
518 wxPyMake_TEMPLATE(wxGridTableBase
)
521 class wxPyGridCellRenderer
: public wxGridCellRenderer
524 wxPyGridCellRenderer() : wxGridCellRenderer() {};
526 // Implement Python callback aware virtual methods
527 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
528 wxDC
& dc
, const wxRect
& rect
,
529 int row
, int col
, bool isSelected
) {
530 wxPyBeginBlockThreads();
531 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
532 wxPyCBH_callCallback(m_myInst
,
533 Py_BuildValue("(OOOOiii)",
534 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
535 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
536 wxPyConstructObject((void*)&dc
, "wxDC", 0),
537 wxPyConstructObject((void*)&rect
, "wxRect", 0),
538 row
, col
, isSelected
));
540 wxPyEndBlockThreads();
543 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
546 wxPyBeginBlockThreads();
547 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
550 ro
= wxPyCBH_callCallbackObj(m_myInst
,
551 Py_BuildValue("(OOOii)",
552 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
553 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
554 wxPyConstructObject((void*)&dc
, "wxDC", 0),
557 const char* errmsg
= "GetBestSize should return a 2-tuple of integers or a wxSize object.";
558 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p")) {
561 else if (PySequence_Check(ro
) && PyObject_Length(ro
) == 2) {
562 PyObject
* o1
= PySequence_GetItem(ro
, 0);
563 PyObject
* o2
= PySequence_GetItem(ro
, 1);
564 if (PyNumber_Check(o1
) && PyNumber_Check(o2
))
565 rval
= wxSize(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
567 PyErr_SetString(PyExc_TypeError
, errmsg
);
572 PyErr_SetString(PyExc_TypeError
, errmsg
);
577 wxPyEndBlockThreads();
582 wxGridCellRenderer
*Clone() const {
583 wxGridCellRenderer
* rval
= NULL
;
584 wxPyBeginBlockThreads();
585 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
587 wxGridCellRenderer
* ptr
;
588 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
590 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
595 wxPyEndBlockThreads();
599 DEC_PYCALLBACK__STRING(SetParameters
);
604 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
607 class wxPyGridCellEditor
: public wxGridCellEditor
610 wxPyGridCellEditor() : wxGridCellEditor() {}
612 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
613 wxPyBeginBlockThreads();
614 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
615 wxPyCBH_callCallback(m_myInst
,
616 Py_BuildValue("(OiO)",
617 wxPyConstructObject((void*)parent
, "wxWindow", 0),
619 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
621 wxPyEndBlockThreads();
625 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
626 wxPyBeginBlockThreads();
627 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
628 wxPyCBH_callCallback(m_myInst
,
629 Py_BuildValue("(iiO)", row
, col
,
630 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
632 wxPyEndBlockThreads();
636 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
638 wxPyBeginBlockThreads();
639 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
640 rv
= wxPyCBH_callCallback(m_myInst
,
641 Py_BuildValue("(iiO)", row
, col
,
642 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
644 wxPyEndBlockThreads();
649 wxGridCellEditor
*Clone() const {
650 wxGridCellEditor
* rval
= NULL
;
651 wxPyBeginBlockThreads();
652 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
654 wxGridCellEditor
* ptr
;
655 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
657 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
662 wxPyEndBlockThreads();
667 void Show(bool show
, wxGridCellAttr
*attr
) {
669 wxPyBeginBlockThreads();
670 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
671 wxPyCBH_callCallback(m_myInst
,
672 Py_BuildValue("(iO)", show
,
673 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
674 wxPyEndBlockThreads();
676 wxGridCellEditor::Show(show
, attr
);
678 void base_Show(bool show
, wxGridCellAttr
*attr
) {
679 wxGridCellEditor::Show(show
, attr
);
683 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
685 wxPyBeginBlockThreads();
686 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
687 wxPyCBH_callCallback(m_myInst
,
688 Py_BuildValue("(OO)",
689 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
690 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
691 wxPyEndBlockThreads();
693 wxGridCellEditor::PaintBackground(rectCell
, attr
);
695 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
696 wxGridCellEditor::PaintBackground(rectCell
, attr
);
700 DEC_PYCALLBACK___pure(Reset
);
701 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
702 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
703 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
704 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
705 DEC_PYCALLBACK__(StartingClick
);
706 DEC_PYCALLBACK__(Destroy
);
707 DEC_PYCALLBACK__STRING(SetParameters
);
713 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
714 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
715 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
716 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
717 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
718 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
719 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
720 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
723 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
726 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
728 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
729 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
730 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
731 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
736 class wxPyGridTableBase
: public wxGridTableBase
739 wxPyGridTableBase() : wxGridTableBase() {}
741 PYCALLBACK_INT__pure(GetNumberRows
);
742 PYCALLBACK_INT__pure(GetNumberCols
);
743 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
744 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
745 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
746 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
747 PYCALLBACK__(wxGridTableBase
, Clear
);
748 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
749 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
750 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
751 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
752 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
753 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
754 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
755 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
756 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
757 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
758 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
759 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
760 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
761 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
762 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
765 wxString
GetValue(int row
, int col
) {
766 wxPyBeginBlockThreads();
768 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
770 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
772 rval
= Py2wxString(ro
);
776 wxPyEndBlockThreads();
780 void SetValue(int row
, int col
, const wxString
& val
) {
781 wxPyBeginBlockThreads();
782 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
783 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,wx2PyString(val
)));
785 wxPyEndBlockThreads();
789 // Map the Get/Set methods for the standard non-string types to
790 // the GetValue and SetValue python methods.
791 long GetValueAsLong( int row
, int col
) {
793 wxPyBeginBlockThreads();
794 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
797 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
798 if (ro
&& PyNumber_Check(ro
)) {
799 num
= PyNumber_Int(ro
);
801 rval
= PyInt_AsLong(num
);
807 wxPyEndBlockThreads();
811 double GetValueAsDouble( int row
, int col
) {
813 wxPyBeginBlockThreads();
814 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
817 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
818 if (ro
&& PyNumber_Check(ro
)) {
819 num
= PyNumber_Float(ro
);
821 rval
= PyFloat_AsDouble(num
);
827 wxPyEndBlockThreads();
831 bool GetValueAsBool( int row
, int col
) {
832 return (bool)GetValueAsLong(row
, col
);
835 void SetValueAsLong( int row
, int col
, long value
) {
836 wxPyBeginBlockThreads();
837 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
838 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
840 wxPyEndBlockThreads();
843 void SetValueAsDouble( int row
, int col
, double value
) {
844 wxPyBeginBlockThreads();
845 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
846 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
848 wxPyEndBlockThreads();
851 void SetValueAsBool( int row
, int col
, bool value
) {
852 SetValueAsLong( row
, col
, (long)value
);
859 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
861 // If source is an object instance then it may already be the right type
862 if (PyInstance_Check(source
)) {
863 wxGridCellCoords
* ptr
;
864 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
869 // otherwise a 2-tuple of integers is expected
870 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
871 PyObject
* o1
= PySequence_GetItem(source
, 0);
872 PyObject
* o2
= PySequence_GetItem(source
, 1);
873 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
878 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
882 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
886 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
888 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
892 static PyObject
*_wrap_wxGridNoCellCoords_get() {
896 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
897 pyobj
= PyString_FromString(ptemp
);
901 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
903 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
907 static PyObject
*_wrap_wxGridNoCellRect_get() {
911 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
912 pyobj
= PyString_FromString(ptemp
);
916 static void wxGridCellRenderer__setOORInfo(wxGridCellRenderer
*self
,PyObject
* _self
) {
917 self
->SetClientObject(new wxPyOORClientData(_self
));
919 static PyObject
*_wrap_wxGridCellRenderer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
921 wxGridCellRenderer
* _arg0
;
923 PyObject
* _argo0
= 0;
924 PyObject
* _obj1
= 0;
925 char *_kwnames
[] = { "self","_self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer__setOORInfo. Expected _wxGridCellRenderer_p.");
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
942 wxGridCellRenderer__setOORInfo(_arg0
,_arg1
);
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) return NULL
;
946 } Py_INCREF(Py_None
);
947 _resultobj
= Py_None
;
951 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
952 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
954 wxGridCellRenderer
* _arg0
;
956 PyObject
* _argo0
= 0;
957 PyObject
* _obj1
= 0;
958 char *_kwnames
[] = { "self","params", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
971 _arg1
= wxString_in_helper(_obj1
);
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
990 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
991 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
993 wxGridCellRenderer
* _arg0
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
1008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1009 wxGridCellRenderer_IncRef(_arg0
);
1011 wxPyEndAllowThreads(__tstate
);
1012 if (PyErr_Occurred()) return NULL
;
1013 } Py_INCREF(Py_None
);
1014 _resultobj
= Py_None
;
1018 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
1019 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1021 wxGridCellRenderer
* _arg0
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 wxGridCellRenderer_DecRef(_arg0
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) return NULL
;
1041 } Py_INCREF(Py_None
);
1042 _resultobj
= Py_None
;
1046 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1047 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1049 wxGridCellRenderer
* _arg0
;
1051 wxGridCellAttr
* _arg2
;
1057 PyObject
* _argo0
= 0;
1058 PyObject
* _argo1
= 0;
1059 PyObject
* _argo2
= 0;
1060 PyObject
* _argo3
= 0;
1062 PyObject
* _obj4
= 0;
1064 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1084 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1085 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1091 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1099 if (! wxRect_helper(_obj4
, &_arg4
))
1102 _arg7
= (bool ) tempbool7
;
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } Py_INCREF(Py_None
);
1110 _resultobj
= Py_None
;
1114 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1115 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 wxGridCellRenderer
* _arg0
;
1120 wxGridCellAttr
* _arg2
;
1124 PyObject
* _argo0
= 0;
1125 PyObject
* _argo1
= 0;
1126 PyObject
* _argo2
= 0;
1127 PyObject
* _argo3
= 0;
1128 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1149 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1156 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1169 _resultobj
= Py_BuildValue("s",_ptemp
);
1173 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1174 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1176 wxGridCellRenderer
* _result
;
1177 wxGridCellRenderer
* _arg0
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "self", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) return NULL
;
1197 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
1201 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1202 wxPyGridCellRenderer
*src
;
1203 wxGridCellRenderer
*dest
;
1204 src
= (wxPyGridCellRenderer
*) ptr
;
1205 dest
= (wxGridCellRenderer
*) src
;
1206 return (void *) dest
;
1209 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1210 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1212 wxPyGridCellRenderer
* _result
;
1213 char *_kwnames
[] = { NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1221 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1223 wxPyEndAllowThreads(__tstate
);
1224 if (PyErr_Occurred()) return NULL
;
1226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1227 _resultobj
= Py_BuildValue("s",_ptemp
);
1230 _resultobj
= Py_None
;
1235 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1236 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1238 wxPyGridCellRenderer
* _arg0
;
1241 PyObject
* _argo0
= 0;
1242 PyObject
* _obj1
= 0;
1243 PyObject
* _obj2
= 0;
1244 char *_kwnames
[] = { "self","self","_class", NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1273 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1274 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1275 PyObject
* _resultobj
;
1276 wxPyGridCellRenderer
* _arg0
;
1278 PyObject
* _argo0
= 0;
1279 PyObject
* _obj1
= 0;
1280 char *_kwnames
[] = { "self","params", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1293 _arg1
= wxString_in_helper(_obj1
);
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) return NULL
;
1303 } Py_INCREF(Py_None
);
1304 _resultobj
= Py_None
;
1312 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1313 wxGridCellStringRenderer
*src
;
1314 wxGridCellRenderer
*dest
;
1315 src
= (wxGridCellStringRenderer
*) ptr
;
1316 dest
= (wxGridCellRenderer
*) src
;
1317 return (void *) dest
;
1320 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1321 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1323 wxGridCellStringRenderer
* _result
;
1324 char *_kwnames
[] = { NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1332 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) return NULL
;
1337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1338 _resultobj
= Py_BuildValue("s",_ptemp
);
1341 _resultobj
= Py_None
;
1346 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1347 wxGridCellNumberRenderer
*src
;
1348 wxGridCellStringRenderer
*dest
;
1349 src
= (wxGridCellNumberRenderer
*) ptr
;
1350 dest
= (wxGridCellStringRenderer
*) src
;
1351 return (void *) dest
;
1354 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1355 wxGridCellNumberRenderer
*src
;
1356 wxGridCellRenderer
*dest
;
1357 src
= (wxGridCellNumberRenderer
*) ptr
;
1358 dest
= (wxGridCellRenderer
*) src
;
1359 return (void *) dest
;
1362 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1363 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxGridCellNumberRenderer
* _result
;
1366 char *_kwnames
[] = { NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1380 _resultobj
= Py_BuildValue("s",_ptemp
);
1383 _resultobj
= Py_None
;
1388 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1389 wxGridCellFloatRenderer
*src
;
1390 wxGridCellStringRenderer
*dest
;
1391 src
= (wxGridCellFloatRenderer
*) ptr
;
1392 dest
= (wxGridCellStringRenderer
*) src
;
1393 return (void *) dest
;
1396 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1397 wxGridCellFloatRenderer
*src
;
1398 wxGridCellRenderer
*dest
;
1399 src
= (wxGridCellFloatRenderer
*) ptr
;
1400 dest
= (wxGridCellRenderer
*) src
;
1401 return (void *) dest
;
1404 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1405 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
* _resultobj
;
1407 wxGridCellFloatRenderer
* _result
;
1408 int _arg0
= (int ) -1;
1409 int _arg1
= (int ) -1;
1410 char *_kwnames
[] = { "width","precision", NULL
};
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) return NULL
;
1423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1424 _resultobj
= Py_BuildValue("s",_ptemp
);
1427 _resultobj
= Py_None
;
1432 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1433 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1436 wxGridCellFloatRenderer
* _arg0
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1461 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1463 wxGridCellFloatRenderer
* _arg0
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self","width", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) return NULL
;
1484 } Py_INCREF(Py_None
);
1485 _resultobj
= Py_None
;
1489 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1490 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 wxGridCellFloatRenderer
* _arg0
;
1494 PyObject
* _argo0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) return NULL
;
1513 } _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1518 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1520 wxGridCellFloatRenderer
* _arg0
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self","precision", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1547 wxGridCellBoolRenderer
*src
;
1548 wxGridCellRenderer
*dest
;
1549 src
= (wxGridCellBoolRenderer
*) ptr
;
1550 dest
= (wxGridCellRenderer
*) src
;
1551 return (void *) dest
;
1554 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1555 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1557 wxGridCellBoolRenderer
* _result
;
1558 char *_kwnames
[] = { NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1572 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 _resultobj
= Py_None
;
1580 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1581 wxGridCellDateTimeRenderer
*src
;
1582 wxGridCellStringRenderer
*dest
;
1583 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1584 dest
= (wxGridCellStringRenderer
*) src
;
1585 return (void *) dest
;
1588 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1589 wxGridCellDateTimeRenderer
*src
;
1590 wxGridCellRenderer
*dest
;
1591 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1592 dest
= (wxGridCellRenderer
*) src
;
1593 return (void *) dest
;
1596 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1597 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1599 wxGridCellDateTimeRenderer
* _result
;
1600 wxString
* _arg0
= (wxString
*) &wxPyDateTimeFormatStr
;
1601 wxString
* _arg1
= (wxString
*) &wxPyDateTimeFormatStr
;
1602 PyObject
* _obj0
= 0;
1603 PyObject
* _obj1
= 0;
1604 char *_kwnames
[] = { "outformat","informat", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1612 _arg0
= wxString_in_helper(_obj0
);
1618 _arg1
= wxString_in_helper(_obj1
);
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) return NULL
;
1629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1630 _resultobj
= Py_BuildValue("s",_ptemp
);
1633 _resultobj
= Py_None
;
1646 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1647 wxGridCellEnumRenderer
*src
;
1648 wxGridCellStringRenderer
*dest
;
1649 src
= (wxGridCellEnumRenderer
*) ptr
;
1650 dest
= (wxGridCellStringRenderer
*) src
;
1651 return (void *) dest
;
1654 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1655 wxGridCellEnumRenderer
*src
;
1656 wxGridCellRenderer
*dest
;
1657 src
= (wxGridCellEnumRenderer
*) ptr
;
1658 dest
= (wxGridCellRenderer
*) src
;
1659 return (void *) dest
;
1662 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1663 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 wxGridCellEnumRenderer
* _result
;
1666 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
1667 PyObject
* _obj0
= 0;
1668 char *_kwnames
[] = { "choices", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1676 _arg0
= wxString_LIST_helper(_obj0
);
1677 if (_arg0
== NULL
) {
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1689 _resultobj
= Py_BuildValue("s",_ptemp
);
1692 _resultobj
= Py_None
;
1700 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1701 wxGridCellAutoWrapStringRenderer
*src
;
1702 wxGridCellStringRenderer
*dest
;
1703 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1704 dest
= (wxGridCellStringRenderer
*) src
;
1705 return (void *) dest
;
1708 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1709 wxGridCellAutoWrapStringRenderer
*src
;
1710 wxGridCellRenderer
*dest
;
1711 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1712 dest
= (wxGridCellRenderer
*) src
;
1713 return (void *) dest
;
1716 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1717 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1719 wxGridCellAutoWrapStringRenderer
* _result
;
1720 char *_kwnames
[] = { NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1734 _resultobj
= Py_BuildValue("s",_ptemp
);
1737 _resultobj
= Py_None
;
1742 static void wxGridCellEditor__setOORInfo(wxGridCellEditor
*self
,PyObject
* _self
) {
1743 self
->SetClientObject(new wxPyOORClientData(_self
));
1745 static PyObject
*_wrap_wxGridCellEditor__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1747 wxGridCellEditor
* _arg0
;
1749 PyObject
* _argo0
= 0;
1750 PyObject
* _obj1
= 0;
1751 char *_kwnames
[] = { "self","_self", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor__setOORInfo. Expected _wxGridCellEditor_p.");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 wxGridCellEditor__setOORInfo(_arg0
,_arg1
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) return NULL
;
1772 } Py_INCREF(Py_None
);
1773 _resultobj
= Py_None
;
1777 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1778 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxGridCellEditor
* _arg0
;
1782 PyObject
* _argo0
= 0;
1783 char *_kwnames
[] = { "self", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) return NULL
;
1801 } _resultobj
= Py_BuildValue("i",_result
);
1805 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1806 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
* _resultobj
;
1808 wxControl
* _result
;
1809 wxGridCellEditor
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1833 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1834 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxGridCellEditor
* _arg0
;
1838 PyObject
* _argo0
= 0;
1839 PyObject
* _argo1
= 0;
1840 char *_kwnames
[] = { "self","control", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 } Py_INCREF(Py_None
);
1866 _resultobj
= Py_None
;
1870 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1871 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1873 wxGridCellEditor
* _arg0
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _obj1
= 0;
1877 char *_kwnames
[] = { "self","params", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1890 _arg1
= wxString_in_helper(_obj1
);
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1909 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1910 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1912 wxGridCellEditor
* _arg0
;
1913 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 wxGridCellEditor_IncRef(_arg0
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) return NULL
;
1932 } Py_INCREF(Py_None
);
1933 _resultobj
= Py_None
;
1937 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1938 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1940 wxGridCellEditor
* _arg0
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 wxGridCellEditor_DecRef(_arg0
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1960 } Py_INCREF(Py_None
);
1961 _resultobj
= Py_None
;
1965 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1966 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1968 wxGridCellEditor
* _arg0
;
1971 wxEvtHandler
* _arg3
;
1972 PyObject
* _argo0
= 0;
1973 PyObject
* _argo1
= 0;
1974 PyObject
* _argo3
= 0;
1975 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1995 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) return NULL
;
2007 } Py_INCREF(Py_None
);
2008 _resultobj
= Py_None
;
2012 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
2013 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2015 wxGridCellEditor
* _arg0
;
2019 PyObject
* _argo0
= 0;
2020 PyObject
* _argo3
= 0;
2021 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
2034 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2052 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2055 wxGridCellEditor
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 PyObject
* _argo3
= 0;
2061 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2074 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2086 } _resultobj
= Py_BuildValue("i",_result
);
2090 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2091 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2093 wxGridCellEditor
* _arg0
;
2094 PyObject
* _argo0
= 0;
2095 char *_kwnames
[] = { "self", NULL
};
2098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 wxGridCellEditor_Reset(_arg0
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } Py_INCREF(Py_None
);
2114 _resultobj
= Py_None
;
2118 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2119 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2121 wxGridCellEditor
* _result
;
2122 wxGridCellEditor
* _arg0
;
2123 PyObject
* _argo0
= 0;
2124 char *_kwnames
[] = { "self", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
2146 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2147 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2149 wxGridCellEditor
* _arg0
;
2151 PyObject
* _argo0
= 0;
2153 PyObject
* _obj1
= 0;
2154 char *_kwnames
[] = { "self","rect", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2168 if (! wxRect_helper(_obj1
, &_arg1
))
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2177 } Py_INCREF(Py_None
);
2178 _resultobj
= Py_None
;
2182 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2183 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2185 wxGridCellEditor
* _arg0
;
2187 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2188 PyObject
* _argo0
= 0;
2190 PyObject
* _argo2
= 0;
2191 char *_kwnames
[] = { "self","show","attr", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2203 _arg1
= (bool ) tempbool1
;
2205 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) return NULL
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2222 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2223 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2225 wxGridCellEditor
* _arg0
;
2227 wxGridCellAttr
* _arg2
;
2228 PyObject
* _argo0
= 0;
2230 PyObject
* _obj1
= 0;
2231 PyObject
* _argo2
= 0;
2232 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2246 if (! wxRect_helper(_obj1
, &_arg1
))
2250 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2267 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2268 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2271 wxGridCellEditor
* _arg0
;
2273 PyObject
* _argo0
= 0;
2274 PyObject
* _argo1
= 0;
2275 char *_kwnames
[] = { "self","event", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2288 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } _resultobj
= Py_BuildValue("i",_result
);
2304 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2305 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2307 wxGridCellEditor
* _arg0
;
2309 PyObject
* _argo0
= 0;
2310 PyObject
* _argo1
= 0;
2311 char *_kwnames
[] = { "self","event", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } Py_INCREF(Py_None
);
2337 _resultobj
= Py_None
;
2341 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2342 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2344 wxGridCellEditor
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 wxGridCellEditor_StartingClick(_arg0
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2370 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2372 wxGridCellEditor
* _arg0
;
2374 PyObject
* _argo0
= 0;
2375 PyObject
* _argo1
= 0;
2376 char *_kwnames
[] = { "self","event", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2407 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2409 wxGridCellEditor
* _arg0
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 wxGridCellEditor_Destroy(_arg0
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2435 wxPyGridCellEditor
*src
;
2436 wxGridCellEditor
*dest
;
2437 src
= (wxPyGridCellEditor
*) ptr
;
2438 dest
= (wxGridCellEditor
*) src
;
2439 return (void *) dest
;
2442 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2443 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2445 wxPyGridCellEditor
* _result
;
2446 char *_kwnames
[] = { NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2460 _resultobj
= Py_BuildValue("s",_ptemp
);
2463 _resultobj
= Py_None
;
2468 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2469 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2471 wxPyGridCellEditor
* _arg0
;
2474 PyObject
* _argo0
= 0;
2475 PyObject
* _obj1
= 0;
2476 PyObject
* _obj2
= 0;
2477 char *_kwnames
[] = { "self","self","_class", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2507 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxPyGridCellEditor
* _arg0
;
2511 PyObject
* _argo0
= 0;
2513 PyObject
* _obj1
= 0;
2514 char *_kwnames
[] = { "self","rect", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2528 if (! wxRect_helper(_obj1
, &_arg1
))
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2542 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2543 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2545 wxPyGridCellEditor
* _arg0
;
2547 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2548 PyObject
* _argo0
= 0;
2550 PyObject
* _argo2
= 0;
2551 char *_kwnames
[] = { "self","show","attr", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2563 _arg1
= (bool ) tempbool1
;
2565 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) return NULL
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2583 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2585 wxPyGridCellEditor
* _arg0
;
2587 wxGridCellAttr
* _arg2
;
2588 PyObject
* _argo0
= 0;
2590 PyObject
* _obj1
= 0;
2591 PyObject
* _argo2
= 0;
2592 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2606 if (! wxRect_helper(_obj1
, &_arg1
))
2610 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2628 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2630 wxPyGridCellEditor
* _arg0
;
2632 PyObject
* _argo0
= 0;
2633 PyObject
* _argo1
= 0;
2634 char *_kwnames
[] = { "self","event", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } Py_INCREF(Py_None
);
2660 _resultobj
= Py_None
;
2664 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2665 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxPyGridCellEditor
* _arg0
;
2669 PyObject
* _argo0
= 0;
2670 PyObject
* _argo1
= 0;
2671 char *_kwnames
[] = { "self","event", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2702 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2704 wxPyGridCellEditor
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 wxPyGridCellEditor_base_StartingClick(_arg0
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 } Py_INCREF(Py_None
);
2725 _resultobj
= Py_None
;
2729 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2730 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2732 wxPyGridCellEditor
* _arg0
;
2734 PyObject
* _argo0
= 0;
2735 PyObject
* _argo1
= 0;
2736 char *_kwnames
[] = { "self","event", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2767 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2769 wxPyGridCellEditor
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 wxPyGridCellEditor_base_Destroy(_arg0
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2795 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2797 wxPyGridCellEditor
* _arg0
;
2799 PyObject
* _argo0
= 0;
2800 PyObject
* _obj1
= 0;
2801 char *_kwnames
[] = { "self","params", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2814 _arg1
= wxString_in_helper(_obj1
);
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) return NULL
;
2824 } Py_INCREF(Py_None
);
2825 _resultobj
= Py_None
;
2833 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2834 wxGridCellTextEditor
*src
;
2835 wxGridCellEditor
*dest
;
2836 src
= (wxGridCellTextEditor
*) ptr
;
2837 dest
= (wxGridCellEditor
*) src
;
2838 return (void *) dest
;
2841 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2842 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2844 wxGridCellTextEditor
* _result
;
2845 char *_kwnames
[] = { NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2859 _resultobj
= Py_BuildValue("s",_ptemp
);
2862 _resultobj
= Py_None
;
2867 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2868 wxGridCellNumberEditor
*src
;
2869 wxGridCellTextEditor
*dest
;
2870 src
= (wxGridCellNumberEditor
*) ptr
;
2871 dest
= (wxGridCellTextEditor
*) src
;
2872 return (void *) dest
;
2875 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2876 wxGridCellNumberEditor
*src
;
2877 wxGridCellEditor
*dest
;
2878 src
= (wxGridCellNumberEditor
*) ptr
;
2879 dest
= (wxGridCellEditor
*) src
;
2880 return (void *) dest
;
2883 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2884 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2886 wxGridCellNumberEditor
* _result
;
2887 int _arg0
= (int ) -1;
2888 int _arg1
= (int ) -1;
2889 char *_kwnames
[] = { "min","max", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2903 _resultobj
= Py_BuildValue("s",_ptemp
);
2906 _resultobj
= Py_None
;
2911 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2912 wxGridCellFloatEditor
*src
;
2913 wxGridCellTextEditor
*dest
;
2914 src
= (wxGridCellFloatEditor
*) ptr
;
2915 dest
= (wxGridCellTextEditor
*) src
;
2916 return (void *) dest
;
2919 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2920 wxGridCellFloatEditor
*src
;
2921 wxGridCellEditor
*dest
;
2922 src
= (wxGridCellFloatEditor
*) ptr
;
2923 dest
= (wxGridCellEditor
*) src
;
2924 return (void *) dest
;
2927 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2928 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxGridCellFloatEditor
* _result
;
2931 char *_kwnames
[] = { NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2945 _resultobj
= Py_BuildValue("s",_ptemp
);
2948 _resultobj
= Py_None
;
2953 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2954 wxGridCellBoolEditor
*src
;
2955 wxGridCellEditor
*dest
;
2956 src
= (wxGridCellBoolEditor
*) ptr
;
2957 dest
= (wxGridCellEditor
*) src
;
2958 return (void *) dest
;
2961 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2962 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2964 wxGridCellBoolEditor
* _result
;
2965 char *_kwnames
[] = { NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) return NULL
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2987 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2988 wxGridCellChoiceEditor
*src
;
2989 wxGridCellEditor
*dest
;
2990 src
= (wxGridCellChoiceEditor
*) ptr
;
2991 dest
= (wxGridCellEditor
*) src
;
2992 return (void *) dest
;
2995 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2996 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2998 wxGridCellChoiceEditor
* _result
;
2999 int _arg0
= (int ) 0;
3000 wxString
* _arg1
= (wxString
*) NULL
;
3001 bool _arg2
= (bool ) FALSE
;
3002 PyObject
* _obj1
= 0;
3003 int tempbool2
= (int) FALSE
;
3004 char *_kwnames
[] = { "choices","allowOthers", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
3012 _arg1
= wxString_LIST_helper(_obj1
);
3013 if (_arg1
== NULL
) {
3017 _arg2
= (bool ) tempbool2
;
3020 _arg0
= PyList_Size(_obj1
);
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3034 _resultobj
= Py_BuildValue("s",_ptemp
);
3037 _resultobj
= Py_None
;
3045 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3046 wxGridCellEnumEditor
*src
;
3047 wxGridCellChoiceEditor
*dest
;
3048 src
= (wxGridCellEnumEditor
*) ptr
;
3049 dest
= (wxGridCellChoiceEditor
*) src
;
3050 return (void *) dest
;
3053 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3054 wxGridCellEnumEditor
*src
;
3055 wxGridCellEditor
*dest
;
3056 src
= (wxGridCellEnumEditor
*) ptr
;
3057 dest
= (wxGridCellEditor
*) src
;
3058 return (void *) dest
;
3061 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3062 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxGridCellEnumEditor
* _result
;
3065 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
3066 PyObject
* _obj0
= 0;
3067 char *_kwnames
[] = { "choices", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3075 _arg0
= wxString_LIST_helper(_obj0
);
3076 if (_arg0
== NULL
) {
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3091 _resultobj
= Py_None
;
3099 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3100 wxGridCellAutoWrapStringEditor
*src
;
3101 wxGridCellTextEditor
*dest
;
3102 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3103 dest
= (wxGridCellTextEditor
*) src
;
3104 return (void *) dest
;
3107 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3108 wxGridCellAutoWrapStringEditor
*src
;
3109 wxGridCellEditor
*dest
;
3110 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3111 dest
= (wxGridCellEditor
*) src
;
3112 return (void *) dest
;
3115 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3116 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
* _resultobj
;
3118 wxGridCellAutoWrapStringEditor
* _result
;
3119 char *_kwnames
[] = { NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) return NULL
;
3132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3133 _resultobj
= Py_BuildValue("s",_ptemp
);
3136 _resultobj
= Py_None
;
3141 static void wxGridCellAttr__setOORInfo(wxGridCellAttr
*self
,PyObject
* _self
) {
3142 self
->SetClientObject(new wxPyOORClientData(_self
));
3144 static PyObject
*_wrap_wxGridCellAttr__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
* _resultobj
;
3146 wxGridCellAttr
* _arg0
;
3148 PyObject
* _argo0
= 0;
3149 PyObject
* _obj1
= 0;
3150 char *_kwnames
[] = { "self","_self", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
3156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr__setOORInfo. Expected _wxGridCellAttr_p.");
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 wxGridCellAttr__setOORInfo(_arg0
,_arg1
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) return NULL
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3177 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3179 wxGridCellAttr
* _result
;
3180 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "attrDefault", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3206 _resultobj
= Py_None
;
3211 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3212 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxGridCellAttr
* _result
;
3215 wxGridCellAttr
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) return NULL
;
3235 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
3239 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3240 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxGridCellAttr
* _arg0
;
3243 wxGridCellAttr
* _arg1
;
3244 PyObject
* _argo0
= 0;
3245 PyObject
* _argo1
= 0;
3246 char *_kwnames
[] = { "self","mergefrom", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3277 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3279 wxGridCellAttr
* _arg0
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 wxGridCellAttr_IncRef(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3305 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3307 wxGridCellAttr
* _arg0
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 wxGridCellAttr_DecRef(_arg0
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) return NULL
;
3327 } Py_INCREF(Py_None
);
3328 _resultobj
= Py_None
;
3332 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3333 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3335 wxGridCellAttr
* _arg0
;
3337 PyObject
* _argo0
= 0;
3339 PyObject
* _obj1
= 0;
3340 char *_kwnames
[] = { "self","colText", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3354 if (! wxColour_helper(_obj1
, &_arg1
))
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } Py_INCREF(Py_None
);
3364 _resultobj
= Py_None
;
3368 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3369 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3371 wxGridCellAttr
* _arg0
;
3373 PyObject
* _argo0
= 0;
3375 PyObject
* _obj1
= 0;
3376 char *_kwnames
[] = { "self","colBack", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3390 if (! wxColour_helper(_obj1
, &_arg1
))
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3404 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3405 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3407 wxGridCellAttr
* _arg0
;
3409 PyObject
* _argo0
= 0;
3410 PyObject
* _argo1
= 0;
3411 char *_kwnames
[] = { "self","font", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) return NULL
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3441 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3442 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxGridCellAttr
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3472 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3474 wxGridCellAttr
* _arg0
;
3475 bool _arg1
= (bool ) TRUE
;
3476 PyObject
* _argo0
= 0;
3477 int tempbool1
= (int) TRUE
;
3478 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3490 _arg1
= (bool ) tempbool1
;
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3497 } Py_INCREF(Py_None
);
3498 _resultobj
= Py_None
;
3502 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3503 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3505 wxGridCellAttr
* _arg0
;
3506 wxGridCellRenderer
* _arg1
;
3507 PyObject
* _argo0
= 0;
3508 PyObject
* _argo1
= 0;
3509 char *_kwnames
[] = { "self","renderer", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3534 } Py_INCREF(Py_None
);
3535 _resultobj
= Py_None
;
3539 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3540 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxGridCellAttr
* _arg0
;
3543 wxGridCellEditor
* _arg1
;
3544 PyObject
* _argo0
= 0;
3545 PyObject
* _argo1
= 0;
3546 char *_kwnames
[] = { "self","editor", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) return NULL
;
3571 } Py_INCREF(Py_None
);
3572 _resultobj
= Py_None
;
3576 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3577 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3579 wxGridCellAttr
* _arg0
;
3580 wxGridCellAttr::wxAttrKind _arg1
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self","kind", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) return NULL
;
3600 } Py_INCREF(Py_None
);
3601 _resultobj
= Py_None
;
3605 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3606 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3609 wxGridCellAttr
* _arg0
;
3610 PyObject
* _argo0
= 0;
3611 char *_kwnames
[] = { "self", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) return NULL
;
3629 } _resultobj
= Py_BuildValue("i",_result
);
3633 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3634 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3637 wxGridCellAttr
* _arg0
;
3638 PyObject
* _argo0
= 0;
3639 char *_kwnames
[] = { "self", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3657 } _resultobj
= Py_BuildValue("i",_result
);
3661 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3662 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3665 wxGridCellAttr
* _arg0
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3690 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3693 wxGridCellAttr
* _arg0
;
3694 PyObject
* _argo0
= 0;
3695 char *_kwnames
[] = { "self", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) return NULL
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3718 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3721 wxGridCellAttr
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) return NULL
;
3741 } _resultobj
= Py_BuildValue("i",_result
);
3745 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3746 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3749 wxGridCellAttr
* _arg0
;
3750 PyObject
* _argo0
= 0;
3751 char *_kwnames
[] = { "self", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3769 } _resultobj
= Py_BuildValue("i",_result
);
3773 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3774 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3777 wxGridCellAttr
* _arg0
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) return NULL
;
3797 } _resultobj
= Py_BuildValue("i",_result
);
3801 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3802 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3805 wxGridCellAttr
* _arg0
;
3806 PyObject
* _argo0
= 0;
3807 char *_kwnames
[] = { "self", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3831 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3832 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxGridCellAttr
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3857 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3862 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxGridCellAttr
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) return NULL
;
3886 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3887 _resultobj
= Py_BuildValue("s",_ptemp
);
3891 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3892 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3894 wxGridCellAttr
* _arg0
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
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_GetAlignment. Expected _wxGridCellAttr_p.");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) return NULL
;
3924 } Py_INCREF(Py_None
);
3925 _resultobj
= Py_None
;
3928 o
= PyInt_FromLong((long) (*_arg1
));
3929 _resultobj
= t_output_helper(_resultobj
, o
);
3933 o
= PyInt_FromLong((long) (*_arg2
));
3934 _resultobj
= t_output_helper(_resultobj
, o
);
3939 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3940 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxGridCellRenderer
* _result
;
3943 wxGridCellAttr
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 PyObject
* _argo1
= 0;
3949 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3974 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
3978 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3979 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxGridCellEditor
* _result
;
3982 wxGridCellAttr
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 PyObject
* _argo1
= 0;
3988 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
4001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4013 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
4017 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
4018 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4021 wxGridCellAttr
* _arg0
;
4022 PyObject
* _argo0
= 0;
4023 char *_kwnames
[] = { "self", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) return NULL
;
4041 } _resultobj
= Py_BuildValue("i",_result
);
4045 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4046 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 wxGridCellAttr
* _arg0
;
4049 wxGridCellAttr
* _arg1
;
4050 PyObject
* _argo0
= 0;
4051 PyObject
* _argo1
= 0;
4052 char *_kwnames
[] = { "self","defAttr", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) return NULL
;
4077 } Py_INCREF(Py_None
);
4078 _resultobj
= Py_None
;
4082 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4083 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4085 wxGridCellAttrProvider
* _result
;
4086 char *_kwnames
[] = { NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4100 _resultobj
= Py_BuildValue("s",_ptemp
);
4103 _resultobj
= Py_None
;
4108 static void wxGridCellAttrProvider__setOORInfo(wxGridCellAttrProvider
*self
,PyObject
* _self
) {
4109 self
->SetClientObject(new wxPyOORClientData(_self
));
4111 static PyObject
*_wrap_wxGridCellAttrProvider__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxGridCellAttrProvider
* _arg0
;
4115 PyObject
* _argo0
= 0;
4116 PyObject
* _obj1
= 0;
4117 char *_kwnames
[] = { "self","_self", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttrProvider__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider__setOORInfo. Expected _wxGridCellAttrProvider_p.");
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 wxGridCellAttrProvider__setOORInfo(_arg0
,_arg1
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) return NULL
;
4138 } Py_INCREF(Py_None
);
4139 _resultobj
= Py_None
;
4143 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4144 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4146 wxGridCellAttr
* _result
;
4147 wxGridCellAttrProvider
* _arg0
;
4150 wxGridCellAttr::wxAttrKind _arg3
;
4151 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) return NULL
;
4170 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4174 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4175 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4177 wxGridCellAttrProvider
* _arg0
;
4178 wxGridCellAttr
* _arg1
;
4181 PyObject
* _argo0
= 0;
4182 PyObject
* _argo1
= 0;
4183 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4196 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) return NULL
;
4208 } Py_INCREF(Py_None
);
4209 _resultobj
= Py_None
;
4213 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4214 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4216 wxGridCellAttrProvider
* _arg0
;
4217 wxGridCellAttr
* _arg1
;
4219 PyObject
* _argo0
= 0;
4220 PyObject
* _argo1
= 0;
4221 char *_kwnames
[] = { "self","attr","row", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) return NULL
;
4246 } Py_INCREF(Py_None
);
4247 _resultobj
= Py_None
;
4251 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4252 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4254 wxGridCellAttrProvider
* _arg0
;
4255 wxGridCellAttr
* _arg1
;
4257 PyObject
* _argo0
= 0;
4258 PyObject
* _argo1
= 0;
4259 char *_kwnames
[] = { "self","attr","col", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } Py_INCREF(Py_None
);
4285 _resultobj
= Py_None
;
4289 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4290 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4292 wxGridCellAttrProvider
* _arg0
;
4295 PyObject
* _argo0
= 0;
4296 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4319 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4320 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
* _resultobj
;
4322 wxGridCellAttrProvider
* _arg0
;
4325 PyObject
* _argo0
= 0;
4326 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4344 } Py_INCREF(Py_None
);
4345 _resultobj
= Py_None
;
4349 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4350 wxPyGridCellAttrProvider
*src
;
4351 wxGridCellAttrProvider
*dest
;
4352 src
= (wxPyGridCellAttrProvider
*) ptr
;
4353 dest
= (wxGridCellAttrProvider
*) src
;
4354 return (void *) dest
;
4357 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4358 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4360 wxPyGridCellAttrProvider
* _result
;
4361 char *_kwnames
[] = { NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) return NULL
;
4374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4375 _resultobj
= Py_BuildValue("s",_ptemp
);
4378 _resultobj
= Py_None
;
4383 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4384 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4386 wxPyGridCellAttrProvider
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 PyObject
* _obj1
= 0;
4391 PyObject
* _obj2
= 0;
4392 char *_kwnames
[] = { "self","self","_class", NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4414 wxPyEndAllowThreads(__tstate
);
4415 if (PyErr_Occurred()) return NULL
;
4416 } Py_INCREF(Py_None
);
4417 _resultobj
= Py_None
;
4421 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4422 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4424 wxGridCellAttr
* _result
;
4425 wxPyGridCellAttrProvider
* _arg0
;
4428 wxGridCellAttr::wxAttrKind _arg3
;
4429 PyObject
* _argo0
= 0;
4430 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) return NULL
;
4448 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
4452 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4453 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
* _resultobj
;
4455 wxPyGridCellAttrProvider
* _arg0
;
4456 wxGridCellAttr
* _arg1
;
4459 PyObject
* _argo0
= 0;
4460 PyObject
* _argo1
= 0;
4461 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) return NULL
;
4486 } Py_INCREF(Py_None
);
4487 _resultobj
= Py_None
;
4491 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4492 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4494 wxPyGridCellAttrProvider
* _arg0
;
4495 wxGridCellAttr
* _arg1
;
4497 PyObject
* _argo0
= 0;
4498 PyObject
* _argo1
= 0;
4499 char *_kwnames
[] = { "self","attr","row", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) return NULL
;
4524 } Py_INCREF(Py_None
);
4525 _resultobj
= Py_None
;
4529 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4530 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4532 wxPyGridCellAttrProvider
* _arg0
;
4533 wxGridCellAttr
* _arg1
;
4535 PyObject
* _argo0
= 0;
4536 PyObject
* _argo1
= 0;
4537 char *_kwnames
[] = { "self","attr","col", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) return NULL
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4568 wxGridTableBase
*src
;
4570 src
= (wxGridTableBase
*) ptr
;
4571 dest
= (wxObject
*) src
;
4572 return (void *) dest
;
4575 static void wxGridTableBase__setOORInfo(wxGridTableBase
*self
,PyObject
* _self
) {
4576 self
->SetClientObject(new wxPyOORClientData(_self
));
4578 static PyObject
*_wrap_wxGridTableBase__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4580 wxGridTableBase
* _arg0
;
4582 PyObject
* _argo0
= 0;
4583 PyObject
* _obj1
= 0;
4584 char *_kwnames
[] = { "self","_self", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase__setOORInfo. Expected _wxGridTableBase_p.");
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 wxGridTableBase__setOORInfo(_arg0
,_arg1
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4605 } Py_INCREF(Py_None
);
4606 _resultobj
= Py_None
;
4610 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4611 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4613 wxGridTableBase
* _arg0
;
4614 wxGridCellAttrProvider
* _arg1
;
4615 PyObject
* _argo0
= 0;
4616 PyObject
* _argo1
= 0;
4617 char *_kwnames
[] = { "self","attrProvider", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4648 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxGridCellAttrProvider
* _result
;
4651 wxGridTableBase
* _arg0
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 }{ _resultobj
= wxPyMake_wxGridCellAttrProvider(_result
); }
4675 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4676 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxGridTableBase
* _arg0
;
4680 PyObject
* _argo0
= 0;
4681 PyObject
* _argo1
= 0;
4682 char *_kwnames
[] = { "self","grid", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxGridTableBase_SetView(_arg0
,_arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) return NULL
;
4707 } Py_INCREF(Py_None
);
4708 _resultobj
= Py_None
;
4712 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4713 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4716 wxGridTableBase
* _arg0
;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "self", NULL
};
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) return NULL
;
4736 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4740 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4741 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4744 wxGridTableBase
* _arg0
;
4745 PyObject
* _argo0
= 0;
4746 char *_kwnames
[] = { "self", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4768 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4769 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 wxGridTableBase
* _arg0
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) return NULL
;
4792 } _resultobj
= Py_BuildValue("i",_result
);
4796 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4797 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4800 wxGridTableBase
* _arg0
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "self","row","col", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) return NULL
;
4822 } _resultobj
= Py_BuildValue("i",_result
);
4826 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4827 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4830 wxGridTableBase
* _arg0
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self","row","col", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4854 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4865 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4866 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4868 wxGridTableBase
* _arg0
;
4872 PyObject
* _argo0
= 0;
4873 PyObject
* _obj3
= 0;
4874 char *_kwnames
[] = { "self","row","col","value", NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4887 _arg3
= wxString_in_helper(_obj3
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } Py_INCREF(Py_None
);
4898 _resultobj
= Py_None
;
4906 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4907 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4910 wxGridTableBase
* _arg0
;
4913 PyObject
* _argo0
= 0;
4914 char *_kwnames
[] = { "self","row","col", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) return NULL
;
4934 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4936 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4945 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4946 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4949 wxGridTableBase
* _arg0
;
4953 PyObject
* _argo0
= 0;
4954 PyObject
* _obj3
= 0;
4955 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4968 _arg3
= wxString_in_helper(_obj3
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4978 } _resultobj
= Py_BuildValue("i",_result
);
4986 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4987 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4990 wxGridTableBase
* _arg0
;
4994 PyObject
* _argo0
= 0;
4995 PyObject
* _obj3
= 0;
4996 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
5009 _arg3
= wxString_in_helper(_obj3
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) return NULL
;
5019 } _resultobj
= Py_BuildValue("i",_result
);
5027 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
5028 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5031 wxGridTableBase
* _arg0
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self","row","col", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5053 } _resultobj
= Py_BuildValue("l",_result
);
5057 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5058 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5061 wxGridTableBase
* _arg0
;
5064 PyObject
* _argo0
= 0;
5065 char *_kwnames
[] = { "self","row","col", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) return NULL
;
5083 } _resultobj
= Py_BuildValue("d",_result
);
5087 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5088 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 wxGridTableBase
* _arg0
;
5094 PyObject
* _argo0
= 0;
5095 char *_kwnames
[] = { "self","row","col", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5113 } _resultobj
= Py_BuildValue("i",_result
);
5117 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5118 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5120 wxGridTableBase
* _arg0
;
5124 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self","row","col","value", NULL
};
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) return NULL
;
5143 } Py_INCREF(Py_None
);
5144 _resultobj
= Py_None
;
5148 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5149 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
* _resultobj
;
5151 wxGridTableBase
* _arg0
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self","row","col","value", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5180 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxGridTableBase
* _arg0
;
5186 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self","row","col","value", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5200 _arg3
= (bool ) tempbool3
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) return NULL
;
5207 } Py_INCREF(Py_None
);
5208 _resultobj
= Py_None
;
5212 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5213 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 wxGridTableBase
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 wxGridTableBase_Clear(_arg0
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) return NULL
;
5235 } Py_INCREF(Py_None
);
5236 _resultobj
= Py_None
;
5240 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5241 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxGridTableBase
* _arg0
;
5245 size_t _arg1
= (size_t ) 0;
5246 size_t _arg2
= (size_t ) 1;
5247 PyObject
* _argo0
= 0;
5248 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) return NULL
;
5266 } _resultobj
= Py_BuildValue("i",_result
);
5270 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5271 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
* _resultobj
;
5274 wxGridTableBase
* _arg0
;
5275 size_t _arg1
= (size_t ) 1;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self","numRows", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } _resultobj
= Py_BuildValue("i",_result
);
5299 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5300 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5303 wxGridTableBase
* _arg0
;
5304 size_t _arg1
= (size_t ) 0;
5305 size_t _arg2
= (size_t ) 1;
5306 PyObject
* _argo0
= 0;
5307 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5325 } _resultobj
= Py_BuildValue("i",_result
);
5329 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5330 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5333 wxGridTableBase
* _arg0
;
5334 size_t _arg1
= (size_t ) 0;
5335 size_t _arg2
= (size_t ) 1;
5336 PyObject
* _argo0
= 0;
5337 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) return NULL
;
5355 } _resultobj
= Py_BuildValue("i",_result
);
5359 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5360 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5363 wxGridTableBase
* _arg0
;
5364 size_t _arg1
= (size_t ) 1;
5365 PyObject
* _argo0
= 0;
5366 char *_kwnames
[] = { "self","numCols", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) return NULL
;
5384 } _resultobj
= Py_BuildValue("i",_result
);
5388 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5389 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5392 wxGridTableBase
* _arg0
;
5393 size_t _arg1
= (size_t ) 0;
5394 size_t _arg2
= (size_t ) 1;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5414 } _resultobj
= Py_BuildValue("i",_result
);
5418 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5419 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
* _resultobj
;
5422 wxGridTableBase
* _arg0
;
5424 PyObject
* _argo0
= 0;
5425 char *_kwnames
[] = { "self","row", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5445 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5447 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5456 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5457 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
* _resultobj
;
5460 wxGridTableBase
* _arg0
;
5462 PyObject
* _argo0
= 0;
5463 char *_kwnames
[] = { "self","col", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) return NULL
;
5483 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5485 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5494 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5495 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5497 wxGridTableBase
* _arg0
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _obj2
= 0;
5502 char *_kwnames
[] = { "self","row","value", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5515 _arg2
= wxString_in_helper(_obj2
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) return NULL
;
5525 } Py_INCREF(Py_None
);
5526 _resultobj
= Py_None
;
5534 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5535 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5537 wxGridTableBase
* _arg0
;
5540 PyObject
* _argo0
= 0;
5541 PyObject
* _obj2
= 0;
5542 char *_kwnames
[] = { "self","col","value", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5555 _arg2
= wxString_in_helper(_obj2
);
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 } Py_INCREF(Py_None
);
5566 _resultobj
= Py_None
;
5574 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5575 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
* _resultobj
;
5578 wxGridTableBase
* _arg0
;
5579 PyObject
* _argo0
= 0;
5580 char *_kwnames
[] = { "self", NULL
};
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } _resultobj
= Py_BuildValue("i",_result
);
5602 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5603 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxGridCellAttr
* _result
;
5606 wxGridTableBase
* _arg0
;
5609 wxGridCellAttr::wxAttrKind _arg3
;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
5633 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5634 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5636 wxGridTableBase
* _arg0
;
5637 wxGridCellAttr
* _arg1
;
5640 PyObject
* _argo0
= 0;
5641 PyObject
* _argo1
= 0;
5642 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) return NULL
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5672 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5673 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5675 wxGridTableBase
* _arg0
;
5676 wxGridCellAttr
* _arg1
;
5678 PyObject
* _argo0
= 0;
5679 PyObject
* _argo1
= 0;
5680 char *_kwnames
[] = { "self","attr","row", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5705 } Py_INCREF(Py_None
);
5706 _resultobj
= Py_None
;
5710 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5711 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5713 wxGridTableBase
* _arg0
;
5714 wxGridCellAttr
* _arg1
;
5716 PyObject
* _argo0
= 0;
5717 PyObject
* _argo1
= 0;
5718 char *_kwnames
[] = { "self","attr","col", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) return NULL
;
5743 } Py_INCREF(Py_None
);
5744 _resultobj
= Py_None
;
5748 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5749 wxPyGridTableBase
*src
;
5750 wxGridTableBase
*dest
;
5751 src
= (wxPyGridTableBase
*) ptr
;
5752 dest
= (wxGridTableBase
*) src
;
5753 return (void *) dest
;
5756 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5757 wxPyGridTableBase
*src
;
5759 src
= (wxPyGridTableBase
*) ptr
;
5760 dest
= (wxObject
*) src
;
5761 return (void *) dest
;
5764 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5765 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5767 wxPyGridTableBase
* _result
;
5768 char *_kwnames
[] = { NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) return NULL
;
5781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5782 _resultobj
= Py_BuildValue("s",_ptemp
);
5785 _resultobj
= Py_None
;
5790 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5791 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxPyGridTableBase
* _arg0
;
5796 PyObject
* _argo0
= 0;
5797 PyObject
* _obj1
= 0;
5798 PyObject
* _obj2
= 0;
5799 char *_kwnames
[] = { "self","self","_class", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } Py_INCREF(Py_None
);
5824 _resultobj
= Py_None
;
5828 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5829 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5831 wxPyGridTableBase
* _arg0
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 wxPyGridTableBase_Destroy(_arg0
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) return NULL
;
5851 } Py_INCREF(Py_None
);
5852 _resultobj
= Py_None
;
5856 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5857 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5860 wxPyGridTableBase
* _arg0
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self","row","col", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5884 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5886 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5895 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5896 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5899 wxPyGridTableBase
* _arg0
;
5903 PyObject
* _argo0
= 0;
5904 PyObject
* _obj3
= 0;
5905 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5918 _arg3
= wxString_in_helper(_obj3
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) return NULL
;
5928 } _resultobj
= Py_BuildValue("i",_result
);
5936 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5937 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5940 wxPyGridTableBase
* _arg0
;
5944 PyObject
* _argo0
= 0;
5945 PyObject
* _obj3
= 0;
5946 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5959 _arg3
= wxString_in_helper(_obj3
);
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) return NULL
;
5969 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5978 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5980 wxPyGridTableBase
* _arg0
;
5981 PyObject
* _argo0
= 0;
5982 char *_kwnames
[] = { "self", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxPyGridTableBase_base_Clear(_arg0
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) return NULL
;
6000 } Py_INCREF(Py_None
);
6001 _resultobj
= Py_None
;
6005 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6006 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 wxPyGridTableBase
* _arg0
;
6010 size_t _arg1
= (size_t ) 0;
6011 size_t _arg2
= (size_t ) 1;
6012 PyObject
* _argo0
= 0;
6013 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } _resultobj
= Py_BuildValue("i",_result
);
6035 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6036 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6039 wxPyGridTableBase
* _arg0
;
6040 size_t _arg1
= (size_t ) 1;
6041 PyObject
* _argo0
= 0;
6042 char *_kwnames
[] = { "self","numRows", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) return NULL
;
6060 } _resultobj
= Py_BuildValue("i",_result
);
6064 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6065 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6068 wxPyGridTableBase
* _arg0
;
6069 size_t _arg1
= (size_t ) 0;
6070 size_t _arg2
= (size_t ) 1;
6071 PyObject
* _argo0
= 0;
6072 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) return NULL
;
6090 } _resultobj
= Py_BuildValue("i",_result
);
6094 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6095 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6098 wxPyGridTableBase
* _arg0
;
6099 size_t _arg1
= (size_t ) 0;
6100 size_t _arg2
= (size_t ) 1;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } _resultobj
= Py_BuildValue("i",_result
);
6124 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6125 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6128 wxPyGridTableBase
* _arg0
;
6129 size_t _arg1
= (size_t ) 1;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self","numCols", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } _resultobj
= Py_BuildValue("i",_result
);
6153 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6154 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6157 wxPyGridTableBase
* _arg0
;
6158 size_t _arg1
= (size_t ) 0;
6159 size_t _arg2
= (size_t ) 1;
6160 PyObject
* _argo0
= 0;
6161 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } _resultobj
= Py_BuildValue("i",_result
);
6183 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6184 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6187 wxPyGridTableBase
* _arg0
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self","row", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) return NULL
;
6210 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6212 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6221 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6222 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6225 wxPyGridTableBase
* _arg0
;
6227 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self","col", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6248 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6250 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6259 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6260 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxPyGridTableBase
* _arg0
;
6265 PyObject
* _argo0
= 0;
6266 PyObject
* _obj2
= 0;
6267 char *_kwnames
[] = { "self","row","value", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6280 _arg2
= wxString_in_helper(_obj2
);
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6290 } Py_INCREF(Py_None
);
6291 _resultobj
= Py_None
;
6299 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6300 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6302 wxPyGridTableBase
* _arg0
;
6305 PyObject
* _argo0
= 0;
6306 PyObject
* _obj2
= 0;
6307 char *_kwnames
[] = { "self","col","value", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6320 _arg2
= wxString_in_helper(_obj2
);
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6330 } Py_INCREF(Py_None
);
6331 _resultobj
= Py_None
;
6339 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6340 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6343 wxPyGridTableBase
* _arg0
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6368 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6370 wxGridCellAttr
* _result
;
6371 wxPyGridTableBase
* _arg0
;
6374 wxGridCellAttr::wxAttrKind _arg3
;
6375 PyObject
* _argo0
= 0;
6376 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6394 }{ _resultobj
= wxPyMake_wxGridCellAttr(_result
); }
6398 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6399 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
* _resultobj
;
6401 wxPyGridTableBase
* _arg0
;
6402 wxGridCellAttr
* _arg1
;
6405 PyObject
* _argo0
= 0;
6406 PyObject
* _argo1
= 0;
6407 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) return NULL
;
6432 } Py_INCREF(Py_None
);
6433 _resultobj
= Py_None
;
6437 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6438 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6440 wxPyGridTableBase
* _arg0
;
6441 wxGridCellAttr
* _arg1
;
6443 PyObject
* _argo0
= 0;
6444 PyObject
* _argo1
= 0;
6445 char *_kwnames
[] = { "self","attr","row", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) return NULL
;
6470 } Py_INCREF(Py_None
);
6471 _resultobj
= Py_None
;
6475 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6476 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxPyGridTableBase
* _arg0
;
6479 wxGridCellAttr
* _arg1
;
6481 PyObject
* _argo0
= 0;
6482 PyObject
* _argo1
= 0;
6483 char *_kwnames
[] = { "self","attr","col", NULL
};
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) return NULL
;
6508 } Py_INCREF(Py_None
);
6509 _resultobj
= Py_None
;
6513 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6514 wxGridStringTable
*src
;
6515 wxGridTableBase
*dest
;
6516 src
= (wxGridStringTable
*) ptr
;
6517 dest
= (wxGridTableBase
*) src
;
6518 return (void *) dest
;
6521 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6522 wxGridStringTable
*src
;
6524 src
= (wxGridStringTable
*) ptr
;
6525 dest
= (wxObject
*) src
;
6526 return (void *) dest
;
6529 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6530 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6532 wxGridStringTable
* _result
;
6533 int _arg0
= (int ) 0;
6534 int _arg1
= (int ) 0;
6535 char *_kwnames
[] = { "numRows","numCols", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) return NULL
;
6548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6549 _resultobj
= Py_BuildValue("s",_ptemp
);
6552 _resultobj
= Py_None
;
6557 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6558 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6560 wxGridTableMessage
* _result
;
6561 wxGridTableBase
* _arg0
;
6563 int _arg2
= (int ) -1;
6564 int _arg3
= (int ) -1;
6565 PyObject
* _argo0
= 0;
6566 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) return NULL
;
6586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6587 _resultobj
= Py_BuildValue("s",_ptemp
);
6590 _resultobj
= Py_None
;
6595 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6596 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6598 wxGridTableMessage
* _arg0
;
6599 PyObject
* _argo0
= 0;
6600 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 delete_wxGridTableMessage(_arg0
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6618 } Py_INCREF(Py_None
);
6619 _resultobj
= Py_None
;
6623 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6624 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6626 wxGridTableMessage
* _arg0
;
6627 wxGridTableBase
* _arg1
;
6628 PyObject
* _argo0
= 0;
6629 PyObject
* _argo1
= 0;
6630 char *_kwnames
[] = { "self","table", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) return NULL
;
6655 } Py_INCREF(Py_None
);
6656 _resultobj
= Py_None
;
6660 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6661 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6663 wxGridTableBase
* _result
;
6664 wxGridTableMessage
* _arg0
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) return NULL
;
6684 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
6688 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6689 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6691 wxGridTableMessage
* _arg0
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self","id", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 wxGridTableMessage_SetId(_arg0
,_arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) return NULL
;
6712 } Py_INCREF(Py_None
);
6713 _resultobj
= Py_None
;
6717 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6718 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
* _resultobj
;
6721 wxGridTableMessage
* _arg0
;
6722 PyObject
* _argo0
= 0;
6723 char *_kwnames
[] = { "self", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) return NULL
;
6741 } _resultobj
= Py_BuildValue("i",_result
);
6745 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6746 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
* _resultobj
;
6748 wxGridTableMessage
* _arg0
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self","comInt1", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 } Py_INCREF(Py_None
);
6770 _resultobj
= Py_None
;
6774 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6775 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6778 wxGridTableMessage
* _arg0
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } _resultobj
= Py_BuildValue("i",_result
);
6802 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6803 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
* _resultobj
;
6805 wxGridTableMessage
* _arg0
;
6807 PyObject
* _argo0
= 0;
6808 char *_kwnames
[] = { "self","comInt2", NULL
};
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) return NULL
;
6826 } Py_INCREF(Py_None
);
6827 _resultobj
= Py_None
;
6831 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6832 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
* _resultobj
;
6835 wxGridTableMessage
* _arg0
;
6836 PyObject
* _argo0
= 0;
6837 char *_kwnames
[] = { "self", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) return NULL
;
6855 } _resultobj
= Py_BuildValue("i",_result
);
6859 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6860 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
* _resultobj
;
6862 wxGridCellCoords
* _result
;
6863 int _arg0
= (int ) -1;
6864 int _arg1
= (int ) -1;
6865 char *_kwnames
[] = { "r","c", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) return NULL
;
6878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6879 _resultobj
= Py_BuildValue("s",_ptemp
);
6882 _resultobj
= Py_None
;
6887 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6888 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
* _resultobj
;
6890 wxGridCellCoords
* _arg0
;
6891 PyObject
* _argo0
= 0;
6892 char *_kwnames
[] = { "self", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 delete_wxGridCellCoords(_arg0
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) return NULL
;
6910 } Py_INCREF(Py_None
);
6911 _resultobj
= Py_None
;
6915 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6916 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
* _resultobj
;
6919 wxGridCellCoords
* _arg0
;
6920 PyObject
* _argo0
= 0;
6921 char *_kwnames
[] = { "self", NULL
};
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) return NULL
;
6939 } _resultobj
= Py_BuildValue("i",_result
);
6943 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6944 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
* _resultobj
;
6946 wxGridCellCoords
* _arg0
;
6948 PyObject
* _argo0
= 0;
6949 char *_kwnames
[] = { "self","n", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) return NULL
;
6967 } Py_INCREF(Py_None
);
6968 _resultobj
= Py_None
;
6972 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6973 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6976 wxGridCellCoords
* _arg0
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } _resultobj
= Py_BuildValue("i",_result
);
7000 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7001 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7003 wxGridCellCoords
* _arg0
;
7005 PyObject
* _argo0
= 0;
7006 char *_kwnames
[] = { "self","n", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) return NULL
;
7024 } Py_INCREF(Py_None
);
7025 _resultobj
= Py_None
;
7029 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7030 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7032 wxGridCellCoords
* _arg0
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self","row","col", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) return NULL
;
7054 } Py_INCREF(Py_None
);
7055 _resultobj
= Py_None
;
7059 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7060 PyObject
* tup
= PyTuple_New(2);
7061 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7062 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7065 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7068 wxGridCellCoords
* _arg0
;
7069 PyObject
* _argo0
= 0;
7070 char *_kwnames
[] = { "self", NULL
};
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) return NULL
;
7089 _resultobj
= _result
;
7094 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7095 return *self
!= other
;
7097 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7100 wxGridCellCoords
* _arg0
;
7101 wxGridCellCoords
* _arg1
;
7102 PyObject
* _argo0
= 0;
7103 PyObject
* _argo1
= 0;
7104 char *_kwnames
[] = { "self","other", NULL
};
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) return NULL
;
7129 } _resultobj
= Py_BuildValue("i",_result
);
7133 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7135 wxScrolledWindow
*dest
;
7136 src
= (wxGrid
*) ptr
;
7137 dest
= (wxScrolledWindow
*) src
;
7138 return (void *) dest
;
7141 static void *SwigwxGridTowxPanel(void *ptr
) {
7144 src
= (wxGrid
*) ptr
;
7145 dest
= (wxPanel
*) src
;
7146 return (void *) dest
;
7149 static void *SwigwxGridTowxWindow(void *ptr
) {
7152 src
= (wxGrid
*) ptr
;
7153 dest
= (wxWindow
*) src
;
7154 return (void *) dest
;
7157 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7160 src
= (wxGrid
*) ptr
;
7161 dest
= (wxEvtHandler
*) src
;
7162 return (void *) dest
;
7165 static void *SwigwxGridTowxObject(void *ptr
) {
7168 src
= (wxGrid
*) ptr
;
7169 dest
= (wxObject
*) src
;
7170 return (void *) dest
;
7173 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7174 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7179 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7180 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7181 long _arg4
= (long ) wxWANTS_CHARS
;
7182 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7183 PyObject
* _argo0
= 0;
7185 PyObject
* _obj2
= 0;
7187 PyObject
* _obj3
= 0;
7188 PyObject
* _obj5
= 0;
7189 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7205 if (! wxPoint_helper(_obj2
, &_arg2
))
7211 if (! wxSize_helper(_obj3
, &_arg3
))
7216 _arg5
= wxString_in_helper(_obj5
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7228 _resultobj
= Py_BuildValue("s",_ptemp
);
7231 _resultobj
= Py_None
;
7240 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7241 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
* _resultobj
;
7247 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) return NULL
;
7267 } _resultobj
= Py_BuildValue("i",_result
);
7271 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7272 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7275 WXGRIDSELECTIONMODES _arg1
;
7276 PyObject
* _argo0
= 0;
7277 char *_kwnames
[] = { "self","selmode", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) return NULL
;
7295 } Py_INCREF(Py_None
);
7296 _resultobj
= Py_None
;
7300 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7301 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7305 PyObject
* _argo0
= 0;
7306 char *_kwnames
[] = { "self", NULL
};
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) return NULL
;
7324 } _resultobj
= Py_BuildValue("i",_result
);
7328 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7329 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
* _resultobj
;
7333 PyObject
* _argo0
= 0;
7334 char *_kwnames
[] = { "self", NULL
};
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) return NULL
;
7352 } _resultobj
= Py_BuildValue("i",_result
);
7356 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7357 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7361 wxGridTableMessage
* _arg1
;
7362 PyObject
* _argo0
= 0;
7363 PyObject
* _argo1
= 0;
7364 char *_kwnames
[] = { "self","arg2", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) return NULL
;
7389 } _resultobj
= Py_BuildValue("i",_result
);
7393 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7394 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
* _resultobj
;
7396 wxGridTableBase
* _result
;
7398 PyObject
* _argo0
= 0;
7399 char *_kwnames
[] = { "self", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) return NULL
;
7417 }{ _resultobj
= wxPyMake_wxGridTableBase(_result
); }
7421 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7422 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
* _resultobj
;
7426 wxGridTableBase
* _arg1
;
7427 bool _arg2
= (bool ) FALSE
;
7428 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7429 PyObject
* _argo0
= 0;
7430 PyObject
* _argo1
= 0;
7431 int tempbool2
= (int) FALSE
;
7432 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7451 _arg2
= (bool ) tempbool2
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) return NULL
;
7458 } _resultobj
= Py_BuildValue("i",_result
);
7462 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7463 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 wxGrid_ClearGrid(_arg0
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } Py_INCREF(Py_None
);
7486 _resultobj
= Py_None
;
7490 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7491 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7495 int _arg1
= (int ) 0;
7496 int _arg2
= (int ) 1;
7497 bool _arg3
= (bool ) TRUE
;
7498 PyObject
* _argo0
= 0;
7499 int tempbool3
= (int) TRUE
;
7500 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7512 _arg3
= (bool ) tempbool3
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } _resultobj
= Py_BuildValue("i",_result
);
7523 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7524 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7528 int _arg1
= (int ) 1;
7529 bool _arg2
= (bool ) TRUE
;
7530 PyObject
* _argo0
= 0;
7531 int tempbool2
= (int) TRUE
;
7532 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7544 _arg2
= (bool ) tempbool2
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) return NULL
;
7551 } _resultobj
= Py_BuildValue("i",_result
);
7555 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7556 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7560 int _arg1
= (int ) 0;
7561 int _arg2
= (int ) 1;
7562 bool _arg3
= (bool ) TRUE
;
7563 PyObject
* _argo0
= 0;
7564 int tempbool3
= (int) TRUE
;
7565 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7577 _arg3
= (bool ) tempbool3
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7584 } _resultobj
= Py_BuildValue("i",_result
);
7588 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7589 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7593 int _arg1
= (int ) 0;
7594 int _arg2
= (int ) 1;
7595 bool _arg3
= (bool ) TRUE
;
7596 PyObject
* _argo0
= 0;
7597 int tempbool3
= (int) TRUE
;
7598 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7610 _arg3
= (bool ) tempbool3
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) return NULL
;
7617 } _resultobj
= Py_BuildValue("i",_result
);
7621 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7622 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7626 int _arg1
= (int ) 1;
7627 bool _arg2
= (bool ) TRUE
;
7628 PyObject
* _argo0
= 0;
7629 int tempbool2
= (int) TRUE
;
7630 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7642 _arg2
= (bool ) tempbool2
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) return NULL
;
7649 } _resultobj
= Py_BuildValue("i",_result
);
7653 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7654 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7658 int _arg1
= (int ) 0;
7659 int _arg2
= (int ) 1;
7660 bool _arg3
= (bool ) TRUE
;
7661 PyObject
* _argo0
= 0;
7662 int tempbool3
= (int) TRUE
;
7663 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7675 _arg3
= (bool ) tempbool3
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } _resultobj
= Py_BuildValue("i",_result
);
7686 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7687 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7691 wxGridCellAttr
* _arg2
;
7692 PyObject
* _argo0
= 0;
7693 PyObject
* _argo1
= 0;
7694 PyObject
* _argo2
= 0;
7695 char *_kwnames
[] = { "self","dc","attr", NULL
};
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7715 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7716 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7727 } Py_INCREF(Py_None
);
7728 _resultobj
= Py_None
;
7732 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7733 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
* _resultobj
;
7739 int _arg4
= (int ) wxLEFT
;
7740 int _arg5
= (int ) wxTOP
;
7741 PyObject
* _argo0
= 0;
7742 PyObject
* _argo1
= 0;
7743 PyObject
* _obj2
= 0;
7745 PyObject
* _obj3
= 0;
7746 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7766 _arg2
= wxString_in_helper(_obj2
);
7772 if (! wxRect_helper(_obj3
, &_arg3
))
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) return NULL
;
7781 } Py_INCREF(Py_None
);
7782 _resultobj
= Py_None
;
7790 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7791 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7795 wxArrayString
* _arg2
;
7800 PyObject
* _argo0
= 0;
7801 PyObject
* _argo1
= 0;
7802 PyObject
* _obj2
= 0;
7803 char *_kwnames
[] = { "self","dc","lines", NULL
};
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7829 if (! PySequence_Check(_obj2
)) {
7830 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7833 _arg2
= new wxArrayString
;
7834 int i
, len
=PySequence_Length(_obj2
);
7835 for (i
=0; i
<len
; i
++) {
7836 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7838 PyObject
* str
= PyObject_Unicode(item
);
7839 _arg2
->Add(PyUnicode_AsUnicode(str
));
7841 PyObject
* str
= PyObject_Str(item
);
7842 _arg2
->Add(PyString_AsString(str
));
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7854 } Py_INCREF(Py_None
);
7855 _resultobj
= Py_None
;
7858 o
= PyInt_FromLong((long) (*_arg3
));
7859 _resultobj
= t_output_helper(_resultobj
, o
);
7863 o
= PyInt_FromLong((long) (*_arg4
));
7864 _resultobj
= t_output_helper(_resultobj
, o
);
7873 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7874 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
* _resultobj
;
7877 PyObject
* _argo0
= 0;
7878 char *_kwnames
[] = { "self", NULL
};
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 wxGrid_BeginBatch(_arg0
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) return NULL
;
7896 } Py_INCREF(Py_None
);
7897 _resultobj
= Py_None
;
7901 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7902 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7905 PyObject
* _argo0
= 0;
7906 char *_kwnames
[] = { "self", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 wxGrid_EndBatch(_arg0
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) return NULL
;
7924 } Py_INCREF(Py_None
);
7925 _resultobj
= Py_None
;
7929 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7930 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
* _resultobj
;
7934 PyObject
* _argo0
= 0;
7935 char *_kwnames
[] = { "self", NULL
};
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) return NULL
;
7953 } _resultobj
= Py_BuildValue("i",_result
);
7957 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7958 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
* _resultobj
;
7961 PyObject
* _argo0
= 0;
7962 char *_kwnames
[] = { "self", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 wxGrid_ForceRefresh(_arg0
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7980 } Py_INCREF(Py_None
);
7981 _resultobj
= Py_None
;
7985 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7986 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
* _resultobj
;
7990 PyObject
* _argo0
= 0;
7991 char *_kwnames
[] = { "self", NULL
};
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 _result
= (bool )wxGrid_IsEditable(_arg0
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) return NULL
;
8009 } _resultobj
= Py_BuildValue("i",_result
);
8013 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8014 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
* _resultobj
;
8018 PyObject
* _argo0
= 0;
8020 char *_kwnames
[] = { "self","edit", NULL
};
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8032 _arg1
= (bool ) tempbool1
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 wxGrid_EnableEditing(_arg0
,_arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) return NULL
;
8039 } Py_INCREF(Py_None
);
8040 _resultobj
= Py_None
;
8044 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8045 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8048 bool _arg1
= (bool ) TRUE
;
8049 PyObject
* _argo0
= 0;
8050 int tempbool1
= (int) TRUE
;
8051 char *_kwnames
[] = { "self","enable", NULL
};
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8063 _arg1
= (bool ) tempbool1
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) return NULL
;
8070 } Py_INCREF(Py_None
);
8071 _resultobj
= Py_None
;
8075 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8076 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
* _resultobj
;
8079 PyObject
* _argo0
= 0;
8080 char *_kwnames
[] = { "self", NULL
};
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxGrid_DisableCellEditControl(_arg0
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } Py_INCREF(Py_None
);
8099 _resultobj
= Py_None
;
8103 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8104 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
* _resultobj
;
8108 PyObject
* _argo0
= 0;
8109 char *_kwnames
[] = { "self", NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) return NULL
;
8127 } _resultobj
= Py_BuildValue("i",_result
);
8131 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8132 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8136 PyObject
* _argo0
= 0;
8137 char *_kwnames
[] = { "self", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) return NULL
;
8155 } _resultobj
= Py_BuildValue("i",_result
);
8159 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8160 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
* _resultobj
;
8164 PyObject
* _argo0
= 0;
8165 char *_kwnames
[] = { "self", NULL
};
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) return NULL
;
8183 } _resultobj
= Py_BuildValue("i",_result
);
8187 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8188 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
* _resultobj
;
8192 PyObject
* _argo0
= 0;
8193 char *_kwnames
[] = { "self", NULL
};
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) return NULL
;
8211 } _resultobj
= Py_BuildValue("i",_result
);
8215 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8216 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
* _resultobj
;
8219 PyObject
* _argo0
= 0;
8220 char *_kwnames
[] = { "self", NULL
};
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxGrid_ShowCellEditControl(_arg0
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) return NULL
;
8238 } Py_INCREF(Py_None
);
8239 _resultobj
= Py_None
;
8243 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8244 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
* _resultobj
;
8247 PyObject
* _argo0
= 0;
8248 char *_kwnames
[] = { "self", NULL
};
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxGrid_HideCellEditControl(_arg0
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) return NULL
;
8266 } Py_INCREF(Py_None
);
8267 _resultobj
= Py_None
;
8271 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8272 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
* _resultobj
;
8275 PyObject
* _argo0
= 0;
8276 char *_kwnames
[] = { "self", NULL
};
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxGrid_SaveEditControlValue(_arg0
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) return NULL
;
8294 } Py_INCREF(Py_None
);
8295 _resultobj
= Py_None
;
8299 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8300 wxGridCellCoords rv
;
8301 self
->XYToCell(x
, y
, rv
);
8302 return new wxGridCellCoords(rv
);
8304 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8306 wxGridCellCoords
* _result
;
8310 PyObject
* _argo0
= 0;
8311 char *_kwnames
[] = { "self","x","y", NULL
};
8315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) return NULL
;
8331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8332 _resultobj
= Py_BuildValue("s",_ptemp
);
8335 _resultobj
= Py_None
;
8340 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8341 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
* _resultobj
;
8346 PyObject
* _argo0
= 0;
8347 char *_kwnames
[] = { "self","y", NULL
};
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) return NULL
;
8365 } _resultobj
= Py_BuildValue("i",_result
);
8369 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8370 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8375 PyObject
* _argo0
= 0;
8376 char *_kwnames
[] = { "self","x", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) return NULL
;
8394 } _resultobj
= Py_BuildValue("i",_result
);
8398 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8399 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8404 PyObject
* _argo0
= 0;
8405 char *_kwnames
[] = { "self","y", NULL
};
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) return NULL
;
8423 } _resultobj
= Py_BuildValue("i",_result
);
8427 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8428 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
* _resultobj
;
8433 PyObject
* _argo0
= 0;
8434 char *_kwnames
[] = { "self","x", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) return NULL
;
8452 } _resultobj
= Py_BuildValue("i",_result
);
8456 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8457 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8463 PyObject
* _argo0
= 0;
8464 char *_kwnames
[] = { "self","row","col", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) return NULL
;
8483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8484 _resultobj
= Py_BuildValue("s",_ptemp
);
8488 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8489 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
* _resultobj
;
8493 PyObject
* _argo0
= 0;
8494 char *_kwnames
[] = { "self", NULL
};
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) return NULL
;
8512 } _resultobj
= Py_BuildValue("i",_result
);
8516 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8517 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
* _resultobj
;
8521 PyObject
* _argo0
= 0;
8522 char *_kwnames
[] = { "self", NULL
};
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) return NULL
;
8540 } _resultobj
= Py_BuildValue("i",_result
);
8544 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8545 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8551 bool _arg3
= (bool ) TRUE
;
8552 PyObject
* _argo0
= 0;
8553 int tempbool3
= (int) TRUE
;
8554 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8566 _arg3
= (bool ) tempbool3
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8569 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) return NULL
;
8573 } _resultobj
= Py_BuildValue("i",_result
);
8577 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8578 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
* _resultobj
;
8583 PyObject
* _argo0
= 0;
8584 char *_kwnames
[] = { "self","row","col", NULL
};
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) return NULL
;
8602 } Py_INCREF(Py_None
);
8603 _resultobj
= Py_None
;
8607 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8608 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
* _resultobj
;
8613 PyObject
* _argo0
= 0;
8614 char *_kwnames
[] = { "self","row","col", NULL
};
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) return NULL
;
8632 } Py_INCREF(Py_None
);
8633 _resultobj
= Py_None
;
8637 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8638 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
* _resultobj
;
8643 PyObject
* _argo0
= 0;
8645 char *_kwnames
[] = { "self","expandSelection", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8657 _arg1
= (bool ) tempbool1
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) return NULL
;
8664 } _resultobj
= Py_BuildValue("i",_result
);
8668 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8669 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
* _resultobj
;
8674 PyObject
* _argo0
= 0;
8676 char *_kwnames
[] = { "self","expandSelection", NULL
};
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8688 _arg1
= (bool ) tempbool1
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) return NULL
;
8695 } _resultobj
= Py_BuildValue("i",_result
);
8699 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8700 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
* _resultobj
;
8705 PyObject
* _argo0
= 0;
8707 char *_kwnames
[] = { "self","expandSelection", NULL
};
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8719 _arg1
= (bool ) tempbool1
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) return NULL
;
8726 } _resultobj
= Py_BuildValue("i",_result
);
8730 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8731 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
* _resultobj
;
8736 PyObject
* _argo0
= 0;
8738 char *_kwnames
[] = { "self","expandSelection", NULL
};
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8750 _arg1
= (bool ) tempbool1
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) return NULL
;
8757 } _resultobj
= Py_BuildValue("i",_result
);
8761 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8762 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
* _resultobj
;
8766 PyObject
* _argo0
= 0;
8767 char *_kwnames
[] = { "self", NULL
};
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) return NULL
;
8785 } _resultobj
= Py_BuildValue("i",_result
);
8789 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8790 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
* _resultobj
;
8794 PyObject
* _argo0
= 0;
8795 char *_kwnames
[] = { "self", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 } _resultobj
= Py_BuildValue("i",_result
);
8817 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8818 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
* _resultobj
;
8823 PyObject
* _argo0
= 0;
8825 char *_kwnames
[] = { "self","expandSelection", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8837 _arg1
= (bool ) tempbool1
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) return NULL
;
8844 } _resultobj
= Py_BuildValue("i",_result
);
8848 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8849 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8854 PyObject
* _argo0
= 0;
8856 char *_kwnames
[] = { "self","expandSelection", NULL
};
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8868 _arg1
= (bool ) tempbool1
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) return NULL
;
8875 } _resultobj
= Py_BuildValue("i",_result
);
8879 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8880 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
* _resultobj
;
8885 PyObject
* _argo0
= 0;
8887 char *_kwnames
[] = { "self","expandSelection", NULL
};
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8899 _arg1
= (bool ) tempbool1
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 } _resultobj
= Py_BuildValue("i",_result
);
8910 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8911 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
* _resultobj
;
8916 PyObject
* _argo0
= 0;
8918 char *_kwnames
[] = { "self","expandSelection", NULL
};
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8930 _arg1
= (bool ) tempbool1
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) return NULL
;
8937 } _resultobj
= Py_BuildValue("i",_result
);
8941 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8942 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
* _resultobj
;
8946 PyObject
* _argo0
= 0;
8947 char *_kwnames
[] = { "self", NULL
};
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) return NULL
;
8965 } _resultobj
= Py_BuildValue("i",_result
);
8969 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8970 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
* _resultobj
;
8974 PyObject
* _argo0
= 0;
8975 char *_kwnames
[] = { "self", NULL
};
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) return NULL
;
8993 } _resultobj
= Py_BuildValue("i",_result
);
8997 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8998 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
* _resultobj
;
9002 PyObject
* _argo0
= 0;
9003 char *_kwnames
[] = { "self", NULL
};
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) return NULL
;
9021 } _resultobj
= Py_BuildValue("i",_result
);
9025 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9026 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
* _resultobj
;
9030 PyObject
* _argo0
= 0;
9031 char *_kwnames
[] = { "self", NULL
};
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) return NULL
;
9049 } _resultobj
= Py_BuildValue("i",_result
);
9053 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9054 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
* _resultobj
;
9058 PyObject
* _argo0
= 0;
9059 char *_kwnames
[] = { "self", NULL
};
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) return NULL
;
9078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9079 _resultobj
= Py_BuildValue("s",_ptemp
);
9083 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9084 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9088 PyObject
* _argo0
= 0;
9089 char *_kwnames
[] = { "self", NULL
};
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) return NULL
;
9108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9109 _resultobj
= Py_BuildValue("s",_ptemp
);
9113 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9114 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
* _resultobj
;
9118 PyObject
* _argo0
= 0;
9119 char *_kwnames
[] = { "self", NULL
};
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) return NULL
;
9138 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9139 _resultobj
= Py_BuildValue("s",_ptemp
);
9143 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9144 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9151 PyObject
* _argo0
= 0;
9152 char *_kwnames
[] = { "self", NULL
};
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) return NULL
;
9176 } Py_INCREF(Py_None
);
9177 _resultobj
= Py_None
;
9180 o
= PyInt_FromLong((long) (*_arg1
));
9181 _resultobj
= t_output_helper(_resultobj
, o
);
9185 o
= PyInt_FromLong((long) (*_arg2
));
9186 _resultobj
= t_output_helper(_resultobj
, o
);
9191 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9192 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
* _resultobj
;
9199 PyObject
* _argo0
= 0;
9200 char *_kwnames
[] = { "self", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9224 } Py_INCREF(Py_None
);
9225 _resultobj
= Py_None
;
9228 o
= PyInt_FromLong((long) (*_arg1
));
9229 _resultobj
= t_output_helper(_resultobj
, o
);
9233 o
= PyInt_FromLong((long) (*_arg2
));
9234 _resultobj
= t_output_helper(_resultobj
, o
);
9239 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9240 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
* _resultobj
;
9245 PyObject
* _argo0
= 0;
9246 char *_kwnames
[] = { "self","row", NULL
};
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) return NULL
;
9266 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9268 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9277 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9278 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
* _resultobj
;
9283 PyObject
* _argo0
= 0;
9284 char *_kwnames
[] = { "self","col", NULL
};
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) return NULL
;
9304 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9315 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9316 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
* _resultobj
;
9320 PyObject
* _argo0
= 0;
9321 char *_kwnames
[] = { "self", NULL
};
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) return NULL
;
9340 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9341 _resultobj
= Py_BuildValue("s",_ptemp
);
9345 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9346 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self", NULL
};
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) return NULL
;
9370 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9371 _resultobj
= Py_BuildValue("s",_ptemp
);
9375 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9376 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
* _resultobj
;
9380 PyObject
* _argo0
= 0;
9381 char *_kwnames
[] = { "self", NULL
};
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) return NULL
;
9399 } _resultobj
= Py_BuildValue("i",_result
);
9403 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9404 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
* _resultobj
;
9408 PyObject
* _argo0
= 0;
9409 char *_kwnames
[] = { "self", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) return NULL
;
9427 } _resultobj
= Py_BuildValue("i",_result
);
9431 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9432 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
* _resultobj
;
9436 PyObject
* _argo0
= 0;
9437 char *_kwnames
[] = { "self","width", NULL
};
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) return NULL
;
9455 } Py_INCREF(Py_None
);
9456 _resultobj
= Py_None
;
9460 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9461 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
* _resultobj
;
9465 PyObject
* _argo0
= 0;
9466 char *_kwnames
[] = { "self","height", NULL
};
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) return NULL
;
9484 } Py_INCREF(Py_None
);
9485 _resultobj
= Py_None
;
9489 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9490 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
* _resultobj
;
9494 PyObject
* _argo0
= 0;
9496 PyObject
* _obj1
= 0;
9497 char *_kwnames
[] = { "self","arg2", NULL
};
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9511 if (! wxColour_helper(_obj1
, &_arg1
))
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) return NULL
;
9520 } Py_INCREF(Py_None
);
9521 _resultobj
= Py_None
;
9525 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9526 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
* _resultobj
;
9530 PyObject
* _argo0
= 0;
9532 PyObject
* _obj1
= 0;
9533 char *_kwnames
[] = { "self","arg2", NULL
};
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9547 if (! wxColour_helper(_obj1
, &_arg1
))
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) return NULL
;
9556 } Py_INCREF(Py_None
);
9557 _resultobj
= Py_None
;
9561 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9562 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
* _resultobj
;
9566 PyObject
* _argo0
= 0;
9567 PyObject
* _argo1
= 0;
9568 char *_kwnames
[] = { "self","arg2", NULL
};
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) return NULL
;
9593 } Py_INCREF(Py_None
);
9594 _resultobj
= Py_None
;
9598 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9599 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
* _resultobj
;
9604 PyObject
* _argo0
= 0;
9605 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9623 } Py_INCREF(Py_None
);
9624 _resultobj
= Py_None
;
9628 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9629 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
* _resultobj
;
9634 PyObject
* _argo0
= 0;
9635 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) return NULL
;
9653 } Py_INCREF(Py_None
);
9654 _resultobj
= Py_None
;
9658 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9659 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9664 PyObject
* _argo0
= 0;
9665 PyObject
* _obj2
= 0;
9666 char *_kwnames
[] = { "self","row","arg3", NULL
};
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9679 _arg2
= wxString_in_helper(_obj2
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) return NULL
;
9689 } Py_INCREF(Py_None
);
9690 _resultobj
= Py_None
;
9698 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9699 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
* _resultobj
;
9704 PyObject
* _argo0
= 0;
9705 PyObject
* _obj2
= 0;
9706 char *_kwnames
[] = { "self","col","arg3", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9719 _arg2
= wxString_in_helper(_obj2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) return NULL
;
9729 } Py_INCREF(Py_None
);
9730 _resultobj
= Py_None
;
9738 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9739 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
* _resultobj
;
9743 PyObject
* _argo0
= 0;
9745 PyObject
* _obj1
= 0;
9746 char *_kwnames
[] = { "self","arg2", NULL
};
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9760 if (! wxColour_helper(_obj1
, &_arg1
))
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) return NULL
;
9769 } Py_INCREF(Py_None
);
9770 _resultobj
= Py_None
;
9774 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9775 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
* _resultobj
;
9779 PyObject
* _argo0
= 0;
9781 PyObject
* _obj1
= 0;
9782 char *_kwnames
[] = { "self","arg2", NULL
};
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9796 if (! wxColour_helper(_obj1
, &_arg1
))
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) return NULL
;
9805 } Py_INCREF(Py_None
);
9806 _resultobj
= Py_None
;
9810 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9811 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
* _resultobj
;
9815 PyObject
* _argo0
= 0;
9816 char *_kwnames
[] = { "self","width", NULL
};
9819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) return NULL
;
9834 } Py_INCREF(Py_None
);
9835 _resultobj
= Py_None
;
9839 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9840 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9844 PyObject
* _argo0
= 0;
9845 char *_kwnames
[] = { "self","width", NULL
};
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) return NULL
;
9863 } Py_INCREF(Py_None
);
9864 _resultobj
= Py_None
;
9868 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9869 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
* _resultobj
;
9872 bool _arg1
= (bool ) TRUE
;
9873 PyObject
* _argo0
= 0;
9874 int tempbool1
= (int) TRUE
;
9875 char *_kwnames
[] = { "self","enable", NULL
};
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9887 _arg1
= (bool ) tempbool1
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) return NULL
;
9894 } Py_INCREF(Py_None
);
9895 _resultobj
= Py_None
;
9899 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9900 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9903 PyObject
* _argo0
= 0;
9904 char *_kwnames
[] = { "self", NULL
};
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxGrid_DisableDragRowSize(_arg0
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) return NULL
;
9922 } Py_INCREF(Py_None
);
9923 _resultobj
= Py_None
;
9927 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9928 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
* _resultobj
;
9932 PyObject
* _argo0
= 0;
9933 char *_kwnames
[] = { "self", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) return NULL
;
9951 } _resultobj
= Py_BuildValue("i",_result
);
9955 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9956 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
* _resultobj
;
9959 bool _arg1
= (bool ) TRUE
;
9960 PyObject
* _argo0
= 0;
9961 int tempbool1
= (int) TRUE
;
9962 char *_kwnames
[] = { "self","enable", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9974 _arg1
= (bool ) tempbool1
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) return NULL
;
9981 } Py_INCREF(Py_None
);
9982 _resultobj
= Py_None
;
9986 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9987 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
* _resultobj
;
9990 PyObject
* _argo0
= 0;
9991 char *_kwnames
[] = { "self", NULL
};
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 wxGrid_DisableDragColSize(_arg0
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) return NULL
;
10009 } Py_INCREF(Py_None
);
10010 _resultobj
= Py_None
;
10014 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10015 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
* _resultobj
;
10019 PyObject
* _argo0
= 0;
10020 char *_kwnames
[] = { "self", NULL
};
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) return NULL
;
10038 } _resultobj
= Py_BuildValue("i",_result
);
10042 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10043 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
* _resultobj
;
10046 bool _arg1
= (bool ) TRUE
;
10047 PyObject
* _argo0
= 0;
10048 int tempbool1
= (int) TRUE
;
10049 char *_kwnames
[] = { "self","enable", NULL
};
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10061 _arg1
= (bool ) tempbool1
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10068 } Py_INCREF(Py_None
);
10069 _resultobj
= Py_None
;
10073 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10074 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
* _resultobj
;
10077 PyObject
* _argo0
= 0;
10078 char *_kwnames
[] = { "self", NULL
};
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 wxGrid_DisableDragGridSize(_arg0
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) return NULL
;
10096 } Py_INCREF(Py_None
);
10097 _resultobj
= Py_None
;
10101 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10102 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
* _resultobj
;
10106 PyObject
* _argo0
= 0;
10107 char *_kwnames
[] = { "self", NULL
};
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) return NULL
;
10125 } _resultobj
= Py_BuildValue("i",_result
);
10129 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10130 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
* _resultobj
;
10134 wxGridCellAttr
* _arg2
;
10135 PyObject
* _argo0
= 0;
10136 PyObject
* _argo2
= 0;
10137 char *_kwnames
[] = { "self","row","attr", NULL
};
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10150 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10151 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) return NULL
;
10162 } Py_INCREF(Py_None
);
10163 _resultobj
= Py_None
;
10167 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10168 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
* _resultobj
;
10172 wxGridCellAttr
* _arg2
;
10173 PyObject
* _argo0
= 0;
10174 PyObject
* _argo2
= 0;
10175 char *_kwnames
[] = { "self","col","attr", NULL
};
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10188 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10189 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) return NULL
;
10200 } Py_INCREF(Py_None
);
10201 _resultobj
= Py_None
;
10205 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10206 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10210 PyObject
* _argo0
= 0;
10211 char *_kwnames
[] = { "self","col", NULL
};
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) return NULL
;
10229 } Py_INCREF(Py_None
);
10230 _resultobj
= Py_None
;
10234 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10235 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
* _resultobj
;
10239 PyObject
* _argo0
= 0;
10240 char *_kwnames
[] = { "self","col", NULL
};
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) return NULL
;
10258 } Py_INCREF(Py_None
);
10259 _resultobj
= Py_None
;
10263 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10264 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
* _resultobj
;
10268 int _arg2
= (int ) -1;
10269 int _arg3
= (int ) -1;
10270 PyObject
* _argo0
= 0;
10271 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) return NULL
;
10289 } Py_INCREF(Py_None
);
10290 _resultobj
= Py_None
;
10294 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10295 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
* _resultobj
;
10300 PyObject
* _argo0
= 0;
10301 PyObject
* _obj2
= 0;
10302 char *_kwnames
[] = { "self","col","typeName", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10315 _arg2
= wxString_in_helper(_obj2
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) return NULL
;
10325 } Py_INCREF(Py_None
);
10326 _resultobj
= Py_None
;
10334 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10335 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
* _resultobj
;
10338 bool _arg1
= (bool ) TRUE
;
10339 PyObject
* _argo0
= 0;
10340 int tempbool1
= (int) TRUE
;
10341 char *_kwnames
[] = { "self","enable", NULL
};
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
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_EnableGridLines. Expected _wxGrid_p.");
10353 _arg1
= (bool ) tempbool1
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 wxGrid_EnableGridLines(_arg0
,_arg1
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) return NULL
;
10360 } Py_INCREF(Py_None
);
10361 _resultobj
= Py_None
;
10365 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10366 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
* _resultobj
;
10370 PyObject
* _argo0
= 0;
10371 char *_kwnames
[] = { "self", NULL
};
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) return NULL
;
10389 } _resultobj
= Py_BuildValue("i",_result
);
10393 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10394 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
* _resultobj
;
10398 PyObject
* _argo0
= 0;
10399 char *_kwnames
[] = { "self", NULL
};
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) return NULL
;
10417 } _resultobj
= Py_BuildValue("i",_result
);
10421 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10422 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
* _resultobj
;
10427 PyObject
* _argo0
= 0;
10428 char *_kwnames
[] = { "self","row", NULL
};
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) return NULL
;
10446 } _resultobj
= Py_BuildValue("i",_result
);
10450 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10451 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
* _resultobj
;
10455 PyObject
* _argo0
= 0;
10456 char *_kwnames
[] = { "self", NULL
};
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) return NULL
;
10474 } _resultobj
= Py_BuildValue("i",_result
);
10478 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10479 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
* _resultobj
;
10484 PyObject
* _argo0
= 0;
10485 char *_kwnames
[] = { "self","col", NULL
};
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) return NULL
;
10503 } _resultobj
= Py_BuildValue("i",_result
);
10507 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10508 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
* _resultobj
;
10510 wxColour
* _result
;
10512 PyObject
* _argo0
= 0;
10513 char *_kwnames
[] = { "self", NULL
};
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) return NULL
;
10532 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10533 _resultobj
= Py_BuildValue("s",_ptemp
);
10537 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10538 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
* _resultobj
;
10540 wxColour
* _result
;
10544 PyObject
* _argo0
= 0;
10545 char *_kwnames
[] = { "self","row","col", NULL
};
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) return NULL
;
10564 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10565 _resultobj
= Py_BuildValue("s",_ptemp
);
10569 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10570 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
* _resultobj
;
10572 wxColour
* _result
;
10574 PyObject
* _argo0
= 0;
10575 char *_kwnames
[] = { "self", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) return NULL
;
10594 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10595 _resultobj
= Py_BuildValue("s",_ptemp
);
10599 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10600 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
* _resultobj
;
10602 wxColour
* _result
;
10606 PyObject
* _argo0
= 0;
10607 char *_kwnames
[] = { "self","row","col", NULL
};
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) return NULL
;
10626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10627 _resultobj
= Py_BuildValue("s",_ptemp
);
10631 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10632 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
* _resultobj
;
10636 PyObject
* _argo0
= 0;
10637 char *_kwnames
[] = { "self", NULL
};
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) return NULL
;
10656 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10657 _resultobj
= Py_BuildValue("s",_ptemp
);
10661 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10662 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10668 PyObject
* _argo0
= 0;
10669 char *_kwnames
[] = { "self","row","col", NULL
};
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) return NULL
;
10688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10689 _resultobj
= Py_BuildValue("s",_ptemp
);
10693 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10694 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
* _resultobj
;
10699 PyObject
* _argo0
= 0;
10700 PyObject
* _argo1
= 0;
10701 PyObject
* _argo2
= 0;
10702 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10722 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10723 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) return NULL
;
10734 } Py_INCREF(Py_None
);
10735 _resultobj
= Py_None
;
10739 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10740 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
* _resultobj
;
10747 PyObject
* _argo0
= 0;
10748 PyObject
* _argo3
= 0;
10749 PyObject
* _argo4
= 0;
10750 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10763 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10764 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10770 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10771 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) return NULL
;
10782 } Py_INCREF(Py_None
);
10783 _resultobj
= Py_None
;
10787 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10788 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
* _resultobj
;
10792 bool _arg2
= (bool ) FALSE
;
10793 PyObject
* _argo0
= 0;
10794 int tempbool2
= (int) FALSE
;
10795 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10807 _arg2
= (bool ) tempbool2
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) return NULL
;
10814 } Py_INCREF(Py_None
);
10815 _resultobj
= Py_None
;
10819 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10820 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
* _resultobj
;
10825 PyObject
* _argo0
= 0;
10826 char *_kwnames
[] = { "self","row","height", NULL
};
10829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) return NULL
;
10844 } Py_INCREF(Py_None
);
10845 _resultobj
= Py_None
;
10849 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10850 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
* _resultobj
;
10854 bool _arg2
= (bool ) FALSE
;
10855 PyObject
* _argo0
= 0;
10856 int tempbool2
= (int) FALSE
;
10857 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10869 _arg2
= (bool ) tempbool2
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) return NULL
;
10876 } Py_INCREF(Py_None
);
10877 _resultobj
= Py_None
;
10881 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10882 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
* _resultobj
;
10887 PyObject
* _argo0
= 0;
10888 char *_kwnames
[] = { "self","col","width", NULL
};
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) return NULL
;
10906 } Py_INCREF(Py_None
);
10907 _resultobj
= Py_None
;
10911 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10912 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
* _resultobj
;
10916 bool _arg2
= (bool ) TRUE
;
10917 PyObject
* _argo0
= 0;
10918 int tempbool2
= (int) TRUE
;
10919 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10931 _arg2
= (bool ) tempbool2
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) return NULL
;
10938 } Py_INCREF(Py_None
);
10939 _resultobj
= Py_None
;
10943 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10944 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
* _resultobj
;
10948 bool _arg2
= (bool ) TRUE
;
10949 PyObject
* _argo0
= 0;
10950 int tempbool2
= (int) TRUE
;
10951 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10963 _arg2
= (bool ) tempbool2
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) return NULL
;
10970 } Py_INCREF(Py_None
);
10971 _resultobj
= Py_None
;
10975 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10976 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
* _resultobj
;
10979 bool _arg1
= (bool ) TRUE
;
10980 PyObject
* _argo0
= 0;
10981 int tempbool1
= (int) TRUE
;
10982 char *_kwnames
[] = { "self","setAsMin", NULL
};
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10994 _arg1
= (bool ) tempbool1
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } Py_INCREF(Py_None
);
11002 _resultobj
= Py_None
;
11006 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11007 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
* _resultobj
;
11010 bool _arg1
= (bool ) TRUE
;
11011 PyObject
* _argo0
= 0;
11012 int tempbool1
= (int) TRUE
;
11013 char *_kwnames
[] = { "self","setAsMin", NULL
};
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11025 _arg1
= (bool ) tempbool1
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) return NULL
;
11032 } Py_INCREF(Py_None
);
11033 _resultobj
= Py_None
;
11037 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11038 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
* _resultobj
;
11041 PyObject
* _argo0
= 0;
11042 char *_kwnames
[] = { "self", NULL
};
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 wxGrid_AutoSize(_arg0
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) return NULL
;
11060 } Py_INCREF(Py_None
);
11061 _resultobj
= Py_None
;
11065 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11066 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
* _resultobj
;
11071 PyObject
* _argo0
= 0;
11072 char *_kwnames
[] = { "self","col","width", NULL
};
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) return NULL
;
11090 } Py_INCREF(Py_None
);
11091 _resultobj
= Py_None
;
11095 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11096 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
* _resultobj
;
11101 PyObject
* _argo0
= 0;
11102 char *_kwnames
[] = { "self","row","width", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) return NULL
;
11120 } Py_INCREF(Py_None
);
11121 _resultobj
= Py_None
;
11125 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11126 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
* _resultobj
;
11130 PyObject
* _argo0
= 0;
11132 PyObject
* _obj1
= 0;
11133 char *_kwnames
[] = { "self","arg2", NULL
};
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11147 if (! wxColour_helper(_obj1
, &_arg1
))
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) return NULL
;
11156 } Py_INCREF(Py_None
);
11157 _resultobj
= Py_None
;
11161 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11162 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
* _resultobj
;
11168 PyObject
* _argo0
= 0;
11170 PyObject
* _obj3
= 0;
11171 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11185 if (! wxColour_helper(_obj3
, &_arg3
))
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) return NULL
;
11194 } Py_INCREF(Py_None
);
11195 _resultobj
= Py_None
;
11199 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11200 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
* _resultobj
;
11204 PyObject
* _argo0
= 0;
11206 PyObject
* _obj1
= 0;
11207 char *_kwnames
[] = { "self","arg2", NULL
};
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11221 if (! wxColour_helper(_obj1
, &_arg1
))
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) return NULL
;
11230 } Py_INCREF(Py_None
);
11231 _resultobj
= Py_None
;
11235 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11236 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
* _resultobj
;
11242 PyObject
* _argo0
= 0;
11244 PyObject
* _obj3
= 0;
11245 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11259 if (! wxColour_helper(_obj3
, &_arg3
))
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) return NULL
;
11268 } Py_INCREF(Py_None
);
11269 _resultobj
= Py_None
;
11273 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11274 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
* _resultobj
;
11278 PyObject
* _argo0
= 0;
11279 PyObject
* _argo1
= 0;
11280 char *_kwnames
[] = { "self","arg2", NULL
};
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) return NULL
;
11305 } Py_INCREF(Py_None
);
11306 _resultobj
= Py_None
;
11310 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11311 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
* _resultobj
;
11317 PyObject
* _argo0
= 0;
11318 PyObject
* _argo3
= 0;
11319 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11332 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11333 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) return NULL
;
11344 } Py_INCREF(Py_None
);
11345 _resultobj
= Py_None
;
11349 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11350 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
* _resultobj
;
11355 PyObject
* _argo0
= 0;
11356 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) return NULL
;
11374 } Py_INCREF(Py_None
);
11375 _resultobj
= Py_None
;
11379 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11380 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
* _resultobj
;
11387 PyObject
* _argo0
= 0;
11388 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) return NULL
;
11406 } Py_INCREF(Py_None
);
11407 _resultobj
= Py_None
;
11411 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11412 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
* _resultobj
;
11415 wxGridCellRenderer
* _arg1
;
11416 PyObject
* _argo0
= 0;
11417 PyObject
* _argo1
= 0;
11418 char *_kwnames
[] = { "self","renderer", NULL
};
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) return NULL
;
11443 } Py_INCREF(Py_None
);
11444 _resultobj
= Py_None
;
11448 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11449 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
* _resultobj
;
11454 wxGridCellRenderer
* _arg3
;
11455 PyObject
* _argo0
= 0;
11456 PyObject
* _argo3
= 0;
11457 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11470 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11471 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) return NULL
;
11482 } Py_INCREF(Py_None
);
11483 _resultobj
= Py_None
;
11487 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11488 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
* _resultobj
;
11490 wxGridCellRenderer
* _result
;
11492 PyObject
* _argo0
= 0;
11493 char *_kwnames
[] = { "self", NULL
};
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) return NULL
;
11511 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11515 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11516 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
* _resultobj
;
11518 wxGridCellRenderer
* _result
;
11522 PyObject
* _argo0
= 0;
11523 char *_kwnames
[] = { "self","row","col", NULL
};
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) return NULL
;
11541 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
11545 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11546 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
* _resultobj
;
11549 wxGridCellEditor
* _arg1
;
11550 PyObject
* _argo0
= 0;
11551 PyObject
* _argo1
= 0;
11552 char *_kwnames
[] = { "self","editor", NULL
};
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) return NULL
;
11577 } Py_INCREF(Py_None
);
11578 _resultobj
= Py_None
;
11582 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11583 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
* _resultobj
;
11588 wxGridCellEditor
* _arg3
;
11589 PyObject
* _argo0
= 0;
11590 PyObject
* _argo3
= 0;
11591 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11604 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11605 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) return NULL
;
11616 } Py_INCREF(Py_None
);
11617 _resultobj
= Py_None
;
11621 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11622 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
* _resultobj
;
11624 wxGridCellEditor
* _result
;
11626 PyObject
* _argo0
= 0;
11627 char *_kwnames
[] = { "self", NULL
};
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) return NULL
;
11645 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
11649 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11650 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
* _resultobj
;
11652 wxGridCellEditor
* _result
;
11656 PyObject
* _argo0
= 0;
11657 char *_kwnames
[] = { "self","row","col", NULL
};
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetCellEditor. Expected _wxGrid_p.");
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) return NULL
;
11675 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
11679 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11680 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
* _resultobj
;
11682 wxString
* _result
;
11686 PyObject
* _argo0
= 0;
11687 char *_kwnames
[] = { "self","row","col", NULL
};
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) return NULL
;
11707 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11709 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11718 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11719 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
* _resultobj
;
11725 PyObject
* _argo0
= 0;
11726 PyObject
* _obj3
= 0;
11727 char *_kwnames
[] = { "self","row","col","s", NULL
};
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11740 _arg3
= wxString_in_helper(_obj3
);
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) return NULL
;
11750 } Py_INCREF(Py_None
);
11751 _resultobj
= Py_None
;
11759 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11760 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
* _resultobj
;
11766 PyObject
* _argo0
= 0;
11767 char *_kwnames
[] = { "self","row","col", NULL
};
11770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_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_IsReadOnly. Expected _wxGrid_p.");
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) return NULL
;
11785 } _resultobj
= Py_BuildValue("i",_result
);
11789 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11790 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
* _resultobj
;
11795 bool _arg3
= (bool ) TRUE
;
11796 PyObject
* _argo0
= 0;
11797 int tempbool3
= (int) TRUE
;
11798 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11810 _arg3
= (bool ) tempbool3
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) return NULL
;
11817 } Py_INCREF(Py_None
);
11818 _resultobj
= Py_None
;
11822 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11823 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
* _resultobj
;
11827 bool _arg2
= (bool ) FALSE
;
11828 PyObject
* _argo0
= 0;
11829 int tempbool2
= (int) FALSE
;
11830 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11842 _arg2
= (bool ) tempbool2
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) return NULL
;
11849 } Py_INCREF(Py_None
);
11850 _resultobj
= Py_None
;
11854 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11855 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
* _resultobj
;
11859 bool _arg2
= (bool ) FALSE
;
11860 PyObject
* _argo0
= 0;
11861 int tempbool2
= (int) FALSE
;
11862 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11874 _arg2
= (bool ) tempbool2
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) return NULL
;
11881 } Py_INCREF(Py_None
);
11882 _resultobj
= Py_None
;
11886 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11887 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
* _resultobj
;
11894 bool _arg5
= (bool ) FALSE
;
11895 PyObject
* _argo0
= 0;
11896 int tempbool5
= (int) FALSE
;
11897 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11909 _arg5
= (bool ) tempbool5
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) return NULL
;
11916 } Py_INCREF(Py_None
);
11917 _resultobj
= Py_None
;
11921 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11922 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
* _resultobj
;
11925 PyObject
* _argo0
= 0;
11926 char *_kwnames
[] = { "self", NULL
};
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 wxGrid_SelectAll(_arg0
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) return NULL
;
11944 } Py_INCREF(Py_None
);
11945 _resultobj
= Py_None
;
11949 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11950 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
* _resultobj
;
11954 PyObject
* _argo0
= 0;
11955 char *_kwnames
[] = { "self", NULL
};
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 _result
= (bool )wxGrid_IsSelection(_arg0
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) return NULL
;
11973 } _resultobj
= Py_BuildValue("i",_result
);
11977 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11978 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
* _resultobj
;
11981 PyObject
* _argo0
= 0;
11982 char *_kwnames
[] = { "self", NULL
};
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 wxGrid_ClearSelection(_arg0
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) return NULL
;
12000 } Py_INCREF(Py_None
);
12001 _resultobj
= Py_None
;
12005 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12006 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
* _resultobj
;
12012 PyObject
* _argo0
= 0;
12013 char *_kwnames
[] = { "self","row","col", NULL
};
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) return NULL
;
12031 } _resultobj
= Py_BuildValue("i",_result
);
12035 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12036 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
* _resultobj
;
12040 wxGridCellCoords
* _arg1
;
12041 wxGridCellCoords
* _arg2
;
12042 PyObject
* _argo0
= 0;
12043 wxGridCellCoords temp
;
12044 PyObject
* _obj1
= 0;
12045 wxGridCellCoords temp0
;
12046 PyObject
* _obj2
= 0;
12047 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12062 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12067 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) return NULL
;
12076 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12077 _resultobj
= Py_BuildValue("s",_ptemp
);
12081 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12082 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
* _resultobj
;
12084 wxColour
* _result
;
12086 PyObject
* _argo0
= 0;
12087 char *_kwnames
[] = { "self", NULL
};
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) return NULL
;
12106 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12107 _resultobj
= Py_BuildValue("s",_ptemp
);
12111 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12112 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
* _resultobj
;
12114 wxColour
* _result
;
12116 PyObject
* _argo0
= 0;
12117 char *_kwnames
[] = { "self", NULL
};
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) return NULL
;
12136 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12137 _resultobj
= Py_BuildValue("s",_ptemp
);
12141 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12142 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
* _resultobj
;
12146 PyObject
* _argo0
= 0;
12148 PyObject
* _obj1
= 0;
12149 char *_kwnames
[] = { "self","c", NULL
};
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12163 if (! wxColour_helper(_obj1
, &_arg1
))
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) return NULL
;
12172 } Py_INCREF(Py_None
);
12173 _resultobj
= Py_None
;
12177 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12178 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
* _resultobj
;
12182 PyObject
* _argo0
= 0;
12184 PyObject
* _obj1
= 0;
12185 char *_kwnames
[] = { "self","c", NULL
};
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12199 if (! wxColour_helper(_obj1
, &_arg1
))
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) return NULL
;
12208 } Py_INCREF(Py_None
);
12209 _resultobj
= Py_None
;
12213 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12214 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
* _resultobj
;
12218 wxGridCellRenderer
* _arg2
;
12219 wxGridCellEditor
* _arg3
;
12220 PyObject
* _argo0
= 0;
12221 PyObject
* _obj1
= 0;
12222 PyObject
* _argo2
= 0;
12223 PyObject
* _argo3
= 0;
12224 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12237 _arg1
= wxString_in_helper(_obj1
);
12242 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12243 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12249 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12250 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) return NULL
;
12261 } Py_INCREF(Py_None
);
12262 _resultobj
= Py_None
;
12270 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12271 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
* _resultobj
;
12273 wxGridCellEditor
* _result
;
12277 PyObject
* _argo0
= 0;
12278 char *_kwnames
[] = { "self","row","col", NULL
};
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) return NULL
;
12296 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12300 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12301 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
* _resultobj
;
12303 wxGridCellRenderer
* _result
;
12307 PyObject
* _argo0
= 0;
12308 char *_kwnames
[] = { "self","row","col", NULL
};
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) return NULL
;
12326 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12330 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12331 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
* _resultobj
;
12333 wxGridCellEditor
* _result
;
12336 PyObject
* _argo0
= 0;
12337 PyObject
* _obj1
= 0;
12338 char *_kwnames
[] = { "self","typeName", NULL
};
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12351 _arg1
= wxString_in_helper(_obj1
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) return NULL
;
12361 }{ _resultobj
= wxPyMake_wxGridCellEditor(_result
); }
12369 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12370 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
* _resultobj
;
12372 wxGridCellRenderer
* _result
;
12375 PyObject
* _argo0
= 0;
12376 PyObject
* _obj1
= 0;
12377 char *_kwnames
[] = { "self","typeName", NULL
};
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12390 _arg1
= wxString_in_helper(_obj1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) return NULL
;
12400 }{ _resultobj
= wxPyMake_wxGridCellRenderer(_result
); }
12408 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12409 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
* _resultobj
;
12414 PyObject
* _argo0
= 0;
12415 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) return NULL
;
12433 } Py_INCREF(Py_None
);
12434 _resultobj
= Py_None
;
12438 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12439 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
* _resultobj
;
12441 wxWindow
* _result
;
12443 PyObject
* _argo0
= 0;
12444 char *_kwnames
[] = { "self", NULL
};
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) return NULL
;
12462 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12466 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12467 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
* _resultobj
;
12469 wxWindow
* _result
;
12471 PyObject
* _argo0
= 0;
12472 char *_kwnames
[] = { "self", NULL
};
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) return NULL
;
12490 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12494 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12495 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
* _resultobj
;
12497 wxWindow
* _result
;
12499 PyObject
* _argo0
= 0;
12500 char *_kwnames
[] = { "self", NULL
};
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) return NULL
;
12518 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12522 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12523 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
* _resultobj
;
12525 wxWindow
* _result
;
12527 PyObject
* _argo0
= 0;
12528 char *_kwnames
[] = { "self", NULL
};
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) return NULL
;
12546 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12550 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12552 wxNotifyEvent
*dest
;
12553 src
= (wxGridEvent
*) ptr
;
12554 dest
= (wxNotifyEvent
*) src
;
12555 return (void *) dest
;
12558 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12560 wxCommandEvent
*dest
;
12561 src
= (wxGridEvent
*) ptr
;
12562 dest
= (wxCommandEvent
*) src
;
12563 return (void *) dest
;
12566 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12569 src
= (wxGridEvent
*) ptr
;
12570 dest
= (wxEvent
*) src
;
12571 return (void *) dest
;
12574 static void *SwigwxGridEventTowxObject(void *ptr
) {
12577 src
= (wxGridEvent
*) ptr
;
12578 dest
= (wxObject
*) src
;
12579 return (void *) dest
;
12582 #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))
12583 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
* _resultobj
;
12585 wxGridEvent
* _result
;
12589 int _arg3
= (int ) -1;
12590 int _arg4
= (int ) -1;
12591 int _arg5
= (int ) -1;
12592 int _arg6
= (int ) -1;
12593 bool _arg7
= (bool ) TRUE
;
12594 bool _arg8
= (bool ) FALSE
;
12595 bool _arg9
= (bool ) FALSE
;
12596 bool _arg10
= (bool ) FALSE
;
12597 bool _arg11
= (bool ) FALSE
;
12598 PyObject
* _argo2
= 0;
12599 int tempbool7
= (int) TRUE
;
12600 int tempbool8
= (int) FALSE
;
12601 int tempbool9
= (int) FALSE
;
12602 int tempbool10
= (int) FALSE
;
12603 int tempbool11
= (int) FALSE
;
12604 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12611 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12612 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12617 _arg7
= (bool ) tempbool7
;
12618 _arg8
= (bool ) tempbool8
;
12619 _arg9
= (bool ) tempbool9
;
12620 _arg10
= (bool ) tempbool10
;
12621 _arg11
= (bool ) tempbool11
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) return NULL
;
12629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12630 _resultobj
= Py_BuildValue("s",_ptemp
);
12632 Py_INCREF(Py_None
);
12633 _resultobj
= Py_None
;
12638 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12639 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
* _resultobj
;
12642 wxGridEvent
* _arg0
;
12643 PyObject
* _argo0
= 0;
12644 char *_kwnames
[] = { "self", NULL
};
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 _result
= (int )wxGridEvent_GetRow(_arg0
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) return NULL
;
12662 } _resultobj
= Py_BuildValue("i",_result
);
12666 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12667 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
* _resultobj
;
12670 wxGridEvent
* _arg0
;
12671 PyObject
* _argo0
= 0;
12672 char *_kwnames
[] = { "self", NULL
};
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 _result
= (int )wxGridEvent_GetCol(_arg0
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) return NULL
;
12690 } _resultobj
= Py_BuildValue("i",_result
);
12694 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12695 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
* _resultobj
;
12698 wxGridEvent
* _arg0
;
12699 PyObject
* _argo0
= 0;
12700 char *_kwnames
[] = { "self", NULL
};
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) return NULL
;
12719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12720 _resultobj
= Py_BuildValue("s",_ptemp
);
12724 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12725 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
* _resultobj
;
12728 wxGridEvent
* _arg0
;
12729 PyObject
* _argo0
= 0;
12730 char *_kwnames
[] = { "self", NULL
};
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) return NULL
;
12748 } _resultobj
= Py_BuildValue("i",_result
);
12752 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12753 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
* _resultobj
;
12756 wxGridEvent
* _arg0
;
12757 PyObject
* _argo0
= 0;
12758 char *_kwnames
[] = { "self", NULL
};
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) return NULL
;
12776 } _resultobj
= Py_BuildValue("i",_result
);
12780 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12781 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
* _resultobj
;
12784 wxGridEvent
* _arg0
;
12785 PyObject
* _argo0
= 0;
12786 char *_kwnames
[] = { "self", NULL
};
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) return NULL
;
12804 } _resultobj
= Py_BuildValue("i",_result
);
12808 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12809 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
* _resultobj
;
12812 wxGridEvent
* _arg0
;
12813 PyObject
* _argo0
= 0;
12814 char *_kwnames
[] = { "self", NULL
};
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) return NULL
;
12832 } _resultobj
= Py_BuildValue("i",_result
);
12836 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12837 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
* _resultobj
;
12840 wxGridEvent
* _arg0
;
12841 PyObject
* _argo0
= 0;
12842 char *_kwnames
[] = { "self", NULL
};
12845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) return NULL
;
12860 } _resultobj
= Py_BuildValue("i",_result
);
12864 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12865 wxGridSizeEvent
*src
;
12866 wxNotifyEvent
*dest
;
12867 src
= (wxGridSizeEvent
*) ptr
;
12868 dest
= (wxNotifyEvent
*) src
;
12869 return (void *) dest
;
12872 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12873 wxGridSizeEvent
*src
;
12874 wxCommandEvent
*dest
;
12875 src
= (wxGridSizeEvent
*) ptr
;
12876 dest
= (wxCommandEvent
*) src
;
12877 return (void *) dest
;
12880 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12881 wxGridSizeEvent
*src
;
12883 src
= (wxGridSizeEvent
*) ptr
;
12884 dest
= (wxEvent
*) src
;
12885 return (void *) dest
;
12888 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12889 wxGridSizeEvent
*src
;
12891 src
= (wxGridSizeEvent
*) ptr
;
12892 dest
= (wxObject
*) src
;
12893 return (void *) dest
;
12896 #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))
12897 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
* _resultobj
;
12899 wxGridSizeEvent
* _result
;
12903 int _arg3
= (int ) -1;
12904 int _arg4
= (int ) -1;
12905 int _arg5
= (int ) -1;
12906 bool _arg6
= (bool ) FALSE
;
12907 bool _arg7
= (bool ) FALSE
;
12908 bool _arg8
= (bool ) FALSE
;
12909 bool _arg9
= (bool ) FALSE
;
12910 PyObject
* _argo2
= 0;
12911 int tempbool6
= (int) FALSE
;
12912 int tempbool7
= (int) FALSE
;
12913 int tempbool8
= (int) FALSE
;
12914 int tempbool9
= (int) FALSE
;
12915 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12922 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12923 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12928 _arg6
= (bool ) tempbool6
;
12929 _arg7
= (bool ) tempbool7
;
12930 _arg8
= (bool ) tempbool8
;
12931 _arg9
= (bool ) tempbool9
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) return NULL
;
12939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12940 _resultobj
= Py_BuildValue("s",_ptemp
);
12942 Py_INCREF(Py_None
);
12943 _resultobj
= Py_None
;
12948 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12949 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
* _resultobj
;
12952 wxGridSizeEvent
* _arg0
;
12953 PyObject
* _argo0
= 0;
12954 char *_kwnames
[] = { "self", NULL
};
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) return NULL
;
12972 } _resultobj
= Py_BuildValue("i",_result
);
12976 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12977 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
* _resultobj
;
12980 wxGridSizeEvent
* _arg0
;
12981 PyObject
* _argo0
= 0;
12982 char *_kwnames
[] = { "self", NULL
};
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) return NULL
;
13001 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13002 _resultobj
= Py_BuildValue("s",_ptemp
);
13006 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13007 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
* _resultobj
;
13010 wxGridSizeEvent
* _arg0
;
13011 PyObject
* _argo0
= 0;
13012 char *_kwnames
[] = { "self", NULL
};
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) return NULL
;
13030 } _resultobj
= Py_BuildValue("i",_result
);
13034 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13035 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
* _resultobj
;
13038 wxGridSizeEvent
* _arg0
;
13039 PyObject
* _argo0
= 0;
13040 char *_kwnames
[] = { "self", NULL
};
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) return NULL
;
13058 } _resultobj
= Py_BuildValue("i",_result
);
13062 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13063 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
* _resultobj
;
13066 wxGridSizeEvent
* _arg0
;
13067 PyObject
* _argo0
= 0;
13068 char *_kwnames
[] = { "self", NULL
};
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) return NULL
;
13086 } _resultobj
= Py_BuildValue("i",_result
);
13090 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13091 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
* _resultobj
;
13094 wxGridSizeEvent
* _arg0
;
13095 PyObject
* _argo0
= 0;
13096 char *_kwnames
[] = { "self", NULL
};
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) return NULL
;
13114 } _resultobj
= Py_BuildValue("i",_result
);
13118 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13119 wxGridRangeSelectEvent
*src
;
13120 wxNotifyEvent
*dest
;
13121 src
= (wxGridRangeSelectEvent
*) ptr
;
13122 dest
= (wxNotifyEvent
*) src
;
13123 return (void *) dest
;
13126 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13127 wxGridRangeSelectEvent
*src
;
13128 wxCommandEvent
*dest
;
13129 src
= (wxGridRangeSelectEvent
*) ptr
;
13130 dest
= (wxCommandEvent
*) src
;
13131 return (void *) dest
;
13134 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13135 wxGridRangeSelectEvent
*src
;
13137 src
= (wxGridRangeSelectEvent
*) ptr
;
13138 dest
= (wxEvent
*) src
;
13139 return (void *) dest
;
13142 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13143 wxGridRangeSelectEvent
*src
;
13145 src
= (wxGridRangeSelectEvent
*) ptr
;
13146 dest
= (wxObject
*) src
;
13147 return (void *) dest
;
13150 #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))
13151 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
* _resultobj
;
13153 wxGridRangeSelectEvent
* _result
;
13157 wxGridCellCoords
* _arg3
;
13158 wxGridCellCoords
* _arg4
;
13159 bool _arg5
= (bool ) TRUE
;
13160 bool _arg6
= (bool ) FALSE
;
13161 bool _arg7
= (bool ) FALSE
;
13162 bool _arg8
= (bool ) FALSE
;
13163 bool _arg9
= (bool ) FALSE
;
13164 PyObject
* _argo2
= 0;
13165 wxGridCellCoords temp
;
13166 PyObject
* _obj3
= 0;
13167 wxGridCellCoords temp0
;
13168 PyObject
* _obj4
= 0;
13169 int tempbool5
= (int) TRUE
;
13170 int tempbool6
= (int) FALSE
;
13171 int tempbool7
= (int) FALSE
;
13172 int tempbool8
= (int) FALSE
;
13173 int tempbool9
= (int) FALSE
;
13174 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13181 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13182 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13189 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13194 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13197 _arg5
= (bool ) tempbool5
;
13198 _arg6
= (bool ) tempbool6
;
13199 _arg7
= (bool ) tempbool7
;
13200 _arg8
= (bool ) tempbool8
;
13201 _arg9
= (bool ) tempbool9
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) return NULL
;
13209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13210 _resultobj
= Py_BuildValue("s",_ptemp
);
13212 Py_INCREF(Py_None
);
13213 _resultobj
= Py_None
;
13218 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13219 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
* _resultobj
;
13221 wxGridCellCoords
* _result
;
13222 wxGridRangeSelectEvent
* _arg0
;
13223 PyObject
* _argo0
= 0;
13224 char *_kwnames
[] = { "self", NULL
};
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) return NULL
;
13243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13244 _resultobj
= Py_BuildValue("s",_ptemp
);
13248 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13249 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
* _resultobj
;
13251 wxGridCellCoords
* _result
;
13252 wxGridRangeSelectEvent
* _arg0
;
13253 PyObject
* _argo0
= 0;
13254 char *_kwnames
[] = { "self", NULL
};
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) return NULL
;
13273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13274 _resultobj
= Py_BuildValue("s",_ptemp
);
13278 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13279 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
* _resultobj
;
13282 wxGridRangeSelectEvent
* _arg0
;
13283 PyObject
* _argo0
= 0;
13284 char *_kwnames
[] = { "self", NULL
};
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) return NULL
;
13302 } _resultobj
= Py_BuildValue("i",_result
);
13306 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13307 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
* _resultobj
;
13310 wxGridRangeSelectEvent
* _arg0
;
13311 PyObject
* _argo0
= 0;
13312 char *_kwnames
[] = { "self", NULL
};
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) return NULL
;
13330 } _resultobj
= Py_BuildValue("i",_result
);
13334 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13335 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
* _resultobj
;
13338 wxGridRangeSelectEvent
* _arg0
;
13339 PyObject
* _argo0
= 0;
13340 char *_kwnames
[] = { "self", NULL
};
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) return NULL
;
13358 } _resultobj
= Py_BuildValue("i",_result
);
13362 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13363 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
* _resultobj
;
13366 wxGridRangeSelectEvent
* _arg0
;
13367 PyObject
* _argo0
= 0;
13368 char *_kwnames
[] = { "self", NULL
};
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) return NULL
;
13386 } _resultobj
= Py_BuildValue("i",_result
);
13390 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13391 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
* _resultobj
;
13394 wxGridRangeSelectEvent
* _arg0
;
13395 PyObject
* _argo0
= 0;
13396 char *_kwnames
[] = { "self", NULL
};
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) return NULL
;
13414 } _resultobj
= Py_BuildValue("i",_result
);
13418 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13419 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
* _resultobj
;
13422 wxGridRangeSelectEvent
* _arg0
;
13423 PyObject
* _argo0
= 0;
13424 char *_kwnames
[] = { "self", NULL
};
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) return NULL
;
13442 } _resultobj
= Py_BuildValue("i",_result
);
13446 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13447 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
* _resultobj
;
13450 wxGridRangeSelectEvent
* _arg0
;
13451 PyObject
* _argo0
= 0;
13452 char *_kwnames
[] = { "self", NULL
};
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) return NULL
;
13470 } _resultobj
= Py_BuildValue("i",_result
);
13474 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13475 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
* _resultobj
;
13478 wxGridRangeSelectEvent
* _arg0
;
13479 PyObject
* _argo0
= 0;
13480 char *_kwnames
[] = { "self", NULL
};
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) return NULL
;
13498 } _resultobj
= Py_BuildValue("i",_result
);
13502 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13503 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
* _resultobj
;
13506 wxGridRangeSelectEvent
* _arg0
;
13507 PyObject
* _argo0
= 0;
13508 char *_kwnames
[] = { "self", NULL
};
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) return NULL
;
13526 } _resultobj
= Py_BuildValue("i",_result
);
13530 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13531 wxGridEditorCreatedEvent
*src
;
13532 wxCommandEvent
*dest
;
13533 src
= (wxGridEditorCreatedEvent
*) ptr
;
13534 dest
= (wxCommandEvent
*) src
;
13535 return (void *) dest
;
13538 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13539 wxGridEditorCreatedEvent
*src
;
13541 src
= (wxGridEditorCreatedEvent
*) ptr
;
13542 dest
= (wxEvent
*) src
;
13543 return (void *) dest
;
13546 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13547 wxGridEditorCreatedEvent
*src
;
13549 src
= (wxGridEditorCreatedEvent
*) ptr
;
13550 dest
= (wxObject
*) src
;
13551 return (void *) dest
;
13554 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13555 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
* _resultobj
;
13557 wxGridEditorCreatedEvent
* _result
;
13564 PyObject
* _argo2
= 0;
13565 PyObject
* _argo5
= 0;
13566 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13573 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13574 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13580 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13581 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) return NULL
;
13593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13594 _resultobj
= Py_BuildValue("s",_ptemp
);
13596 Py_INCREF(Py_None
);
13597 _resultobj
= Py_None
;
13602 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13603 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
* _resultobj
;
13606 wxGridEditorCreatedEvent
* _arg0
;
13607 PyObject
* _argo0
= 0;
13608 char *_kwnames
[] = { "self", NULL
};
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) return NULL
;
13626 } _resultobj
= Py_BuildValue("i",_result
);
13630 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13631 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
* _resultobj
;
13634 wxGridEditorCreatedEvent
* _arg0
;
13635 PyObject
* _argo0
= 0;
13636 char *_kwnames
[] = { "self", NULL
};
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) return NULL
;
13654 } _resultobj
= Py_BuildValue("i",_result
);
13658 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13659 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
* _resultobj
;
13661 wxControl
* _result
;
13662 wxGridEditorCreatedEvent
* _arg0
;
13663 PyObject
* _argo0
= 0;
13664 char *_kwnames
[] = { "self", NULL
};
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) return NULL
;
13682 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13686 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13687 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
* _resultobj
;
13689 wxGridEditorCreatedEvent
* _arg0
;
13691 PyObject
* _argo0
= 0;
13692 char *_kwnames
[] = { "self","row", NULL
};
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) return NULL
;
13710 } Py_INCREF(Py_None
);
13711 _resultobj
= Py_None
;
13715 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13716 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
* _resultobj
;
13718 wxGridEditorCreatedEvent
* _arg0
;
13720 PyObject
* _argo0
= 0;
13721 char *_kwnames
[] = { "self","col", NULL
};
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) return NULL
;
13739 } Py_INCREF(Py_None
);
13740 _resultobj
= Py_None
;
13744 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13745 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
* _resultobj
;
13747 wxGridEditorCreatedEvent
* _arg0
;
13749 PyObject
* _argo0
= 0;
13750 PyObject
* _argo1
= 0;
13751 char *_kwnames
[] = { "self","ctrl", NULL
};
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) return NULL
;
13776 } Py_INCREF(Py_None
);
13777 _resultobj
= Py_None
;
13781 static PyMethodDef gridcMethods
[] = {
13782 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGridTableBase__setOORInfo", (PyCFunction
) _wrap_wxGridTableBase__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGridCellAttrProvider__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttrProvider__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14071 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14072 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14073 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14074 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14075 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14076 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14077 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14078 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14079 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14080 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14081 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14082 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14083 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14084 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14085 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14086 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14087 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14088 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14089 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14090 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14091 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14092 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14093 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14094 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14095 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14096 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14097 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14098 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14099 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14100 { "wxGridCellAttr__setOORInfo", (PyCFunction
) _wrap_wxGridCellAttr__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14101 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14102 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14103 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14104 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14105 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14106 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14107 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14108 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14109 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14110 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14111 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14112 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14113 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14114 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14115 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14116 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14117 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14118 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14119 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14120 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14121 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14122 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14123 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14124 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14125 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14126 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14127 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14128 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14129 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14130 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14131 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14132 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14133 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14134 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14135 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14136 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14137 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14138 { "wxGridCellEditor__setOORInfo", (PyCFunction
) _wrap_wxGridCellEditor__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14139 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14140 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14141 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14142 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14143 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14144 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14145 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14146 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14147 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14148 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14149 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14150 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14151 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14152 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14153 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14154 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14155 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14156 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14157 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14158 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14159 { "wxGridCellRenderer__setOORInfo", (PyCFunction
) _wrap_wxGridCellRenderer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
14166 * This table is used by the pointer type-checker
14168 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14169 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14170 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14171 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14172 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14173 { "_signed_long","_long",0},
14174 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14175 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14176 { "_wxPrintQuality","_wxCoord",0},
14177 { "_wxPrintQuality","_int",0},
14178 { "_wxPrintQuality","_signed_int",0},
14179 { "_wxPrintQuality","_unsigned_int",0},
14180 { "_wxPrintQuality","_wxWindowID",0},
14181 { "_wxPrintQuality","_uint",0},
14182 { "_wxPrintQuality","_EBool",0},
14183 { "_wxPrintQuality","_size_t",0},
14184 { "_wxPrintQuality","_time_t",0},
14185 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14186 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14187 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14188 { "_byte","_unsigned_char",0},
14189 { "_long","_unsigned_long",0},
14190 { "_long","_signed_long",0},
14191 { "_size_t","_WXGRIDSELECTIONMODES",0},
14192 { "_size_t","_wxCoord",0},
14193 { "_size_t","_wxPrintQuality",0},
14194 { "_size_t","_time_t",0},
14195 { "_size_t","_unsigned_int",0},
14196 { "_size_t","_int",0},
14197 { "_size_t","_wxWindowID",0},
14198 { "_size_t","_uint",0},
14199 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14200 { "_uint","_WXGRIDSELECTIONMODES",0},
14201 { "_uint","_wxCoord",0},
14202 { "_uint","_wxPrintQuality",0},
14203 { "_uint","_time_t",0},
14204 { "_uint","_size_t",0},
14205 { "_uint","_unsigned_int",0},
14206 { "_uint","_int",0},
14207 { "_uint","_wxWindowID",0},
14208 { "_wxChar","_char",0},
14209 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14210 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14211 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14212 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14213 { "_char","_wxChar",0},
14214 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14215 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14216 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14217 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14218 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14219 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14220 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14221 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14222 { "_EBool","_WXGRIDSELECTIONMODES",0},
14223 { "_EBool","_wxCoord",0},
14224 { "_EBool","_wxPrintQuality",0},
14225 { "_EBool","_signed_int",0},
14226 { "_EBool","_int",0},
14227 { "_EBool","_wxWindowID",0},
14228 { "_unsigned_long","_long",0},
14229 { "_WXGRIDSELECTIONMODES","_int",0},
14230 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14231 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14232 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14233 { "_WXGRIDSELECTIONMODES","_uint",0},
14234 { "_WXGRIDSELECTIONMODES","_EBool",0},
14235 { "_WXGRIDSELECTIONMODES","_size_t",0},
14236 { "_WXGRIDSELECTIONMODES","_time_t",0},
14237 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14238 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14239 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14240 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14241 { "_signed_int","_wxCoord",0},
14242 { "_signed_int","_wxPrintQuality",0},
14243 { "_signed_int","_EBool",0},
14244 { "_signed_int","_wxWindowID",0},
14245 { "_signed_int","_int",0},
14246 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14247 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14248 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14249 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14250 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14251 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14252 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14253 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14254 { "_WXTYPE","_short",0},
14255 { "_WXTYPE","_signed_short",0},
14256 { "_WXTYPE","_unsigned_short",0},
14257 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14258 { "_unsigned_short","_WXTYPE",0},
14259 { "_unsigned_short","_short",0},
14260 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14261 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14262 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14263 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14264 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14265 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14266 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14267 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14268 { "_signed_short","_WXTYPE",0},
14269 { "_signed_short","_short",0},
14270 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14271 { "_unsigned_char","_byte",0},
14272 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14273 { "_unsigned_int","_wxCoord",0},
14274 { "_unsigned_int","_wxPrintQuality",0},
14275 { "_unsigned_int","_time_t",0},
14276 { "_unsigned_int","_size_t",0},
14277 { "_unsigned_int","_uint",0},
14278 { "_unsigned_int","_wxWindowID",0},
14279 { "_unsigned_int","_int",0},
14280 { "_short","_WXTYPE",0},
14281 { "_short","_unsigned_short",0},
14282 { "_short","_signed_short",0},
14283 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14284 { "_wxWindowID","_wxCoord",0},
14285 { "_wxWindowID","_wxPrintQuality",0},
14286 { "_wxWindowID","_time_t",0},
14287 { "_wxWindowID","_size_t",0},
14288 { "_wxWindowID","_EBool",0},
14289 { "_wxWindowID","_uint",0},
14290 { "_wxWindowID","_int",0},
14291 { "_wxWindowID","_signed_int",0},
14292 { "_wxWindowID","_unsigned_int",0},
14293 { "_int","_WXGRIDSELECTIONMODES",0},
14294 { "_int","_wxCoord",0},
14295 { "_int","_wxPrintQuality",0},
14296 { "_int","_time_t",0},
14297 { "_int","_size_t",0},
14298 { "_int","_EBool",0},
14299 { "_int","_uint",0},
14300 { "_int","_wxWindowID",0},
14301 { "_int","_unsigned_int",0},
14302 { "_int","_signed_int",0},
14303 { "_time_t","_WXGRIDSELECTIONMODES",0},
14304 { "_time_t","_wxCoord",0},
14305 { "_time_t","_wxPrintQuality",0},
14306 { "_time_t","_unsigned_int",0},
14307 { "_time_t","_int",0},
14308 { "_time_t","_wxWindowID",0},
14309 { "_time_t","_uint",0},
14310 { "_time_t","_size_t",0},
14311 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14312 { "_wxCoord","_int",0},
14313 { "_wxCoord","_signed_int",0},
14314 { "_wxCoord","_unsigned_int",0},
14315 { "_wxCoord","_wxWindowID",0},
14316 { "_wxCoord","_uint",0},
14317 { "_wxCoord","_EBool",0},
14318 { "_wxCoord","_size_t",0},
14319 { "_wxCoord","_time_t",0},
14320 { "_wxCoord","_wxPrintQuality",0},
14321 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14322 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14323 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14324 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14325 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14326 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14327 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14328 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14329 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14330 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14331 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14332 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14333 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14336 static PyObject
*SWIG_globals
;
14340 SWIGEXPORT(void) initgridc() {
14342 SWIG_globals
= SWIG_newvarlink();
14343 m
= Py_InitModule("gridc", gridcMethods
);
14344 d
= PyModule_GetDict(m
);
14345 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14346 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14347 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14348 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14349 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14350 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14351 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14352 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICEINT", PyString_FromString("choiceint"));
14353 PyDict_SetItemString(d
,"wxGRID_VALUE_DATETIME", PyString_FromString("datetime"));
14354 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14355 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14356 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14357 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14358 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14359 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14360 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14361 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14362 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14363 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14364 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14365 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14366 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14367 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14368 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14369 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14370 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14371 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14372 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14373 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14374 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14375 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14376 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14377 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14378 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14379 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14380 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14382 wxClassInfo::CleanUpClasses();
14383 wxClassInfo::InitializeClasses();
14384 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14385 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14386 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14387 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14388 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14389 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14390 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14391 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14392 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14395 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14396 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);