2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "String type required";
95 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
96 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
97 wxGridCellAttr* rval = NULL; \
99 wxPyBeginBlockThreads(); \
100 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
102 wxGridCellAttr* ptr; \
103 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
105 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
110 wxPyEndBlockThreads(); \
112 rval = PCLASS::CBNAME(a, b, c); \
115 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
116 return PCLASS::CBNAME(a, b, c); \
121 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
122 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
123 wxPyBeginBlockThreads(); \
125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
126 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
127 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
130 wxPyEndBlockThreads(); \
132 PCLASS::CBNAME(attr, a, b); \
134 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 PCLASS::CBNAME(attr, a, b); \
140 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
141 void CBNAME(wxGridCellAttr *attr, int val) { \
142 wxPyBeginBlockThreads(); \
144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
145 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
149 wxPyEndBlockThreads(); \
151 PCLASS::CBNAME(attr, val); \
153 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
154 PCLASS::CBNAME(attr, val); \
159 #define PYCALLBACK_INT__pure(CBNAME) \
161 wxPyBeginBlockThreads(); \
163 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
165 wxPyEndBlockThreads(); \
171 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
172 bool CBNAME(int a, int b) { \
173 wxPyBeginBlockThreads(); \
175 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
176 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
177 wxPyEndBlockThreads(); \
183 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
184 wxString CBNAME(int a, int b) { \
185 wxPyBeginBlockThreads(); \
187 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
189 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
191 PyObject* str = PyObject_Str(ro); \
192 rval = PyString_AsString(str); \
193 Py_DECREF(ro); Py_DECREF(str); \
196 wxPyEndBlockThreads(); \
202 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
203 void CBNAME(int a, int b, const wxString& c) { \
204 wxPyBeginBlockThreads(); \
205 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
206 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
207 wxPyEndBlockThreads(); \
211 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
212 wxString CBNAME(int a, int b) { \
214 wxPyBeginBlockThreads(); \
216 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
220 PyObject* str = PyObject_Str(ro); \
221 rval = PyString_AsString(str); \
222 Py_DECREF(ro); Py_DECREF(str); \
225 wxPyEndBlockThreads(); \
227 rval = PCLASS::CBNAME(a, b); \
230 wxString base_##CBNAME(int a, int b) { \
231 return PCLASS::CBNAME(a, b); \
236 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
237 bool CBNAME(int a, int b, const wxString& c) { \
240 wxPyBeginBlockThreads(); \
241 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
242 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
243 wxPyEndBlockThreads(); \
245 rval = PCLASS::CBNAME(a,b,c); \
248 bool base_##CBNAME(int a, int b, const wxString& c) { \
249 return PCLASS::CBNAME(a,b,c); \
255 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
256 long CBNAME(int a, int b) { \
259 wxPyBeginBlockThreads(); \
260 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
261 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
262 wxPyEndBlockThreads(); \
264 rval = PCLASS::CBNAME(a,b); \
267 long base_##CBNAME(int a, int b) { \
268 return PCLASS::CBNAME(a,b); \
273 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
274 bool CBNAME(int a, int b) { \
277 wxPyBeginBlockThreads(); \
278 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
279 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
280 wxPyEndBlockThreads(); \
282 rval = PCLASS::CBNAME(a,b); \
285 bool base_##CBNAME(int a, int b) { \
286 return PCLASS::CBNAME(a,b); \
291 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
292 double CBNAME(int a, int b) { \
294 wxPyBeginBlockThreads(); \
296 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
300 PyObject* str = PyObject_Str(ro); \
301 rval = PyFloat_AsDouble(str); \
302 Py_DECREF(ro); Py_DECREF(str); \
305 wxPyEndBlockThreads(); \
307 rval = PCLASS::CBNAME(a, b); \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
316 #define PYCALLBACK__(PCLASS, CBNAME) \
319 wxPyBeginBlockThreads(); \
320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
322 wxPyEndBlockThreads(); \
326 void base_##CBNAME() { \
333 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
337 wxPyBeginBlockThreads(); \
338 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
340 wxPyEndBlockThreads(); \
342 rval = PCLASS::CBNAME(a,b); \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
351 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
355 wxPyBeginBlockThreads(); \
356 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
357 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
358 wxPyEndBlockThreads(); \
360 rval = PCLASS::CBNAME(a); \
363 bool base_##CBNAME(size_t a) { \
364 return PCLASS::CBNAME(a); \
369 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
370 wxString CBNAME(int a) { \
372 wxPyBeginBlockThreads(); \
374 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
383 wxPyEndBlockThreads(); \
385 rval = PCLASS::CBNAME(a); \
388 wxString base_##CBNAME(int a) { \
389 return PCLASS::CBNAME(a); \
394 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
395 void CBNAME(int a, const wxString& c) { \
397 wxPyBeginBlockThreads(); \
398 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
399 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
400 wxPyEndBlockThreads(); \
402 PCLASS::CBNAME(a,c); \
404 void base_##CBNAME(int a, const wxString& c) { \
405 PCLASS::CBNAME(a,c); \
411 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
415 wxPyBeginBlockThreads(); \
416 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
417 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
418 wxPyEndBlockThreads(); \
420 rval = PCLASS::CBNAME(); \
423 bool base_##CBNAME() { \
424 return PCLASS::CBNAME(); \
429 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
430 void CBNAME(size_t a, int b) { \
432 wxPyBeginBlockThreads(); \
433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
435 wxPyEndBlockThreads(); \
437 PCLASS::CBNAME(a,b); \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
449 wxPyBeginBlockThreads(); \
450 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
451 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
452 wxPyEndBlockThreads(); \
454 PCLASS::CBNAME(a,b,c); \
456 void base_##CBNAME(int a, int b, long c) { \
457 PCLASS::CBNAME(a,b,c); \
463 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
464 void CBNAME(int a, int b, double c) { \
466 wxPyBeginBlockThreads(); \
467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
468 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
469 wxPyEndBlockThreads(); \
471 PCLASS::CBNAME(a,b,c); \
473 void base_##CBNAME(int a, int b, double c) { \
474 PCLASS::CBNAME(a,b,c); \
479 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, bool c) { \
482 wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(); \
487 PCLASS::CBNAME(a,b,c); \
489 void base_##CBNAME(int a, int b, bool c) { \
490 PCLASS::CBNAME(a,b,c); \
497 class wxPyGridCellRenderer
: public wxGridCellRenderer
500 wxPyGridCellRenderer() : wxGridCellRenderer() {};
502 // Implement Python callback aware virtual methods
503 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
504 wxDC
& dc
, const wxRect
& rect
,
505 int row
, int col
, bool isSelected
) {
506 wxPyBeginBlockThreads();
507 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
508 wxPyCBH_callCallback(m_myInst
,
509 Py_BuildValue("(OOOOiii)",
510 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
511 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
512 wxPyConstructObject((void*)&dc
, "wxDC", 0),
513 wxPyConstructObject((void*)&rect
, "wxRect", 0),
514 row
, col
, isSelected
));
516 wxPyEndBlockThreads();
519 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
522 wxPyBeginBlockThreads();
523 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
526 ro
= wxPyCBH_callCallbackObj(m_myInst
,
527 Py_BuildValue("(OOOii)",
528 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
529 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
530 wxPyConstructObject((void*)&dc
, "wxDC", 0),
533 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
538 wxPyEndBlockThreads();
543 wxGridCellRenderer
*Clone() const {
544 wxGridCellRenderer
* rval
= NULL
;
545 wxPyBeginBlockThreads();
546 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
548 wxGridCellRenderer
* ptr
;
549 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
551 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
556 wxPyEndBlockThreads();
560 DEC_PYCALLBACK__STRING(SetParameters
);
565 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
568 class wxPyGridCellEditor
: public wxGridCellEditor
571 wxPyGridCellEditor() : wxGridCellEditor() {}
573 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
574 wxPyBeginBlockThreads();
575 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
576 wxPyCBH_callCallback(m_myInst
,
577 Py_BuildValue("(OiO)",
578 wxPyConstructObject((void*)parent
, "wxWindow", 0),
580 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
582 wxPyEndBlockThreads();
586 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
587 wxPyBeginBlockThreads();
588 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
589 wxPyCBH_callCallback(m_myInst
,
590 Py_BuildValue("(iiO)", row
, col
,
591 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
593 wxPyEndBlockThreads();
597 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
599 wxPyBeginBlockThreads();
600 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
601 rv
= wxPyCBH_callCallback(m_myInst
,
602 Py_BuildValue("(iiO)", row
, col
,
603 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
605 wxPyEndBlockThreads();
610 wxGridCellEditor
*Clone() const {
611 wxGridCellEditor
* rval
= NULL
;
612 wxPyBeginBlockThreads();
613 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
615 wxGridCellEditor
* ptr
;
616 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
618 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
623 wxPyEndBlockThreads();
628 void Show(bool show
, wxGridCellAttr
*attr
) {
630 wxPyBeginBlockThreads();
631 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
632 wxPyCBH_callCallback(m_myInst
,
633 Py_BuildValue("(iO)", show
,
634 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
635 wxPyEndBlockThreads();
637 wxGridCellEditor::Show(show
, attr
);
639 void base_Show(bool show
, wxGridCellAttr
*attr
) {
640 wxGridCellEditor::Show(show
, attr
);
644 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
646 wxPyBeginBlockThreads();
647 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
648 wxPyCBH_callCallback(m_myInst
,
649 Py_BuildValue("(OO)",
650 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
651 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
652 wxPyEndBlockThreads();
654 wxGridCellEditor::PaintBackground(rectCell
, attr
);
656 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
657 wxGridCellEditor::PaintBackground(rectCell
, attr
);
661 DEC_PYCALLBACK___pure(Reset
);
662 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
663 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
664 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
665 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
666 DEC_PYCALLBACK__(StartingClick
);
667 DEC_PYCALLBACK__(Destroy
);
668 DEC_PYCALLBACK__STRING(SetParameters
);
674 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
675 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
676 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
677 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
678 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
679 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
680 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
681 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
684 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
687 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
689 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
690 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
691 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
692 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
697 class wxPyGridTableBase
: public wxGridTableBase
700 wxPyGridTableBase() : wxGridTableBase() {}
702 PYCALLBACK_INT__pure(GetNumberRows
);
703 PYCALLBACK_INT__pure(GetNumberCols
);
704 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
705 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
706 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
707 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
708 PYCALLBACK__(wxGridTableBase
, Clear
);
709 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
710 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
711 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
712 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
713 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
714 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
715 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
716 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
717 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
718 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
719 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
720 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
721 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
722 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
723 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
726 wxString
GetValue(int row
, int col
) {
727 wxPyBeginBlockThreads();
729 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
731 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
733 PyObject
* str
= PyObject_Str(ro
);
734 rval
= PyString_AsString(str
);
739 wxPyEndBlockThreads();
743 void SetValue(int row
, int col
, const wxString
& val
) {
744 wxPyBeginBlockThreads();
745 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
746 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
747 wxPyEndBlockThreads();
751 // Map the Get/Set methods for the standard non-string types to
752 // the GetValue and SetValue python methods.
753 long GetValueAsLong( int row
, int col
) {
755 wxPyBeginBlockThreads();
756 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
759 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
760 if (ro
&& PyNumber_Check(ro
)) {
761 num
= PyNumber_Int(ro
);
763 rval
= PyInt_AsLong(num
);
769 wxPyEndBlockThreads();
773 double GetValueAsDouble( int row
, int col
) {
775 wxPyBeginBlockThreads();
776 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
779 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
780 if (ro
&& PyNumber_Check(ro
)) {
781 num
= PyNumber_Float(ro
);
783 rval
= PyFloat_AsDouble(num
);
789 wxPyEndBlockThreads();
793 bool GetValueAsBool( int row
, int col
) {
794 return (bool)GetValueAsLong(row
, col
);
797 void SetValueAsLong( int row
, int col
, long value
) {
798 wxPyBeginBlockThreads();
799 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
800 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
802 wxPyEndBlockThreads();
805 void SetValueAsDouble( int row
, int col
, double value
) {
806 wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
808 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
810 wxPyEndBlockThreads();
813 void SetValueAsBool( int row
, int col
, bool value
) {
814 SetValueAsLong( row
, col
, (long)value
);
821 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
823 // If source is an object instance then it may already be the right type
824 if (PyInstance_Check(source
)) {
825 wxGridCellCoords
* ptr
;
826 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
831 // otherwise a 2-tuple of integers is expected
832 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
833 PyObject
* o1
= PySequence_GetItem(source
, 0);
834 PyObject
* o2
= PySequence_GetItem(source
, 1);
835 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
840 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
844 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
848 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
854 static PyObject
*_wrap_wxGridNoCellCoords_get() {
858 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
869 static PyObject
*_wrap_wxGridNoCellRect_get() {
873 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
874 pyobj
= PyString_FromString(ptemp
);
878 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
879 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxGridCellRenderer
* _arg0
;
883 PyObject
* _argo0
= 0;
884 PyObject
* _obj1
= 0;
885 char *_kwnames
[] = { "self","params", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
898 #if PYTHON_API_VERSION >= 1009
899 char* tmpPtr
; int tmpSize
;
900 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
904 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
906 _arg1
= new wxString(tmpPtr
, tmpSize
);
908 if (!PyString_Check(_obj1
)) {
909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
912 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) return NULL
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
930 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
931 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxGridCellRenderer
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxGridCellRenderer_IncRef(_arg0
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
959 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxGridCellRenderer
* _arg0
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxGridCellRenderer_DecRef(_arg0
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxGridCellRenderer
* _arg0
;
991 wxGridCellAttr
* _arg2
;
997 PyObject
* _argo0
= 0;
998 PyObject
* _argo1
= 0;
999 PyObject
* _argo2
= 0;
1000 PyObject
* _argo3
= 0;
1002 PyObject
* _obj4
= 0;
1004 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1024 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1031 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1039 if (! wxRect_helper(_obj4
, &_arg4
))
1042 _arg7
= (bool ) tempbool7
;
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1054 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1055 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 wxGridCellRenderer
* _arg0
;
1060 wxGridCellAttr
* _arg2
;
1064 PyObject
* _argo0
= 0;
1065 PyObject
* _argo1
= 0;
1066 PyObject
* _argo2
= 0;
1067 PyObject
* _argo3
= 0;
1068 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1096 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) return NULL
;
1108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1109 _resultobj
= Py_BuildValue("s",_ptemp
);
1113 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1114 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxGridCellRenderer
* _result
;
1117 wxGridCellRenderer
* _arg0
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) return NULL
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1149 wxPyGridCellRenderer
*src
;
1150 wxGridCellRenderer
*dest
;
1151 src
= (wxPyGridCellRenderer
*) ptr
;
1152 dest
= (wxGridCellRenderer
*) src
;
1153 return (void *) dest
;
1156 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1157 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxPyGridCellRenderer
* _result
;
1160 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 _resultobj
= Py_None
;
1182 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1183 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxPyGridCellRenderer
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 PyObject
* _obj1
= 0;
1190 PyObject
* _obj2
= 0;
1191 char *_kwnames
[] = { "self","self","_class", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) return NULL
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1221 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxPyGridCellRenderer
* _arg0
;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _obj1
= 0;
1227 char *_kwnames
[] = { "self","params", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr
; int tmpSize
;
1242 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1248 _arg1
= new wxString(tmpPtr
, tmpSize
);
1250 if (!PyString_Check(_obj1
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1272 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1273 wxGridCellStringRenderer
*src
;
1274 wxGridCellRenderer
*dest
;
1275 src
= (wxGridCellStringRenderer
*) ptr
;
1276 dest
= (wxGridCellRenderer
*) src
;
1277 return (void *) dest
;
1280 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1281 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1283 wxGridCellStringRenderer
* _result
;
1284 char *_kwnames
[] = { NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1298 _resultobj
= Py_BuildValue("s",_ptemp
);
1301 _resultobj
= Py_None
;
1306 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1307 wxGridCellNumberRenderer
*src
;
1308 wxGridCellStringRenderer
*dest
;
1309 src
= (wxGridCellNumberRenderer
*) ptr
;
1310 dest
= (wxGridCellStringRenderer
*) src
;
1311 return (void *) dest
;
1314 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1315 wxGridCellNumberRenderer
*src
;
1316 wxGridCellRenderer
*dest
;
1317 src
= (wxGridCellNumberRenderer
*) ptr
;
1318 dest
= (wxGridCellRenderer
*) src
;
1319 return (void *) dest
;
1322 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1323 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxGridCellNumberRenderer
* _result
;
1326 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1349 wxGridCellFloatRenderer
*src
;
1350 wxGridCellStringRenderer
*dest
;
1351 src
= (wxGridCellFloatRenderer
*) ptr
;
1352 dest
= (wxGridCellStringRenderer
*) src
;
1353 return (void *) dest
;
1356 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1357 wxGridCellFloatRenderer
*src
;
1358 wxGridCellRenderer
*dest
;
1359 src
= (wxGridCellFloatRenderer
*) ptr
;
1360 dest
= (wxGridCellRenderer
*) src
;
1361 return (void *) dest
;
1364 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1365 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxGridCellFloatRenderer
* _result
;
1368 int _arg0
= (int ) -1;
1369 int _arg1
= (int ) -1;
1370 char *_kwnames
[] = { "width","precision", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) return NULL
;
1383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1387 _resultobj
= Py_None
;
1392 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1393 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxGridCellFloatRenderer
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1423 wxGridCellFloatRenderer
* _arg0
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self","width", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) return NULL
;
1444 } Py_INCREF(Py_None
);
1445 _resultobj
= Py_None
;
1449 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1450 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxGridCellFloatRenderer
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1478 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxGridCellFloatRenderer
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self","precision", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1507 wxGridCellBoolRenderer
*src
;
1508 wxGridCellRenderer
*dest
;
1509 src
= (wxGridCellBoolRenderer
*) ptr
;
1510 dest
= (wxGridCellRenderer
*) src
;
1511 return (void *) dest
;
1514 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1515 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxGridCellBoolRenderer
* _result
;
1518 char *_kwnames
[] = { NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 _resultobj
= Py_None
;
1540 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1541 wxGridCellDateTimeRenderer
*src
;
1542 wxGridCellStringRenderer
*dest
;
1543 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1544 dest
= (wxGridCellStringRenderer
*) src
;
1545 return (void *) dest
;
1548 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1549 wxGridCellDateTimeRenderer
*src
;
1550 wxGridCellRenderer
*dest
;
1551 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1552 dest
= (wxGridCellRenderer
*) src
;
1553 return (void *) dest
;
1556 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1557 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxGridCellDateTimeRenderer
* _result
;
1560 wxString
* _arg0
= (wxString
*) &"%c";
1561 wxString
* _arg1
= (wxString
*) &"%c";
1562 PyObject
* _obj0
= 0;
1563 PyObject
* _obj1
= 0;
1564 char *_kwnames
[] = { "outformat","informat", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1572 #if PYTHON_API_VERSION >= 1009
1573 char* tmpPtr
; int tmpSize
;
1574 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1578 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1580 _arg0
= new wxString(tmpPtr
, tmpSize
);
1582 if (!PyString_Check(_obj0
)) {
1583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1586 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1591 #if PYTHON_API_VERSION >= 1009
1592 char* tmpPtr
; int tmpSize
;
1593 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1597 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1599 _arg1
= new wxString(tmpPtr
, tmpSize
);
1601 if (!PyString_Check(_obj1
)) {
1602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1605 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1632 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1633 wxGridCellEnumRenderer
*src
;
1634 wxGridCellStringRenderer
*dest
;
1635 src
= (wxGridCellEnumRenderer
*) ptr
;
1636 dest
= (wxGridCellStringRenderer
*) src
;
1637 return (void *) dest
;
1640 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1641 wxGridCellEnumRenderer
*src
;
1642 wxGridCellRenderer
*dest
;
1643 src
= (wxGridCellEnumRenderer
*) ptr
;
1644 dest
= (wxGridCellRenderer
*) src
;
1645 return (void *) dest
;
1648 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1649 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1651 wxGridCellEnumRenderer
* _result
;
1652 wxString
* _arg0
= (wxString
*) &"";
1653 PyObject
* _obj0
= 0;
1654 char *_kwnames
[] = { "choices", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1662 _arg0
= wxString_LIST_helper(_obj0
);
1663 if (_arg0
== NULL
) {
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1686 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1687 wxGridCellAutoWrapStringRenderer
*src
;
1688 wxGridCellStringRenderer
*dest
;
1689 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1690 dest
= (wxGridCellStringRenderer
*) src
;
1691 return (void *) dest
;
1694 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1695 wxGridCellAutoWrapStringRenderer
*src
;
1696 wxGridCellRenderer
*dest
;
1697 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1698 dest
= (wxGridCellRenderer
*) src
;
1699 return (void *) dest
;
1702 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1703 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 wxGridCellAutoWrapStringRenderer
* _result
;
1706 char *_kwnames
[] = { NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1720 _resultobj
= Py_BuildValue("s",_ptemp
);
1723 _resultobj
= Py_None
;
1728 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1729 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 wxGridCellEditor
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1757 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxControl
* _result
;
1760 wxGridCellEditor
* _arg0
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1784 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1785 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1787 wxGridCellEditor
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 PyObject
* _argo1
= 0;
1791 char *_kwnames
[] = { "self","control", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1822 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxGridCellEditor
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 PyObject
* _obj1
= 0;
1828 char *_kwnames
[] = { "self","params", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr
; int tmpSize
;
1843 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1847 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1849 _arg1
= new wxString(tmpPtr
, tmpSize
);
1851 if (!PyString_Check(_obj1
)) {
1852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1855 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1873 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1874 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxGridCellEditor
* _arg0
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 wxGridCellEditor_IncRef(_arg0
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1902 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxGridCellEditor
* _arg0
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 wxGridCellEditor_DecRef(_arg0
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1929 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1930 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 wxGridCellEditor
* _arg0
;
1935 wxEvtHandler
* _arg3
;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _argo1
= 0;
1938 PyObject
* _argo3
= 0;
1939 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1959 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1977 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1979 wxGridCellEditor
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo3
= 0;
1985 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1998 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxGridCellEditor
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo3
= 0;
2025 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2038 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2055 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxGridCellEditor
* _arg0
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxGridCellEditor_Reset(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2083 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2085 wxGridCellEditor
* _result
;
2086 wxGridCellEditor
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 _resultobj
= Py_None
;
2117 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2118 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2120 wxGridCellEditor
* _arg0
;
2122 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","rect", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2139 if (! wxRect_helper(_obj1
, &_arg1
))
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2154 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2156 wxGridCellEditor
* _arg0
;
2158 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2159 PyObject
* _argo0
= 0;
2161 PyObject
* _argo2
= 0;
2162 char *_kwnames
[] = { "self","show","attr", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2174 _arg1
= (bool ) tempbool1
;
2176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) return NULL
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2196 wxGridCellEditor
* _arg0
;
2198 wxGridCellAttr
* _arg2
;
2199 PyObject
* _argo0
= 0;
2201 PyObject
* _obj1
= 0;
2202 PyObject
* _argo2
= 0;
2203 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2217 if (! wxRect_helper(_obj1
, &_arg1
))
2221 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) return NULL
;
2233 } Py_INCREF(Py_None
);
2234 _resultobj
= Py_None
;
2238 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2239 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2242 wxGridCellEditor
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _argo1
= 0;
2246 char *_kwnames
[] = { "self","event", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2276 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxGridCellEditor
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _argo1
= 0;
2282 char *_kwnames
[] = { "self","event", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2313 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxGridCellEditor
* _arg0
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxGridCellEditor_StartingClick(_arg0
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2341 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2343 wxGridCellEditor
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _argo1
= 0;
2347 char *_kwnames
[] = { "self","event", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) return NULL
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2378 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxGridCellEditor
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxGridCellEditor_Destroy(_arg0
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2406 wxPyGridCellEditor
*src
;
2407 wxGridCellEditor
*dest
;
2408 src
= (wxPyGridCellEditor
*) ptr
;
2409 dest
= (wxGridCellEditor
*) src
;
2410 return (void *) dest
;
2413 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2414 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxPyGridCellEditor
* _result
;
2417 char *_kwnames
[] = { NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 _resultobj
= Py_None
;
2439 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2440 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPyGridCellEditor
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 PyObject
* _obj1
= 0;
2447 PyObject
* _obj2
= 0;
2448 char *_kwnames
[] = { "self","self","_class", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) return NULL
;
2472 } Py_INCREF(Py_None
);
2473 _resultobj
= Py_None
;
2477 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2478 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2480 wxPyGridCellEditor
* _arg0
;
2482 PyObject
* _argo0
= 0;
2484 PyObject
* _obj1
= 0;
2485 char *_kwnames
[] = { "self","rect", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2499 if (! wxRect_helper(_obj1
, &_arg1
))
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2514 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 wxPyGridCellEditor
* _arg0
;
2518 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2519 PyObject
* _argo0
= 0;
2521 PyObject
* _argo2
= 0;
2522 char *_kwnames
[] = { "self","show","attr", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2534 _arg1
= (bool ) tempbool1
;
2536 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) return NULL
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2554 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxPyGridCellEditor
* _arg0
;
2558 wxGridCellAttr
* _arg2
;
2559 PyObject
* _argo0
= 0;
2561 PyObject
* _obj1
= 0;
2562 PyObject
* _argo2
= 0;
2563 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2577 if (! wxRect_helper(_obj1
, &_arg1
))
2581 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2599 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2601 wxPyGridCellEditor
* _arg0
;
2603 PyObject
* _argo0
= 0;
2604 PyObject
* _argo1
= 0;
2605 char *_kwnames
[] = { "self","event", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) return NULL
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2636 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxPyGridCellEditor
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 PyObject
* _argo1
= 0;
2642 char *_kwnames
[] = { "self","event", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2673 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxPyGridCellEditor
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 wxPyGridCellEditor_base_StartingClick(_arg0
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) return NULL
;
2695 } Py_INCREF(Py_None
);
2696 _resultobj
= Py_None
;
2700 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2701 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxPyGridCellEditor
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 PyObject
* _argo1
= 0;
2707 char *_kwnames
[] = { "self","event", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2738 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxPyGridCellEditor
* _arg0
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxPyGridCellEditor_base_Destroy(_arg0
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2766 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxPyGridCellEditor
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 char *_kwnames
[] = { "self","params", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2785 #if PYTHON_API_VERSION >= 1009
2786 char* tmpPtr
; int tmpSize
;
2787 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2791 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2793 _arg1
= new wxString(tmpPtr
, tmpSize
);
2795 if (!PyString_Check(_obj1
)) {
2796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2799 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } Py_INCREF(Py_None
);
2809 _resultobj
= Py_None
;
2817 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2818 wxGridCellTextEditor
*src
;
2819 wxGridCellEditor
*dest
;
2820 src
= (wxGridCellTextEditor
*) ptr
;
2821 dest
= (wxGridCellEditor
*) src
;
2822 return (void *) dest
;
2825 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2826 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxGridCellTextEditor
* _result
;
2829 char *_kwnames
[] = { NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2852 wxGridCellNumberEditor
*src
;
2853 wxGridCellTextEditor
*dest
;
2854 src
= (wxGridCellNumberEditor
*) ptr
;
2855 dest
= (wxGridCellTextEditor
*) src
;
2856 return (void *) dest
;
2859 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2860 wxGridCellNumberEditor
*src
;
2861 wxGridCellEditor
*dest
;
2862 src
= (wxGridCellNumberEditor
*) ptr
;
2863 dest
= (wxGridCellEditor
*) src
;
2864 return (void *) dest
;
2867 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2868 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxGridCellNumberEditor
* _result
;
2871 int _arg0
= (int ) -1;
2872 int _arg1
= (int ) -1;
2873 char *_kwnames
[] = { "min","max", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2887 _resultobj
= Py_BuildValue("s",_ptemp
);
2890 _resultobj
= Py_None
;
2895 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2896 wxGridCellFloatEditor
*src
;
2897 wxGridCellTextEditor
*dest
;
2898 src
= (wxGridCellFloatEditor
*) ptr
;
2899 dest
= (wxGridCellTextEditor
*) src
;
2900 return (void *) dest
;
2903 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2904 wxGridCellFloatEditor
*src
;
2905 wxGridCellEditor
*dest
;
2906 src
= (wxGridCellFloatEditor
*) ptr
;
2907 dest
= (wxGridCellEditor
*) src
;
2908 return (void *) dest
;
2911 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2912 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2914 wxGridCellFloatEditor
* _result
;
2915 char *_kwnames
[] = { NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) return NULL
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2938 wxGridCellBoolEditor
*src
;
2939 wxGridCellEditor
*dest
;
2940 src
= (wxGridCellBoolEditor
*) ptr
;
2941 dest
= (wxGridCellEditor
*) src
;
2942 return (void *) dest
;
2945 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2946 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxGridCellBoolEditor
* _result
;
2949 char *_kwnames
[] = { NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2963 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 _resultobj
= Py_None
;
2971 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2972 wxGridCellChoiceEditor
*src
;
2973 wxGridCellEditor
*dest
;
2974 src
= (wxGridCellChoiceEditor
*) ptr
;
2975 dest
= (wxGridCellEditor
*) src
;
2976 return (void *) dest
;
2979 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2982 wxGridCellChoiceEditor
* _result
;
2983 int _arg0
= (int ) 0;
2984 wxString
* _arg1
= (wxString
*) NULL
;
2985 bool _arg2
= (bool ) FALSE
;
2986 PyObject
* _obj1
= 0;
2987 int tempbool2
= (int) FALSE
;
2988 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2996 _arg1
= wxString_LIST_helper(_obj1
);
2997 if (_arg1
== NULL
) {
3001 _arg2
= (bool ) tempbool2
;
3004 _arg0
= PyList_Size(_obj1
);
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) return NULL
;
3017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3021 _resultobj
= Py_None
;
3029 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3030 wxGridCellEnumEditor
*src
;
3031 wxGridCellChoiceEditor
*dest
;
3032 src
= (wxGridCellEnumEditor
*) ptr
;
3033 dest
= (wxGridCellChoiceEditor
*) src
;
3034 return (void *) dest
;
3037 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3038 wxGridCellEnumEditor
*src
;
3039 wxGridCellEditor
*dest
;
3040 src
= (wxGridCellEnumEditor
*) ptr
;
3041 dest
= (wxGridCellEditor
*) src
;
3042 return (void *) dest
;
3045 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3046 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3048 wxGridCellEnumEditor
* _result
;
3049 wxString
* _arg0
= (wxString
*) &"";
3050 PyObject
* _obj0
= 0;
3051 char *_kwnames
[] = { "choices", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3059 _arg0
= wxString_LIST_helper(_obj0
);
3060 if (_arg0
== NULL
) {
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3083 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3084 wxGridCellAutoWrapStringEditor
*src
;
3085 wxGridCellTextEditor
*dest
;
3086 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3087 dest
= (wxGridCellTextEditor
*) src
;
3088 return (void *) dest
;
3091 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3092 wxGridCellAutoWrapStringEditor
*src
;
3093 wxGridCellEditor
*dest
;
3094 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3095 dest
= (wxGridCellEditor
*) src
;
3096 return (void *) dest
;
3099 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3100 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxGridCellAutoWrapStringEditor
* _result
;
3103 char *_kwnames
[] = { NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) return NULL
;
3116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3117 _resultobj
= Py_BuildValue("s",_ptemp
);
3120 _resultobj
= Py_None
;
3125 #define new_wxGridCellAttr() (new wxGridCellAttr())
3126 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3128 wxGridCellAttr
* _result
;
3129 char *_kwnames
[] = { NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3143 _resultobj
= Py_BuildValue("s",_ptemp
);
3146 _resultobj
= Py_None
;
3151 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3152 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3154 wxGridCellAttr
* _result
;
3155 wxGridCellAttr
* _arg0
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) return NULL
;
3177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3178 _resultobj
= Py_BuildValue("s",_ptemp
);
3181 _resultobj
= Py_None
;
3186 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3187 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxGridCellAttr
* _arg0
;
3190 wxGridCellAttr
* _arg1
;
3191 PyObject
* _argo0
= 0;
3192 PyObject
* _argo1
= 0;
3193 char *_kwnames
[] = { "self","mergefrom", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) return NULL
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3223 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3224 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3226 wxGridCellAttr
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxGridCellAttr_IncRef(_arg0
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3252 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxGridCellAttr
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxGridCellAttr_DecRef(_arg0
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3280 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxGridCellAttr
* _arg0
;
3284 PyObject
* _argo0
= 0;
3286 PyObject
* _obj1
= 0;
3287 char *_kwnames
[] = { "self","colText", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3301 if (! wxColour_helper(_obj1
, &_arg1
))
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3316 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxGridCellAttr
* _arg0
;
3320 PyObject
* _argo0
= 0;
3322 PyObject
* _obj1
= 0;
3323 char *_kwnames
[] = { "self","colBack", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3337 if (! wxColour_helper(_obj1
, &_arg1
))
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) return NULL
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3352 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3354 wxGridCellAttr
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 PyObject
* _argo1
= 0;
3358 char *_kwnames
[] = { "self","font", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) return NULL
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3389 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3391 wxGridCellAttr
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) return NULL
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3418 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3419 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxGridCellAttr
* _arg0
;
3422 bool _arg1
= (bool ) TRUE
;
3423 PyObject
* _argo0
= 0;
3424 int tempbool1
= (int) TRUE
;
3425 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3437 _arg1
= (bool ) tempbool1
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) return NULL
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3450 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxGridCellAttr
* _arg0
;
3453 wxGridCellRenderer
* _arg1
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _argo1
= 0;
3456 char *_kwnames
[] = { "self","renderer", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3487 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxGridCellAttr
* _arg0
;
3490 wxGridCellEditor
* _arg1
;
3491 PyObject
* _argo0
= 0;
3492 PyObject
* _argo1
= 0;
3493 char *_kwnames
[] = { "self","editor", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) return NULL
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3524 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxGridCellAttr
* _arg0
;
3527 wxGridCellAttr::wxAttrKind _arg1
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","kind", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3553 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxGridCellAttr
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) return NULL
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3581 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3584 wxGridCellAttr
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3609 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxGridCellAttr
* _arg0
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3637 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxGridCellAttr
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3665 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxGridCellAttr
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3693 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxGridCellAttr
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3716 } _resultobj
= Py_BuildValue("i",_result
);
3720 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3721 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3724 wxGridCellAttr
* _arg0
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3744 } _resultobj
= Py_BuildValue("i",_result
);
3748 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3749 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxGridCellAttr
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3774 _resultobj
= Py_BuildValue("s",_ptemp
);
3778 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3779 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3782 wxGridCellAttr
* _arg0
;
3783 PyObject
* _argo0
= 0;
3784 char *_kwnames
[] = { "self", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) return NULL
;
3803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3804 _resultobj
= Py_BuildValue("s",_ptemp
);
3808 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3809 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3812 wxGridCellAttr
* _arg0
;
3813 PyObject
* _argo0
= 0;
3814 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3834 _resultobj
= Py_BuildValue("s",_ptemp
);
3838 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3839 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3841 wxGridCellAttr
* _arg0
;
3846 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3875 o
= PyInt_FromLong((long) (*_arg1
));
3876 _resultobj
= t_output_helper(_resultobj
, o
);
3880 o
= PyInt_FromLong((long) (*_arg2
));
3881 _resultobj
= t_output_helper(_resultobj
, o
);
3886 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3887 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3889 wxGridCellRenderer
* _result
;
3890 wxGridCellAttr
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 PyObject
* _argo1
= 0;
3896 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) return NULL
;
3923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3924 _resultobj
= Py_BuildValue("s",_ptemp
);
3927 _resultobj
= Py_None
;
3932 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3933 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3935 wxGridCellEditor
* _result
;
3936 wxGridCellAttr
* _arg0
;
3940 PyObject
* _argo0
= 0;
3941 PyObject
* _argo1
= 0;
3942 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) return NULL
;
3969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3970 _resultobj
= Py_BuildValue("s",_ptemp
);
3973 _resultobj
= Py_None
;
3978 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3979 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3982 wxGridCellAttr
* _arg0
;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4002 } _resultobj
= Py_BuildValue("i",_result
);
4006 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4007 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4009 wxGridCellAttr
* _arg0
;
4010 wxGridCellAttr
* _arg1
;
4011 PyObject
* _argo0
= 0;
4012 PyObject
* _argo1
= 0;
4013 char *_kwnames
[] = { "self","defAttr", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4026 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) return NULL
;
4038 } Py_INCREF(Py_None
);
4039 _resultobj
= Py_None
;
4043 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4044 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4046 wxGridCellAttrProvider
* _result
;
4047 char *_kwnames
[] = { NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) return NULL
;
4060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4061 _resultobj
= Py_BuildValue("s",_ptemp
);
4064 _resultobj
= Py_None
;
4069 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4070 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxGridCellAttr
* _result
;
4073 wxGridCellAttrProvider
* _arg0
;
4076 wxGridCellAttr::wxAttrKind _arg3
;
4077 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4099 _resultobj
= Py_BuildValue("s",_ptemp
);
4102 _resultobj
= Py_None
;
4107 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4108 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4110 wxGridCellAttrProvider
* _arg0
;
4111 wxGridCellAttr
* _arg1
;
4114 PyObject
* _argo0
= 0;
4115 PyObject
* _argo1
= 0;
4116 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) return NULL
;
4141 } Py_INCREF(Py_None
);
4142 _resultobj
= Py_None
;
4146 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4147 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4149 wxGridCellAttrProvider
* _arg0
;
4150 wxGridCellAttr
* _arg1
;
4152 PyObject
* _argo0
= 0;
4153 PyObject
* _argo1
= 0;
4154 char *_kwnames
[] = { "self","attr","row", NULL
};
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4179 } Py_INCREF(Py_None
);
4180 _resultobj
= Py_None
;
4184 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4185 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4187 wxGridCellAttrProvider
* _arg0
;
4188 wxGridCellAttr
* _arg1
;
4190 PyObject
* _argo0
= 0;
4191 PyObject
* _argo1
= 0;
4192 char *_kwnames
[] = { "self","attr","col", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxGridCellAttrProvider
* _arg0
;
4228 PyObject
* _argo0
= 0;
4229 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4253 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxGridCellAttrProvider
* _arg0
;
4258 PyObject
* _argo0
= 0;
4259 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_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_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 } Py_INCREF(Py_None
);
4278 _resultobj
= Py_None
;
4282 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4283 wxPyGridCellAttrProvider
*src
;
4284 wxGridCellAttrProvider
*dest
;
4285 src
= (wxPyGridCellAttrProvider
*) ptr
;
4286 dest
= (wxGridCellAttrProvider
*) src
;
4287 return (void *) dest
;
4290 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4291 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4293 wxPyGridCellAttrProvider
* _result
;
4294 char *_kwnames
[] = { NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) return NULL
;
4307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4308 _resultobj
= Py_BuildValue("s",_ptemp
);
4311 _resultobj
= Py_None
;
4316 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4317 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4319 wxPyGridCellAttrProvider
* _arg0
;
4322 PyObject
* _argo0
= 0;
4323 PyObject
* _obj1
= 0;
4324 PyObject
* _obj2
= 0;
4325 char *_kwnames
[] = { "self","self","_class", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4354 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4355 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4357 wxGridCellAttr
* _result
;
4358 wxPyGridCellAttrProvider
* _arg0
;
4361 wxGridCellAttr::wxAttrKind _arg3
;
4362 PyObject
* _argo0
= 0;
4363 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) return NULL
;
4383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4384 _resultobj
= Py_BuildValue("s",_ptemp
);
4387 _resultobj
= Py_None
;
4392 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4393 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4395 wxPyGridCellAttrProvider
* _arg0
;
4396 wxGridCellAttr
* _arg1
;
4399 PyObject
* _argo0
= 0;
4400 PyObject
* _argo1
= 0;
4401 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4431 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4432 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxPyGridCellAttrProvider
* _arg0
;
4435 wxGridCellAttr
* _arg1
;
4437 PyObject
* _argo0
= 0;
4438 PyObject
* _argo1
= 0;
4439 char *_kwnames
[] = { "self","attr","row", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) return NULL
;
4464 } Py_INCREF(Py_None
);
4465 _resultobj
= Py_None
;
4469 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4470 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4472 wxPyGridCellAttrProvider
* _arg0
;
4473 wxGridCellAttr
* _arg1
;
4475 PyObject
* _argo0
= 0;
4476 PyObject
* _argo1
= 0;
4477 char *_kwnames
[] = { "self","attr","col", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4508 wxGridTableBase
*src
;
4510 src
= (wxGridTableBase
*) ptr
;
4511 dest
= (wxObject
*) src
;
4512 return (void *) dest
;
4515 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4516 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4518 wxGridTableBase
* _arg0
;
4519 wxGridCellAttrProvider
* _arg1
;
4520 PyObject
* _argo0
= 0;
4521 PyObject
* _argo1
= 0;
4522 char *_kwnames
[] = { "self","attrProvider", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4547 } Py_INCREF(Py_None
);
4548 _resultobj
= Py_None
;
4552 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4553 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxGridCellAttrProvider
* _result
;
4556 wxGridTableBase
* _arg0
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4579 _resultobj
= Py_BuildValue("s",_ptemp
);
4582 _resultobj
= Py_None
;
4587 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4588 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4590 wxGridTableBase
* _arg0
;
4592 PyObject
* _argo0
= 0;
4593 PyObject
* _argo1
= 0;
4594 char *_kwnames
[] = { "self","grid", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxGridTableBase_SetView(_arg0
,_arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4625 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4628 wxGridTableBase
* _arg0
;
4629 PyObject
* _argo0
= 0;
4630 char *_kwnames
[] = { "self", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) return NULL
;
4648 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4652 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4653 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 wxGridTableBase
* _arg0
;
4657 PyObject
* _argo0
= 0;
4658 char *_kwnames
[] = { "self", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) return NULL
;
4676 } _resultobj
= Py_BuildValue("i",_result
);
4680 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4681 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 wxGridTableBase
* _arg0
;
4685 PyObject
* _argo0
= 0;
4686 char *_kwnames
[] = { "self", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) return NULL
;
4704 } _resultobj
= Py_BuildValue("i",_result
);
4708 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4709 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4712 wxGridTableBase
* _arg0
;
4715 PyObject
* _argo0
= 0;
4716 char *_kwnames
[] = { "self","row","col", NULL
};
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) return NULL
;
4734 } _resultobj
= Py_BuildValue("i",_result
);
4738 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4739 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 wxGridTableBase
* _arg0
;
4745 PyObject
* _argo0
= 0;
4746 char *_kwnames
[] = { "self","row","col", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetValue. Expected _wxGridTableBase_p.");
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4773 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4774 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxGridTableBase
* _arg0
;
4780 PyObject
* _argo0
= 0;
4781 PyObject
* _obj3
= 0;
4782 char *_kwnames
[] = { "self","row","col","value", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4795 #if PYTHON_API_VERSION >= 1009
4796 char* tmpPtr
; int tmpSize
;
4797 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4801 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4803 _arg3
= new wxString(tmpPtr
, tmpSize
);
4805 if (!PyString_Check(_obj3
)) {
4806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4809 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4827 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4828 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4831 wxGridTableBase
* _arg0
;
4834 PyObject
* _argo0
= 0;
4835 char *_kwnames
[] = { "self","row","col", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) return NULL
;
4854 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4862 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4863 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
* _resultobj
;
4866 wxGridTableBase
* _arg0
;
4870 PyObject
* _argo0
= 0;
4871 PyObject
* _obj3
= 0;
4872 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4885 #if PYTHON_API_VERSION >= 1009
4886 char* tmpPtr
; int tmpSize
;
4887 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4891 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4893 _arg3
= new wxString(tmpPtr
, tmpSize
);
4895 if (!PyString_Check(_obj3
)) {
4896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4899 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } _resultobj
= Py_BuildValue("i",_result
);
4916 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4917 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4920 wxGridTableBase
* _arg0
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _obj3
= 0;
4926 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4939 #if PYTHON_API_VERSION >= 1009
4940 char* tmpPtr
; int tmpSize
;
4941 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4945 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4947 _arg3
= new wxString(tmpPtr
, tmpSize
);
4949 if (!PyString_Check(_obj3
)) {
4950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4953 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) return NULL
;
4962 } _resultobj
= Py_BuildValue("i",_result
);
4970 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4971 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4974 wxGridTableBase
* _arg0
;
4977 PyObject
* _argo0
= 0;
4978 char *_kwnames
[] = { "self","row","col", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) return NULL
;
4996 } _resultobj
= Py_BuildValue("l",_result
);
5000 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5001 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5004 wxGridTableBase
* _arg0
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self","row","col", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 } _resultobj
= Py_BuildValue("d",_result
);
5030 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5031 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5034 wxGridTableBase
* _arg0
;
5037 PyObject
* _argo0
= 0;
5038 char *_kwnames
[] = { "self","row","col", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) return NULL
;
5056 } _resultobj
= Py_BuildValue("i",_result
);
5060 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5061 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 wxGridTableBase
* _arg0
;
5067 PyObject
* _argo0
= 0;
5068 char *_kwnames
[] = { "self","row","col","value", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5091 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5092 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5094 wxGridTableBase
* _arg0
;
5098 PyObject
* _argo0
= 0;
5099 char *_kwnames
[] = { "self","row","col","value", NULL
};
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) return NULL
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5122 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5123 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxGridTableBase
* _arg0
;
5129 PyObject
* _argo0
= 0;
5131 char *_kwnames
[] = { "self","row","col","value", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5143 _arg3
= (bool ) tempbool3
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5150 } Py_INCREF(Py_None
);
5151 _resultobj
= Py_None
;
5155 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5156 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
* _resultobj
;
5158 wxGridTableBase
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxGridTableBase_Clear(_arg0
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5178 } Py_INCREF(Py_None
);
5179 _resultobj
= Py_None
;
5183 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5184 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5187 wxGridTableBase
* _arg0
;
5188 size_t _arg1
= (size_t ) 0;
5189 size_t _arg2
= (size_t ) 1;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) return NULL
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5214 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5217 wxGridTableBase
* _arg0
;
5218 size_t _arg1
= (size_t ) 1;
5219 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self","numRows", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) return NULL
;
5238 } _resultobj
= Py_BuildValue("i",_result
);
5242 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5243 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5246 wxGridTableBase
* _arg0
;
5247 size_t _arg1
= (size_t ) 0;
5248 size_t _arg2
= (size_t ) 1;
5249 PyObject
* _argo0
= 0;
5250 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) return NULL
;
5268 } _resultobj
= Py_BuildValue("i",_result
);
5272 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5273 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5276 wxGridTableBase
* _arg0
;
5277 size_t _arg1
= (size_t ) 0;
5278 size_t _arg2
= (size_t ) 1;
5279 PyObject
* _argo0
= 0;
5280 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) return NULL
;
5298 } _resultobj
= Py_BuildValue("i",_result
);
5302 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5303 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5306 wxGridTableBase
* _arg0
;
5307 size_t _arg1
= (size_t ) 1;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "self","numCols", NULL
};
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5327 } _resultobj
= Py_BuildValue("i",_result
);
5331 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5332 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5335 wxGridTableBase
* _arg0
;
5336 size_t _arg1
= (size_t ) 0;
5337 size_t _arg2
= (size_t ) 1;
5338 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5357 } _resultobj
= Py_BuildValue("i",_result
);
5361 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5362 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5365 wxGridTableBase
* _arg0
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self","row", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5387 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5395 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5396 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5399 wxGridTableBase
* _arg0
;
5401 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self","col", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5421 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5429 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5430 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5432 wxGridTableBase
* _arg0
;
5435 PyObject
* _argo0
= 0;
5436 PyObject
* _obj2
= 0;
5437 char *_kwnames
[] = { "self","row","value", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5450 #if PYTHON_API_VERSION >= 1009
5451 char* tmpPtr
; int tmpSize
;
5452 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5456 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5458 _arg2
= new wxString(tmpPtr
, tmpSize
);
5460 if (!PyString_Check(_obj2
)) {
5461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5464 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5473 } Py_INCREF(Py_None
);
5474 _resultobj
= Py_None
;
5482 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5483 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5485 wxGridTableBase
* _arg0
;
5488 PyObject
* _argo0
= 0;
5489 PyObject
* _obj2
= 0;
5490 char *_kwnames
[] = { "self","col","value", NULL
};
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5503 #if PYTHON_API_VERSION >= 1009
5504 char* tmpPtr
; int tmpSize
;
5505 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5509 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5511 _arg2
= new wxString(tmpPtr
, tmpSize
);
5513 if (!PyString_Check(_obj2
)) {
5514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5517 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) return NULL
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5535 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5536 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5539 wxGridTableBase
* _arg0
;
5540 PyObject
* _argo0
= 0;
5541 char *_kwnames
[] = { "self", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) return NULL
;
5559 } _resultobj
= Py_BuildValue("i",_result
);
5563 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5564 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxGridCellAttr
* _result
;
5567 wxGridTableBase
* _arg0
;
5570 wxGridCellAttr::wxAttrKind _arg3
;
5571 PyObject
* _argo0
= 0;
5572 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5593 _resultobj
= Py_BuildValue("s",_ptemp
);
5596 _resultobj
= Py_None
;
5601 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5602 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5604 wxGridTableBase
* _arg0
;
5605 wxGridCellAttr
* _arg1
;
5608 PyObject
* _argo0
= 0;
5609 PyObject
* _argo1
= 0;
5610 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) return NULL
;
5635 } Py_INCREF(Py_None
);
5636 _resultobj
= Py_None
;
5640 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5641 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5643 wxGridTableBase
* _arg0
;
5644 wxGridCellAttr
* _arg1
;
5646 PyObject
* _argo0
= 0;
5647 PyObject
* _argo1
= 0;
5648 char *_kwnames
[] = { "self","attr","row", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) return NULL
;
5673 } Py_INCREF(Py_None
);
5674 _resultobj
= Py_None
;
5678 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5679 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxGridTableBase
* _arg0
;
5682 wxGridCellAttr
* _arg1
;
5684 PyObject
* _argo0
= 0;
5685 PyObject
* _argo1
= 0;
5686 char *_kwnames
[] = { "self","attr","col", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) return NULL
;
5711 } Py_INCREF(Py_None
);
5712 _resultobj
= Py_None
;
5716 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5717 wxPyGridTableBase
*src
;
5718 wxGridTableBase
*dest
;
5719 src
= (wxPyGridTableBase
*) ptr
;
5720 dest
= (wxGridTableBase
*) src
;
5721 return (void *) dest
;
5724 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5725 wxPyGridTableBase
*src
;
5727 src
= (wxPyGridTableBase
*) ptr
;
5728 dest
= (wxObject
*) src
;
5729 return (void *) dest
;
5732 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5733 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
* _resultobj
;
5735 wxPyGridTableBase
* _result
;
5736 char *_kwnames
[] = { NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5750 _resultobj
= Py_BuildValue("s",_ptemp
);
5753 _resultobj
= Py_None
;
5758 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5759 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5761 wxPyGridTableBase
* _arg0
;
5764 PyObject
* _argo0
= 0;
5765 PyObject
* _obj1
= 0;
5766 PyObject
* _obj2
= 0;
5767 char *_kwnames
[] = { "self","self","_class", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5791 } Py_INCREF(Py_None
);
5792 _resultobj
= Py_None
;
5796 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5797 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5799 wxPyGridTableBase
* _arg0
;
5800 PyObject
* _argo0
= 0;
5801 char *_kwnames
[] = { "self", NULL
};
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 wxPyGridTableBase_Destroy(_arg0
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) return NULL
;
5819 } Py_INCREF(Py_None
);
5820 _resultobj
= Py_None
;
5824 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5825 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5828 wxPyGridTableBase
* _arg0
;
5831 PyObject
* _argo0
= 0;
5832 char *_kwnames
[] = { "self","row","col", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5851 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5859 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5860 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5863 wxPyGridTableBase
* _arg0
;
5867 PyObject
* _argo0
= 0;
5868 PyObject
* _obj3
= 0;
5869 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5882 #if PYTHON_API_VERSION >= 1009
5883 char* tmpPtr
; int tmpSize
;
5884 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5888 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5890 _arg3
= new wxString(tmpPtr
, tmpSize
);
5892 if (!PyString_Check(_obj3
)) {
5893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5896 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) return NULL
;
5905 } _resultobj
= Py_BuildValue("i",_result
);
5913 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5914 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5917 wxPyGridTableBase
* _arg0
;
5921 PyObject
* _argo0
= 0;
5922 PyObject
* _obj3
= 0;
5923 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5936 #if PYTHON_API_VERSION >= 1009
5937 char* tmpPtr
; int tmpSize
;
5938 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5942 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5944 _arg3
= new wxString(tmpPtr
, tmpSize
);
5946 if (!PyString_Check(_obj3
)) {
5947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5950 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) return NULL
;
5959 } _resultobj
= Py_BuildValue("i",_result
);
5967 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5968 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5970 wxPyGridTableBase
* _arg0
;
5971 PyObject
* _argo0
= 0;
5972 char *_kwnames
[] = { "self", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 wxPyGridTableBase_base_Clear(_arg0
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) return NULL
;
5990 } Py_INCREF(Py_None
);
5991 _resultobj
= Py_None
;
5995 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5996 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
* _resultobj
;
5999 wxPyGridTableBase
* _arg0
;
6000 size_t _arg1
= (size_t ) 0;
6001 size_t _arg2
= (size_t ) 1;
6002 PyObject
* _argo0
= 0;
6003 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) return NULL
;
6021 } _resultobj
= Py_BuildValue("i",_result
);
6025 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6026 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6029 wxPyGridTableBase
* _arg0
;
6030 size_t _arg1
= (size_t ) 1;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self","numRows", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } _resultobj
= Py_BuildValue("i",_result
);
6054 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6055 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6058 wxPyGridTableBase
* _arg0
;
6059 size_t _arg1
= (size_t ) 0;
6060 size_t _arg2
= (size_t ) 1;
6061 PyObject
* _argo0
= 0;
6062 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) return NULL
;
6080 } _resultobj
= Py_BuildValue("i",_result
);
6084 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6085 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
* _resultobj
;
6088 wxPyGridTableBase
* _arg0
;
6089 size_t _arg1
= (size_t ) 0;
6090 size_t _arg2
= (size_t ) 1;
6091 PyObject
* _argo0
= 0;
6092 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } _resultobj
= Py_BuildValue("i",_result
);
6114 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6115 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6118 wxPyGridTableBase
* _arg0
;
6119 size_t _arg1
= (size_t ) 1;
6120 PyObject
* _argo0
= 0;
6121 char *_kwnames
[] = { "self","numCols", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) return NULL
;
6139 } _resultobj
= Py_BuildValue("i",_result
);
6143 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6144 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6147 wxPyGridTableBase
* _arg0
;
6148 size_t _arg1
= (size_t ) 0;
6149 size_t _arg2
= (size_t ) 1;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) return NULL
;
6169 } _resultobj
= Py_BuildValue("i",_result
);
6173 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6174 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6177 wxPyGridTableBase
* _arg0
;
6179 PyObject
* _argo0
= 0;
6180 char *_kwnames
[] = { "self","row", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) return NULL
;
6199 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6207 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6208 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
* _resultobj
;
6211 wxPyGridTableBase
* _arg0
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self","col", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) return NULL
;
6233 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6241 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6242 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6244 wxPyGridTableBase
* _arg0
;
6247 PyObject
* _argo0
= 0;
6248 PyObject
* _obj2
= 0;
6249 char *_kwnames
[] = { "self","row","value", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6262 #if PYTHON_API_VERSION >= 1009
6263 char* tmpPtr
; int tmpSize
;
6264 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6268 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6270 _arg2
= new wxString(tmpPtr
, tmpSize
);
6272 if (!PyString_Check(_obj2
)) {
6273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6276 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) return NULL
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6294 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6295 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
* _resultobj
;
6297 wxPyGridTableBase
* _arg0
;
6300 PyObject
* _argo0
= 0;
6301 PyObject
* _obj2
= 0;
6302 char *_kwnames
[] = { "self","col","value", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6315 #if PYTHON_API_VERSION >= 1009
6316 char* tmpPtr
; int tmpSize
;
6317 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6321 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6323 _arg2
= new wxString(tmpPtr
, tmpSize
);
6325 if (!PyString_Check(_obj2
)) {
6326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6329 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6338 } Py_INCREF(Py_None
);
6339 _resultobj
= Py_None
;
6347 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6348 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6351 wxPyGridTableBase
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) return NULL
;
6371 } _resultobj
= Py_BuildValue("i",_result
);
6375 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6376 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6378 wxGridCellAttr
* _result
;
6379 wxPyGridTableBase
* _arg0
;
6382 wxGridCellAttr::wxAttrKind _arg3
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) return NULL
;
6404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6405 _resultobj
= Py_BuildValue("s",_ptemp
);
6408 _resultobj
= Py_None
;
6413 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6414 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6416 wxPyGridTableBase
* _arg0
;
6417 wxGridCellAttr
* _arg1
;
6420 PyObject
* _argo0
= 0;
6421 PyObject
* _argo1
= 0;
6422 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) return NULL
;
6447 } Py_INCREF(Py_None
);
6448 _resultobj
= Py_None
;
6452 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6453 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
* _resultobj
;
6455 wxPyGridTableBase
* _arg0
;
6456 wxGridCellAttr
* _arg1
;
6458 PyObject
* _argo0
= 0;
6459 PyObject
* _argo1
= 0;
6460 char *_kwnames
[] = { "self","attr","row", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) return NULL
;
6485 } Py_INCREF(Py_None
);
6486 _resultobj
= Py_None
;
6490 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6491 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6493 wxPyGridTableBase
* _arg0
;
6494 wxGridCellAttr
* _arg1
;
6496 PyObject
* _argo0
= 0;
6497 PyObject
* _argo1
= 0;
6498 char *_kwnames
[] = { "self","attr","col", NULL
};
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) return NULL
;
6523 } Py_INCREF(Py_None
);
6524 _resultobj
= Py_None
;
6528 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6529 wxGridStringTable
*src
;
6530 wxGridTableBase
*dest
;
6531 src
= (wxGridStringTable
*) ptr
;
6532 dest
= (wxGridTableBase
*) src
;
6533 return (void *) dest
;
6536 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6537 wxGridStringTable
*src
;
6539 src
= (wxGridStringTable
*) ptr
;
6540 dest
= (wxObject
*) src
;
6541 return (void *) dest
;
6544 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6545 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6547 wxGridStringTable
* _result
;
6548 int _arg0
= (int ) 0;
6549 int _arg1
= (int ) 0;
6550 char *_kwnames
[] = { "numRows","numCols", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) return NULL
;
6563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6564 _resultobj
= Py_BuildValue("s",_ptemp
);
6567 _resultobj
= Py_None
;
6572 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6573 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6575 wxGridTableMessage
* _result
;
6576 wxGridTableBase
* _arg0
;
6578 int _arg2
= (int ) -1;
6579 int _arg3
= (int ) -1;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) return NULL
;
6601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6602 _resultobj
= Py_BuildValue("s",_ptemp
);
6605 _resultobj
= Py_None
;
6610 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6611 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6613 wxGridTableMessage
* _arg0
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 delete_wxGridTableMessage(_arg0
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) return NULL
;
6633 } Py_INCREF(Py_None
);
6634 _resultobj
= Py_None
;
6638 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6639 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6641 wxGridTableMessage
* _arg0
;
6642 wxGridTableBase
* _arg1
;
6643 PyObject
* _argo0
= 0;
6644 PyObject
* _argo1
= 0;
6645 char *_kwnames
[] = { "self","table", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) return NULL
;
6670 } Py_INCREF(Py_None
);
6671 _resultobj
= Py_None
;
6675 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6676 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6678 wxGridTableBase
* _result
;
6679 wxGridTableMessage
* _arg0
;
6680 PyObject
* _argo0
= 0;
6681 char *_kwnames
[] = { "self", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) return NULL
;
6699 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6703 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6704 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxGridTableMessage
* _arg0
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self","id", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxGridTableMessage_SetId(_arg0
,_arg1
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) return NULL
;
6727 } Py_INCREF(Py_None
);
6728 _resultobj
= Py_None
;
6732 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6733 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6736 wxGridTableMessage
* _arg0
;
6737 PyObject
* _argo0
= 0;
6738 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6761 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6763 wxGridTableMessage
* _arg0
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self","comInt1", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) return NULL
;
6784 } Py_INCREF(Py_None
);
6785 _resultobj
= Py_None
;
6789 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6790 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6793 wxGridTableMessage
* _arg0
;
6794 PyObject
* _argo0
= 0;
6795 char *_kwnames
[] = { "self", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } _resultobj
= Py_BuildValue("i",_result
);
6817 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6818 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6820 wxGridTableMessage
* _arg0
;
6822 PyObject
* _argo0
= 0;
6823 char *_kwnames
[] = { "self","comInt2", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) return NULL
;
6841 } Py_INCREF(Py_None
);
6842 _resultobj
= Py_None
;
6846 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6847 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
* _resultobj
;
6850 wxGridTableMessage
* _arg0
;
6851 PyObject
* _argo0
= 0;
6852 char *_kwnames
[] = { "self", NULL
};
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) return NULL
;
6870 } _resultobj
= Py_BuildValue("i",_result
);
6874 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6875 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6877 wxGridCellCoords
* _result
;
6878 int _arg0
= (int ) -1;
6879 int _arg1
= (int ) -1;
6880 char *_kwnames
[] = { "r","c", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6894 _resultobj
= Py_BuildValue("s",_ptemp
);
6897 _resultobj
= Py_None
;
6902 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6903 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
* _resultobj
;
6905 wxGridCellCoords
* _arg0
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 delete_wxGridCellCoords(_arg0
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) return NULL
;
6925 } Py_INCREF(Py_None
);
6926 _resultobj
= Py_None
;
6930 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6931 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
* _resultobj
;
6934 wxGridCellCoords
* _arg0
;
6935 PyObject
* _argo0
= 0;
6936 char *_kwnames
[] = { "self", NULL
};
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) return NULL
;
6954 } _resultobj
= Py_BuildValue("i",_result
);
6958 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6959 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6961 wxGridCellCoords
* _arg0
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self","n", NULL
};
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) return NULL
;
6982 } Py_INCREF(Py_None
);
6983 _resultobj
= Py_None
;
6987 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6988 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
* _resultobj
;
6991 wxGridCellCoords
* _arg0
;
6992 PyObject
* _argo0
= 0;
6993 char *_kwnames
[] = { "self", NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) return NULL
;
7011 } _resultobj
= Py_BuildValue("i",_result
);
7015 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7016 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
* _resultobj
;
7018 wxGridCellCoords
* _arg0
;
7020 PyObject
* _argo0
= 0;
7021 char *_kwnames
[] = { "self","n", NULL
};
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) return NULL
;
7039 } Py_INCREF(Py_None
);
7040 _resultobj
= Py_None
;
7044 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7045 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7047 wxGridCellCoords
* _arg0
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "self","row","col", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) return NULL
;
7069 } Py_INCREF(Py_None
);
7070 _resultobj
= Py_None
;
7074 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7075 PyObject
* tup
= PyTuple_New(2);
7076 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7077 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7080 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
* _resultobj
;
7083 wxGridCellCoords
* _arg0
;
7084 PyObject
* _argo0
= 0;
7085 char *_kwnames
[] = { "self", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7104 _resultobj
= _result
;
7109 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7110 return *self
!= other
;
7112 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7115 wxGridCellCoords
* _arg0
;
7116 wxGridCellCoords
* _arg1
;
7117 PyObject
* _argo0
= 0;
7118 PyObject
* _argo1
= 0;
7119 char *_kwnames
[] = { "self","other", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) return NULL
;
7144 } _resultobj
= Py_BuildValue("i",_result
);
7148 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7150 wxScrolledWindow
*dest
;
7151 src
= (wxGrid
*) ptr
;
7152 dest
= (wxScrolledWindow
*) src
;
7153 return (void *) dest
;
7156 static void *SwigwxGridTowxPanel(void *ptr
) {
7159 src
= (wxGrid
*) ptr
;
7160 dest
= (wxPanel
*) src
;
7161 return (void *) dest
;
7164 static void *SwigwxGridTowxWindow(void *ptr
) {
7167 src
= (wxGrid
*) ptr
;
7168 dest
= (wxWindow
*) src
;
7169 return (void *) dest
;
7172 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7175 src
= (wxGrid
*) ptr
;
7176 dest
= (wxEvtHandler
*) src
;
7177 return (void *) dest
;
7180 static void *SwigwxGridTowxObject(void *ptr
) {
7183 src
= (wxGrid
*) ptr
;
7184 dest
= (wxObject
*) src
;
7185 return (void *) dest
;
7188 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7189 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
* _resultobj
;
7194 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7195 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7196 long _arg4
= (long ) wxWANTS_CHARS
;
7197 char * _arg5
= (char *) wxPanelNameStr
;
7198 PyObject
* _argo0
= 0;
7200 PyObject
* _obj2
= 0;
7202 PyObject
* _obj3
= 0;
7203 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7219 if (! wxPoint_helper(_obj2
, &_arg2
))
7225 if (! wxSize_helper(_obj3
, &_arg3
))
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) return NULL
;
7235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7236 _resultobj
= Py_BuildValue("s",_ptemp
);
7239 _resultobj
= Py_None
;
7244 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7245 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
* _resultobj
;
7251 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7252 PyObject
* _argo0
= 0;
7253 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } _resultobj
= Py_BuildValue("i",_result
);
7275 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7276 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7279 WXGRIDSELECTIONMODES _arg1
;
7280 PyObject
* _argo0
= 0;
7281 char *_kwnames
[] = { "self","selmode", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) return NULL
;
7299 } Py_INCREF(Py_None
);
7300 _resultobj
= Py_None
;
7304 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7305 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7309 PyObject
* _argo0
= 0;
7310 char *_kwnames
[] = { "self", NULL
};
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) return NULL
;
7328 } _resultobj
= Py_BuildValue("i",_result
);
7332 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7333 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7337 PyObject
* _argo0
= 0;
7338 char *_kwnames
[] = { "self", NULL
};
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) return NULL
;
7356 } _resultobj
= Py_BuildValue("i",_result
);
7360 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7361 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7365 wxGridTableMessage
* _arg1
;
7366 PyObject
* _argo0
= 0;
7367 PyObject
* _argo1
= 0;
7368 char *_kwnames
[] = { "self","arg2", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) return NULL
;
7393 } _resultobj
= Py_BuildValue("i",_result
);
7397 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7398 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7400 wxGridTableBase
* _result
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) return NULL
;
7421 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7425 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7426 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7430 wxGridTableBase
* _arg1
;
7431 bool _arg2
= (bool ) FALSE
;
7432 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7433 PyObject
* _argo0
= 0;
7434 PyObject
* _argo1
= 0;
7435 int tempbool2
= (int) FALSE
;
7436 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7455 _arg2
= (bool ) tempbool2
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7467 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7470 PyObject
* _argo0
= 0;
7471 char *_kwnames
[] = { "self", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxGrid_ClearGrid(_arg0
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } Py_INCREF(Py_None
);
7490 _resultobj
= Py_None
;
7494 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7495 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7499 int _arg1
= (int ) 0;
7500 int _arg2
= (int ) 1;
7501 bool _arg3
= (bool ) TRUE
;
7502 PyObject
* _argo0
= 0;
7503 int tempbool3
= (int) TRUE
;
7504 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7516 _arg3
= (bool ) tempbool3
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) return NULL
;
7523 } _resultobj
= Py_BuildValue("i",_result
);
7527 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7528 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7532 int _arg1
= (int ) 1;
7533 bool _arg2
= (bool ) TRUE
;
7534 PyObject
* _argo0
= 0;
7535 int tempbool2
= (int) TRUE
;
7536 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7548 _arg2
= (bool ) tempbool2
;
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) return NULL
;
7555 } _resultobj
= Py_BuildValue("i",_result
);
7559 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7560 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7564 int _arg1
= (int ) 0;
7565 int _arg2
= (int ) 1;
7566 bool _arg3
= (bool ) TRUE
;
7567 PyObject
* _argo0
= 0;
7568 int tempbool3
= (int) TRUE
;
7569 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7581 _arg3
= (bool ) tempbool3
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) return NULL
;
7588 } _resultobj
= Py_BuildValue("i",_result
);
7592 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7593 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
* _resultobj
;
7597 int _arg1
= (int ) 0;
7598 int _arg2
= (int ) 1;
7599 bool _arg3
= (bool ) TRUE
;
7600 PyObject
* _argo0
= 0;
7601 int tempbool3
= (int) TRUE
;
7602 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7614 _arg3
= (bool ) tempbool3
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) return NULL
;
7621 } _resultobj
= Py_BuildValue("i",_result
);
7625 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7626 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7630 int _arg1
= (int ) 1;
7631 bool _arg2
= (bool ) TRUE
;
7632 PyObject
* _argo0
= 0;
7633 int tempbool2
= (int) TRUE
;
7634 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7646 _arg2
= (bool ) tempbool2
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) return NULL
;
7653 } _resultobj
= Py_BuildValue("i",_result
);
7657 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7658 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
* _resultobj
;
7662 int _arg1
= (int ) 0;
7663 int _arg2
= (int ) 1;
7664 bool _arg3
= (bool ) TRUE
;
7665 PyObject
* _argo0
= 0;
7666 int tempbool3
= (int) TRUE
;
7667 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7679 _arg3
= (bool ) tempbool3
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) return NULL
;
7686 } _resultobj
= Py_BuildValue("i",_result
);
7690 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7691 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7695 wxGridCellAttr
* _arg2
;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 PyObject
* _argo2
= 0;
7699 char *_kwnames
[] = { "self","dc","attr", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7719 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7720 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) return NULL
;
7731 } Py_INCREF(Py_None
);
7732 _resultobj
= Py_None
;
7736 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7737 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
* _resultobj
;
7743 int _arg4
= (int ) wxLEFT
;
7744 int _arg5
= (int ) wxTOP
;
7745 PyObject
* _argo0
= 0;
7746 PyObject
* _argo1
= 0;
7747 PyObject
* _obj2
= 0;
7749 PyObject
* _obj3
= 0;
7750 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7770 #if PYTHON_API_VERSION >= 1009
7771 char* tmpPtr
; int tmpSize
;
7772 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7776 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7778 _arg2
= new wxString(tmpPtr
, tmpSize
);
7780 if (!PyString_Check(_obj2
)) {
7781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7784 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7789 if (! wxRect_helper(_obj3
, &_arg3
))
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) return NULL
;
7798 } Py_INCREF(Py_None
);
7799 _resultobj
= Py_None
;
7807 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7808 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7812 wxArrayString
* _arg2
;
7817 PyObject
* _argo0
= 0;
7818 PyObject
* _argo1
= 0;
7819 PyObject
* _obj2
= 0;
7820 char *_kwnames
[] = { "self","dc","lines", NULL
};
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7846 if (! PySequence_Check(_obj2
)) {
7847 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7850 _arg2
= new wxArrayString
;
7851 int i
, len
=PySequence_Length(_obj2
);
7852 for (i
=0; i
<len
; i
++) {
7853 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7854 PyObject
* str
= PyObject_Str(item
);
7855 _arg2
->Add(PyString_AsString(item
));
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) return NULL
;
7866 } Py_INCREF(Py_None
);
7867 _resultobj
= Py_None
;
7870 o
= PyInt_FromLong((long) (*_arg3
));
7871 _resultobj
= t_output_helper(_resultobj
, o
);
7875 o
= PyInt_FromLong((long) (*_arg4
));
7876 _resultobj
= t_output_helper(_resultobj
, o
);
7885 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7886 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 PyObject
* _argo0
= 0;
7890 char *_kwnames
[] = { "self", NULL
};
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxGrid_BeginBatch(_arg0
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7908 } Py_INCREF(Py_None
);
7909 _resultobj
= Py_None
;
7913 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7914 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7917 PyObject
* _argo0
= 0;
7918 char *_kwnames
[] = { "self", NULL
};
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 wxGrid_EndBatch(_arg0
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) return NULL
;
7936 } Py_INCREF(Py_None
);
7937 _resultobj
= Py_None
;
7941 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7942 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
* _resultobj
;
7946 PyObject
* _argo0
= 0;
7947 char *_kwnames
[] = { "self", NULL
};
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) return NULL
;
7965 } _resultobj
= Py_BuildValue("i",_result
);
7969 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7970 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
* _resultobj
;
7973 PyObject
* _argo0
= 0;
7974 char *_kwnames
[] = { "self", NULL
};
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 wxGrid_ForceRefresh(_arg0
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7992 } Py_INCREF(Py_None
);
7993 _resultobj
= Py_None
;
7997 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7998 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8002 PyObject
* _argo0
= 0;
8003 char *_kwnames
[] = { "self", NULL
};
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 _result
= (bool )wxGrid_IsEditable(_arg0
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) return NULL
;
8021 } _resultobj
= Py_BuildValue("i",_result
);
8025 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8026 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8030 PyObject
* _argo0
= 0;
8032 char *_kwnames
[] = { "self","edit", NULL
};
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8044 _arg1
= (bool ) tempbool1
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 wxGrid_EnableEditing(_arg0
,_arg1
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) return NULL
;
8051 } Py_INCREF(Py_None
);
8052 _resultobj
= Py_None
;
8056 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8057 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8060 bool _arg1
= (bool ) TRUE
;
8061 PyObject
* _argo0
= 0;
8062 int tempbool1
= (int) TRUE
;
8063 char *_kwnames
[] = { "self","enable", NULL
};
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8075 _arg1
= (bool ) tempbool1
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) return NULL
;
8082 } Py_INCREF(Py_None
);
8083 _resultobj
= Py_None
;
8087 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8088 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
* _resultobj
;
8091 PyObject
* _argo0
= 0;
8092 char *_kwnames
[] = { "self", NULL
};
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 wxGrid_DisableCellEditControl(_arg0
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) return NULL
;
8110 } Py_INCREF(Py_None
);
8111 _resultobj
= Py_None
;
8115 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8116 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
* _resultobj
;
8120 PyObject
* _argo0
= 0;
8121 char *_kwnames
[] = { "self", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) return NULL
;
8139 } _resultobj
= Py_BuildValue("i",_result
);
8143 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8144 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8148 PyObject
* _argo0
= 0;
8149 char *_kwnames
[] = { "self", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) return NULL
;
8167 } _resultobj
= Py_BuildValue("i",_result
);
8171 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8172 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
* _resultobj
;
8176 PyObject
* _argo0
= 0;
8177 char *_kwnames
[] = { "self", NULL
};
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) return NULL
;
8195 } _resultobj
= Py_BuildValue("i",_result
);
8199 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8200 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
* _resultobj
;
8204 PyObject
* _argo0
= 0;
8205 char *_kwnames
[] = { "self", NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) return NULL
;
8223 } _resultobj
= Py_BuildValue("i",_result
);
8227 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8228 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8229 PyObject
* _resultobj
;
8231 PyObject
* _argo0
= 0;
8232 char *_kwnames
[] = { "self", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 wxGrid_ShowCellEditControl(_arg0
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } Py_INCREF(Py_None
);
8251 _resultobj
= Py_None
;
8255 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8256 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
* _resultobj
;
8259 PyObject
* _argo0
= 0;
8260 char *_kwnames
[] = { "self", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 wxGrid_HideCellEditControl(_arg0
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) return NULL
;
8278 } Py_INCREF(Py_None
);
8279 _resultobj
= Py_None
;
8283 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8284 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
* _resultobj
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 wxGrid_SaveEditControlValue(_arg0
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) return NULL
;
8306 } Py_INCREF(Py_None
);
8307 _resultobj
= Py_None
;
8311 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8312 wxGridCellCoords rv
;
8313 self
->XYToCell(x
, y
, rv
);
8314 return new wxGridCellCoords(rv
);
8316 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8318 wxGridCellCoords
* _result
;
8322 PyObject
* _argo0
= 0;
8323 char *_kwnames
[] = { "self","x","y", NULL
};
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) return NULL
;
8343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8344 _resultobj
= Py_BuildValue("s",_ptemp
);
8347 _resultobj
= Py_None
;
8352 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8353 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8358 PyObject
* _argo0
= 0;
8359 char *_kwnames
[] = { "self","y", NULL
};
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) return NULL
;
8377 } _resultobj
= Py_BuildValue("i",_result
);
8381 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8382 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
* _resultobj
;
8387 PyObject
* _argo0
= 0;
8388 char *_kwnames
[] = { "self","x", NULL
};
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) return NULL
;
8406 } _resultobj
= Py_BuildValue("i",_result
);
8410 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8411 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
* _resultobj
;
8416 PyObject
* _argo0
= 0;
8417 char *_kwnames
[] = { "self","y", NULL
};
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) return NULL
;
8435 } _resultobj
= Py_BuildValue("i",_result
);
8439 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8440 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
* _resultobj
;
8445 PyObject
* _argo0
= 0;
8446 char *_kwnames
[] = { "self","x", NULL
};
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) return NULL
;
8464 } _resultobj
= Py_BuildValue("i",_result
);
8468 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8469 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
* _resultobj
;
8475 PyObject
* _argo0
= 0;
8476 char *_kwnames
[] = { "self","row","col", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) return NULL
;
8495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8496 _resultobj
= Py_BuildValue("s",_ptemp
);
8500 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8501 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
* _resultobj
;
8505 PyObject
* _argo0
= 0;
8506 char *_kwnames
[] = { "self", NULL
};
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) return NULL
;
8524 } _resultobj
= Py_BuildValue("i",_result
);
8528 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8529 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8533 PyObject
* _argo0
= 0;
8534 char *_kwnames
[] = { "self", NULL
};
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) return NULL
;
8552 } _resultobj
= Py_BuildValue("i",_result
);
8556 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8557 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8563 bool _arg3
= (bool ) TRUE
;
8564 PyObject
* _argo0
= 0;
8565 int tempbool3
= (int) TRUE
;
8566 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8578 _arg3
= (bool ) tempbool3
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) return NULL
;
8585 } _resultobj
= Py_BuildValue("i",_result
);
8589 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8590 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
* _resultobj
;
8595 PyObject
* _argo0
= 0;
8596 char *_kwnames
[] = { "self","row","col", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) return NULL
;
8614 } Py_INCREF(Py_None
);
8615 _resultobj
= Py_None
;
8619 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8620 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
* _resultobj
;
8625 PyObject
* _argo0
= 0;
8626 char *_kwnames
[] = { "self","row","col", NULL
};
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8644 } Py_INCREF(Py_None
);
8645 _resultobj
= Py_None
;
8649 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8650 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8655 PyObject
* _argo0
= 0;
8657 char *_kwnames
[] = { "self","expandSelection", NULL
};
8660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8669 _arg1
= (bool ) tempbool1
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) return NULL
;
8676 } _resultobj
= Py_BuildValue("i",_result
);
8680 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8681 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
* _resultobj
;
8686 PyObject
* _argo0
= 0;
8688 char *_kwnames
[] = { "self","expandSelection", NULL
};
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8700 _arg1
= (bool ) tempbool1
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) return NULL
;
8707 } _resultobj
= Py_BuildValue("i",_result
);
8711 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8712 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
* _resultobj
;
8717 PyObject
* _argo0
= 0;
8719 char *_kwnames
[] = { "self","expandSelection", NULL
};
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8731 _arg1
= (bool ) tempbool1
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) return NULL
;
8738 } _resultobj
= Py_BuildValue("i",_result
);
8742 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8743 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8748 PyObject
* _argo0
= 0;
8750 char *_kwnames
[] = { "self","expandSelection", NULL
};
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8762 _arg1
= (bool ) tempbool1
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) return NULL
;
8769 } _resultobj
= Py_BuildValue("i",_result
);
8773 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8774 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
* _resultobj
;
8778 PyObject
* _argo0
= 0;
8779 char *_kwnames
[] = { "self", NULL
};
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) return NULL
;
8797 } _resultobj
= Py_BuildValue("i",_result
);
8801 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8802 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
* _resultobj
;
8806 PyObject
* _argo0
= 0;
8807 char *_kwnames
[] = { "self", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) return NULL
;
8825 } _resultobj
= Py_BuildValue("i",_result
);
8829 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8830 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
* _resultobj
;
8835 PyObject
* _argo0
= 0;
8837 char *_kwnames
[] = { "self","expandSelection", NULL
};
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8849 _arg1
= (bool ) tempbool1
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) return NULL
;
8856 } _resultobj
= Py_BuildValue("i",_result
);
8860 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8861 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
* _resultobj
;
8866 PyObject
* _argo0
= 0;
8868 char *_kwnames
[] = { "self","expandSelection", NULL
};
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8880 _arg1
= (bool ) tempbool1
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) return NULL
;
8887 } _resultobj
= Py_BuildValue("i",_result
);
8891 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8892 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
* _resultobj
;
8897 PyObject
* _argo0
= 0;
8899 char *_kwnames
[] = { "self","expandSelection", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8911 _arg1
= (bool ) tempbool1
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) return NULL
;
8918 } _resultobj
= Py_BuildValue("i",_result
);
8922 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8923 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
* _resultobj
;
8928 PyObject
* _argo0
= 0;
8930 char *_kwnames
[] = { "self","expandSelection", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8942 _arg1
= (bool ) tempbool1
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8949 } _resultobj
= Py_BuildValue("i",_result
);
8953 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8954 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
* _resultobj
;
8958 PyObject
* _argo0
= 0;
8959 char *_kwnames
[] = { "self", NULL
};
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) return NULL
;
8977 } _resultobj
= Py_BuildValue("i",_result
);
8981 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8982 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
* _resultobj
;
8986 PyObject
* _argo0
= 0;
8987 char *_kwnames
[] = { "self", NULL
};
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) return NULL
;
9005 } _resultobj
= Py_BuildValue("i",_result
);
9009 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9010 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
* _resultobj
;
9014 PyObject
* _argo0
= 0;
9015 char *_kwnames
[] = { "self", NULL
};
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) return NULL
;
9033 } _resultobj
= Py_BuildValue("i",_result
);
9037 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9038 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
* _resultobj
;
9042 PyObject
* _argo0
= 0;
9043 char *_kwnames
[] = { "self", NULL
};
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) return NULL
;
9061 } _resultobj
= Py_BuildValue("i",_result
);
9065 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9066 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
* _resultobj
;
9070 PyObject
* _argo0
= 0;
9071 char *_kwnames
[] = { "self", NULL
};
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) return NULL
;
9090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9091 _resultobj
= Py_BuildValue("s",_ptemp
);
9095 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9096 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
* _resultobj
;
9100 PyObject
* _argo0
= 0;
9101 char *_kwnames
[] = { "self", NULL
};
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) return NULL
;
9120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9121 _resultobj
= Py_BuildValue("s",_ptemp
);
9125 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9126 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
* _resultobj
;
9130 PyObject
* _argo0
= 0;
9131 char *_kwnames
[] = { "self", NULL
};
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) return NULL
;
9150 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9151 _resultobj
= Py_BuildValue("s",_ptemp
);
9155 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9156 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9163 PyObject
* _argo0
= 0;
9164 char *_kwnames
[] = { "self", NULL
};
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9188 } Py_INCREF(Py_None
);
9189 _resultobj
= Py_None
;
9192 o
= PyInt_FromLong((long) (*_arg1
));
9193 _resultobj
= t_output_helper(_resultobj
, o
);
9197 o
= PyInt_FromLong((long) (*_arg2
));
9198 _resultobj
= t_output_helper(_resultobj
, o
);
9203 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9204 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
* _resultobj
;
9211 PyObject
* _argo0
= 0;
9212 char *_kwnames
[] = { "self", NULL
};
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9236 } Py_INCREF(Py_None
);
9237 _resultobj
= Py_None
;
9240 o
= PyInt_FromLong((long) (*_arg1
));
9241 _resultobj
= t_output_helper(_resultobj
, o
);
9245 o
= PyInt_FromLong((long) (*_arg2
));
9246 _resultobj
= t_output_helper(_resultobj
, o
);
9251 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9252 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9258 char *_kwnames
[] = { "self","row", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9277 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9285 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9286 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9291 PyObject
* _argo0
= 0;
9292 char *_kwnames
[] = { "self","col", NULL
};
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9319 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9320 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
* _resultobj
;
9324 PyObject
* _argo0
= 0;
9325 char *_kwnames
[] = { "self", NULL
};
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) return NULL
;
9344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9345 _resultobj
= Py_BuildValue("s",_ptemp
);
9349 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9350 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
* _resultobj
;
9354 PyObject
* _argo0
= 0;
9355 char *_kwnames
[] = { "self", NULL
};
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) return NULL
;
9374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9375 _resultobj
= Py_BuildValue("s",_ptemp
);
9379 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9380 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
* _resultobj
;
9384 PyObject
* _argo0
= 0;
9385 char *_kwnames
[] = { "self", NULL
};
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) return NULL
;
9403 } _resultobj
= Py_BuildValue("i",_result
);
9407 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9408 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
* _resultobj
;
9412 PyObject
* _argo0
= 0;
9413 char *_kwnames
[] = { "self", NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9431 } _resultobj
= Py_BuildValue("i",_result
);
9435 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9436 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
* _resultobj
;
9440 PyObject
* _argo0
= 0;
9441 char *_kwnames
[] = { "self","width", NULL
};
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) return NULL
;
9459 } Py_INCREF(Py_None
);
9460 _resultobj
= Py_None
;
9464 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9465 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
* _resultobj
;
9469 PyObject
* _argo0
= 0;
9470 char *_kwnames
[] = { "self","height", NULL
};
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } Py_INCREF(Py_None
);
9489 _resultobj
= Py_None
;
9493 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9494 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
* _resultobj
;
9498 PyObject
* _argo0
= 0;
9500 PyObject
* _obj1
= 0;
9501 char *_kwnames
[] = { "self","arg2", NULL
};
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9515 if (! wxColour_helper(_obj1
, &_arg1
))
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) return NULL
;
9524 } Py_INCREF(Py_None
);
9525 _resultobj
= Py_None
;
9529 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9530 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
* _resultobj
;
9534 PyObject
* _argo0
= 0;
9536 PyObject
* _obj1
= 0;
9537 char *_kwnames
[] = { "self","arg2", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9551 if (! wxColour_helper(_obj1
, &_arg1
))
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9565 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9566 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
* _resultobj
;
9570 PyObject
* _argo0
= 0;
9571 PyObject
* _argo1
= 0;
9572 char *_kwnames
[] = { "self","arg2", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) return NULL
;
9597 } Py_INCREF(Py_None
);
9598 _resultobj
= Py_None
;
9602 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9603 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
* _resultobj
;
9608 PyObject
* _argo0
= 0;
9609 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) return NULL
;
9627 } Py_INCREF(Py_None
);
9628 _resultobj
= Py_None
;
9632 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9633 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9638 PyObject
* _argo0
= 0;
9639 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) return NULL
;
9657 } Py_INCREF(Py_None
);
9658 _resultobj
= Py_None
;
9662 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9663 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
* _resultobj
;
9668 PyObject
* _argo0
= 0;
9669 PyObject
* _obj2
= 0;
9670 char *_kwnames
[] = { "self","row","arg3", NULL
};
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9683 #if PYTHON_API_VERSION >= 1009
9684 char* tmpPtr
; int tmpSize
;
9685 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9689 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9691 _arg2
= new wxString(tmpPtr
, tmpSize
);
9693 if (!PyString_Check(_obj2
)) {
9694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9697 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } Py_INCREF(Py_None
);
9707 _resultobj
= Py_None
;
9715 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9716 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
* _resultobj
;
9721 PyObject
* _argo0
= 0;
9722 PyObject
* _obj2
= 0;
9723 char *_kwnames
[] = { "self","col","arg3", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9736 #if PYTHON_API_VERSION >= 1009
9737 char* tmpPtr
; int tmpSize
;
9738 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9742 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9744 _arg2
= new wxString(tmpPtr
, tmpSize
);
9746 if (!PyString_Check(_obj2
)) {
9747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9750 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) return NULL
;
9759 } Py_INCREF(Py_None
);
9760 _resultobj
= Py_None
;
9768 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9769 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
* _resultobj
;
9773 PyObject
* _argo0
= 0;
9775 PyObject
* _obj1
= 0;
9776 char *_kwnames
[] = { "self","arg2", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9790 if (! wxColour_helper(_obj1
, &_arg1
))
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) return NULL
;
9799 } Py_INCREF(Py_None
);
9800 _resultobj
= Py_None
;
9804 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9805 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
* _resultobj
;
9809 PyObject
* _argo0
= 0;
9811 PyObject
* _obj1
= 0;
9812 char *_kwnames
[] = { "self","arg2", NULL
};
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9826 if (! wxColour_helper(_obj1
, &_arg1
))
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) return NULL
;
9835 } Py_INCREF(Py_None
);
9836 _resultobj
= Py_None
;
9840 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9841 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
* _resultobj
;
9845 PyObject
* _argo0
= 0;
9846 char *_kwnames
[] = { "self","width", NULL
};
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) return NULL
;
9864 } Py_INCREF(Py_None
);
9865 _resultobj
= Py_None
;
9869 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9870 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
* _resultobj
;
9874 PyObject
* _argo0
= 0;
9875 char *_kwnames
[] = { "self","width", NULL
};
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
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_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9893 } Py_INCREF(Py_None
);
9894 _resultobj
= Py_None
;
9898 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9899 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
* _resultobj
;
9902 bool _arg1
= (bool ) TRUE
;
9903 PyObject
* _argo0
= 0;
9904 int tempbool1
= (int) TRUE
;
9905 char *_kwnames
[] = { "self","enable", NULL
};
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9917 _arg1
= (bool ) tempbool1
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) return NULL
;
9924 } Py_INCREF(Py_None
);
9925 _resultobj
= Py_None
;
9929 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9930 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
* _resultobj
;
9933 PyObject
* _argo0
= 0;
9934 char *_kwnames
[] = { "self", NULL
};
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxGrid_DisableDragRowSize(_arg0
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) return NULL
;
9952 } Py_INCREF(Py_None
);
9953 _resultobj
= Py_None
;
9957 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9958 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
* _resultobj
;
9962 PyObject
* _argo0
= 0;
9963 char *_kwnames
[] = { "self", NULL
};
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) return NULL
;
9981 } _resultobj
= Py_BuildValue("i",_result
);
9985 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9986 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
* _resultobj
;
9989 bool _arg1
= (bool ) TRUE
;
9990 PyObject
* _argo0
= 0;
9991 int tempbool1
= (int) TRUE
;
9992 char *_kwnames
[] = { "self","enable", NULL
};
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10004 _arg1
= (bool ) tempbool1
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) return NULL
;
10011 } Py_INCREF(Py_None
);
10012 _resultobj
= Py_None
;
10016 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10017 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
* _resultobj
;
10020 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 wxGrid_DisableDragColSize(_arg0
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 } Py_INCREF(Py_None
);
10040 _resultobj
= Py_None
;
10044 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10045 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10049 PyObject
* _argo0
= 0;
10050 char *_kwnames
[] = { "self", NULL
};
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10068 } _resultobj
= Py_BuildValue("i",_result
);
10072 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10073 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
* _resultobj
;
10076 bool _arg1
= (bool ) TRUE
;
10077 PyObject
* _argo0
= 0;
10078 int tempbool1
= (int) TRUE
;
10079 char *_kwnames
[] = { "self","enable", NULL
};
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10091 _arg1
= (bool ) tempbool1
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) return NULL
;
10098 } Py_INCREF(Py_None
);
10099 _resultobj
= Py_None
;
10103 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10104 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
* _resultobj
;
10107 PyObject
* _argo0
= 0;
10108 char *_kwnames
[] = { "self", NULL
};
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 wxGrid_DisableDragGridSize(_arg0
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) return NULL
;
10126 } Py_INCREF(Py_None
);
10127 _resultobj
= Py_None
;
10131 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10132 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
* _resultobj
;
10136 PyObject
* _argo0
= 0;
10137 char *_kwnames
[] = { "self", NULL
};
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
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_CanDragGridSize. Expected _wxGrid_p.");
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) return NULL
;
10155 } _resultobj
= Py_BuildValue("i",_result
);
10159 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10160 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
* _resultobj
;
10164 wxGridCellAttr
* _arg2
;
10165 PyObject
* _argo0
= 0;
10166 PyObject
* _argo2
= 0;
10167 char *_kwnames
[] = { "self","row","attr", NULL
};
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10180 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10181 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) return NULL
;
10192 } Py_INCREF(Py_None
);
10193 _resultobj
= Py_None
;
10197 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10198 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
* _resultobj
;
10202 wxGridCellAttr
* _arg2
;
10203 PyObject
* _argo0
= 0;
10204 PyObject
* _argo2
= 0;
10205 char *_kwnames
[] = { "self","col","attr", NULL
};
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10218 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) return NULL
;
10230 } Py_INCREF(Py_None
);
10231 _resultobj
= Py_None
;
10235 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10236 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
* _resultobj
;
10240 PyObject
* _argo0
= 0;
10241 char *_kwnames
[] = { "self","col", NULL
};
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) return NULL
;
10259 } Py_INCREF(Py_None
);
10260 _resultobj
= Py_None
;
10264 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10265 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
* _resultobj
;
10269 PyObject
* _argo0
= 0;
10270 char *_kwnames
[] = { "self","col", NULL
};
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) return NULL
;
10288 } Py_INCREF(Py_None
);
10289 _resultobj
= Py_None
;
10293 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10294 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
* _resultobj
;
10298 int _arg2
= (int ) -1;
10299 int _arg3
= (int ) -1;
10300 PyObject
* _argo0
= 0;
10301 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) return NULL
;
10319 } Py_INCREF(Py_None
);
10320 _resultobj
= Py_None
;
10324 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10325 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10330 PyObject
* _argo0
= 0;
10331 PyObject
* _obj2
= 0;
10332 char *_kwnames
[] = { "self","col","typeName", NULL
};
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10345 #if PYTHON_API_VERSION >= 1009
10346 char* tmpPtr
; int tmpSize
;
10347 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10351 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10353 _arg2
= new wxString(tmpPtr
, tmpSize
);
10355 if (!PyString_Check(_obj2
)) {
10356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10359 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) return NULL
;
10368 } Py_INCREF(Py_None
);
10369 _resultobj
= Py_None
;
10377 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10378 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
* _resultobj
;
10381 bool _arg1
= (bool ) TRUE
;
10382 PyObject
* _argo0
= 0;
10383 int tempbool1
= (int) TRUE
;
10384 char *_kwnames
[] = { "self","enable", NULL
};
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10396 _arg1
= (bool ) tempbool1
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxGrid_EnableGridLines(_arg0
,_arg1
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) return NULL
;
10403 } Py_INCREF(Py_None
);
10404 _resultobj
= Py_None
;
10408 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10409 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10413 PyObject
* _argo0
= 0;
10414 char *_kwnames
[] = { "self", NULL
};
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } _resultobj
= Py_BuildValue("i",_result
);
10436 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10437 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
* _resultobj
;
10441 PyObject
* _argo0
= 0;
10442 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 } _resultobj
= Py_BuildValue("i",_result
);
10464 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10465 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10470 PyObject
* _argo0
= 0;
10471 char *_kwnames
[] = { "self","row", NULL
};
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) return NULL
;
10489 } _resultobj
= Py_BuildValue("i",_result
);
10493 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10494 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
* _resultobj
;
10498 PyObject
* _argo0
= 0;
10499 char *_kwnames
[] = { "self", NULL
};
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) return NULL
;
10517 } _resultobj
= Py_BuildValue("i",_result
);
10521 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10522 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
* _resultobj
;
10527 PyObject
* _argo0
= 0;
10528 char *_kwnames
[] = { "self","col", NULL
};
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) return NULL
;
10546 } _resultobj
= Py_BuildValue("i",_result
);
10550 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10551 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10553 wxColour
* _result
;
10555 PyObject
* _argo0
= 0;
10556 char *_kwnames
[] = { "self", NULL
};
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10575 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10576 _resultobj
= Py_BuildValue("s",_ptemp
);
10580 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10581 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
* _resultobj
;
10583 wxColour
* _result
;
10587 PyObject
* _argo0
= 0;
10588 char *_kwnames
[] = { "self","row","col", NULL
};
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) return NULL
;
10607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10608 _resultobj
= Py_BuildValue("s",_ptemp
);
10612 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10613 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
* _resultobj
;
10615 wxColour
* _result
;
10617 PyObject
* _argo0
= 0;
10618 char *_kwnames
[] = { "self", NULL
};
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) return NULL
;
10637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10638 _resultobj
= Py_BuildValue("s",_ptemp
);
10642 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10643 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
* _resultobj
;
10645 wxColour
* _result
;
10649 PyObject
* _argo0
= 0;
10650 char *_kwnames
[] = { "self","row","col", NULL
};
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) return NULL
;
10669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10670 _resultobj
= Py_BuildValue("s",_ptemp
);
10674 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10675 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
* _resultobj
;
10679 PyObject
* _argo0
= 0;
10680 char *_kwnames
[] = { "self", NULL
};
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) return NULL
;
10699 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10700 _resultobj
= Py_BuildValue("s",_ptemp
);
10704 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10705 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
* _resultobj
;
10711 PyObject
* _argo0
= 0;
10712 char *_kwnames
[] = { "self","row","col", NULL
};
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) return NULL
;
10731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10732 _resultobj
= Py_BuildValue("s",_ptemp
);
10736 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10737 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
* _resultobj
;
10742 PyObject
* _argo0
= 0;
10743 PyObject
* _argo1
= 0;
10744 PyObject
* _argo2
= 0;
10745 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10765 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10766 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) return NULL
;
10777 } Py_INCREF(Py_None
);
10778 _resultobj
= Py_None
;
10782 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10783 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
* _resultobj
;
10790 PyObject
* _argo0
= 0;
10791 PyObject
* _argo3
= 0;
10792 PyObject
* _argo4
= 0;
10793 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10806 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10807 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10813 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10814 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) return NULL
;
10825 } Py_INCREF(Py_None
);
10826 _resultobj
= Py_None
;
10830 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10831 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
* _resultobj
;
10835 bool _arg2
= (bool ) FALSE
;
10836 PyObject
* _argo0
= 0;
10837 int tempbool2
= (int) FALSE
;
10838 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10850 _arg2
= (bool ) tempbool2
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) return NULL
;
10857 } Py_INCREF(Py_None
);
10858 _resultobj
= Py_None
;
10862 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10863 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
* _resultobj
;
10868 PyObject
* _argo0
= 0;
10869 char *_kwnames
[] = { "self","row","height", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) return NULL
;
10887 } Py_INCREF(Py_None
);
10888 _resultobj
= Py_None
;
10892 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10893 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
* _resultobj
;
10897 bool _arg2
= (bool ) FALSE
;
10898 PyObject
* _argo0
= 0;
10899 int tempbool2
= (int) FALSE
;
10900 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10912 _arg2
= (bool ) tempbool2
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) return NULL
;
10919 } Py_INCREF(Py_None
);
10920 _resultobj
= Py_None
;
10924 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10925 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
* _resultobj
;
10930 PyObject
* _argo0
= 0;
10931 char *_kwnames
[] = { "self","col","width", NULL
};
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) return NULL
;
10949 } Py_INCREF(Py_None
);
10950 _resultobj
= Py_None
;
10954 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10955 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
* _resultobj
;
10959 bool _arg2
= (bool ) TRUE
;
10960 PyObject
* _argo0
= 0;
10961 int tempbool2
= (int) TRUE
;
10962 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10974 _arg2
= (bool ) tempbool2
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) return NULL
;
10981 } Py_INCREF(Py_None
);
10982 _resultobj
= Py_None
;
10986 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10987 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
* _resultobj
;
10991 bool _arg2
= (bool ) TRUE
;
10992 PyObject
* _argo0
= 0;
10993 int tempbool2
= (int) TRUE
;
10994 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11006 _arg2
= (bool ) tempbool2
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) return NULL
;
11013 } Py_INCREF(Py_None
);
11014 _resultobj
= Py_None
;
11018 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11019 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
* _resultobj
;
11022 bool _arg1
= (bool ) TRUE
;
11023 PyObject
* _argo0
= 0;
11024 int tempbool1
= (int) TRUE
;
11025 char *_kwnames
[] = { "self","setAsMin", NULL
};
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11037 _arg1
= (bool ) tempbool1
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) return NULL
;
11044 } Py_INCREF(Py_None
);
11045 _resultobj
= Py_None
;
11049 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11050 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
* _resultobj
;
11053 bool _arg1
= (bool ) TRUE
;
11054 PyObject
* _argo0
= 0;
11055 int tempbool1
= (int) TRUE
;
11056 char *_kwnames
[] = { "self","setAsMin", NULL
};
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11068 _arg1
= (bool ) tempbool1
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) return NULL
;
11075 } Py_INCREF(Py_None
);
11076 _resultobj
= Py_None
;
11080 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11081 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
* _resultobj
;
11084 PyObject
* _argo0
= 0;
11085 char *_kwnames
[] = { "self", NULL
};
11088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 wxGrid_AutoSize(_arg0
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) return NULL
;
11103 } Py_INCREF(Py_None
);
11104 _resultobj
= Py_None
;
11108 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11109 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
* _resultobj
;
11114 PyObject
* _argo0
= 0;
11115 char *_kwnames
[] = { "self","col","width", NULL
};
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) return NULL
;
11133 } Py_INCREF(Py_None
);
11134 _resultobj
= Py_None
;
11138 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11139 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
* _resultobj
;
11144 PyObject
* _argo0
= 0;
11145 char *_kwnames
[] = { "self","row","width", NULL
};
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) return NULL
;
11163 } Py_INCREF(Py_None
);
11164 _resultobj
= Py_None
;
11168 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11169 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
* _resultobj
;
11173 PyObject
* _argo0
= 0;
11175 PyObject
* _obj1
= 0;
11176 char *_kwnames
[] = { "self","arg2", NULL
};
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11190 if (! wxColour_helper(_obj1
, &_arg1
))
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) return NULL
;
11199 } Py_INCREF(Py_None
);
11200 _resultobj
= Py_None
;
11204 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11205 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
* _resultobj
;
11211 PyObject
* _argo0
= 0;
11213 PyObject
* _obj3
= 0;
11214 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11228 if (! wxColour_helper(_obj3
, &_arg3
))
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) return NULL
;
11237 } Py_INCREF(Py_None
);
11238 _resultobj
= Py_None
;
11242 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11243 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
* _resultobj
;
11247 PyObject
* _argo0
= 0;
11249 PyObject
* _obj1
= 0;
11250 char *_kwnames
[] = { "self","arg2", NULL
};
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11264 if (! wxColour_helper(_obj1
, &_arg1
))
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) return NULL
;
11273 } Py_INCREF(Py_None
);
11274 _resultobj
= Py_None
;
11278 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11279 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
* _resultobj
;
11285 PyObject
* _argo0
= 0;
11287 PyObject
* _obj3
= 0;
11288 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11302 if (! wxColour_helper(_obj3
, &_arg3
))
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) return NULL
;
11311 } Py_INCREF(Py_None
);
11312 _resultobj
= Py_None
;
11316 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11317 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
* _resultobj
;
11321 PyObject
* _argo0
= 0;
11322 PyObject
* _argo1
= 0;
11323 char *_kwnames
[] = { "self","arg2", NULL
};
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11336 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11337 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) return NULL
;
11348 } Py_INCREF(Py_None
);
11349 _resultobj
= Py_None
;
11353 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11354 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
* _resultobj
;
11360 PyObject
* _argo0
= 0;
11361 PyObject
* _argo3
= 0;
11362 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11375 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11376 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) return NULL
;
11387 } Py_INCREF(Py_None
);
11388 _resultobj
= Py_None
;
11392 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11393 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
* _resultobj
;
11398 PyObject
* _argo0
= 0;
11399 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) return NULL
;
11417 } Py_INCREF(Py_None
);
11418 _resultobj
= Py_None
;
11422 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11423 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
* _resultobj
;
11430 PyObject
* _argo0
= 0;
11431 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) return NULL
;
11449 } Py_INCREF(Py_None
);
11450 _resultobj
= Py_None
;
11454 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11455 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
* _resultobj
;
11458 wxGridCellRenderer
* _arg1
;
11459 PyObject
* _argo0
= 0;
11460 PyObject
* _argo1
= 0;
11461 char *_kwnames
[] = { "self","renderer", NULL
};
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) return NULL
;
11486 } Py_INCREF(Py_None
);
11487 _resultobj
= Py_None
;
11491 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11492 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
* _resultobj
;
11497 wxGridCellRenderer
* _arg3
;
11498 PyObject
* _argo0
= 0;
11499 PyObject
* _argo3
= 0;
11500 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11513 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11514 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) return NULL
;
11525 } Py_INCREF(Py_None
);
11526 _resultobj
= Py_None
;
11530 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11531 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
* _resultobj
;
11533 wxGridCellRenderer
* _result
;
11535 PyObject
* _argo0
= 0;
11536 char *_kwnames
[] = { "self", NULL
};
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) return NULL
;
11556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11557 _resultobj
= Py_BuildValue("s",_ptemp
);
11559 Py_INCREF(Py_None
);
11560 _resultobj
= Py_None
;
11565 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11566 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
* _resultobj
;
11568 wxGridCellRenderer
* _result
;
11572 PyObject
* _argo0
= 0;
11573 char *_kwnames
[] = { "self","row","col", NULL
};
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) return NULL
;
11593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11594 _resultobj
= Py_BuildValue("s",_ptemp
);
11596 Py_INCREF(Py_None
);
11597 _resultobj
= Py_None
;
11602 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11603 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
* _resultobj
;
11606 wxGridCellEditor
* _arg1
;
11607 PyObject
* _argo0
= 0;
11608 PyObject
* _argo1
= 0;
11609 char *_kwnames
[] = { "self","editor", NULL
};
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) return NULL
;
11634 } Py_INCREF(Py_None
);
11635 _resultobj
= Py_None
;
11639 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11640 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
* _resultobj
;
11645 wxGridCellEditor
* _arg3
;
11646 PyObject
* _argo0
= 0;
11647 PyObject
* _argo3
= 0;
11648 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11661 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11662 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) return NULL
;
11673 } Py_INCREF(Py_None
);
11674 _resultobj
= Py_None
;
11678 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11679 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
* _resultobj
;
11681 wxGridCellEditor
* _result
;
11683 PyObject
* _argo0
= 0;
11684 char *_kwnames
[] = { "self", NULL
};
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) return NULL
;
11704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11705 _resultobj
= Py_BuildValue("s",_ptemp
);
11707 Py_INCREF(Py_None
);
11708 _resultobj
= Py_None
;
11713 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11714 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
* _resultobj
;
11716 wxGridCellEditor
* _result
;
11720 PyObject
* _argo0
= 0;
11721 char *_kwnames
[] = { "self","row","col", NULL
};
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) return NULL
;
11741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11742 _resultobj
= Py_BuildValue("s",_ptemp
);
11744 Py_INCREF(Py_None
);
11745 _resultobj
= Py_None
;
11750 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11751 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
* _resultobj
;
11753 wxString
* _result
;
11757 PyObject
* _argo0
= 0;
11758 char *_kwnames
[] = { "self","row","col", NULL
};
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) return NULL
;
11777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11785 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11786 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
* _resultobj
;
11792 PyObject
* _argo0
= 0;
11793 PyObject
* _obj3
= 0;
11794 char *_kwnames
[] = { "self","row","col","s", NULL
};
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11807 #if PYTHON_API_VERSION >= 1009
11808 char* tmpPtr
; int tmpSize
;
11809 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11813 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11815 _arg3
= new wxString(tmpPtr
, tmpSize
);
11817 if (!PyString_Check(_obj3
)) {
11818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11821 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) return NULL
;
11830 } Py_INCREF(Py_None
);
11831 _resultobj
= Py_None
;
11839 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11840 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
* _resultobj
;
11846 PyObject
* _argo0
= 0;
11847 char *_kwnames
[] = { "self","row","col", NULL
};
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) return NULL
;
11865 } _resultobj
= Py_BuildValue("i",_result
);
11869 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11870 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
* _resultobj
;
11875 bool _arg3
= (bool ) TRUE
;
11876 PyObject
* _argo0
= 0;
11877 int tempbool3
= (int) TRUE
;
11878 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11890 _arg3
= (bool ) tempbool3
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) return NULL
;
11897 } Py_INCREF(Py_None
);
11898 _resultobj
= Py_None
;
11902 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11903 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
* _resultobj
;
11907 bool _arg2
= (bool ) FALSE
;
11908 PyObject
* _argo0
= 0;
11909 int tempbool2
= (int) FALSE
;
11910 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11922 _arg2
= (bool ) tempbool2
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) return NULL
;
11929 } Py_INCREF(Py_None
);
11930 _resultobj
= Py_None
;
11934 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11935 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
* _resultobj
;
11939 bool _arg2
= (bool ) FALSE
;
11940 PyObject
* _argo0
= 0;
11941 int tempbool2
= (int) FALSE
;
11942 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11954 _arg2
= (bool ) tempbool2
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) return NULL
;
11961 } Py_INCREF(Py_None
);
11962 _resultobj
= Py_None
;
11966 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11967 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
* _resultobj
;
11974 bool _arg5
= (bool ) FALSE
;
11975 PyObject
* _argo0
= 0;
11976 int tempbool5
= (int) FALSE
;
11977 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11989 _arg5
= (bool ) tempbool5
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) return NULL
;
11996 } Py_INCREF(Py_None
);
11997 _resultobj
= Py_None
;
12001 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12002 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
* _resultobj
;
12005 PyObject
* _argo0
= 0;
12006 char *_kwnames
[] = { "self", NULL
};
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 wxGrid_SelectAll(_arg0
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) return NULL
;
12024 } Py_INCREF(Py_None
);
12025 _resultobj
= Py_None
;
12029 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12030 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
* _resultobj
;
12034 PyObject
* _argo0
= 0;
12035 char *_kwnames
[] = { "self", NULL
};
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 _result
= (bool )wxGrid_IsSelection(_arg0
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) return NULL
;
12053 } _resultobj
= Py_BuildValue("i",_result
);
12057 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12058 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
* _resultobj
;
12061 PyObject
* _argo0
= 0;
12062 char *_kwnames
[] = { "self", NULL
};
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 wxGrid_ClearSelection(_arg0
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) return NULL
;
12080 } Py_INCREF(Py_None
);
12081 _resultobj
= Py_None
;
12085 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12086 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
* _resultobj
;
12092 PyObject
* _argo0
= 0;
12093 char *_kwnames
[] = { "self","row","col", NULL
};
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) return NULL
;
12111 } _resultobj
= Py_BuildValue("i",_result
);
12115 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12116 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
* _resultobj
;
12120 wxGridCellCoords
* _arg1
;
12121 wxGridCellCoords
* _arg2
;
12122 PyObject
* _argo0
= 0;
12123 wxGridCellCoords temp
;
12124 PyObject
* _obj1
= 0;
12125 wxGridCellCoords temp0
;
12126 PyObject
* _obj2
= 0;
12127 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12142 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12147 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) return NULL
;
12156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12157 _resultobj
= Py_BuildValue("s",_ptemp
);
12161 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12162 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
* _resultobj
;
12164 wxColour
* _result
;
12166 PyObject
* _argo0
= 0;
12167 char *_kwnames
[] = { "self", NULL
};
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) return NULL
;
12186 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12187 _resultobj
= Py_BuildValue("s",_ptemp
);
12191 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12192 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
* _resultobj
;
12194 wxColour
* _result
;
12196 PyObject
* _argo0
= 0;
12197 char *_kwnames
[] = { "self", NULL
};
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) return NULL
;
12216 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12217 _resultobj
= Py_BuildValue("s",_ptemp
);
12221 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12222 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
* _resultobj
;
12226 PyObject
* _argo0
= 0;
12228 PyObject
* _obj1
= 0;
12229 char *_kwnames
[] = { "self","c", NULL
};
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12243 if (! wxColour_helper(_obj1
, &_arg1
))
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) return NULL
;
12252 } Py_INCREF(Py_None
);
12253 _resultobj
= Py_None
;
12257 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12258 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
* _resultobj
;
12262 PyObject
* _argo0
= 0;
12264 PyObject
* _obj1
= 0;
12265 char *_kwnames
[] = { "self","c", NULL
};
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12279 if (! wxColour_helper(_obj1
, &_arg1
))
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) return NULL
;
12288 } Py_INCREF(Py_None
);
12289 _resultobj
= Py_None
;
12293 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12294 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
* _resultobj
;
12298 wxGridCellRenderer
* _arg2
;
12299 wxGridCellEditor
* _arg3
;
12300 PyObject
* _argo0
= 0;
12301 PyObject
* _obj1
= 0;
12302 PyObject
* _argo2
= 0;
12303 PyObject
* _argo3
= 0;
12304 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12317 #if PYTHON_API_VERSION >= 1009
12318 char* tmpPtr
; int tmpSize
;
12319 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12323 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12325 _arg1
= new wxString(tmpPtr
, tmpSize
);
12327 if (!PyString_Check(_obj1
)) {
12328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12331 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12335 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12336 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12342 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12343 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) return NULL
;
12354 } Py_INCREF(Py_None
);
12355 _resultobj
= Py_None
;
12363 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12364 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
* _resultobj
;
12366 wxGridCellEditor
* _result
;
12370 PyObject
* _argo0
= 0;
12371 char *_kwnames
[] = { "self","row","col", NULL
};
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) return NULL
;
12391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12392 _resultobj
= Py_BuildValue("s",_ptemp
);
12394 Py_INCREF(Py_None
);
12395 _resultobj
= Py_None
;
12400 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12401 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
* _resultobj
;
12403 wxGridCellRenderer
* _result
;
12407 PyObject
* _argo0
= 0;
12408 char *_kwnames
[] = { "self","row","col", NULL
};
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) return NULL
;
12428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12429 _resultobj
= Py_BuildValue("s",_ptemp
);
12431 Py_INCREF(Py_None
);
12432 _resultobj
= Py_None
;
12437 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12438 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
* _resultobj
;
12440 wxGridCellEditor
* _result
;
12443 PyObject
* _argo0
= 0;
12444 PyObject
* _obj1
= 0;
12445 char *_kwnames
[] = { "self","typeName", NULL
};
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12459 #if PYTHON_API_VERSION >= 1009
12460 char* tmpPtr
; int tmpSize
;
12461 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12465 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12467 _arg1
= new wxString(tmpPtr
, tmpSize
);
12469 if (!PyString_Check(_obj1
)) {
12470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12473 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) return NULL
;
12483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12484 _resultobj
= Py_BuildValue("s",_ptemp
);
12486 Py_INCREF(Py_None
);
12487 _resultobj
= Py_None
;
12496 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12497 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
* _resultobj
;
12499 wxGridCellRenderer
* _result
;
12502 PyObject
* _argo0
= 0;
12503 PyObject
* _obj1
= 0;
12504 char *_kwnames
[] = { "self","typeName", NULL
};
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12518 #if PYTHON_API_VERSION >= 1009
12519 char* tmpPtr
; int tmpSize
;
12520 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12521 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12524 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12526 _arg1
= new wxString(tmpPtr
, tmpSize
);
12528 if (!PyString_Check(_obj1
)) {
12529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12532 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) return NULL
;
12542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12543 _resultobj
= Py_BuildValue("s",_ptemp
);
12545 Py_INCREF(Py_None
);
12546 _resultobj
= Py_None
;
12555 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12556 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
* _resultobj
;
12561 PyObject
* _argo0
= 0;
12562 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) return NULL
;
12580 } Py_INCREF(Py_None
);
12581 _resultobj
= Py_None
;
12585 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12586 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
* _resultobj
;
12588 wxWindow
* _result
;
12590 PyObject
* _argo0
= 0;
12591 char *_kwnames
[] = { "self", NULL
};
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) return NULL
;
12609 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12613 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12614 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
* _resultobj
;
12616 wxWindow
* _result
;
12618 PyObject
* _argo0
= 0;
12619 char *_kwnames
[] = { "self", NULL
};
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) return NULL
;
12637 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12641 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12642 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
* _resultobj
;
12644 wxWindow
* _result
;
12646 PyObject
* _argo0
= 0;
12647 char *_kwnames
[] = { "self", NULL
};
12650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) return NULL
;
12665 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12669 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12670 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
* _resultobj
;
12672 wxWindow
* _result
;
12674 PyObject
* _argo0
= 0;
12675 char *_kwnames
[] = { "self", NULL
};
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) return NULL
;
12693 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12697 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12699 wxNotifyEvent
*dest
;
12700 src
= (wxGridEvent
*) ptr
;
12701 dest
= (wxNotifyEvent
*) src
;
12702 return (void *) dest
;
12705 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12707 wxCommandEvent
*dest
;
12708 src
= (wxGridEvent
*) ptr
;
12709 dest
= (wxCommandEvent
*) src
;
12710 return (void *) dest
;
12713 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12716 src
= (wxGridEvent
*) ptr
;
12717 dest
= (wxEvent
*) src
;
12718 return (void *) dest
;
12721 static void *SwigwxGridEventTowxObject(void *ptr
) {
12724 src
= (wxGridEvent
*) ptr
;
12725 dest
= (wxObject
*) src
;
12726 return (void *) dest
;
12729 #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))
12730 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
* _resultobj
;
12732 wxGridEvent
* _result
;
12736 int _arg3
= (int ) -1;
12737 int _arg4
= (int ) -1;
12738 int _arg5
= (int ) -1;
12739 int _arg6
= (int ) -1;
12740 bool _arg7
= (bool ) TRUE
;
12741 bool _arg8
= (bool ) FALSE
;
12742 bool _arg9
= (bool ) FALSE
;
12743 bool _arg10
= (bool ) FALSE
;
12744 bool _arg11
= (bool ) FALSE
;
12745 PyObject
* _argo2
= 0;
12746 int tempbool7
= (int) TRUE
;
12747 int tempbool8
= (int) FALSE
;
12748 int tempbool9
= (int) FALSE
;
12749 int tempbool10
= (int) FALSE
;
12750 int tempbool11
= (int) FALSE
;
12751 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12758 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12759 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12764 _arg7
= (bool ) tempbool7
;
12765 _arg8
= (bool ) tempbool8
;
12766 _arg9
= (bool ) tempbool9
;
12767 _arg10
= (bool ) tempbool10
;
12768 _arg11
= (bool ) tempbool11
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) return NULL
;
12776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12777 _resultobj
= Py_BuildValue("s",_ptemp
);
12779 Py_INCREF(Py_None
);
12780 _resultobj
= Py_None
;
12785 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12786 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
* _resultobj
;
12789 wxGridEvent
* _arg0
;
12790 PyObject
* _argo0
= 0;
12791 char *_kwnames
[] = { "self", NULL
};
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 _result
= (int )wxGridEvent_GetRow(_arg0
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) return NULL
;
12809 } _resultobj
= Py_BuildValue("i",_result
);
12813 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12814 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
* _resultobj
;
12817 wxGridEvent
* _arg0
;
12818 PyObject
* _argo0
= 0;
12819 char *_kwnames
[] = { "self", NULL
};
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 _result
= (int )wxGridEvent_GetCol(_arg0
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) return NULL
;
12837 } _resultobj
= Py_BuildValue("i",_result
);
12841 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12842 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
* _resultobj
;
12845 wxGridEvent
* _arg0
;
12846 PyObject
* _argo0
= 0;
12847 char *_kwnames
[] = { "self", NULL
};
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) return NULL
;
12866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12867 _resultobj
= Py_BuildValue("s",_ptemp
);
12871 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12872 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
* _resultobj
;
12875 wxGridEvent
* _arg0
;
12876 PyObject
* _argo0
= 0;
12877 char *_kwnames
[] = { "self", NULL
};
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) return NULL
;
12895 } _resultobj
= Py_BuildValue("i",_result
);
12899 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12900 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
* _resultobj
;
12903 wxGridEvent
* _arg0
;
12904 PyObject
* _argo0
= 0;
12905 char *_kwnames
[] = { "self", NULL
};
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) return NULL
;
12923 } _resultobj
= Py_BuildValue("i",_result
);
12927 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12928 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
* _resultobj
;
12931 wxGridEvent
* _arg0
;
12932 PyObject
* _argo0
= 0;
12933 char *_kwnames
[] = { "self", NULL
};
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) return NULL
;
12951 } _resultobj
= Py_BuildValue("i",_result
);
12955 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12956 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
* _resultobj
;
12959 wxGridEvent
* _arg0
;
12960 PyObject
* _argo0
= 0;
12961 char *_kwnames
[] = { "self", NULL
};
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) return NULL
;
12979 } _resultobj
= Py_BuildValue("i",_result
);
12983 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12984 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
* _resultobj
;
12987 wxGridEvent
* _arg0
;
12988 PyObject
* _argo0
= 0;
12989 char *_kwnames
[] = { "self", NULL
};
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13005 wxPyEndAllowThreads(__tstate
);
13006 if (PyErr_Occurred()) return NULL
;
13007 } _resultobj
= Py_BuildValue("i",_result
);
13011 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13012 wxGridSizeEvent
*src
;
13013 wxNotifyEvent
*dest
;
13014 src
= (wxGridSizeEvent
*) ptr
;
13015 dest
= (wxNotifyEvent
*) src
;
13016 return (void *) dest
;
13019 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13020 wxGridSizeEvent
*src
;
13021 wxCommandEvent
*dest
;
13022 src
= (wxGridSizeEvent
*) ptr
;
13023 dest
= (wxCommandEvent
*) src
;
13024 return (void *) dest
;
13027 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13028 wxGridSizeEvent
*src
;
13030 src
= (wxGridSizeEvent
*) ptr
;
13031 dest
= (wxEvent
*) src
;
13032 return (void *) dest
;
13035 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13036 wxGridSizeEvent
*src
;
13038 src
= (wxGridSizeEvent
*) ptr
;
13039 dest
= (wxObject
*) src
;
13040 return (void *) dest
;
13043 #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))
13044 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
* _resultobj
;
13046 wxGridSizeEvent
* _result
;
13050 int _arg3
= (int ) -1;
13051 int _arg4
= (int ) -1;
13052 int _arg5
= (int ) -1;
13053 bool _arg6
= (bool ) FALSE
;
13054 bool _arg7
= (bool ) FALSE
;
13055 bool _arg8
= (bool ) FALSE
;
13056 bool _arg9
= (bool ) FALSE
;
13057 PyObject
* _argo2
= 0;
13058 int tempbool6
= (int) FALSE
;
13059 int tempbool7
= (int) FALSE
;
13060 int tempbool8
= (int) FALSE
;
13061 int tempbool9
= (int) FALSE
;
13062 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13069 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13070 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13075 _arg6
= (bool ) tempbool6
;
13076 _arg7
= (bool ) tempbool7
;
13077 _arg8
= (bool ) tempbool8
;
13078 _arg9
= (bool ) tempbool9
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) return NULL
;
13086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13087 _resultobj
= Py_BuildValue("s",_ptemp
);
13089 Py_INCREF(Py_None
);
13090 _resultobj
= Py_None
;
13095 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13096 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
* _resultobj
;
13099 wxGridSizeEvent
* _arg0
;
13100 PyObject
* _argo0
= 0;
13101 char *_kwnames
[] = { "self", NULL
};
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) return NULL
;
13119 } _resultobj
= Py_BuildValue("i",_result
);
13123 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13124 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
* _resultobj
;
13127 wxGridSizeEvent
* _arg0
;
13128 PyObject
* _argo0
= 0;
13129 char *_kwnames
[] = { "self", NULL
};
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) return NULL
;
13148 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13149 _resultobj
= Py_BuildValue("s",_ptemp
);
13153 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13154 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
* _resultobj
;
13157 wxGridSizeEvent
* _arg0
;
13158 PyObject
* _argo0
= 0;
13159 char *_kwnames
[] = { "self", NULL
};
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) return NULL
;
13177 } _resultobj
= Py_BuildValue("i",_result
);
13181 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13182 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
* _resultobj
;
13185 wxGridSizeEvent
* _arg0
;
13186 PyObject
* _argo0
= 0;
13187 char *_kwnames
[] = { "self", NULL
};
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) return NULL
;
13205 } _resultobj
= Py_BuildValue("i",_result
);
13209 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13210 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
* _resultobj
;
13213 wxGridSizeEvent
* _arg0
;
13214 PyObject
* _argo0
= 0;
13215 char *_kwnames
[] = { "self", NULL
};
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) return NULL
;
13233 } _resultobj
= Py_BuildValue("i",_result
);
13237 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13238 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
* _resultobj
;
13241 wxGridSizeEvent
* _arg0
;
13242 PyObject
* _argo0
= 0;
13243 char *_kwnames
[] = { "self", NULL
};
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) return NULL
;
13261 } _resultobj
= Py_BuildValue("i",_result
);
13265 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13266 wxGridRangeSelectEvent
*src
;
13267 wxNotifyEvent
*dest
;
13268 src
= (wxGridRangeSelectEvent
*) ptr
;
13269 dest
= (wxNotifyEvent
*) src
;
13270 return (void *) dest
;
13273 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13274 wxGridRangeSelectEvent
*src
;
13275 wxCommandEvent
*dest
;
13276 src
= (wxGridRangeSelectEvent
*) ptr
;
13277 dest
= (wxCommandEvent
*) src
;
13278 return (void *) dest
;
13281 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13282 wxGridRangeSelectEvent
*src
;
13284 src
= (wxGridRangeSelectEvent
*) ptr
;
13285 dest
= (wxEvent
*) src
;
13286 return (void *) dest
;
13289 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13290 wxGridRangeSelectEvent
*src
;
13292 src
= (wxGridRangeSelectEvent
*) ptr
;
13293 dest
= (wxObject
*) src
;
13294 return (void *) dest
;
13297 #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))
13298 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
* _resultobj
;
13300 wxGridRangeSelectEvent
* _result
;
13304 wxGridCellCoords
* _arg3
;
13305 wxGridCellCoords
* _arg4
;
13306 bool _arg5
= (bool ) TRUE
;
13307 bool _arg6
= (bool ) FALSE
;
13308 bool _arg7
= (bool ) FALSE
;
13309 bool _arg8
= (bool ) FALSE
;
13310 bool _arg9
= (bool ) FALSE
;
13311 PyObject
* _argo2
= 0;
13312 wxGridCellCoords temp
;
13313 PyObject
* _obj3
= 0;
13314 wxGridCellCoords temp0
;
13315 PyObject
* _obj4
= 0;
13316 int tempbool5
= (int) TRUE
;
13317 int tempbool6
= (int) FALSE
;
13318 int tempbool7
= (int) FALSE
;
13319 int tempbool8
= (int) FALSE
;
13320 int tempbool9
= (int) FALSE
;
13321 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13328 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13329 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13336 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13341 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13344 _arg5
= (bool ) tempbool5
;
13345 _arg6
= (bool ) tempbool6
;
13346 _arg7
= (bool ) tempbool7
;
13347 _arg8
= (bool ) tempbool8
;
13348 _arg9
= (bool ) tempbool9
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) return NULL
;
13356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13357 _resultobj
= Py_BuildValue("s",_ptemp
);
13359 Py_INCREF(Py_None
);
13360 _resultobj
= Py_None
;
13365 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13366 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
* _resultobj
;
13368 wxGridCellCoords
* _result
;
13369 wxGridRangeSelectEvent
* _arg0
;
13370 PyObject
* _argo0
= 0;
13371 char *_kwnames
[] = { "self", NULL
};
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) return NULL
;
13390 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13391 _resultobj
= Py_BuildValue("s",_ptemp
);
13395 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13396 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
* _resultobj
;
13398 wxGridCellCoords
* _result
;
13399 wxGridRangeSelectEvent
* _arg0
;
13400 PyObject
* _argo0
= 0;
13401 char *_kwnames
[] = { "self", NULL
};
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) return NULL
;
13420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13421 _resultobj
= Py_BuildValue("s",_ptemp
);
13425 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13426 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
* _resultobj
;
13429 wxGridRangeSelectEvent
* _arg0
;
13430 PyObject
* _argo0
= 0;
13431 char *_kwnames
[] = { "self", NULL
};
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) return NULL
;
13449 } _resultobj
= Py_BuildValue("i",_result
);
13453 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13454 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
* _resultobj
;
13457 wxGridRangeSelectEvent
* _arg0
;
13458 PyObject
* _argo0
= 0;
13459 char *_kwnames
[] = { "self", NULL
};
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) return NULL
;
13477 } _resultobj
= Py_BuildValue("i",_result
);
13481 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13482 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
* _resultobj
;
13485 wxGridRangeSelectEvent
* _arg0
;
13486 PyObject
* _argo0
= 0;
13487 char *_kwnames
[] = { "self", NULL
};
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) return NULL
;
13505 } _resultobj
= Py_BuildValue("i",_result
);
13509 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13510 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
* _resultobj
;
13513 wxGridRangeSelectEvent
* _arg0
;
13514 PyObject
* _argo0
= 0;
13515 char *_kwnames
[] = { "self", NULL
};
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) return NULL
;
13533 } _resultobj
= Py_BuildValue("i",_result
);
13537 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13538 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
* _resultobj
;
13541 wxGridRangeSelectEvent
* _arg0
;
13542 PyObject
* _argo0
= 0;
13543 char *_kwnames
[] = { "self", NULL
};
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) return NULL
;
13561 } _resultobj
= Py_BuildValue("i",_result
);
13565 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13566 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
* _resultobj
;
13569 wxGridRangeSelectEvent
* _arg0
;
13570 PyObject
* _argo0
= 0;
13571 char *_kwnames
[] = { "self", NULL
};
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) return NULL
;
13589 } _resultobj
= Py_BuildValue("i",_result
);
13593 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13594 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
* _resultobj
;
13597 wxGridRangeSelectEvent
* _arg0
;
13598 PyObject
* _argo0
= 0;
13599 char *_kwnames
[] = { "self", NULL
};
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) return NULL
;
13617 } _resultobj
= Py_BuildValue("i",_result
);
13621 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13622 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
* _resultobj
;
13625 wxGridRangeSelectEvent
* _arg0
;
13626 PyObject
* _argo0
= 0;
13627 char *_kwnames
[] = { "self", NULL
};
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) return NULL
;
13645 } _resultobj
= Py_BuildValue("i",_result
);
13649 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13650 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
* _resultobj
;
13653 wxGridRangeSelectEvent
* _arg0
;
13654 PyObject
* _argo0
= 0;
13655 char *_kwnames
[] = { "self", NULL
};
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) return NULL
;
13673 } _resultobj
= Py_BuildValue("i",_result
);
13677 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13678 wxGridEditorCreatedEvent
*src
;
13679 wxCommandEvent
*dest
;
13680 src
= (wxGridEditorCreatedEvent
*) ptr
;
13681 dest
= (wxCommandEvent
*) src
;
13682 return (void *) dest
;
13685 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13686 wxGridEditorCreatedEvent
*src
;
13688 src
= (wxGridEditorCreatedEvent
*) ptr
;
13689 dest
= (wxEvent
*) src
;
13690 return (void *) dest
;
13693 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13694 wxGridEditorCreatedEvent
*src
;
13696 src
= (wxGridEditorCreatedEvent
*) ptr
;
13697 dest
= (wxObject
*) src
;
13698 return (void *) dest
;
13701 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13702 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
* _resultobj
;
13704 wxGridEditorCreatedEvent
* _result
;
13711 PyObject
* _argo2
= 0;
13712 PyObject
* _argo5
= 0;
13713 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13720 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13721 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13727 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13728 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) return NULL
;
13740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13741 _resultobj
= Py_BuildValue("s",_ptemp
);
13743 Py_INCREF(Py_None
);
13744 _resultobj
= Py_None
;
13749 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13750 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
* _resultobj
;
13753 wxGridEditorCreatedEvent
* _arg0
;
13754 PyObject
* _argo0
= 0;
13755 char *_kwnames
[] = { "self", NULL
};
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) return NULL
;
13773 } _resultobj
= Py_BuildValue("i",_result
);
13777 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13778 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
* _resultobj
;
13781 wxGridEditorCreatedEvent
* _arg0
;
13782 PyObject
* _argo0
= 0;
13783 char *_kwnames
[] = { "self", NULL
};
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) return NULL
;
13801 } _resultobj
= Py_BuildValue("i",_result
);
13805 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13806 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
* _resultobj
;
13808 wxControl
* _result
;
13809 wxGridEditorCreatedEvent
* _arg0
;
13810 PyObject
* _argo0
= 0;
13811 char *_kwnames
[] = { "self", NULL
};
13814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) return NULL
;
13829 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13833 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13834 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
* _resultobj
;
13836 wxGridEditorCreatedEvent
* _arg0
;
13838 PyObject
* _argo0
= 0;
13839 char *_kwnames
[] = { "self","row", NULL
};
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) return NULL
;
13857 } Py_INCREF(Py_None
);
13858 _resultobj
= Py_None
;
13862 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13863 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
* _resultobj
;
13865 wxGridEditorCreatedEvent
* _arg0
;
13867 PyObject
* _argo0
= 0;
13868 char *_kwnames
[] = { "self","col", NULL
};
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) return NULL
;
13886 } Py_INCREF(Py_None
);
13887 _resultobj
= Py_None
;
13891 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13892 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
* _resultobj
;
13894 wxGridEditorCreatedEvent
* _arg0
;
13896 PyObject
* _argo0
= 0;
13897 PyObject
* _argo1
= 0;
13898 char *_kwnames
[] = { "self","ctrl", NULL
};
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) return NULL
;
13923 } Py_INCREF(Py_None
);
13924 _resultobj
= Py_None
;
13928 static PyMethodDef gridcMethods
[] = {
13929 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14071 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14072 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14073 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14074 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14075 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14076 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14077 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14078 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14079 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14080 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14081 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14082 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14083 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14084 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14085 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14086 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14087 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14088 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14089 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14090 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14091 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14092 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14093 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14094 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14095 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14096 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14097 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14098 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14099 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14100 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14101 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14102 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14103 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14104 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14105 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14106 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14107 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14108 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14109 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14110 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14111 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14112 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14113 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14114 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14115 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14116 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14117 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14118 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14119 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14120 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14121 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14122 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14123 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14124 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14125 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14126 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14127 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14128 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14129 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14130 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14131 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14132 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14133 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14134 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14135 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14136 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14137 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14138 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14139 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14140 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14141 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14142 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14143 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14144 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14145 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14146 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14147 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14148 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14149 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14150 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14151 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14152 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14153 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14154 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14155 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14156 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14157 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14158 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14159 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14160 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14161 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14162 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14163 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14164 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14165 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14166 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14167 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14168 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14169 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14170 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14171 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14172 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14173 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14174 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14175 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14176 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14177 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14178 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14179 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14180 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14181 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14182 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14183 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14184 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14185 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14186 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14187 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14188 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14189 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14190 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14191 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14192 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14193 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14194 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14195 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14196 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14197 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14198 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14199 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14200 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14201 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14202 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14203 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14204 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14205 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14206 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14207 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14208 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14209 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14210 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14211 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14212 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14213 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14214 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14215 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14216 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14217 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14218 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14219 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14220 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14221 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14222 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14223 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14224 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14225 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14226 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14227 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14228 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14229 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14230 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14231 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14232 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14233 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14234 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14235 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14236 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14237 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14238 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14239 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14240 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14241 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14242 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14243 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14244 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14245 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14246 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14247 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14248 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14249 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14250 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14251 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14252 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14253 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14254 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14255 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14256 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14257 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14258 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14259 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14260 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14261 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14262 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14263 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14264 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14265 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14266 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14267 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14268 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14269 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14270 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14271 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14272 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14273 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14274 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14275 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14276 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14277 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14278 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14279 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14280 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14281 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14282 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14283 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14284 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14285 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14286 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14287 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14288 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14289 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14290 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14291 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14292 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14293 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14294 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14295 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14296 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14297 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14298 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14299 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14300 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14301 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14308 * This table is used by the pointer type-checker
14310 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14311 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14312 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14313 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14314 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14315 { "_signed_long","_long",0},
14316 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14317 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14318 { "_wxPrintQuality","_wxCoord",0},
14319 { "_wxPrintQuality","_int",0},
14320 { "_wxPrintQuality","_signed_int",0},
14321 { "_wxPrintQuality","_unsigned_int",0},
14322 { "_wxPrintQuality","_wxWindowID",0},
14323 { "_wxPrintQuality","_uint",0},
14324 { "_wxPrintQuality","_EBool",0},
14325 { "_wxPrintQuality","_size_t",0},
14326 { "_wxPrintQuality","_time_t",0},
14327 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14328 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14329 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14330 { "_byte","_unsigned_char",0},
14331 { "_long","_unsigned_long",0},
14332 { "_long","_signed_long",0},
14333 { "_size_t","_WXGRIDSELECTIONMODES",0},
14334 { "_size_t","_wxCoord",0},
14335 { "_size_t","_wxPrintQuality",0},
14336 { "_size_t","_time_t",0},
14337 { "_size_t","_unsigned_int",0},
14338 { "_size_t","_int",0},
14339 { "_size_t","_wxWindowID",0},
14340 { "_size_t","_uint",0},
14341 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14342 { "_uint","_WXGRIDSELECTIONMODES",0},
14343 { "_uint","_wxCoord",0},
14344 { "_uint","_wxPrintQuality",0},
14345 { "_uint","_time_t",0},
14346 { "_uint","_size_t",0},
14347 { "_uint","_unsigned_int",0},
14348 { "_uint","_int",0},
14349 { "_uint","_wxWindowID",0},
14350 { "_wxChar","_char",0},
14351 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14352 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14353 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14354 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14355 { "_char","_wxChar",0},
14356 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14357 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14358 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14359 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14360 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14361 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14362 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14363 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14364 { "_EBool","_WXGRIDSELECTIONMODES",0},
14365 { "_EBool","_wxCoord",0},
14366 { "_EBool","_wxPrintQuality",0},
14367 { "_EBool","_signed_int",0},
14368 { "_EBool","_int",0},
14369 { "_EBool","_wxWindowID",0},
14370 { "_unsigned_long","_long",0},
14371 { "_WXGRIDSELECTIONMODES","_int",0},
14372 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14373 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14374 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14375 { "_WXGRIDSELECTIONMODES","_uint",0},
14376 { "_WXGRIDSELECTIONMODES","_EBool",0},
14377 { "_WXGRIDSELECTIONMODES","_size_t",0},
14378 { "_WXGRIDSELECTIONMODES","_time_t",0},
14379 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14380 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14381 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14382 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14383 { "_signed_int","_wxCoord",0},
14384 { "_signed_int","_wxPrintQuality",0},
14385 { "_signed_int","_EBool",0},
14386 { "_signed_int","_wxWindowID",0},
14387 { "_signed_int","_int",0},
14388 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14389 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14390 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14391 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14392 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14393 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14394 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14395 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14396 { "_WXTYPE","_short",0},
14397 { "_WXTYPE","_signed_short",0},
14398 { "_WXTYPE","_unsigned_short",0},
14399 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14400 { "_unsigned_short","_WXTYPE",0},
14401 { "_unsigned_short","_short",0},
14402 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14403 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14404 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14405 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14406 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14407 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14408 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14409 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14410 { "_signed_short","_WXTYPE",0},
14411 { "_signed_short","_short",0},
14412 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14413 { "_unsigned_char","_byte",0},
14414 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14415 { "_unsigned_int","_wxCoord",0},
14416 { "_unsigned_int","_wxPrintQuality",0},
14417 { "_unsigned_int","_time_t",0},
14418 { "_unsigned_int","_size_t",0},
14419 { "_unsigned_int","_uint",0},
14420 { "_unsigned_int","_wxWindowID",0},
14421 { "_unsigned_int","_int",0},
14422 { "_short","_WXTYPE",0},
14423 { "_short","_unsigned_short",0},
14424 { "_short","_signed_short",0},
14425 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14426 { "_wxWindowID","_wxCoord",0},
14427 { "_wxWindowID","_wxPrintQuality",0},
14428 { "_wxWindowID","_time_t",0},
14429 { "_wxWindowID","_size_t",0},
14430 { "_wxWindowID","_EBool",0},
14431 { "_wxWindowID","_uint",0},
14432 { "_wxWindowID","_int",0},
14433 { "_wxWindowID","_signed_int",0},
14434 { "_wxWindowID","_unsigned_int",0},
14435 { "_int","_WXGRIDSELECTIONMODES",0},
14436 { "_int","_wxCoord",0},
14437 { "_int","_wxPrintQuality",0},
14438 { "_int","_time_t",0},
14439 { "_int","_size_t",0},
14440 { "_int","_EBool",0},
14441 { "_int","_uint",0},
14442 { "_int","_wxWindowID",0},
14443 { "_int","_unsigned_int",0},
14444 { "_int","_signed_int",0},
14445 { "_time_t","_WXGRIDSELECTIONMODES",0},
14446 { "_time_t","_wxCoord",0},
14447 { "_time_t","_wxPrintQuality",0},
14448 { "_time_t","_unsigned_int",0},
14449 { "_time_t","_int",0},
14450 { "_time_t","_wxWindowID",0},
14451 { "_time_t","_uint",0},
14452 { "_time_t","_size_t",0},
14453 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14454 { "_wxCoord","_int",0},
14455 { "_wxCoord","_signed_int",0},
14456 { "_wxCoord","_unsigned_int",0},
14457 { "_wxCoord","_wxWindowID",0},
14458 { "_wxCoord","_uint",0},
14459 { "_wxCoord","_EBool",0},
14460 { "_wxCoord","_size_t",0},
14461 { "_wxCoord","_time_t",0},
14462 { "_wxCoord","_wxPrintQuality",0},
14463 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14464 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14465 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14466 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14467 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14468 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14469 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14470 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14471 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14472 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14473 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14474 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14475 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14478 static PyObject
*SWIG_globals
;
14482 SWIGEXPORT(void) initgridc() {
14484 SWIG_globals
= SWIG_newvarlink();
14485 m
= Py_InitModule("gridc", gridcMethods
);
14486 d
= PyModule_GetDict(m
);
14487 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14488 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14489 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14490 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14491 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14492 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14493 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14494 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14495 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14496 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14497 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14498 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14499 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14500 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14501 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14502 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14503 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14504 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14505 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14506 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14507 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14508 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14509 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14510 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14511 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14512 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14513 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14514 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14515 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14516 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14517 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14518 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14519 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14520 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14522 wxClassInfo::CleanUpClasses();
14523 wxClassInfo::InitializeClasses();
14524 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14525 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14526 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14527 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14528 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14529 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14530 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14531 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14532 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14535 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14536 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);