2 * FILE : src/msw/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
92 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
93 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
94 wxGridCellAttr* rval = NULL; \
96 wxPyBeginBlockThreads(); \
97 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
99 wxGridCellAttr* ptr; \
100 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
102 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
107 wxPyEndBlockThreads(); \
109 rval = PCLASS::CBNAME(a, b, c); \
112 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
113 return PCLASS::CBNAME(a, b, c); \
118 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
119 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
120 wxPyBeginBlockThreads(); \
122 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
123 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
124 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
127 wxPyEndBlockThreads(); \
129 PCLASS::CBNAME(attr, a, b); \
131 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
132 PCLASS::CBNAME(attr, a, b); \
137 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
138 void CBNAME(wxGridCellAttr *attr, int val) { \
139 wxPyBeginBlockThreads(); \
141 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
142 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
146 wxPyEndBlockThreads(); \
148 PCLASS::CBNAME(attr, val); \
150 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
151 PCLASS::CBNAME(attr, val); \
156 #define PYCALLBACK_INT__pure(CBNAME) \
158 wxPyBeginBlockThreads(); \
160 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
162 wxPyEndBlockThreads(); \
168 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
169 bool CBNAME(int a, int b) { \
170 wxPyBeginBlockThreads(); \
172 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
173 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
174 wxPyEndBlockThreads(); \
179 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
180 wxString CBNAME(int a, int b) { \
181 wxPyBeginBlockThreads(); \
183 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
185 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
187 rval = Py2wxString(ro); \
191 wxPyEndBlockThreads(); \
196 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
197 void CBNAME(int a, int b, const wxString& c) { \
198 wxPyBeginBlockThreads(); \
199 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
200 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",a,b,wx2PyString(c)));\
201 wxPyEndBlockThreads(); \
205 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
206 wxString CBNAME(int a, int b) { \
208 wxPyBeginBlockThreads(); \
210 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
214 rval = Py2wxString(ro); \
218 wxPyEndBlockThreads(); \
220 rval = PCLASS::CBNAME(a, b); \
223 wxString base_##CBNAME(int a, int b) { \
224 return PCLASS::CBNAME(a, b); \
228 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
229 bool CBNAME(int a, int b, const wxString& c) { \
232 wxPyBeginBlockThreads(); \
233 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
234 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)", a,b,wx2PyString(c)));\
235 wxPyEndBlockThreads(); \
237 rval = PCLASS::CBNAME(a,b,c); \
240 bool base_##CBNAME(int a, int b, const wxString& c) { \
241 return PCLASS::CBNAME(a,b,c); \
247 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
248 long CBNAME(int a, int b) { \
251 wxPyBeginBlockThreads(); \
252 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
253 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
254 wxPyEndBlockThreads(); \
256 rval = PCLASS::CBNAME(a,b); \
259 long base_##CBNAME(int a, int b) { \
260 return PCLASS::CBNAME(a,b); \
265 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
266 bool CBNAME(int a, int b) { \
269 wxPyBeginBlockThreads(); \
270 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
271 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
272 wxPyEndBlockThreads(); \
274 rval = PCLASS::CBNAME(a,b); \
277 bool base_##CBNAME(int a, int b) { \
278 return PCLASS::CBNAME(a,b); \
283 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
284 double CBNAME(int a, int b) { \
286 wxPyBeginBlockThreads(); \
288 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
292 PyObject* str = PyObject_Str(ro); \
293 rval = PyFloat_AsDouble(str); \
294 Py_DECREF(ro); Py_DECREF(str); \
297 wxPyEndBlockThreads(); \
299 rval = PCLASS::CBNAME(a, b); \
302 double base_##CBNAME(int a, int b) { \
303 return PCLASS::CBNAME(a, b); \
308 #define PYCALLBACK__(PCLASS, CBNAME) \
311 wxPyBeginBlockThreads(); \
312 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
313 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
314 wxPyEndBlockThreads(); \
318 void base_##CBNAME() { \
325 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
326 bool CBNAME(size_t a, size_t b) { \
329 wxPyBeginBlockThreads(); \
330 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
332 wxPyEndBlockThreads(); \
334 rval = PCLASS::CBNAME(a,b); \
337 bool base_##CBNAME(size_t a, size_t b) { \
338 return PCLASS::CBNAME(a,b); \
343 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
344 bool CBNAME(size_t a) { \
347 wxPyBeginBlockThreads(); \
348 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
349 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
350 wxPyEndBlockThreads(); \
352 rval = PCLASS::CBNAME(a); \
355 bool base_##CBNAME(size_t a) { \
356 return PCLASS::CBNAME(a); \
360 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
361 wxString CBNAME(int a) { \
363 wxPyBeginBlockThreads(); \
365 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
367 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
369 rval = Py2wxString(ro); \
373 wxPyEndBlockThreads(); \
375 rval = PCLASS::CBNAME(a); \
378 wxString base_##CBNAME(int a) { \
379 return PCLASS::CBNAME(a); \
383 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
384 void CBNAME(int a, const wxString& c) { \
386 wxPyBeginBlockThreads(); \
387 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
388 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", a, wx2PyString(c))); \
389 wxPyEndBlockThreads(); \
391 PCLASS::CBNAME(a,c); \
393 void base_##CBNAME(int a, const wxString& c) { \
394 PCLASS::CBNAME(a,c); \
400 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
404 wxPyBeginBlockThreads(); \
405 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
406 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
407 wxPyEndBlockThreads(); \
409 rval = PCLASS::CBNAME(); \
412 bool base_##CBNAME() { \
413 return PCLASS::CBNAME(); \
418 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
419 void CBNAME(size_t a, int b) { \
421 wxPyBeginBlockThreads(); \
422 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
423 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
424 wxPyEndBlockThreads(); \
426 PCLASS::CBNAME(a,b); \
428 void base_##CBNAME(size_t a, int b) { \
429 PCLASS::CBNAME(a,b); \
435 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
436 void CBNAME(int a, int b, long c) { \
438 wxPyBeginBlockThreads(); \
439 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
440 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
441 wxPyEndBlockThreads(); \
443 PCLASS::CBNAME(a,b,c); \
445 void base_##CBNAME(int a, int b, long c) { \
446 PCLASS::CBNAME(a,b,c); \
452 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
453 void CBNAME(int a, int b, double c) { \
455 wxPyBeginBlockThreads(); \
456 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
457 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
458 wxPyEndBlockThreads(); \
460 PCLASS::CBNAME(a,b,c); \
462 void base_##CBNAME(int a, int b, double c) { \
463 PCLASS::CBNAME(a,b,c); \
468 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
469 void CBNAME(int a, int b, bool c) { \
471 wxPyBeginBlockThreads(); \
472 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
473 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
474 wxPyEndBlockThreads(); \
476 PCLASS::CBNAME(a,b,c); \
478 void base_##CBNAME(int a, int b, bool c) { \
479 PCLASS::CBNAME(a,b,c); \
486 class wxPyGridCellRenderer
: public wxGridCellRenderer
489 wxPyGridCellRenderer() : wxGridCellRenderer() {};
491 // Implement Python callback aware virtual methods
492 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
493 wxDC
& dc
, const wxRect
& rect
,
494 int row
, int col
, bool isSelected
) {
495 wxPyBeginBlockThreads();
496 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
497 wxPyCBH_callCallback(m_myInst
,
498 Py_BuildValue("(OOOOiii)",
499 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
500 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
501 wxPyConstructObject((void*)&dc
, "wxDC", 0),
502 wxPyConstructObject((void*)&rect
, "wxRect", 0),
503 row
, col
, isSelected
));
505 wxPyEndBlockThreads();
508 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
511 wxPyBeginBlockThreads();
512 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
515 ro
= wxPyCBH_callCallbackObj(m_myInst
,
516 Py_BuildValue("(OOOii)",
517 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
518 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
519 wxPyConstructObject((void*)&dc
, "wxDC", 0),
522 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
527 wxPyEndBlockThreads();
532 wxGridCellRenderer
*Clone() const {
533 wxGridCellRenderer
* rval
= NULL
;
534 wxPyBeginBlockThreads();
535 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
537 wxGridCellRenderer
* ptr
;
538 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
540 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
545 wxPyEndBlockThreads();
549 DEC_PYCALLBACK__STRING(SetParameters
);
554 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
557 class wxPyGridCellEditor
: public wxGridCellEditor
560 wxPyGridCellEditor() : wxGridCellEditor() {}
562 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
563 wxPyBeginBlockThreads();
564 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
565 wxPyCBH_callCallback(m_myInst
,
566 Py_BuildValue("(OiO)",
567 wxPyConstructObject((void*)parent
, "wxWindow", 0),
569 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
571 wxPyEndBlockThreads();
575 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
576 wxPyBeginBlockThreads();
577 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
578 wxPyCBH_callCallback(m_myInst
,
579 Py_BuildValue("(iiO)", row
, col
,
580 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
582 wxPyEndBlockThreads();
586 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
588 wxPyBeginBlockThreads();
589 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
590 rv
= wxPyCBH_callCallback(m_myInst
,
591 Py_BuildValue("(iiO)", row
, col
,
592 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
594 wxPyEndBlockThreads();
599 wxGridCellEditor
*Clone() const {
600 wxGridCellEditor
* rval
= NULL
;
601 wxPyBeginBlockThreads();
602 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
604 wxGridCellEditor
* ptr
;
605 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
607 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
612 wxPyEndBlockThreads();
617 void Show(bool show
, wxGridCellAttr
*attr
) {
619 wxPyBeginBlockThreads();
620 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
621 wxPyCBH_callCallback(m_myInst
,
622 Py_BuildValue("(iO)", show
,
623 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
624 wxPyEndBlockThreads();
626 wxGridCellEditor::Show(show
, attr
);
628 void base_Show(bool show
, wxGridCellAttr
*attr
) {
629 wxGridCellEditor::Show(show
, attr
);
633 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
635 wxPyBeginBlockThreads();
636 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
637 wxPyCBH_callCallback(m_myInst
,
638 Py_BuildValue("(OO)",
639 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
640 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
641 wxPyEndBlockThreads();
643 wxGridCellEditor::PaintBackground(rectCell
, attr
);
645 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
646 wxGridCellEditor::PaintBackground(rectCell
, attr
);
650 DEC_PYCALLBACK___pure(Reset
);
651 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
652 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
653 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
654 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
655 DEC_PYCALLBACK__(StartingClick
);
656 DEC_PYCALLBACK__(Destroy
);
657 DEC_PYCALLBACK__STRING(SetParameters
);
663 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
664 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
665 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
666 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
667 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
668 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
669 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
670 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
673 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
676 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
678 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
679 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
680 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
681 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
686 class wxPyGridTableBase
: public wxGridTableBase
689 wxPyGridTableBase() : wxGridTableBase() {}
691 PYCALLBACK_INT__pure(GetNumberRows
);
692 PYCALLBACK_INT__pure(GetNumberCols
);
693 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
694 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
695 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
696 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
697 PYCALLBACK__(wxGridTableBase
, Clear
);
698 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
699 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
700 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
701 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
702 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
703 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
704 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
705 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
706 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
707 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
708 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
709 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
710 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
711 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
712 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
715 wxString
GetValue(int row
, int col
) {
716 wxPyBeginBlockThreads();
718 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
720 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
722 rval
= Py2wxString(ro
);
726 wxPyEndBlockThreads();
730 void SetValue(int row
, int col
, const wxString
& val
) {
731 wxPyBeginBlockThreads();
732 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
733 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",row
,col
,wx2PyString(val
)));
735 wxPyEndBlockThreads();
739 // Map the Get/Set methods for the standard non-string types to
740 // the GetValue and SetValue python methods.
741 long GetValueAsLong( int row
, int col
) {
743 wxPyBeginBlockThreads();
744 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
747 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
748 if (ro
&& PyNumber_Check(ro
)) {
749 num
= PyNumber_Int(ro
);
751 rval
= PyInt_AsLong(num
);
757 wxPyEndBlockThreads();
761 double GetValueAsDouble( int row
, int col
) {
763 wxPyBeginBlockThreads();
764 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
767 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
768 if (ro
&& PyNumber_Check(ro
)) {
769 num
= PyNumber_Float(ro
);
771 rval
= PyFloat_AsDouble(num
);
777 wxPyEndBlockThreads();
781 bool GetValueAsBool( int row
, int col
) {
782 return (bool)GetValueAsLong(row
, col
);
785 void SetValueAsLong( int row
, int col
, long value
) {
786 wxPyBeginBlockThreads();
787 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
788 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
790 wxPyEndBlockThreads();
793 void SetValueAsDouble( int row
, int col
, double value
) {
794 wxPyBeginBlockThreads();
795 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
796 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
798 wxPyEndBlockThreads();
801 void SetValueAsBool( int row
, int col
, bool value
) {
802 SetValueAsLong( row
, col
, (long)value
);
809 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
811 // If source is an object instance then it may already be the right type
812 if (PyInstance_Check(source
)) {
813 wxGridCellCoords
* ptr
;
814 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
819 // otherwise a 2-tuple of integers is expected
820 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
821 PyObject
* o1
= PySequence_GetItem(source
, 0);
822 PyObject
* o2
= PySequence_GetItem(source
, 1);
823 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
828 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
832 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
836 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
838 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
842 static PyObject
*_wrap_wxGridNoCellCoords_get() {
846 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
847 pyobj
= PyString_FromString(ptemp
);
851 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
853 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
857 static PyObject
*_wrap_wxGridNoCellRect_get() {
861 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
862 pyobj
= PyString_FromString(ptemp
);
866 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
867 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
869 wxGridCellRenderer
* _arg0
;
871 PyObject
* _argo0
= 0;
872 PyObject
* _obj1
= 0;
873 char *_kwnames
[] = { "self","params", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
886 _arg1
= wxString_in_helper(_obj1
);
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) return NULL
;
896 } Py_INCREF(Py_None
);
897 _resultobj
= Py_None
;
905 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
906 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxGridCellRenderer
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
924 wxGridCellRenderer_IncRef(_arg0
);
926 wxPyEndAllowThreads(__tstate
);
927 if (PyErr_Occurred()) return NULL
;
928 } Py_INCREF(Py_None
);
929 _resultobj
= Py_None
;
933 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
934 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
936 wxGridCellRenderer
* _arg0
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 wxGridCellRenderer_DecRef(_arg0
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
962 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
964 wxGridCellRenderer
* _arg0
;
966 wxGridCellAttr
* _arg2
;
972 PyObject
* _argo0
= 0;
973 PyObject
* _argo1
= 0;
974 PyObject
* _argo2
= 0;
975 PyObject
* _argo3
= 0;
977 PyObject
* _obj4
= 0;
979 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1006 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1007 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1014 if (! wxRect_helper(_obj4
, &_arg4
))
1017 _arg7
= (bool ) tempbool7
;
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1030 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 wxGridCellRenderer
* _arg0
;
1035 wxGridCellAttr
* _arg2
;
1039 PyObject
* _argo0
= 0;
1040 PyObject
* _argo1
= 0;
1041 PyObject
* _argo2
= 0;
1042 PyObject
* _argo3
= 0;
1043 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1064 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1071 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) return NULL
;
1083 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1084 _resultobj
= Py_BuildValue("s",_ptemp
);
1088 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1089 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1091 wxGridCellRenderer
* _result
;
1092 wxGridCellRenderer
* _arg0
;
1093 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1109 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1111 wxPyEndAllowThreads(__tstate
);
1112 if (PyErr_Occurred()) return NULL
;
1114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1115 _resultobj
= Py_BuildValue("s",_ptemp
);
1118 _resultobj
= Py_None
;
1123 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1124 wxPyGridCellRenderer
*src
;
1125 wxGridCellRenderer
*dest
;
1126 src
= (wxPyGridCellRenderer
*) ptr
;
1127 dest
= (wxGridCellRenderer
*) src
;
1128 return (void *) dest
;
1131 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1132 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1134 wxPyGridCellRenderer
* _result
;
1135 char *_kwnames
[] = { NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1149 _resultobj
= Py_BuildValue("s",_ptemp
);
1152 _resultobj
= Py_None
;
1157 #define wxPyGridCellRenderer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1158 static PyObject
*_wrap_wxPyGridCellRenderer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1160 wxPyGridCellRenderer
* _arg0
;
1163 PyObject
* _argo0
= 0;
1164 PyObject
* _obj1
= 0;
1165 PyObject
* _obj2
= 0;
1166 char *_kwnames
[] = { "self","self","_class", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setCallbackInfo. Expected _wxPyGridCellRenderer_p.");
1185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1186 wxPyGridCellRenderer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1188 wxPyEndAllowThreads(__tstate
);
1189 if (PyErr_Occurred()) return NULL
;
1190 } Py_INCREF(Py_None
);
1191 _resultobj
= Py_None
;
1195 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1196 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1197 PyObject
* _resultobj
;
1198 wxPyGridCellRenderer
* _arg0
;
1200 PyObject
* _argo0
= 0;
1201 PyObject
* _obj1
= 0;
1202 char *_kwnames
[] = { "self","params", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1215 _arg1
= wxString_in_helper(_obj1
);
1220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1221 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1223 wxPyEndAllowThreads(__tstate
);
1224 if (PyErr_Occurred()) return NULL
;
1225 } Py_INCREF(Py_None
);
1226 _resultobj
= Py_None
;
1234 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1235 wxGridCellStringRenderer
*src
;
1236 wxGridCellRenderer
*dest
;
1237 src
= (wxGridCellStringRenderer
*) ptr
;
1238 dest
= (wxGridCellRenderer
*) src
;
1239 return (void *) dest
;
1242 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1243 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxGridCellStringRenderer
* _result
;
1246 char *_kwnames
[] = { NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) return NULL
;
1259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1260 _resultobj
= Py_BuildValue("s",_ptemp
);
1263 _resultobj
= Py_None
;
1268 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1269 wxGridCellNumberRenderer
*src
;
1270 wxGridCellStringRenderer
*dest
;
1271 src
= (wxGridCellNumberRenderer
*) ptr
;
1272 dest
= (wxGridCellStringRenderer
*) src
;
1273 return (void *) dest
;
1276 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1277 wxGridCellNumberRenderer
*src
;
1278 wxGridCellRenderer
*dest
;
1279 src
= (wxGridCellNumberRenderer
*) ptr
;
1280 dest
= (wxGridCellRenderer
*) src
;
1281 return (void *) dest
;
1284 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1285 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1287 wxGridCellNumberRenderer
* _result
;
1288 char *_kwnames
[] = { NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1302 _resultobj
= Py_BuildValue("s",_ptemp
);
1305 _resultobj
= Py_None
;
1310 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1311 wxGridCellFloatRenderer
*src
;
1312 wxGridCellStringRenderer
*dest
;
1313 src
= (wxGridCellFloatRenderer
*) ptr
;
1314 dest
= (wxGridCellStringRenderer
*) src
;
1315 return (void *) dest
;
1318 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1319 wxGridCellFloatRenderer
*src
;
1320 wxGridCellRenderer
*dest
;
1321 src
= (wxGridCellFloatRenderer
*) ptr
;
1322 dest
= (wxGridCellRenderer
*) src
;
1323 return (void *) dest
;
1326 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1327 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxGridCellFloatRenderer
* _result
;
1330 int _arg0
= (int ) -1;
1331 int _arg1
= (int ) -1;
1332 char *_kwnames
[] = { "width","precision", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1346 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 _resultobj
= Py_None
;
1354 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1355 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1358 wxGridCellFloatRenderer
* _arg0
;
1359 PyObject
* _argo0
= 0;
1360 char *_kwnames
[] = { "self", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1378 } _resultobj
= Py_BuildValue("i",_result
);
1382 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1383 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxGridCellFloatRenderer
* _arg0
;
1387 PyObject
* _argo0
= 0;
1388 char *_kwnames
[] = { "self","width", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1412 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1415 wxGridCellFloatRenderer
* _arg0
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1440 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1442 wxGridCellFloatRenderer
* _arg0
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "self","precision", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1463 } Py_INCREF(Py_None
);
1464 _resultobj
= Py_None
;
1468 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1469 wxGridCellBoolRenderer
*src
;
1470 wxGridCellRenderer
*dest
;
1471 src
= (wxGridCellBoolRenderer
*) ptr
;
1472 dest
= (wxGridCellRenderer
*) src
;
1473 return (void *) dest
;
1476 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1477 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1479 wxGridCellBoolRenderer
* _result
;
1480 char *_kwnames
[] = { NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1494 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 _resultobj
= Py_None
;
1502 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1503 wxGridCellDateTimeRenderer
*src
;
1504 wxGridCellStringRenderer
*dest
;
1505 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1506 dest
= (wxGridCellStringRenderer
*) src
;
1507 return (void *) dest
;
1510 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1511 wxGridCellDateTimeRenderer
*src
;
1512 wxGridCellRenderer
*dest
;
1513 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1514 dest
= (wxGridCellRenderer
*) src
;
1515 return (void *) dest
;
1518 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1519 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxGridCellDateTimeRenderer
* _result
;
1522 wxString
* _arg0
= (wxString
*) &"%c";
1523 wxString
* _arg1
= (wxString
*) &"%c";
1524 PyObject
* _obj0
= 0;
1525 PyObject
* _obj1
= 0;
1526 char *_kwnames
[] = { "outformat","informat", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1534 _arg0
= wxString_in_helper(_obj0
);
1540 _arg1
= wxString_in_helper(_obj1
);
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) return NULL
;
1551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1552 _resultobj
= Py_BuildValue("s",_ptemp
);
1555 _resultobj
= Py_None
;
1568 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1569 wxGridCellEnumRenderer
*src
;
1570 wxGridCellStringRenderer
*dest
;
1571 src
= (wxGridCellEnumRenderer
*) ptr
;
1572 dest
= (wxGridCellStringRenderer
*) src
;
1573 return (void *) dest
;
1576 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1577 wxGridCellEnumRenderer
*src
;
1578 wxGridCellRenderer
*dest
;
1579 src
= (wxGridCellEnumRenderer
*) ptr
;
1580 dest
= (wxGridCellRenderer
*) src
;
1581 return (void *) dest
;
1584 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1585 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxGridCellEnumRenderer
* _result
;
1588 wxString
* _arg0
= (wxString
*) &"";
1589 PyObject
* _obj0
= 0;
1590 char *_kwnames
[] = { "choices", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1598 _arg0
= wxString_LIST_helper(_obj0
);
1599 if (_arg0
== NULL
) {
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1611 _resultobj
= Py_BuildValue("s",_ptemp
);
1614 _resultobj
= Py_None
;
1622 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1623 wxGridCellAutoWrapStringRenderer
*src
;
1624 wxGridCellStringRenderer
*dest
;
1625 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1626 dest
= (wxGridCellStringRenderer
*) src
;
1627 return (void *) dest
;
1630 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1631 wxGridCellAutoWrapStringRenderer
*src
;
1632 wxGridCellRenderer
*dest
;
1633 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1634 dest
= (wxGridCellRenderer
*) src
;
1635 return (void *) dest
;
1638 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1639 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1641 wxGridCellAutoWrapStringRenderer
* _result
;
1642 char *_kwnames
[] = { NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) return NULL
;
1655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1656 _resultobj
= Py_BuildValue("s",_ptemp
);
1659 _resultobj
= Py_None
;
1664 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1665 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 wxGridCellEditor
* _arg0
;
1669 PyObject
* _argo0
= 0;
1670 char *_kwnames
[] = { "self", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } _resultobj
= Py_BuildValue("i",_result
);
1692 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1693 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1695 wxControl
* _result
;
1696 wxGridCellEditor
* _arg0
;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) return NULL
;
1716 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1720 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1721 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxGridCellEditor
* _arg0
;
1725 PyObject
* _argo0
= 0;
1726 PyObject
* _argo1
= 0;
1727 char *_kwnames
[] = { "self","control", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } Py_INCREF(Py_None
);
1753 _resultobj
= Py_None
;
1757 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1758 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 wxGridCellEditor
* _arg0
;
1762 PyObject
* _argo0
= 0;
1763 PyObject
* _obj1
= 0;
1764 char *_kwnames
[] = { "self","params", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1777 _arg1
= wxString_in_helper(_obj1
);
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) return NULL
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1796 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1797 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 wxGridCellEditor
* _arg0
;
1800 PyObject
* _argo0
= 0;
1801 char *_kwnames
[] = { "self", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 wxGridCellEditor_IncRef(_arg0
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) return NULL
;
1819 } Py_INCREF(Py_None
);
1820 _resultobj
= Py_None
;
1824 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1825 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 wxGridCellEditor
* _arg0
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 wxGridCellEditor_DecRef(_arg0
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) return NULL
;
1847 } Py_INCREF(Py_None
);
1848 _resultobj
= Py_None
;
1852 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1853 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 wxGridCellEditor
* _arg0
;
1858 wxEvtHandler
* _arg3
;
1859 PyObject
* _argo0
= 0;
1860 PyObject
* _argo1
= 0;
1861 PyObject
* _argo3
= 0;
1862 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1882 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) return NULL
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1900 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1902 wxGridCellEditor
* _arg0
;
1906 PyObject
* _argo0
= 0;
1907 PyObject
* _argo3
= 0;
1908 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1921 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1938 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
1939 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 wxGridCellEditor
* _arg0
;
1946 PyObject
* _argo0
= 0;
1947 PyObject
* _argo3
= 0;
1948 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
1961 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } _resultobj
= Py_BuildValue("i",_result
);
1977 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
1978 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1980 wxGridCellEditor
* _arg0
;
1981 PyObject
* _argo0
= 0;
1982 char *_kwnames
[] = { "self", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 wxGridCellEditor_Reset(_arg0
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) return NULL
;
2000 } Py_INCREF(Py_None
);
2001 _resultobj
= Py_None
;
2005 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2006 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2008 wxGridCellEditor
* _result
;
2009 wxGridCellEditor
* _arg0
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2032 _resultobj
= Py_BuildValue("s",_ptemp
);
2035 _resultobj
= Py_None
;
2040 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2041 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2043 wxGridCellEditor
* _arg0
;
2045 PyObject
* _argo0
= 0;
2047 PyObject
* _obj1
= 0;
2048 char *_kwnames
[] = { "self","rect", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2062 if (! wxRect_helper(_obj1
, &_arg1
))
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } Py_INCREF(Py_None
);
2072 _resultobj
= Py_None
;
2076 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2077 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2079 wxGridCellEditor
* _arg0
;
2081 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2082 PyObject
* _argo0
= 0;
2084 PyObject
* _argo2
= 0;
2085 char *_kwnames
[] = { "self","show","attr", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2097 _arg1
= (bool ) tempbool1
;
2099 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2100 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) return NULL
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2117 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2119 wxGridCellEditor
* _arg0
;
2121 wxGridCellAttr
* _arg2
;
2122 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 PyObject
* _argo2
= 0;
2126 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2140 if (! wxRect_helper(_obj1
, &_arg1
))
2144 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2161 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2162 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2165 wxGridCellEditor
* _arg0
;
2167 PyObject
* _argo0
= 0;
2168 PyObject
* _argo1
= 0;
2169 char *_kwnames
[] = { "self","event", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } _resultobj
= Py_BuildValue("i",_result
);
2198 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2199 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2201 wxGridCellEditor
* _arg0
;
2203 PyObject
* _argo0
= 0;
2204 PyObject
* _argo1
= 0;
2205 char *_kwnames
[] = { "self","event", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) return NULL
;
2230 } Py_INCREF(Py_None
);
2231 _resultobj
= Py_None
;
2235 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2236 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2238 wxGridCellEditor
* _arg0
;
2239 PyObject
* _argo0
= 0;
2240 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 wxGridCellEditor_StartingClick(_arg0
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2258 } Py_INCREF(Py_None
);
2259 _resultobj
= Py_None
;
2263 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2264 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2266 wxGridCellEditor
* _arg0
;
2268 PyObject
* _argo0
= 0;
2269 PyObject
* _argo1
= 0;
2270 char *_kwnames
[] = { "self","event", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 } Py_INCREF(Py_None
);
2296 _resultobj
= Py_None
;
2300 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2301 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2303 wxGridCellEditor
* _arg0
;
2304 PyObject
* _argo0
= 0;
2305 char *_kwnames
[] = { "self", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 wxGridCellEditor_Destroy(_arg0
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2323 } Py_INCREF(Py_None
);
2324 _resultobj
= Py_None
;
2328 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2329 wxPyGridCellEditor
*src
;
2330 wxGridCellEditor
*dest
;
2331 src
= (wxPyGridCellEditor
*) ptr
;
2332 dest
= (wxGridCellEditor
*) src
;
2333 return (void *) dest
;
2336 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2337 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2339 wxPyGridCellEditor
* _result
;
2340 char *_kwnames
[] = { NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2354 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 _resultobj
= Py_None
;
2362 #define wxPyGridCellEditor__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2363 static PyObject
*_wrap_wxPyGridCellEditor__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2365 wxPyGridCellEditor
* _arg0
;
2368 PyObject
* _argo0
= 0;
2369 PyObject
* _obj1
= 0;
2370 PyObject
* _obj2
= 0;
2371 char *_kwnames
[] = { "self","self","_class", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setCallbackInfo. Expected _wxPyGridCellEditor_p.");
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 wxPyGridCellEditor__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2401 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2403 wxPyGridCellEditor
* _arg0
;
2405 PyObject
* _argo0
= 0;
2407 PyObject
* _obj1
= 0;
2408 char *_kwnames
[] = { "self","rect", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2422 if (! wxRect_helper(_obj1
, &_arg1
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2431 } Py_INCREF(Py_None
);
2432 _resultobj
= Py_None
;
2436 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2437 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2439 wxPyGridCellEditor
* _arg0
;
2441 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2442 PyObject
* _argo0
= 0;
2444 PyObject
* _argo2
= 0;
2445 char *_kwnames
[] = { "self","show","attr", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2457 _arg1
= (bool ) tempbool1
;
2459 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) return NULL
;
2471 } Py_INCREF(Py_None
);
2472 _resultobj
= Py_None
;
2476 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2477 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2479 wxPyGridCellEditor
* _arg0
;
2481 wxGridCellAttr
* _arg2
;
2482 PyObject
* _argo0
= 0;
2484 PyObject
* _obj1
= 0;
2485 PyObject
* _argo2
= 0;
2486 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2500 if (! wxRect_helper(_obj1
, &_arg1
))
2504 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) return NULL
;
2516 } Py_INCREF(Py_None
);
2517 _resultobj
= Py_None
;
2521 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2522 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxPyGridCellEditor
* _arg0
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _argo1
= 0;
2528 char *_kwnames
[] = { "self","event", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) return NULL
;
2553 } Py_INCREF(Py_None
);
2554 _resultobj
= Py_None
;
2558 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2559 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2561 wxPyGridCellEditor
* _arg0
;
2563 PyObject
* _argo0
= 0;
2564 PyObject
* _argo1
= 0;
2565 char *_kwnames
[] = { "self","event", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) return NULL
;
2590 } Py_INCREF(Py_None
);
2591 _resultobj
= Py_None
;
2595 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2596 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2598 wxPyGridCellEditor
* _arg0
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 wxPyGridCellEditor_base_StartingClick(_arg0
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) return NULL
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2624 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2626 wxPyGridCellEditor
* _arg0
;
2628 PyObject
* _argo0
= 0;
2629 PyObject
* _argo1
= 0;
2630 char *_kwnames
[] = { "self","event", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2661 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2663 wxPyGridCellEditor
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxPyGridCellEditor_base_Destroy(_arg0
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2689 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2691 wxPyGridCellEditor
* _arg0
;
2693 PyObject
* _argo0
= 0;
2694 PyObject
* _obj1
= 0;
2695 char *_kwnames
[] = { "self","params", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2708 _arg1
= wxString_in_helper(_obj1
);
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) return NULL
;
2718 } Py_INCREF(Py_None
);
2719 _resultobj
= Py_None
;
2727 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2728 wxGridCellTextEditor
*src
;
2729 wxGridCellEditor
*dest
;
2730 src
= (wxGridCellTextEditor
*) ptr
;
2731 dest
= (wxGridCellEditor
*) src
;
2732 return (void *) dest
;
2735 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2736 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2738 wxGridCellTextEditor
* _result
;
2739 char *_kwnames
[] = { NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2753 _resultobj
= Py_BuildValue("s",_ptemp
);
2756 _resultobj
= Py_None
;
2761 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2762 wxGridCellNumberEditor
*src
;
2763 wxGridCellTextEditor
*dest
;
2764 src
= (wxGridCellNumberEditor
*) ptr
;
2765 dest
= (wxGridCellTextEditor
*) src
;
2766 return (void *) dest
;
2769 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2770 wxGridCellNumberEditor
*src
;
2771 wxGridCellEditor
*dest
;
2772 src
= (wxGridCellNumberEditor
*) ptr
;
2773 dest
= (wxGridCellEditor
*) src
;
2774 return (void *) dest
;
2777 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2778 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2780 wxGridCellNumberEditor
* _result
;
2781 int _arg0
= (int ) -1;
2782 int _arg1
= (int ) -1;
2783 char *_kwnames
[] = { "min","max", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 _resultobj
= Py_None
;
2805 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2806 wxGridCellFloatEditor
*src
;
2807 wxGridCellTextEditor
*dest
;
2808 src
= (wxGridCellFloatEditor
*) ptr
;
2809 dest
= (wxGridCellTextEditor
*) src
;
2810 return (void *) dest
;
2813 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2814 wxGridCellFloatEditor
*src
;
2815 wxGridCellEditor
*dest
;
2816 src
= (wxGridCellFloatEditor
*) ptr
;
2817 dest
= (wxGridCellEditor
*) src
;
2818 return (void *) dest
;
2821 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2822 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2824 wxGridCellFloatEditor
* _result
;
2825 char *_kwnames
[] = { NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2833 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2835 wxPyEndAllowThreads(__tstate
);
2836 if (PyErr_Occurred()) return NULL
;
2838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2839 _resultobj
= Py_BuildValue("s",_ptemp
);
2842 _resultobj
= Py_None
;
2847 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2848 wxGridCellBoolEditor
*src
;
2849 wxGridCellEditor
*dest
;
2850 src
= (wxGridCellBoolEditor
*) ptr
;
2851 dest
= (wxGridCellEditor
*) src
;
2852 return (void *) dest
;
2855 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2856 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2858 wxGridCellBoolEditor
* _result
;
2859 char *_kwnames
[] = { NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2882 wxGridCellChoiceEditor
*src
;
2883 wxGridCellEditor
*dest
;
2884 src
= (wxGridCellChoiceEditor
*) ptr
;
2885 dest
= (wxGridCellEditor
*) src
;
2886 return (void *) dest
;
2889 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2890 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2892 wxGridCellChoiceEditor
* _result
;
2893 int _arg0
= (int ) 0;
2894 wxString
* _arg1
= (wxString
*) NULL
;
2895 bool _arg2
= (bool ) FALSE
;
2896 PyObject
* _obj1
= 0;
2897 int tempbool2
= (int) FALSE
;
2898 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2906 _arg1
= wxString_LIST_helper(_obj1
);
2907 if (_arg1
== NULL
) {
2911 _arg2
= (bool ) tempbool2
;
2914 _arg0
= PyList_Size(_obj1
);
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) return NULL
;
2927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
2928 _resultobj
= Py_BuildValue("s",_ptemp
);
2931 _resultobj
= Py_None
;
2939 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
2940 wxGridCellEnumEditor
*src
;
2941 wxGridCellChoiceEditor
*dest
;
2942 src
= (wxGridCellEnumEditor
*) ptr
;
2943 dest
= (wxGridCellChoiceEditor
*) src
;
2944 return (void *) dest
;
2947 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
2948 wxGridCellEnumEditor
*src
;
2949 wxGridCellEditor
*dest
;
2950 src
= (wxGridCellEnumEditor
*) ptr
;
2951 dest
= (wxGridCellEditor
*) src
;
2952 return (void *) dest
;
2955 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
2956 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2958 wxGridCellEnumEditor
* _result
;
2959 wxString
* _arg0
= (wxString
*) &"";
2960 PyObject
* _obj0
= 0;
2961 char *_kwnames
[] = { "choices", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
2969 _arg0
= wxString_LIST_helper(_obj0
);
2970 if (_arg0
== NULL
) {
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
2982 _resultobj
= Py_BuildValue("s",_ptemp
);
2985 _resultobj
= Py_None
;
2993 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
2994 wxGridCellAutoWrapStringEditor
*src
;
2995 wxGridCellTextEditor
*dest
;
2996 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
2997 dest
= (wxGridCellTextEditor
*) src
;
2998 return (void *) dest
;
3001 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3002 wxGridCellAutoWrapStringEditor
*src
;
3003 wxGridCellEditor
*dest
;
3004 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3005 dest
= (wxGridCellEditor
*) src
;
3006 return (void *) dest
;
3009 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3010 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3012 wxGridCellAutoWrapStringEditor
* _result
;
3013 char *_kwnames
[] = { NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3027 _resultobj
= Py_BuildValue("s",_ptemp
);
3030 _resultobj
= Py_None
;
3035 #define new_wxGridCellAttr(_swigarg0) (new wxGridCellAttr(_swigarg0))
3036 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3038 wxGridCellAttr
* _result
;
3039 wxGridCellAttr
* _arg0
= (wxGridCellAttr
*) NULL
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "attrDefault", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellAttr",_kwnames
,&_argo0
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridCellAttr. Expected _wxGridCellAttr_p.");
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 _result
= (wxGridCellAttr
*)new_wxGridCellAttr(_arg0
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) return NULL
;
3061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3062 _resultobj
= Py_BuildValue("s",_ptemp
);
3065 _resultobj
= Py_None
;
3070 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3071 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxGridCellAttr
* _result
;
3074 wxGridCellAttr
* _arg0
;
3075 PyObject
* _argo0
= 0;
3076 char *_kwnames
[] = { "self", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) return NULL
;
3096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3100 _resultobj
= Py_None
;
3105 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3106 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3108 wxGridCellAttr
* _arg0
;
3109 wxGridCellAttr
* _arg1
;
3110 PyObject
* _argo0
= 0;
3111 PyObject
* _argo1
= 0;
3112 char *_kwnames
[] = { "self","mergefrom", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3143 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxGridCellAttr
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxGridCellAttr_IncRef(_arg0
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3171 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxGridCellAttr
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 wxGridCellAttr_DecRef(_arg0
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3199 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3201 wxGridCellAttr
* _arg0
;
3203 PyObject
* _argo0
= 0;
3205 PyObject
* _obj1
= 0;
3206 char *_kwnames
[] = { "self","colText", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3220 if (! wxColour_helper(_obj1
, &_arg1
))
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3235 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxGridCellAttr
* _arg0
;
3239 PyObject
* _argo0
= 0;
3241 PyObject
* _obj1
= 0;
3242 char *_kwnames
[] = { "self","colBack", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3256 if (! wxColour_helper(_obj1
, &_arg1
))
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) return NULL
;
3265 } Py_INCREF(Py_None
);
3266 _resultobj
= Py_None
;
3270 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3271 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3273 wxGridCellAttr
* _arg0
;
3275 PyObject
* _argo0
= 0;
3276 PyObject
* _argo1
= 0;
3277 char *_kwnames
[] = { "self","font", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) return NULL
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3310 wxGridCellAttr
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3338 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3340 wxGridCellAttr
* _arg0
;
3341 bool _arg1
= (bool ) TRUE
;
3342 PyObject
* _argo0
= 0;
3343 int tempbool1
= (int) TRUE
;
3344 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3356 _arg1
= (bool ) tempbool1
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } Py_INCREF(Py_None
);
3364 _resultobj
= Py_None
;
3368 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3369 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3371 wxGridCellAttr
* _arg0
;
3372 wxGridCellRenderer
* _arg1
;
3373 PyObject
* _argo0
= 0;
3374 PyObject
* _argo1
= 0;
3375 char *_kwnames
[] = { "self","renderer", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) return NULL
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3405 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3406 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxGridCellAttr
* _arg0
;
3409 wxGridCellEditor
* _arg1
;
3410 PyObject
* _argo0
= 0;
3411 PyObject
* _argo1
= 0;
3412 char *_kwnames
[] = { "self","editor", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3425 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) return NULL
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3443 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3445 wxGridCellAttr
* _arg0
;
3446 wxGridCellAttr::wxAttrKind _arg1
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self","kind", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3472 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 wxGridCellAttr
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) return NULL
;
3495 } _resultobj
= Py_BuildValue("i",_result
);
3499 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3500 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3503 wxGridCellAttr
* _arg0
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3528 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3531 wxGridCellAttr
* _arg0
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3556 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3559 wxGridCellAttr
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3579 } _resultobj
= Py_BuildValue("i",_result
);
3583 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3584 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3587 wxGridCellAttr
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) return NULL
;
3607 } _resultobj
= Py_BuildValue("i",_result
);
3611 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3612 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
* _resultobj
;
3615 wxGridCellAttr
* _arg0
;
3616 PyObject
* _argo0
= 0;
3617 char *_kwnames
[] = { "self", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) return NULL
;
3635 } _resultobj
= Py_BuildValue("i",_result
);
3639 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3640 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 wxGridCellAttr
* _arg0
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "self", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) return NULL
;
3663 } _resultobj
= Py_BuildValue("i",_result
);
3667 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3668 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3671 wxGridCellAttr
* _arg0
;
3672 PyObject
* _argo0
= 0;
3673 char *_kwnames
[] = { "self", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 _result
= new wxColour (wxGridCellAttr_GetTextColour(_arg0
));
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) return NULL
;
3692 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3693 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3698 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3701 wxGridCellAttr
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 _result
= new wxColour (wxGridCellAttr_GetBackgroundColour(_arg0
));
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3722 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
3723 _resultobj
= Py_BuildValue("s",_ptemp
);
3727 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3728 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3731 wxGridCellAttr
* _arg0
;
3732 PyObject
* _argo0
= 0;
3733 char *_kwnames
[] = { "self", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 _result
= new wxFont (wxGridCellAttr_GetFont(_arg0
));
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) return NULL
;
3752 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
3753 _resultobj
= Py_BuildValue("s",_ptemp
);
3757 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxGridCellAttr
* _arg0
;
3765 PyObject
* _argo0
= 0;
3766 char *_kwnames
[] = { "self", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) return NULL
;
3790 } Py_INCREF(Py_None
);
3791 _resultobj
= Py_None
;
3794 o
= PyInt_FromLong((long) (*_arg1
));
3795 _resultobj
= t_output_helper(_resultobj
, o
);
3799 o
= PyInt_FromLong((long) (*_arg2
));
3800 _resultobj
= t_output_helper(_resultobj
, o
);
3805 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3806 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxGridCellRenderer
* _result
;
3809 wxGridCellAttr
* _arg0
;
3813 PyObject
* _argo0
= 0;
3814 PyObject
* _argo1
= 0;
3815 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3829 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3843 _resultobj
= Py_BuildValue("s",_ptemp
);
3846 _resultobj
= Py_None
;
3851 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3852 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
* _resultobj
;
3854 wxGridCellEditor
* _result
;
3855 wxGridCellAttr
* _arg0
;
3859 PyObject
* _argo0
= 0;
3860 PyObject
* _argo1
= 0;
3861 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) return NULL
;
3888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3889 _resultobj
= Py_BuildValue("s",_ptemp
);
3892 _resultobj
= Py_None
;
3897 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3898 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3901 wxGridCellAttr
* _arg0
;
3902 PyObject
* _argo0
= 0;
3903 char *_kwnames
[] = { "self", NULL
};
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
3909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) return NULL
;
3921 } _resultobj
= Py_BuildValue("i",_result
);
3925 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
3926 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3928 wxGridCellAttr
* _arg0
;
3929 wxGridCellAttr
* _arg1
;
3930 PyObject
* _argo0
= 0;
3931 PyObject
* _argo1
= 0;
3932 char *_kwnames
[] = { "self","defAttr", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3957 } Py_INCREF(Py_None
);
3958 _resultobj
= Py_None
;
3962 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
3963 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3965 wxGridCellAttrProvider
* _result
;
3966 char *_kwnames
[] = { NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) return NULL
;
3979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
3980 _resultobj
= Py_BuildValue("s",_ptemp
);
3983 _resultobj
= Py_None
;
3988 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
3989 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxGridCellAttr
* _result
;
3992 wxGridCellAttrProvider
* _arg0
;
3995 wxGridCellAttr::wxAttrKind _arg3
;
3996 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4026 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4027 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4029 wxGridCellAttrProvider
* _arg0
;
4030 wxGridCellAttr
* _arg1
;
4033 PyObject
* _argo0
= 0;
4034 PyObject
* _argo1
= 0;
4035 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4066 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxGridCellAttrProvider
* _arg0
;
4069 wxGridCellAttr
* _arg1
;
4071 PyObject
* _argo0
= 0;
4072 PyObject
* _argo1
= 0;
4073 char *_kwnames
[] = { "self","attr","row", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4104 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4106 wxGridCellAttrProvider
* _arg0
;
4107 wxGridCellAttr
* _arg1
;
4109 PyObject
* _argo0
= 0;
4110 PyObject
* _argo1
= 0;
4111 char *_kwnames
[] = { "self","attr","col", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) return NULL
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4142 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4144 wxGridCellAttrProvider
* _arg0
;
4147 PyObject
* _argo0
= 0;
4148 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) return NULL
;
4166 } Py_INCREF(Py_None
);
4167 _resultobj
= Py_None
;
4171 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4172 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4174 wxGridCellAttrProvider
* _arg0
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4201 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4202 wxPyGridCellAttrProvider
*src
;
4203 wxGridCellAttrProvider
*dest
;
4204 src
= (wxPyGridCellAttrProvider
*) ptr
;
4205 dest
= (wxGridCellAttrProvider
*) src
;
4206 return (void *) dest
;
4209 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4210 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4212 wxPyGridCellAttrProvider
* _result
;
4213 char *_kwnames
[] = { NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) return NULL
;
4226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4227 _resultobj
= Py_BuildValue("s",_ptemp
);
4230 _resultobj
= Py_None
;
4235 #define wxPyGridCellAttrProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4236 static PyObject
*_wrap_wxPyGridCellAttrProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4238 wxPyGridCellAttrProvider
* _arg0
;
4241 PyObject
* _argo0
= 0;
4242 PyObject
* _obj1
= 0;
4243 PyObject
* _obj2
= 0;
4244 char *_kwnames
[] = { "self","self","_class", NULL
};
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setCallbackInfo. Expected _wxPyGridCellAttrProvider_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyGridCellAttrProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } Py_INCREF(Py_None
);
4269 _resultobj
= Py_None
;
4273 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4274 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4276 wxGridCellAttr
* _result
;
4277 wxPyGridCellAttrProvider
* _arg0
;
4280 wxGridCellAttr::wxAttrKind _arg3
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4303 _resultobj
= Py_BuildValue("s",_ptemp
);
4306 _resultobj
= Py_None
;
4311 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4312 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4314 wxPyGridCellAttrProvider
* _arg0
;
4315 wxGridCellAttr
* _arg1
;
4318 PyObject
* _argo0
= 0;
4319 PyObject
* _argo1
= 0;
4320 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) return NULL
;
4345 } Py_INCREF(Py_None
);
4346 _resultobj
= Py_None
;
4350 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4351 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4353 wxPyGridCellAttrProvider
* _arg0
;
4354 wxGridCellAttr
* _arg1
;
4356 PyObject
* _argo0
= 0;
4357 PyObject
* _argo1
= 0;
4358 char *_kwnames
[] = { "self","attr","row", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) return NULL
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4389 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
* _resultobj
;
4391 wxPyGridCellAttrProvider
* _arg0
;
4392 wxGridCellAttr
* _arg1
;
4394 PyObject
* _argo0
= 0;
4395 PyObject
* _argo1
= 0;
4396 char *_kwnames
[] = { "self","attr","col", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } Py_INCREF(Py_None
);
4422 _resultobj
= Py_None
;
4426 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4427 wxGridTableBase
*src
;
4429 src
= (wxGridTableBase
*) ptr
;
4430 dest
= (wxObject
*) src
;
4431 return (void *) dest
;
4434 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4435 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4437 wxGridTableBase
* _arg0
;
4438 wxGridCellAttrProvider
* _arg1
;
4439 PyObject
* _argo0
= 0;
4440 PyObject
* _argo1
= 0;
4441 char *_kwnames
[] = { "self","attrProvider", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) return NULL
;
4466 } Py_INCREF(Py_None
);
4467 _resultobj
= Py_None
;
4471 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4472 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4474 wxGridCellAttrProvider
* _result
;
4475 wxGridTableBase
* _arg0
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "self", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttrProvider. Expected _wxGridTableBase_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4498 _resultobj
= Py_BuildValue("s",_ptemp
);
4501 _resultobj
= Py_None
;
4506 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4507 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4509 wxGridTableBase
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 PyObject
* _argo1
= 0;
4513 char *_kwnames
[] = { "self","grid", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxGridTableBase_SetView(_arg0
,_arg1
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4538 } Py_INCREF(Py_None
);
4539 _resultobj
= Py_None
;
4543 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4544 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 wxGridTableBase
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) return NULL
;
4567 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4571 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4572 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4575 wxGridTableBase
* _arg0
;
4576 PyObject
* _argo0
= 0;
4577 char *_kwnames
[] = { "self", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) return NULL
;
4595 } _resultobj
= Py_BuildValue("i",_result
);
4599 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4600 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4603 wxGridTableBase
* _arg0
;
4604 PyObject
* _argo0
= 0;
4605 char *_kwnames
[] = { "self", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) return NULL
;
4623 } _resultobj
= Py_BuildValue("i",_result
);
4627 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4628 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 wxGridTableBase
* _arg0
;
4634 PyObject
* _argo0
= 0;
4635 char *_kwnames
[] = { "self","row","col", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) return NULL
;
4653 } _resultobj
= Py_BuildValue("i",_result
);
4657 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4658 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4661 wxGridTableBase
* _arg0
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self","row","col", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4685 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4696 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4697 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4699 wxGridTableBase
* _arg0
;
4703 PyObject
* _argo0
= 0;
4704 PyObject
* _obj3
= 0;
4705 char *_kwnames
[] = { "self","row","col","value", NULL
};
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4718 _arg3
= wxString_in_helper(_obj3
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) return NULL
;
4728 } Py_INCREF(Py_None
);
4729 _resultobj
= Py_None
;
4737 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4738 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
* _resultobj
;
4741 wxGridTableBase
* _arg0
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "self","row","col", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) return NULL
;
4765 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4767 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4776 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4777 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4780 wxGridTableBase
* _arg0
;
4784 PyObject
* _argo0
= 0;
4785 PyObject
* _obj3
= 0;
4786 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4799 _arg3
= wxString_in_helper(_obj3
);
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) return NULL
;
4809 } _resultobj
= Py_BuildValue("i",_result
);
4817 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4818 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4821 wxGridTableBase
* _arg0
;
4825 PyObject
* _argo0
= 0;
4826 PyObject
* _obj3
= 0;
4827 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4840 _arg3
= wxString_in_helper(_obj3
);
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) return NULL
;
4850 } _resultobj
= Py_BuildValue("i",_result
);
4858 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4859 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4862 wxGridTableBase
* _arg0
;
4865 PyObject
* _argo0
= 0;
4866 char *_kwnames
[] = { "self","row","col", NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) return NULL
;
4884 } _resultobj
= Py_BuildValue("l",_result
);
4888 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
4889 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4892 wxGridTableBase
* _arg0
;
4895 PyObject
* _argo0
= 0;
4896 char *_kwnames
[] = { "self","row","col", NULL
};
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) return NULL
;
4914 } _resultobj
= Py_BuildValue("d",_result
);
4918 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
4919 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4922 wxGridTableBase
* _arg0
;
4925 PyObject
* _argo0
= 0;
4926 char *_kwnames
[] = { "self","row","col", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_GetValueAsBool. Expected _wxGridTableBase_p.");
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4944 } _resultobj
= Py_BuildValue("i",_result
);
4948 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
4949 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
* _resultobj
;
4951 wxGridTableBase
* _arg0
;
4955 PyObject
* _argo0
= 0;
4956 char *_kwnames
[] = { "self","row","col","value", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } Py_INCREF(Py_None
);
4975 _resultobj
= Py_None
;
4979 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
4980 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4982 wxGridTableBase
* _arg0
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self","row","col","value", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) return NULL
;
5005 } Py_INCREF(Py_None
);
5006 _resultobj
= Py_None
;
5010 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5011 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 wxGridTableBase
* _arg0
;
5017 PyObject
* _argo0
= 0;
5019 char *_kwnames
[] = { "self","row","col","value", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5031 _arg3
= (bool ) tempbool3
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } Py_INCREF(Py_None
);
5039 _resultobj
= Py_None
;
5043 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5044 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5046 wxGridTableBase
* _arg0
;
5047 PyObject
* _argo0
= 0;
5048 char *_kwnames
[] = { "self", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxGridTableBase_Clear(_arg0
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5066 } Py_INCREF(Py_None
);
5067 _resultobj
= Py_None
;
5071 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5072 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5075 wxGridTableBase
* _arg0
;
5076 size_t _arg1
= (size_t ) 0;
5077 size_t _arg2
= (size_t ) 1;
5078 PyObject
* _argo0
= 0;
5079 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) return NULL
;
5097 } _resultobj
= Py_BuildValue("i",_result
);
5101 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5102 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5105 wxGridTableBase
* _arg0
;
5106 size_t _arg1
= (size_t ) 1;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self","numRows", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } _resultobj
= Py_BuildValue("i",_result
);
5130 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5131 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5134 wxGridTableBase
* _arg0
;
5135 size_t _arg1
= (size_t ) 0;
5136 size_t _arg2
= (size_t ) 1;
5137 PyObject
* _argo0
= 0;
5138 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) return NULL
;
5156 } _resultobj
= Py_BuildValue("i",_result
);
5160 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5161 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5164 wxGridTableBase
* _arg0
;
5165 size_t _arg1
= (size_t ) 0;
5166 size_t _arg2
= (size_t ) 1;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) return NULL
;
5186 } _resultobj
= Py_BuildValue("i",_result
);
5190 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5191 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5194 wxGridTableBase
* _arg0
;
5195 size_t _arg1
= (size_t ) 1;
5196 PyObject
* _argo0
= 0;
5197 char *_kwnames
[] = { "self","numCols", NULL
};
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) return NULL
;
5215 } _resultobj
= Py_BuildValue("i",_result
);
5219 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5220 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
* _resultobj
;
5223 wxGridTableBase
* _arg0
;
5224 size_t _arg1
= (size_t ) 0;
5225 size_t _arg2
= (size_t ) 1;
5226 PyObject
* _argo0
= 0;
5227 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) return NULL
;
5245 } _resultobj
= Py_BuildValue("i",_result
);
5249 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5250 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5253 wxGridTableBase
* _arg0
;
5255 PyObject
* _argo0
= 0;
5256 char *_kwnames
[] = { "self","row", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) return NULL
;
5276 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5287 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5288 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5291 wxGridTableBase
* _arg0
;
5293 PyObject
* _argo0
= 0;
5294 char *_kwnames
[] = { "self","col", NULL
};
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) return NULL
;
5314 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5325 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5326 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5328 wxGridTableBase
* _arg0
;
5331 PyObject
* _argo0
= 0;
5332 PyObject
* _obj2
= 0;
5333 char *_kwnames
[] = { "self","row","value", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5346 _arg2
= wxString_in_helper(_obj2
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) return NULL
;
5356 } Py_INCREF(Py_None
);
5357 _resultobj
= Py_None
;
5365 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5366 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5368 wxGridTableBase
* _arg0
;
5371 PyObject
* _argo0
= 0;
5372 PyObject
* _obj2
= 0;
5373 char *_kwnames
[] = { "self","col","value", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5386 _arg2
= wxString_in_helper(_obj2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5405 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5406 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5409 wxGridTableBase
* _arg0
;
5410 PyObject
* _argo0
= 0;
5411 char *_kwnames
[] = { "self", NULL
};
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) return NULL
;
5429 } _resultobj
= Py_BuildValue("i",_result
);
5433 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5434 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5436 wxGridCellAttr
* _result
;
5437 wxGridTableBase
* _arg0
;
5440 wxGridCellAttr::wxAttrKind _arg3
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5466 _resultobj
= Py_None
;
5471 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5472 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5474 wxGridTableBase
* _arg0
;
5475 wxGridCellAttr
* _arg1
;
5478 PyObject
* _argo0
= 0;
5479 PyObject
* _argo1
= 0;
5480 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5493 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) return NULL
;
5505 } Py_INCREF(Py_None
);
5506 _resultobj
= Py_None
;
5510 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5511 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
* _resultobj
;
5513 wxGridTableBase
* _arg0
;
5514 wxGridCellAttr
* _arg1
;
5516 PyObject
* _argo0
= 0;
5517 PyObject
* _argo1
= 0;
5518 char *_kwnames
[] = { "self","attr","row", NULL
};
5521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) return NULL
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5548 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5549 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5551 wxGridTableBase
* _arg0
;
5552 wxGridCellAttr
* _arg1
;
5554 PyObject
* _argo0
= 0;
5555 PyObject
* _argo1
= 0;
5556 char *_kwnames
[] = { "self","attr","col", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5581 } Py_INCREF(Py_None
);
5582 _resultobj
= Py_None
;
5586 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5587 wxPyGridTableBase
*src
;
5588 wxGridTableBase
*dest
;
5589 src
= (wxPyGridTableBase
*) ptr
;
5590 dest
= (wxGridTableBase
*) src
;
5591 return (void *) dest
;
5594 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5595 wxPyGridTableBase
*src
;
5597 src
= (wxPyGridTableBase
*) ptr
;
5598 dest
= (wxObject
*) src
;
5599 return (void *) dest
;
5602 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5603 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxPyGridTableBase
* _result
;
5606 char *_kwnames
[] = { NULL
};
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) return NULL
;
5619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5620 _resultobj
= Py_BuildValue("s",_ptemp
);
5623 _resultobj
= Py_None
;
5628 #define wxPyGridTableBase__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5629 static PyObject
*_wrap_wxPyGridTableBase__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5631 wxPyGridTableBase
* _arg0
;
5634 PyObject
* _argo0
= 0;
5635 PyObject
* _obj1
= 0;
5636 PyObject
* _obj2
= 0;
5637 char *_kwnames
[] = { "self","self","_class", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setCallbackInfo. Expected _wxPyGridTableBase_p.");
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxPyGridTableBase__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5667 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5669 wxPyGridTableBase
* _arg0
;
5670 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxPyGridTableBase_Destroy(_arg0
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) return NULL
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5695 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 wxPyGridTableBase
* _arg0
;
5701 PyObject
* _argo0
= 0;
5702 char *_kwnames
[] = { "self","row","col", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) return NULL
;
5722 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5733 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5734 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5737 wxPyGridTableBase
* _arg0
;
5741 PyObject
* _argo0
= 0;
5742 PyObject
* _obj3
= 0;
5743 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5756 _arg3
= wxString_in_helper(_obj3
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) return NULL
;
5766 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5775 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5778 wxPyGridTableBase
* _arg0
;
5782 PyObject
* _argo0
= 0;
5783 PyObject
* _obj3
= 0;
5784 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5797 _arg3
= wxString_in_helper(_obj3
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5807 } _resultobj
= Py_BuildValue("i",_result
);
5815 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5816 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5818 wxPyGridTableBase
* _arg0
;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "self", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 wxPyGridTableBase_base_Clear(_arg0
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) return NULL
;
5838 } Py_INCREF(Py_None
);
5839 _resultobj
= Py_None
;
5843 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
5844 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5847 wxPyGridTableBase
* _arg0
;
5848 size_t _arg1
= (size_t ) 0;
5849 size_t _arg2
= (size_t ) 1;
5850 PyObject
* _argo0
= 0;
5851 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) return NULL
;
5869 } _resultobj
= Py_BuildValue("i",_result
);
5873 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
5874 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5877 wxPyGridTableBase
* _arg0
;
5878 size_t _arg1
= (size_t ) 1;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self","numRows", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } _resultobj
= Py_BuildValue("i",_result
);
5902 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
5903 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5906 wxPyGridTableBase
* _arg0
;
5907 size_t _arg1
= (size_t ) 0;
5908 size_t _arg2
= (size_t ) 1;
5909 PyObject
* _argo0
= 0;
5910 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) return NULL
;
5928 } _resultobj
= Py_BuildValue("i",_result
);
5932 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
5933 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
* _resultobj
;
5936 wxPyGridTableBase
* _arg0
;
5937 size_t _arg1
= (size_t ) 0;
5938 size_t _arg2
= (size_t ) 1;
5939 PyObject
* _argo0
= 0;
5940 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } _resultobj
= Py_BuildValue("i",_result
);
5962 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
5963 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5966 wxPyGridTableBase
* _arg0
;
5967 size_t _arg1
= (size_t ) 1;
5968 PyObject
* _argo0
= 0;
5969 char *_kwnames
[] = { "self","numCols", NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) return NULL
;
5987 } _resultobj
= Py_BuildValue("i",_result
);
5991 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
5992 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
* _resultobj
;
5995 wxPyGridTableBase
* _arg0
;
5996 size_t _arg1
= (size_t ) 0;
5997 size_t _arg2
= (size_t ) 1;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6017 } _resultobj
= Py_BuildValue("i",_result
);
6021 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6022 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6025 wxPyGridTableBase
* _arg0
;
6027 PyObject
* _argo0
= 0;
6028 char *_kwnames
[] = { "self","row", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) return NULL
;
6048 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6050 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6059 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6060 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6063 wxPyGridTableBase
* _arg0
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self","col", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6086 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6088 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6097 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6098 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxPyGridTableBase
* _arg0
;
6103 PyObject
* _argo0
= 0;
6104 PyObject
* _obj2
= 0;
6105 char *_kwnames
[] = { "self","row","value", NULL
};
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6118 _arg2
= wxString_in_helper(_obj2
);
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) return NULL
;
6128 } Py_INCREF(Py_None
);
6129 _resultobj
= Py_None
;
6137 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6138 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
* _resultobj
;
6140 wxPyGridTableBase
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 PyObject
* _obj2
= 0;
6145 char *_kwnames
[] = { "self","col","value", NULL
};
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6158 _arg2
= wxString_in_helper(_obj2
);
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6177 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6178 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6181 wxPyGridTableBase
* _arg0
;
6182 PyObject
* _argo0
= 0;
6183 char *_kwnames
[] = { "self", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) return NULL
;
6201 } _resultobj
= Py_BuildValue("i",_result
);
6205 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6206 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
* _resultobj
;
6208 wxGridCellAttr
* _result
;
6209 wxPyGridTableBase
* _arg0
;
6212 wxGridCellAttr::wxAttrKind _arg3
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6235 _resultobj
= Py_BuildValue("s",_ptemp
);
6238 _resultobj
= Py_None
;
6243 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6244 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6246 wxPyGridTableBase
* _arg0
;
6247 wxGridCellAttr
* _arg1
;
6250 PyObject
* _argo0
= 0;
6251 PyObject
* _argo1
= 0;
6252 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) return NULL
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6282 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6283 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6285 wxPyGridTableBase
* _arg0
;
6286 wxGridCellAttr
* _arg1
;
6288 PyObject
* _argo0
= 0;
6289 PyObject
* _argo1
= 0;
6290 char *_kwnames
[] = { "self","attr","row", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } Py_INCREF(Py_None
);
6316 _resultobj
= Py_None
;
6320 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6321 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxPyGridTableBase
* _arg0
;
6324 wxGridCellAttr
* _arg1
;
6326 PyObject
* _argo0
= 0;
6327 PyObject
* _argo1
= 0;
6328 char *_kwnames
[] = { "self","attr","col", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } Py_INCREF(Py_None
);
6354 _resultobj
= Py_None
;
6358 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6359 wxGridStringTable
*src
;
6360 wxGridTableBase
*dest
;
6361 src
= (wxGridStringTable
*) ptr
;
6362 dest
= (wxGridTableBase
*) src
;
6363 return (void *) dest
;
6366 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6367 wxGridStringTable
*src
;
6369 src
= (wxGridStringTable
*) ptr
;
6370 dest
= (wxObject
*) src
;
6371 return (void *) dest
;
6374 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6375 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6377 wxGridStringTable
* _result
;
6378 int _arg0
= (int ) 0;
6379 int _arg1
= (int ) 0;
6380 char *_kwnames
[] = { "numRows","numCols", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) return NULL
;
6393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6394 _resultobj
= Py_BuildValue("s",_ptemp
);
6397 _resultobj
= Py_None
;
6402 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6403 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6405 wxGridTableMessage
* _result
;
6406 wxGridTableBase
* _arg0
;
6408 int _arg2
= (int ) -1;
6409 int _arg3
= (int ) -1;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6432 _resultobj
= Py_BuildValue("s",_ptemp
);
6435 _resultobj
= Py_None
;
6440 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6441 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6443 wxGridTableMessage
* _arg0
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 delete_wxGridTableMessage(_arg0
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } Py_INCREF(Py_None
);
6464 _resultobj
= Py_None
;
6468 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6469 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6471 wxGridTableMessage
* _arg0
;
6472 wxGridTableBase
* _arg1
;
6473 PyObject
* _argo0
= 0;
6474 PyObject
* _argo1
= 0;
6475 char *_kwnames
[] = { "self","table", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) return NULL
;
6500 } Py_INCREF(Py_None
);
6501 _resultobj
= Py_None
;
6505 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6506 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6508 wxGridTableBase
* _result
;
6509 wxGridTableMessage
* _arg0
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) return NULL
;
6529 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6533 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6534 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6536 wxGridTableMessage
* _arg0
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self","id", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxGridTableMessage_SetId(_arg0
,_arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6557 } Py_INCREF(Py_None
);
6558 _resultobj
= Py_None
;
6562 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6563 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6566 wxGridTableMessage
* _arg0
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self", NULL
};
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) return NULL
;
6586 } _resultobj
= Py_BuildValue("i",_result
);
6590 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6591 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6593 wxGridTableMessage
* _arg0
;
6595 PyObject
* _argo0
= 0;
6596 char *_kwnames
[] = { "self","comInt1", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) return NULL
;
6614 } Py_INCREF(Py_None
);
6615 _resultobj
= Py_None
;
6619 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6620 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6623 wxGridTableMessage
* _arg0
;
6624 PyObject
* _argo0
= 0;
6625 char *_kwnames
[] = { "self", NULL
};
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) return NULL
;
6643 } _resultobj
= Py_BuildValue("i",_result
);
6647 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6648 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6650 wxGridTableMessage
* _arg0
;
6652 PyObject
* _argo0
= 0;
6653 char *_kwnames
[] = { "self","comInt2", NULL
};
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) return NULL
;
6671 } Py_INCREF(Py_None
);
6672 _resultobj
= Py_None
;
6676 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6677 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
* _resultobj
;
6680 wxGridTableMessage
* _arg0
;
6681 PyObject
* _argo0
= 0;
6682 char *_kwnames
[] = { "self", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) return NULL
;
6700 } _resultobj
= Py_BuildValue("i",_result
);
6704 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6705 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
* _resultobj
;
6707 wxGridCellCoords
* _result
;
6708 int _arg0
= (int ) -1;
6709 int _arg1
= (int ) -1;
6710 char *_kwnames
[] = { "r","c", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) return NULL
;
6723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6724 _resultobj
= Py_BuildValue("s",_ptemp
);
6727 _resultobj
= Py_None
;
6732 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6733 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6735 wxGridCellCoords
* _arg0
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 delete_wxGridCellCoords(_arg0
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) return NULL
;
6755 } Py_INCREF(Py_None
);
6756 _resultobj
= Py_None
;
6760 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6761 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6764 wxGridCellCoords
* _arg0
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) return NULL
;
6784 } _resultobj
= Py_BuildValue("i",_result
);
6788 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6789 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6791 wxGridCellCoords
* _arg0
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self","n", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) return NULL
;
6812 } Py_INCREF(Py_None
);
6813 _resultobj
= Py_None
;
6817 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
6818 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6821 wxGridCellCoords
* _arg0
;
6822 PyObject
* _argo0
= 0;
6823 char *_kwnames
[] = { "self", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) return NULL
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
6846 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6848 wxGridCellCoords
* _arg0
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self","n", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 wxGridCellCoords_SetCol(_arg0
,_arg1
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) return NULL
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
6875 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6877 wxGridCellCoords
* _arg0
;
6880 PyObject
* _argo0
= 0;
6881 char *_kwnames
[] = { "self","row","col", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) return NULL
;
6899 } Py_INCREF(Py_None
);
6900 _resultobj
= Py_None
;
6904 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
6905 PyObject
* tup
= PyTuple_New(2);
6906 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
6907 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
6910 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6913 wxGridCellCoords
* _arg0
;
6914 PyObject
* _argo0
= 0;
6915 char *_kwnames
[] = { "self", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6934 _resultobj
= _result
;
6939 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
6940 return *self
!= other
;
6942 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6945 wxGridCellCoords
* _arg0
;
6946 wxGridCellCoords
* _arg1
;
6947 PyObject
* _argo0
= 0;
6948 PyObject
* _argo1
= 0;
6949 char *_kwnames
[] = { "self","other", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6974 } _resultobj
= Py_BuildValue("i",_result
);
6978 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
6980 wxScrolledWindow
*dest
;
6981 src
= (wxGrid
*) ptr
;
6982 dest
= (wxScrolledWindow
*) src
;
6983 return (void *) dest
;
6986 static void *SwigwxGridTowxPanel(void *ptr
) {
6989 src
= (wxGrid
*) ptr
;
6990 dest
= (wxPanel
*) src
;
6991 return (void *) dest
;
6994 static void *SwigwxGridTowxWindow(void *ptr
) {
6997 src
= (wxGrid
*) ptr
;
6998 dest
= (wxWindow
*) src
;
6999 return (void *) dest
;
7002 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7005 src
= (wxGrid
*) ptr
;
7006 dest
= (wxEvtHandler
*) src
;
7007 return (void *) dest
;
7010 static void *SwigwxGridTowxObject(void *ptr
) {
7013 src
= (wxGrid
*) ptr
;
7014 dest
= (wxObject
*) src
;
7015 return (void *) dest
;
7018 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7019 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7024 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7025 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7026 long _arg4
= (long ) wxWANTS_CHARS
;
7027 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7028 PyObject
* _argo0
= 0;
7030 PyObject
* _obj2
= 0;
7032 PyObject
* _obj3
= 0;
7033 PyObject
* _obj5
= 0;
7034 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7050 if (! wxPoint_helper(_obj2
, &_arg2
))
7056 if (! wxSize_helper(_obj3
, &_arg3
))
7061 _arg5
= wxString_in_helper(_obj5
);
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7073 _resultobj
= Py_BuildValue("s",_ptemp
);
7076 _resultobj
= Py_None
;
7085 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7086 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
* _resultobj
;
7092 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7112 } _resultobj
= Py_BuildValue("i",_result
);
7116 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7117 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7120 WXGRIDSELECTIONMODES _arg1
;
7121 PyObject
* _argo0
= 0;
7122 char *_kwnames
[] = { "self","selmode", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) return NULL
;
7140 } Py_INCREF(Py_None
);
7141 _resultobj
= Py_None
;
7145 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7146 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } _resultobj
= Py_BuildValue("i",_result
);
7173 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7174 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) return NULL
;
7197 } _resultobj
= Py_BuildValue("i",_result
);
7201 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7202 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7206 wxGridTableMessage
* _arg1
;
7207 PyObject
* _argo0
= 0;
7208 PyObject
* _argo1
= 0;
7209 char *_kwnames
[] = { "self","arg2", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) return NULL
;
7234 } _resultobj
= Py_BuildValue("i",_result
);
7238 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7239 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7241 wxGridTableBase
* _result
;
7243 PyObject
* _argo0
= 0;
7244 char *_kwnames
[] = { "self", NULL
};
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) return NULL
;
7262 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7266 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7267 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
* _resultobj
;
7271 wxGridTableBase
* _arg1
;
7272 bool _arg2
= (bool ) FALSE
;
7273 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7274 PyObject
* _argo0
= 0;
7275 PyObject
* _argo1
= 0;
7276 int tempbool2
= (int) FALSE
;
7277 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7296 _arg2
= (bool ) tempbool2
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) return NULL
;
7303 } _resultobj
= Py_BuildValue("i",_result
);
7307 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7308 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxGrid_ClearGrid(_arg0
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } Py_INCREF(Py_None
);
7331 _resultobj
= Py_None
;
7335 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7336 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7340 int _arg1
= (int ) 0;
7341 int _arg2
= (int ) 1;
7342 bool _arg3
= (bool ) TRUE
;
7343 PyObject
* _argo0
= 0;
7344 int tempbool3
= (int) TRUE
;
7345 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7357 _arg3
= (bool ) tempbool3
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) return NULL
;
7364 } _resultobj
= Py_BuildValue("i",_result
);
7368 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7369 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7373 int _arg1
= (int ) 1;
7374 bool _arg2
= (bool ) TRUE
;
7375 PyObject
* _argo0
= 0;
7376 int tempbool2
= (int) TRUE
;
7377 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7389 _arg2
= (bool ) tempbool2
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7401 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 int _arg1
= (int ) 0;
7406 int _arg2
= (int ) 1;
7407 bool _arg3
= (bool ) TRUE
;
7408 PyObject
* _argo0
= 0;
7409 int tempbool3
= (int) TRUE
;
7410 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7422 _arg3
= (bool ) tempbool3
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) return NULL
;
7429 } _resultobj
= Py_BuildValue("i",_result
);
7433 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7434 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7438 int _arg1
= (int ) 0;
7439 int _arg2
= (int ) 1;
7440 bool _arg3
= (bool ) TRUE
;
7441 PyObject
* _argo0
= 0;
7442 int tempbool3
= (int) TRUE
;
7443 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7455 _arg3
= (bool ) tempbool3
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7467 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7471 int _arg1
= (int ) 1;
7472 bool _arg2
= (bool ) TRUE
;
7473 PyObject
* _argo0
= 0;
7474 int tempbool2
= (int) TRUE
;
7475 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7487 _arg2
= (bool ) tempbool2
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) return NULL
;
7494 } _resultobj
= Py_BuildValue("i",_result
);
7498 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7499 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
* _resultobj
;
7503 int _arg1
= (int ) 0;
7504 int _arg2
= (int ) 1;
7505 bool _arg3
= (bool ) TRUE
;
7506 PyObject
* _argo0
= 0;
7507 int tempbool3
= (int) TRUE
;
7508 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7520 _arg3
= (bool ) tempbool3
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) return NULL
;
7527 } _resultobj
= Py_BuildValue("i",_result
);
7531 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7532 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7536 wxGridCellAttr
* _arg2
;
7537 PyObject
* _argo0
= 0;
7538 PyObject
* _argo1
= 0;
7539 PyObject
* _argo2
= 0;
7540 char *_kwnames
[] = { "self","dc","attr", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7560 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) return NULL
;
7572 } Py_INCREF(Py_None
);
7573 _resultobj
= Py_None
;
7577 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7578 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7584 int _arg4
= (int ) wxLEFT
;
7585 int _arg5
= (int ) wxTOP
;
7586 PyObject
* _argo0
= 0;
7587 PyObject
* _argo1
= 0;
7588 PyObject
* _obj2
= 0;
7590 PyObject
* _obj3
= 0;
7591 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7611 _arg2
= wxString_in_helper(_obj2
);
7617 if (! wxRect_helper(_obj3
, &_arg3
))
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) return NULL
;
7626 } Py_INCREF(Py_None
);
7627 _resultobj
= Py_None
;
7635 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7636 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7640 wxArrayString
* _arg2
;
7645 PyObject
* _argo0
= 0;
7646 PyObject
* _argo1
= 0;
7647 PyObject
* _obj2
= 0;
7648 char *_kwnames
[] = { "self","dc","lines", NULL
};
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
7660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7674 if (! PySequence_Check(_obj2
)) {
7675 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7678 _arg2
= new wxArrayString
;
7679 int i
, len
=PySequence_Length(_obj2
);
7680 for (i
=0; i
<len
; i
++) {
7681 PyObject
* item
= PySequence_GetItem(_obj2
, i
);
7683 PyObject
* str
= PyObject_Unicode(item
);
7684 _arg2
->Add(PyUnicode_AsUnicode(str
));
7686 PyObject
* str
= PyObject_Str(item
);
7687 _arg2
->Add(PyString_AsString(str
));
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) return NULL
;
7699 } Py_INCREF(Py_None
);
7700 _resultobj
= Py_None
;
7703 o
= PyInt_FromLong((long) (*_arg3
));
7704 _resultobj
= t_output_helper(_resultobj
, o
);
7708 o
= PyInt_FromLong((long) (*_arg4
));
7709 _resultobj
= t_output_helper(_resultobj
, o
);
7718 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7719 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self", NULL
};
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 wxGrid_BeginBatch(_arg0
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) return NULL
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7747 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7750 PyObject
* _argo0
= 0;
7751 char *_kwnames
[] = { "self", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxGrid_EndBatch(_arg0
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) return NULL
;
7769 } Py_INCREF(Py_None
);
7770 _resultobj
= Py_None
;
7774 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
7775 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
* _resultobj
;
7779 PyObject
* _argo0
= 0;
7780 char *_kwnames
[] = { "self", NULL
};
7783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
7786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 _result
= (int )wxGrid_GetBatchCount(_arg0
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) return NULL
;
7798 } _resultobj
= Py_BuildValue("i",_result
);
7802 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
7803 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
* _resultobj
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 wxGrid_ForceRefresh(_arg0
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) return NULL
;
7825 } Py_INCREF(Py_None
);
7826 _resultobj
= Py_None
;
7830 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
7831 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
* _resultobj
;
7835 PyObject
* _argo0
= 0;
7836 char *_kwnames
[] = { "self", NULL
};
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
7842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 _result
= (bool )wxGrid_IsEditable(_arg0
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7854 } _resultobj
= Py_BuildValue("i",_result
);
7858 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
7859 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
* _resultobj
;
7863 PyObject
* _argo0
= 0;
7865 char *_kwnames
[] = { "self","edit", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
7871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
7877 _arg1
= (bool ) tempbool1
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxGrid_EnableEditing(_arg0
,_arg1
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) return NULL
;
7884 } Py_INCREF(Py_None
);
7885 _resultobj
= Py_None
;
7889 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
7890 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7893 bool _arg1
= (bool ) TRUE
;
7894 PyObject
* _argo0
= 0;
7895 int tempbool1
= (int) TRUE
;
7896 char *_kwnames
[] = { "self","enable", NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
7902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
7908 _arg1
= (bool ) tempbool1
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) return NULL
;
7915 } Py_INCREF(Py_None
);
7916 _resultobj
= Py_None
;
7920 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
7921 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7924 PyObject
* _argo0
= 0;
7925 char *_kwnames
[] = { "self", NULL
};
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
7931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 wxGrid_DisableCellEditControl(_arg0
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) return NULL
;
7943 } Py_INCREF(Py_None
);
7944 _resultobj
= Py_None
;
7948 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
7949 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7953 PyObject
* _argo0
= 0;
7954 char *_kwnames
[] = { "self", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) return NULL
;
7972 } _resultobj
= Py_BuildValue("i",_result
);
7976 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
7977 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
* _resultobj
;
7981 PyObject
* _argo0
= 0;
7982 char *_kwnames
[] = { "self", NULL
};
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
7988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) return NULL
;
8000 } _resultobj
= Py_BuildValue("i",_result
);
8004 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8005 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8009 PyObject
* _argo0
= 0;
8010 char *_kwnames
[] = { "self", NULL
};
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) return NULL
;
8028 } _resultobj
= Py_BuildValue("i",_result
);
8032 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8033 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8056 } _resultobj
= Py_BuildValue("i",_result
);
8060 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8061 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8065 char *_kwnames
[] = { "self", NULL
};
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 wxGrid_ShowCellEditControl(_arg0
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) return NULL
;
8083 } Py_INCREF(Py_None
);
8084 _resultobj
= Py_None
;
8088 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8089 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8092 PyObject
* _argo0
= 0;
8093 char *_kwnames
[] = { "self", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 wxGrid_HideCellEditControl(_arg0
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) return NULL
;
8111 } Py_INCREF(Py_None
);
8112 _resultobj
= Py_None
;
8116 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8117 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
* _resultobj
;
8120 PyObject
* _argo0
= 0;
8121 char *_kwnames
[] = { "self", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_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_SaveEditControlValue. Expected _wxGrid_p.");
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 wxGrid_SaveEditControlValue(_arg0
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) return NULL
;
8139 } Py_INCREF(Py_None
);
8140 _resultobj
= Py_None
;
8144 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8145 wxGridCellCoords rv
;
8146 self
->XYToCell(x
, y
, rv
);
8147 return new wxGridCellCoords(rv
);
8149 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
* _resultobj
;
8151 wxGridCellCoords
* _result
;
8155 PyObject
* _argo0
= 0;
8156 char *_kwnames
[] = { "self","x","y", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) return NULL
;
8176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8177 _resultobj
= Py_BuildValue("s",_ptemp
);
8180 _resultobj
= Py_None
;
8185 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8186 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
* _resultobj
;
8191 PyObject
* _argo0
= 0;
8192 char *_kwnames
[] = { "self","y", NULL
};
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) return NULL
;
8210 } _resultobj
= Py_BuildValue("i",_result
);
8214 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8215 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8220 PyObject
* _argo0
= 0;
8221 char *_kwnames
[] = { "self","x", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) return NULL
;
8239 } _resultobj
= Py_BuildValue("i",_result
);
8243 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8244 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
* _resultobj
;
8249 PyObject
* _argo0
= 0;
8250 char *_kwnames
[] = { "self","y", NULL
};
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8268 } _resultobj
= Py_BuildValue("i",_result
);
8272 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8273 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
* _resultobj
;
8278 PyObject
* _argo0
= 0;
8279 char *_kwnames
[] = { "self","x", NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) return NULL
;
8297 } _resultobj
= Py_BuildValue("i",_result
);
8301 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8302 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self","row","col", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8329 _resultobj
= Py_BuildValue("s",_ptemp
);
8333 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8334 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
* _resultobj
;
8338 PyObject
* _argo0
= 0;
8339 char *_kwnames
[] = { "self", NULL
};
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) return NULL
;
8357 } _resultobj
= Py_BuildValue("i",_result
);
8361 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8362 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
* _resultobj
;
8366 PyObject
* _argo0
= 0;
8367 char *_kwnames
[] = { "self", NULL
};
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) return NULL
;
8385 } _resultobj
= Py_BuildValue("i",_result
);
8389 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8390 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
* _resultobj
;
8396 bool _arg3
= (bool ) TRUE
;
8397 PyObject
* _argo0
= 0;
8398 int tempbool3
= (int) TRUE
;
8399 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8411 _arg3
= (bool ) tempbool3
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) return NULL
;
8418 } _resultobj
= Py_BuildValue("i",_result
);
8422 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8423 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
* _resultobj
;
8428 PyObject
* _argo0
= 0;
8429 char *_kwnames
[] = { "self","row","col", NULL
};
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) return NULL
;
8447 } Py_INCREF(Py_None
);
8448 _resultobj
= Py_None
;
8452 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8453 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
* _resultobj
;
8458 PyObject
* _argo0
= 0;
8459 char *_kwnames
[] = { "self","row","col", NULL
};
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8477 } Py_INCREF(Py_None
);
8478 _resultobj
= Py_None
;
8482 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8483 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
* _resultobj
;
8488 PyObject
* _argo0
= 0;
8490 char *_kwnames
[] = { "self","expandSelection", NULL
};
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8502 _arg1
= (bool ) tempbool1
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) return NULL
;
8509 } _resultobj
= Py_BuildValue("i",_result
);
8513 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8514 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
* _resultobj
;
8519 PyObject
* _argo0
= 0;
8521 char *_kwnames
[] = { "self","expandSelection", NULL
};
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8533 _arg1
= (bool ) tempbool1
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) return NULL
;
8540 } _resultobj
= Py_BuildValue("i",_result
);
8544 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8545 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8550 PyObject
* _argo0
= 0;
8552 char *_kwnames
[] = { "self","expandSelection", NULL
};
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8564 _arg1
= (bool ) tempbool1
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) return NULL
;
8571 } _resultobj
= Py_BuildValue("i",_result
);
8575 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8576 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
* _resultobj
;
8581 PyObject
* _argo0
= 0;
8583 char *_kwnames
[] = { "self","expandSelection", NULL
};
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8595 _arg1
= (bool ) tempbool1
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) return NULL
;
8602 } _resultobj
= Py_BuildValue("i",_result
);
8606 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8607 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8611 PyObject
* _argo0
= 0;
8612 char *_kwnames
[] = { "self", NULL
};
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8630 } _resultobj
= Py_BuildValue("i",_result
);
8634 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8635 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
* _resultobj
;
8639 PyObject
* _argo0
= 0;
8640 char *_kwnames
[] = { "self", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) return NULL
;
8658 } _resultobj
= Py_BuildValue("i",_result
);
8662 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8663 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
* _resultobj
;
8668 PyObject
* _argo0
= 0;
8670 char *_kwnames
[] = { "self","expandSelection", NULL
};
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8682 _arg1
= (bool ) tempbool1
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) return NULL
;
8689 } _resultobj
= Py_BuildValue("i",_result
);
8693 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8694 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
* _resultobj
;
8699 PyObject
* _argo0
= 0;
8701 char *_kwnames
[] = { "self","expandSelection", NULL
};
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
8707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDownBlock. Expected _wxGrid_p.");
8713 _arg1
= (bool ) tempbool1
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) return NULL
;
8720 } _resultobj
= Py_BuildValue("i",_result
);
8724 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8725 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8730 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self","expandSelection", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8744 _arg1
= (bool ) tempbool1
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) return NULL
;
8751 } _resultobj
= Py_BuildValue("i",_result
);
8755 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8756 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8761 PyObject
* _argo0
= 0;
8763 char *_kwnames
[] = { "self","expandSelection", NULL
};
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
8769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
8775 _arg1
= (bool ) tempbool1
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) return NULL
;
8782 } _resultobj
= Py_BuildValue("i",_result
);
8786 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
8787 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
* _resultobj
;
8791 PyObject
* _argo0
= 0;
8792 char *_kwnames
[] = { "self", NULL
};
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
8798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) return NULL
;
8810 } _resultobj
= Py_BuildValue("i",_result
);
8814 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
8815 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
* _resultobj
;
8819 PyObject
* _argo0
= 0;
8820 char *_kwnames
[] = { "self", NULL
};
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
8826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8838 } _resultobj
= Py_BuildValue("i",_result
);
8842 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
8843 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
* _resultobj
;
8847 PyObject
* _argo0
= 0;
8848 char *_kwnames
[] = { "self", NULL
};
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
8854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) return NULL
;
8866 } _resultobj
= Py_BuildValue("i",_result
);
8870 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
8871 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8875 PyObject
* _argo0
= 0;
8876 char *_kwnames
[] = { "self", NULL
};
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
8882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) return NULL
;
8894 } _resultobj
= Py_BuildValue("i",_result
);
8898 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
8899 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
* _resultobj
;
8903 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8924 _resultobj
= Py_BuildValue("s",_ptemp
);
8928 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
8929 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8933 PyObject
* _argo0
= 0;
8934 char *_kwnames
[] = { "self", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
8941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) return NULL
;
8953 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
8954 _resultobj
= Py_BuildValue("s",_ptemp
);
8958 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
8959 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
* _resultobj
;
8963 PyObject
* _argo0
= 0;
8964 char *_kwnames
[] = { "self", NULL
};
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
8971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) return NULL
;
8983 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
8984 _resultobj
= Py_BuildValue("s",_ptemp
);
8988 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
8989 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
* _resultobj
;
8996 PyObject
* _argo0
= 0;
8997 char *_kwnames
[] = { "self", NULL
};
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) return NULL
;
9021 } Py_INCREF(Py_None
);
9022 _resultobj
= Py_None
;
9025 o
= PyInt_FromLong((long) (*_arg1
));
9026 _resultobj
= t_output_helper(_resultobj
, o
);
9030 o
= PyInt_FromLong((long) (*_arg2
));
9031 _resultobj
= t_output_helper(_resultobj
, o
);
9036 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9037 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9045 char *_kwnames
[] = { "self", NULL
};
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9069 } Py_INCREF(Py_None
);
9070 _resultobj
= Py_None
;
9073 o
= PyInt_FromLong((long) (*_arg1
));
9074 _resultobj
= t_output_helper(_resultobj
, o
);
9078 o
= PyInt_FromLong((long) (*_arg2
));
9079 _resultobj
= t_output_helper(_resultobj
, o
);
9084 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9085 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
* _resultobj
;
9090 PyObject
* _argo0
= 0;
9091 char *_kwnames
[] = { "self","row", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) return NULL
;
9111 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9113 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9122 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9123 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9128 PyObject
* _argo0
= 0;
9129 char *_kwnames
[] = { "self","col", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) return NULL
;
9149 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9151 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9160 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9161 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
* _resultobj
;
9165 PyObject
* _argo0
= 0;
9166 char *_kwnames
[] = { "self", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) return NULL
;
9185 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9186 _resultobj
= Py_BuildValue("s",_ptemp
);
9190 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9191 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9195 PyObject
* _argo0
= 0;
9196 char *_kwnames
[] = { "self", NULL
};
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) return NULL
;
9215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9216 _resultobj
= Py_BuildValue("s",_ptemp
);
9220 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9221 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9225 PyObject
* _argo0
= 0;
9226 char *_kwnames
[] = { "self", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) return NULL
;
9244 } _resultobj
= Py_BuildValue("i",_result
);
9248 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9249 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
* _resultobj
;
9253 PyObject
* _argo0
= 0;
9254 char *_kwnames
[] = { "self", NULL
};
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
9260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) return NULL
;
9272 } _resultobj
= Py_BuildValue("i",_result
);
9276 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9277 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9281 PyObject
* _argo0
= 0;
9282 char *_kwnames
[] = { "self","width", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) return NULL
;
9300 } Py_INCREF(Py_None
);
9301 _resultobj
= Py_None
;
9305 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9306 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9310 PyObject
* _argo0
= 0;
9311 char *_kwnames
[] = { "self","height", NULL
};
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) return NULL
;
9329 } Py_INCREF(Py_None
);
9330 _resultobj
= Py_None
;
9334 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9335 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
* _resultobj
;
9339 PyObject
* _argo0
= 0;
9341 PyObject
* _obj1
= 0;
9342 char *_kwnames
[] = { "self","arg2", NULL
};
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9356 if (! wxColour_helper(_obj1
, &_arg1
))
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) return NULL
;
9365 } Py_INCREF(Py_None
);
9366 _resultobj
= Py_None
;
9370 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9371 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9375 PyObject
* _argo0
= 0;
9377 PyObject
* _obj1
= 0;
9378 char *_kwnames
[] = { "self","arg2", NULL
};
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9392 if (! wxColour_helper(_obj1
, &_arg1
))
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9401 } Py_INCREF(Py_None
);
9402 _resultobj
= Py_None
;
9406 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9407 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
* _resultobj
;
9411 PyObject
* _argo0
= 0;
9412 PyObject
* _argo1
= 0;
9413 char *_kwnames
[] = { "self","arg2", NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
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_SetLabelFont. Expected _wxGrid_p.");
9426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) return NULL
;
9438 } Py_INCREF(Py_None
);
9439 _resultobj
= Py_None
;
9443 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9444 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
* _resultobj
;
9449 PyObject
* _argo0
= 0;
9450 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) return NULL
;
9468 } Py_INCREF(Py_None
);
9469 _resultobj
= Py_None
;
9473 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9474 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
* _resultobj
;
9479 PyObject
* _argo0
= 0;
9480 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) return NULL
;
9498 } Py_INCREF(Py_None
);
9499 _resultobj
= Py_None
;
9503 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9504 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9509 PyObject
* _argo0
= 0;
9510 PyObject
* _obj2
= 0;
9511 char *_kwnames
[] = { "self","row","arg3", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9524 _arg2
= wxString_in_helper(_obj2
);
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) return NULL
;
9534 } Py_INCREF(Py_None
);
9535 _resultobj
= Py_None
;
9543 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9544 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
* _resultobj
;
9549 PyObject
* _argo0
= 0;
9550 PyObject
* _obj2
= 0;
9551 char *_kwnames
[] = { "self","col","arg3", NULL
};
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9564 _arg2
= wxString_in_helper(_obj2
);
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) return NULL
;
9574 } Py_INCREF(Py_None
);
9575 _resultobj
= Py_None
;
9583 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9584 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
* _resultobj
;
9588 PyObject
* _argo0
= 0;
9590 PyObject
* _obj1
= 0;
9591 char *_kwnames
[] = { "self","arg2", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9605 if (! wxColour_helper(_obj1
, &_arg1
))
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9614 } Py_INCREF(Py_None
);
9615 _resultobj
= Py_None
;
9619 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9620 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
* _resultobj
;
9624 PyObject
* _argo0
= 0;
9626 PyObject
* _obj1
= 0;
9627 char *_kwnames
[] = { "self","arg2", NULL
};
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9641 if (! wxColour_helper(_obj1
, &_arg1
))
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) return NULL
;
9650 } Py_INCREF(Py_None
);
9651 _resultobj
= Py_None
;
9655 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9656 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9660 PyObject
* _argo0
= 0;
9661 char *_kwnames
[] = { "self","width", NULL
};
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) return NULL
;
9679 } Py_INCREF(Py_None
);
9680 _resultobj
= Py_None
;
9684 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9685 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
* _resultobj
;
9689 PyObject
* _argo0
= 0;
9690 char *_kwnames
[] = { "self","width", NULL
};
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) return NULL
;
9708 } Py_INCREF(Py_None
);
9709 _resultobj
= Py_None
;
9713 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9714 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
* _resultobj
;
9717 bool _arg1
= (bool ) TRUE
;
9718 PyObject
* _argo0
= 0;
9719 int tempbool1
= (int) TRUE
;
9720 char *_kwnames
[] = { "self","enable", NULL
};
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9732 _arg1
= (bool ) tempbool1
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) return NULL
;
9739 } Py_INCREF(Py_None
);
9740 _resultobj
= Py_None
;
9744 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9745 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9748 PyObject
* _argo0
= 0;
9749 char *_kwnames
[] = { "self", NULL
};
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
9755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 wxGrid_DisableDragRowSize(_arg0
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) return NULL
;
9767 } Py_INCREF(Py_None
);
9768 _resultobj
= Py_None
;
9772 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
9773 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9777 PyObject
* _argo0
= 0;
9778 char *_kwnames
[] = { "self", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9796 } _resultobj
= Py_BuildValue("i",_result
);
9800 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
9801 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
* _resultobj
;
9804 bool _arg1
= (bool ) TRUE
;
9805 PyObject
* _argo0
= 0;
9806 int tempbool1
= (int) TRUE
;
9807 char *_kwnames
[] = { "self","enable", NULL
};
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
9813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
9819 _arg1
= (bool ) tempbool1
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 wxGrid_EnableDragColSize(_arg0
,_arg1
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) return NULL
;
9826 } Py_INCREF(Py_None
);
9827 _resultobj
= Py_None
;
9831 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
9832 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
* _resultobj
;
9835 PyObject
* _argo0
= 0;
9836 char *_kwnames
[] = { "self", NULL
};
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
9842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 wxGrid_DisableDragColSize(_arg0
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) return NULL
;
9854 } Py_INCREF(Py_None
);
9855 _resultobj
= Py_None
;
9859 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
9860 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
* _resultobj
;
9864 PyObject
* _argo0
= 0;
9865 char *_kwnames
[] = { "self", NULL
};
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
9871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) return NULL
;
9883 } _resultobj
= Py_BuildValue("i",_result
);
9887 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
9888 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
* _resultobj
;
9891 bool _arg1
= (bool ) TRUE
;
9892 PyObject
* _argo0
= 0;
9893 int tempbool1
= (int) TRUE
;
9894 char *_kwnames
[] = { "self","enable", NULL
};
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
9900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
9906 _arg1
= (bool ) tempbool1
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) return NULL
;
9913 } Py_INCREF(Py_None
);
9914 _resultobj
= Py_None
;
9918 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
9919 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9922 PyObject
* _argo0
= 0;
9923 char *_kwnames
[] = { "self", NULL
};
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
9929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 wxGrid_DisableDragGridSize(_arg0
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) return NULL
;
9941 } Py_INCREF(Py_None
);
9942 _resultobj
= Py_None
;
9946 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
9947 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
* _resultobj
;
9951 PyObject
* _argo0
= 0;
9952 char *_kwnames
[] = { "self", NULL
};
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
9958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) return NULL
;
9970 } _resultobj
= Py_BuildValue("i",_result
);
9974 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
9975 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
* _resultobj
;
9979 wxGridCellAttr
* _arg2
;
9980 PyObject
* _argo0
= 0;
9981 PyObject
* _argo2
= 0;
9982 char *_kwnames
[] = { "self","row","attr", NULL
};
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
9988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
9995 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9996 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
9997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) return NULL
;
10007 } Py_INCREF(Py_None
);
10008 _resultobj
= Py_None
;
10012 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10013 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10017 wxGridCellAttr
* _arg2
;
10018 PyObject
* _argo0
= 0;
10019 PyObject
* _argo2
= 0;
10020 char *_kwnames
[] = { "self","col","attr", NULL
};
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10033 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10034 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) return NULL
;
10045 } Py_INCREF(Py_None
);
10046 _resultobj
= Py_None
;
10050 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10051 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
* _resultobj
;
10055 PyObject
* _argo0
= 0;
10056 char *_kwnames
[] = { "self","col", NULL
};
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) return NULL
;
10074 } Py_INCREF(Py_None
);
10075 _resultobj
= Py_None
;
10079 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10080 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
* _resultobj
;
10084 PyObject
* _argo0
= 0;
10085 char *_kwnames
[] = { "self","col", NULL
};
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) return NULL
;
10103 } Py_INCREF(Py_None
);
10104 _resultobj
= Py_None
;
10108 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10109 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
* _resultobj
;
10113 int _arg2
= (int ) -1;
10114 int _arg3
= (int ) -1;
10115 PyObject
* _argo0
= 0;
10116 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) return NULL
;
10134 } Py_INCREF(Py_None
);
10135 _resultobj
= Py_None
;
10139 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10140 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10145 PyObject
* _argo0
= 0;
10146 PyObject
* _obj2
= 0;
10147 char *_kwnames
[] = { "self","col","typeName", NULL
};
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10160 _arg2
= wxString_in_helper(_obj2
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10170 } Py_INCREF(Py_None
);
10171 _resultobj
= Py_None
;
10179 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10180 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
* _resultobj
;
10183 bool _arg1
= (bool ) TRUE
;
10184 PyObject
* _argo0
= 0;
10185 int tempbool1
= (int) TRUE
;
10186 char *_kwnames
[] = { "self","enable", NULL
};
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10198 _arg1
= (bool ) tempbool1
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxGrid_EnableGridLines(_arg0
,_arg1
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) return NULL
;
10205 } Py_INCREF(Py_None
);
10206 _resultobj
= Py_None
;
10210 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10211 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
* _resultobj
;
10215 PyObject
* _argo0
= 0;
10216 char *_kwnames
[] = { "self", NULL
};
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) return NULL
;
10234 } _resultobj
= Py_BuildValue("i",_result
);
10238 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10239 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
* _resultobj
;
10243 PyObject
* _argo0
= 0;
10244 char *_kwnames
[] = { "self", NULL
};
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) return NULL
;
10262 } _resultobj
= Py_BuildValue("i",_result
);
10266 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10267 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
* _resultobj
;
10272 PyObject
* _argo0
= 0;
10273 char *_kwnames
[] = { "self","row", NULL
};
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) return NULL
;
10291 } _resultobj
= Py_BuildValue("i",_result
);
10295 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10296 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
* _resultobj
;
10300 PyObject
* _argo0
= 0;
10301 char *_kwnames
[] = { "self", NULL
};
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
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_GetDefaultColSize. Expected _wxGrid_p.");
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) return NULL
;
10319 } _resultobj
= Py_BuildValue("i",_result
);
10323 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10324 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
* _resultobj
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self","col", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
10336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColSize. Expected _wxGrid_p.");
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) return NULL
;
10348 } _resultobj
= Py_BuildValue("i",_result
);
10352 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10353 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
* _resultobj
;
10355 wxColour
* _result
;
10357 PyObject
* _argo0
= 0;
10358 char *_kwnames
[] = { "self", NULL
};
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) return NULL
;
10377 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10378 _resultobj
= Py_BuildValue("s",_ptemp
);
10382 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10383 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
* _resultobj
;
10385 wxColour
* _result
;
10389 PyObject
* _argo0
= 0;
10390 char *_kwnames
[] = { "self","row","col", NULL
};
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) return NULL
;
10409 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10410 _resultobj
= Py_BuildValue("s",_ptemp
);
10414 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10415 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10417 wxColour
* _result
;
10419 PyObject
* _argo0
= 0;
10420 char *_kwnames
[] = { "self", NULL
};
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) return NULL
;
10439 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10440 _resultobj
= Py_BuildValue("s",_ptemp
);
10444 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10445 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
* _resultobj
;
10447 wxColour
* _result
;
10451 PyObject
* _argo0
= 0;
10452 char *_kwnames
[] = { "self","row","col", NULL
};
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) return NULL
;
10471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10472 _resultobj
= Py_BuildValue("s",_ptemp
);
10476 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10477 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
* _resultobj
;
10481 PyObject
* _argo0
= 0;
10482 char *_kwnames
[] = { "self", NULL
};
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) return NULL
;
10501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10502 _resultobj
= Py_BuildValue("s",_ptemp
);
10506 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10507 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
* _resultobj
;
10513 PyObject
* _argo0
= 0;
10514 char *_kwnames
[] = { "self","row","col", NULL
};
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) return NULL
;
10533 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10534 _resultobj
= Py_BuildValue("s",_ptemp
);
10538 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10539 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
* _resultobj
;
10544 PyObject
* _argo0
= 0;
10545 PyObject
* _argo1
= 0;
10546 PyObject
* _argo2
= 0;
10547 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10560 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10561 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10567 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10568 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) return NULL
;
10579 } Py_INCREF(Py_None
);
10580 _resultobj
= Py_None
;
10584 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10585 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
* _resultobj
;
10592 PyObject
* _argo0
= 0;
10593 PyObject
* _argo3
= 0;
10594 PyObject
* _argo4
= 0;
10595 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10608 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10609 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10615 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) return NULL
;
10627 } Py_INCREF(Py_None
);
10628 _resultobj
= Py_None
;
10632 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10633 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10637 bool _arg2
= (bool ) FALSE
;
10638 PyObject
* _argo0
= 0;
10639 int tempbool2
= (int) FALSE
;
10640 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10652 _arg2
= (bool ) tempbool2
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) return NULL
;
10659 } Py_INCREF(Py_None
);
10660 _resultobj
= Py_None
;
10664 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10665 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
* _resultobj
;
10670 PyObject
* _argo0
= 0;
10671 char *_kwnames
[] = { "self","row","height", NULL
};
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) return NULL
;
10689 } Py_INCREF(Py_None
);
10690 _resultobj
= Py_None
;
10694 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10695 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
* _resultobj
;
10699 bool _arg2
= (bool ) FALSE
;
10700 PyObject
* _argo0
= 0;
10701 int tempbool2
= (int) FALSE
;
10702 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10714 _arg2
= (bool ) tempbool2
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) return NULL
;
10721 } Py_INCREF(Py_None
);
10722 _resultobj
= Py_None
;
10726 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10727 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10732 PyObject
* _argo0
= 0;
10733 char *_kwnames
[] = { "self","col","width", NULL
};
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) return NULL
;
10751 } Py_INCREF(Py_None
);
10752 _resultobj
= Py_None
;
10756 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
10757 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
* _resultobj
;
10761 bool _arg2
= (bool ) TRUE
;
10762 PyObject
* _argo0
= 0;
10763 int tempbool2
= (int) TRUE
;
10764 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
10776 _arg2
= (bool ) tempbool2
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) return NULL
;
10783 } Py_INCREF(Py_None
);
10784 _resultobj
= Py_None
;
10788 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
10789 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
* _resultobj
;
10793 bool _arg2
= (bool ) TRUE
;
10794 PyObject
* _argo0
= 0;
10795 int tempbool2
= (int) TRUE
;
10796 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
10808 _arg2
= (bool ) tempbool2
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) return NULL
;
10815 } Py_INCREF(Py_None
);
10816 _resultobj
= Py_None
;
10820 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
10821 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
* _resultobj
;
10824 bool _arg1
= (bool ) TRUE
;
10825 PyObject
* _argo0
= 0;
10826 int tempbool1
= (int) TRUE
;
10827 char *_kwnames
[] = { "self","setAsMin", NULL
};
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
10833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
10839 _arg1
= (bool ) tempbool1
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) return NULL
;
10846 } Py_INCREF(Py_None
);
10847 _resultobj
= Py_None
;
10851 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
10852 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
* _resultobj
;
10855 bool _arg1
= (bool ) TRUE
;
10856 PyObject
* _argo0
= 0;
10857 int tempbool1
= (int) TRUE
;
10858 char *_kwnames
[] = { "self","setAsMin", NULL
};
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
10864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
10870 _arg1
= (bool ) tempbool1
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 wxGrid_AutoSizeRows(_arg0
,_arg1
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) return NULL
;
10877 } Py_INCREF(Py_None
);
10878 _resultobj
= Py_None
;
10882 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
10883 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
* _resultobj
;
10886 PyObject
* _argo0
= 0;
10887 char *_kwnames
[] = { "self", NULL
};
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
10893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 wxGrid_AutoSize(_arg0
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) return NULL
;
10905 } Py_INCREF(Py_None
);
10906 _resultobj
= Py_None
;
10910 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
10911 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
* _resultobj
;
10916 PyObject
* _argo0
= 0;
10917 char *_kwnames
[] = { "self","col","width", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) return NULL
;
10935 } Py_INCREF(Py_None
);
10936 _resultobj
= Py_None
;
10940 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
10941 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
* _resultobj
;
10946 PyObject
* _argo0
= 0;
10947 char *_kwnames
[] = { "self","row","width", NULL
};
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } Py_INCREF(Py_None
);
10966 _resultobj
= Py_None
;
10970 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
10971 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
* _resultobj
;
10975 PyObject
* _argo0
= 0;
10977 PyObject
* _obj1
= 0;
10978 char *_kwnames
[] = { "self","arg2", NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
10984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10992 if (! wxColour_helper(_obj1
, &_arg1
))
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } Py_INCREF(Py_None
);
11002 _resultobj
= Py_None
;
11006 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11007 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
* _resultobj
;
11013 PyObject
* _argo0
= 0;
11015 PyObject
* _obj3
= 0;
11016 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11030 if (! wxColour_helper(_obj3
, &_arg3
))
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) return NULL
;
11039 } Py_INCREF(Py_None
);
11040 _resultobj
= Py_None
;
11044 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11045 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
* _resultobj
;
11049 PyObject
* _argo0
= 0;
11051 PyObject
* _obj1
= 0;
11052 char *_kwnames
[] = { "self","arg2", NULL
};
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11066 if (! wxColour_helper(_obj1
, &_arg1
))
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) return NULL
;
11075 } Py_INCREF(Py_None
);
11076 _resultobj
= Py_None
;
11080 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11081 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
* _resultobj
;
11087 PyObject
* _argo0
= 0;
11089 PyObject
* _obj3
= 0;
11090 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11104 if (! wxColour_helper(_obj3
, &_arg3
))
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) return NULL
;
11113 } Py_INCREF(Py_None
);
11114 _resultobj
= Py_None
;
11118 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11119 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
* _resultobj
;
11123 PyObject
* _argo0
= 0;
11124 PyObject
* _argo1
= 0;
11125 char *_kwnames
[] = { "self","arg2", NULL
};
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11138 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11139 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) return NULL
;
11150 } Py_INCREF(Py_None
);
11151 _resultobj
= Py_None
;
11155 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11156 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
* _resultobj
;
11162 PyObject
* _argo0
= 0;
11163 PyObject
* _argo3
= 0;
11164 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11177 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11178 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) return NULL
;
11189 } Py_INCREF(Py_None
);
11190 _resultobj
= Py_None
;
11194 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11195 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
* _resultobj
;
11200 PyObject
* _argo0
= 0;
11201 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) return NULL
;
11219 } Py_INCREF(Py_None
);
11220 _resultobj
= Py_None
;
11224 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11225 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
* _resultobj
;
11232 PyObject
* _argo0
= 0;
11233 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) return NULL
;
11251 } Py_INCREF(Py_None
);
11252 _resultobj
= Py_None
;
11256 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11257 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
* _resultobj
;
11260 wxGridCellRenderer
* _arg1
;
11261 PyObject
* _argo0
= 0;
11262 PyObject
* _argo1
= 0;
11263 char *_kwnames
[] = { "self","renderer", NULL
};
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) return NULL
;
11288 } Py_INCREF(Py_None
);
11289 _resultobj
= Py_None
;
11293 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11294 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
* _resultobj
;
11299 wxGridCellRenderer
* _arg3
;
11300 PyObject
* _argo0
= 0;
11301 PyObject
* _argo3
= 0;
11302 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11315 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11316 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) return NULL
;
11327 } Py_INCREF(Py_None
);
11328 _resultobj
= Py_None
;
11332 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11333 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
* _resultobj
;
11335 wxGridCellRenderer
* _result
;
11337 PyObject
* _argo0
= 0;
11338 char *_kwnames
[] = { "self", NULL
};
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) return NULL
;
11358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11359 _resultobj
= Py_BuildValue("s",_ptemp
);
11361 Py_INCREF(Py_None
);
11362 _resultobj
= Py_None
;
11367 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11368 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
* _resultobj
;
11370 wxGridCellRenderer
* _result
;
11374 PyObject
* _argo0
= 0;
11375 char *_kwnames
[] = { "self","row","col", NULL
};
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) return NULL
;
11395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11396 _resultobj
= Py_BuildValue("s",_ptemp
);
11398 Py_INCREF(Py_None
);
11399 _resultobj
= Py_None
;
11404 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11405 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
* _resultobj
;
11408 wxGridCellEditor
* _arg1
;
11409 PyObject
* _argo0
= 0;
11410 PyObject
* _argo1
= 0;
11411 char *_kwnames
[] = { "self","editor", NULL
};
11414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) return NULL
;
11436 } Py_INCREF(Py_None
);
11437 _resultobj
= Py_None
;
11441 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11442 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
* _resultobj
;
11447 wxGridCellEditor
* _arg3
;
11448 PyObject
* _argo0
= 0;
11449 PyObject
* _argo3
= 0;
11450 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11463 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11464 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) return NULL
;
11475 } Py_INCREF(Py_None
);
11476 _resultobj
= Py_None
;
11480 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11481 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
* _resultobj
;
11483 wxGridCellEditor
* _result
;
11485 PyObject
* _argo0
= 0;
11486 char *_kwnames
[] = { "self", NULL
};
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) return NULL
;
11506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11507 _resultobj
= Py_BuildValue("s",_ptemp
);
11509 Py_INCREF(Py_None
);
11510 _resultobj
= Py_None
;
11515 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11516 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
* _resultobj
;
11518 wxGridCellEditor
* _result
;
11522 PyObject
* _argo0
= 0;
11523 char *_kwnames
[] = { "self","row","col", NULL
};
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) return NULL
;
11543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11544 _resultobj
= Py_BuildValue("s",_ptemp
);
11546 Py_INCREF(Py_None
);
11547 _resultobj
= Py_None
;
11552 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11553 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
* _resultobj
;
11555 wxString
* _result
;
11559 PyObject
* _argo0
= 0;
11560 char *_kwnames
[] = { "self","row","col", NULL
};
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) return NULL
;
11580 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
11582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11591 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11592 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
* _resultobj
;
11598 PyObject
* _argo0
= 0;
11599 PyObject
* _obj3
= 0;
11600 char *_kwnames
[] = { "self","row","col","s", NULL
};
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11613 _arg3
= wxString_in_helper(_obj3
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) return NULL
;
11623 } Py_INCREF(Py_None
);
11624 _resultobj
= Py_None
;
11632 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11633 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
* _resultobj
;
11639 PyObject
* _argo0
= 0;
11640 char *_kwnames
[] = { "self","row","col", NULL
};
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) return NULL
;
11658 } _resultobj
= Py_BuildValue("i",_result
);
11662 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11663 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
* _resultobj
;
11668 bool _arg3
= (bool ) TRUE
;
11669 PyObject
* _argo0
= 0;
11670 int tempbool3
= (int) TRUE
;
11671 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11683 _arg3
= (bool ) tempbool3
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) return NULL
;
11690 } Py_INCREF(Py_None
);
11691 _resultobj
= Py_None
;
11695 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11696 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
* _resultobj
;
11700 bool _arg2
= (bool ) FALSE
;
11701 PyObject
* _argo0
= 0;
11702 int tempbool2
= (int) FALSE
;
11703 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11715 _arg2
= (bool ) tempbool2
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) return NULL
;
11722 } Py_INCREF(Py_None
);
11723 _resultobj
= Py_None
;
11727 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
11728 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
* _resultobj
;
11732 bool _arg2
= (bool ) FALSE
;
11733 PyObject
* _argo0
= 0;
11734 int tempbool2
= (int) FALSE
;
11735 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
11747 _arg2
= (bool ) tempbool2
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) return NULL
;
11754 } Py_INCREF(Py_None
);
11755 _resultobj
= Py_None
;
11759 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11760 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
* _resultobj
;
11767 bool _arg5
= (bool ) FALSE
;
11768 PyObject
* _argo0
= 0;
11769 int tempbool5
= (int) FALSE
;
11770 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
11776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
11782 _arg5
= (bool ) tempbool5
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) return NULL
;
11789 } Py_INCREF(Py_None
);
11790 _resultobj
= Py_None
;
11794 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
11795 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
* _resultobj
;
11798 PyObject
* _argo0
= 0;
11799 char *_kwnames
[] = { "self", NULL
};
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
11805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 wxGrid_SelectAll(_arg0
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) return NULL
;
11817 } Py_INCREF(Py_None
);
11818 _resultobj
= Py_None
;
11822 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
11823 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
* _resultobj
;
11827 PyObject
* _argo0
= 0;
11828 char *_kwnames
[] = { "self", NULL
};
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
11834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 _result
= (bool )wxGrid_IsSelection(_arg0
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) return NULL
;
11846 } _resultobj
= Py_BuildValue("i",_result
);
11850 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
11851 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
* _resultobj
;
11854 PyObject
* _argo0
= 0;
11855 char *_kwnames
[] = { "self", NULL
};
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
11861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 wxGrid_ClearSelection(_arg0
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) return NULL
;
11873 } Py_INCREF(Py_None
);
11874 _resultobj
= Py_None
;
11878 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
11879 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
* _resultobj
;
11885 PyObject
* _argo0
= 0;
11886 char *_kwnames
[] = { "self","row","col", NULL
};
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) return NULL
;
11904 } _resultobj
= Py_BuildValue("i",_result
);
11908 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
11909 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
* _resultobj
;
11913 wxGridCellCoords
* _arg1
;
11914 wxGridCellCoords
* _arg2
;
11915 PyObject
* _argo0
= 0;
11916 wxGridCellCoords temp
;
11917 PyObject
* _obj1
= 0;
11918 wxGridCellCoords temp0
;
11919 PyObject
* _obj2
= 0;
11920 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
11935 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
11940 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) return NULL
;
11949 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
11950 _resultobj
= Py_BuildValue("s",_ptemp
);
11954 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
11955 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
* _resultobj
;
11957 wxColour
* _result
;
11959 PyObject
* _argo0
= 0;
11960 char *_kwnames
[] = { "self", NULL
};
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
11967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) return NULL
;
11979 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11980 _resultobj
= Py_BuildValue("s",_ptemp
);
11984 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
11985 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
* _resultobj
;
11987 wxColour
* _result
;
11989 PyObject
* _argo0
= 0;
11990 char *_kwnames
[] = { "self", NULL
};
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
11997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) return NULL
;
12009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12010 _resultobj
= Py_BuildValue("s",_ptemp
);
12014 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12015 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
* _resultobj
;
12019 PyObject
* _argo0
= 0;
12021 PyObject
* _obj1
= 0;
12022 char *_kwnames
[] = { "self","c", NULL
};
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12036 if (! wxColour_helper(_obj1
, &_arg1
))
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) return NULL
;
12045 } Py_INCREF(Py_None
);
12046 _resultobj
= Py_None
;
12050 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12051 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
* _resultobj
;
12055 PyObject
* _argo0
= 0;
12057 PyObject
* _obj1
= 0;
12058 char *_kwnames
[] = { "self","c", NULL
};
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12072 if (! wxColour_helper(_obj1
, &_arg1
))
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) return NULL
;
12081 } Py_INCREF(Py_None
);
12082 _resultobj
= Py_None
;
12086 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12087 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
* _resultobj
;
12091 wxGridCellRenderer
* _arg2
;
12092 wxGridCellEditor
* _arg3
;
12093 PyObject
* _argo0
= 0;
12094 PyObject
* _obj1
= 0;
12095 PyObject
* _argo2
= 0;
12096 PyObject
* _argo3
= 0;
12097 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12110 _arg1
= wxString_in_helper(_obj1
);
12115 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12116 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12122 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12123 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) return NULL
;
12134 } Py_INCREF(Py_None
);
12135 _resultobj
= Py_None
;
12143 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12144 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
* _resultobj
;
12146 wxGridCellEditor
* _result
;
12150 PyObject
* _argo0
= 0;
12151 char *_kwnames
[] = { "self","row","col", NULL
};
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) return NULL
;
12171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12172 _resultobj
= Py_BuildValue("s",_ptemp
);
12174 Py_INCREF(Py_None
);
12175 _resultobj
= Py_None
;
12180 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12181 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
* _resultobj
;
12183 wxGridCellRenderer
* _result
;
12187 PyObject
* _argo0
= 0;
12188 char *_kwnames
[] = { "self","row","col", NULL
};
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) return NULL
;
12208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12209 _resultobj
= Py_BuildValue("s",_ptemp
);
12211 Py_INCREF(Py_None
);
12212 _resultobj
= Py_None
;
12217 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12218 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
* _resultobj
;
12220 wxGridCellEditor
* _result
;
12223 PyObject
* _argo0
= 0;
12224 PyObject
* _obj1
= 0;
12225 char *_kwnames
[] = { "self","typeName", NULL
};
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12239 _arg1
= wxString_in_helper(_obj1
);
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) return NULL
;
12250 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12251 _resultobj
= Py_BuildValue("s",_ptemp
);
12253 Py_INCREF(Py_None
);
12254 _resultobj
= Py_None
;
12263 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12264 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
* _resultobj
;
12266 wxGridCellRenderer
* _result
;
12269 PyObject
* _argo0
= 0;
12270 PyObject
* _obj1
= 0;
12271 char *_kwnames
[] = { "self","typeName", NULL
};
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12285 _arg1
= wxString_in_helper(_obj1
);
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) return NULL
;
12296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12297 _resultobj
= Py_BuildValue("s",_ptemp
);
12299 Py_INCREF(Py_None
);
12300 _resultobj
= Py_None
;
12309 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12310 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
* _resultobj
;
12315 PyObject
* _argo0
= 0;
12316 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) return NULL
;
12334 } Py_INCREF(Py_None
);
12335 _resultobj
= Py_None
;
12339 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12340 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12341 PyObject
* _resultobj
;
12342 wxWindow
* _result
;
12344 PyObject
* _argo0
= 0;
12345 char *_kwnames
[] = { "self", NULL
};
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) return NULL
;
12363 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12367 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12368 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
* _resultobj
;
12370 wxWindow
* _result
;
12372 PyObject
* _argo0
= 0;
12373 char *_kwnames
[] = { "self", NULL
};
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) return NULL
;
12391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12395 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12396 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
* _resultobj
;
12398 wxWindow
* _result
;
12400 PyObject
* _argo0
= 0;
12401 char *_kwnames
[] = { "self", NULL
};
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) return NULL
;
12419 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12423 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12424 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
* _resultobj
;
12426 wxWindow
* _result
;
12428 PyObject
* _argo0
= 0;
12429 char *_kwnames
[] = { "self", NULL
};
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) return NULL
;
12447 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12451 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12453 wxNotifyEvent
*dest
;
12454 src
= (wxGridEvent
*) ptr
;
12455 dest
= (wxNotifyEvent
*) src
;
12456 return (void *) dest
;
12459 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12461 wxCommandEvent
*dest
;
12462 src
= (wxGridEvent
*) ptr
;
12463 dest
= (wxCommandEvent
*) src
;
12464 return (void *) dest
;
12467 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12470 src
= (wxGridEvent
*) ptr
;
12471 dest
= (wxEvent
*) src
;
12472 return (void *) dest
;
12475 static void *SwigwxGridEventTowxObject(void *ptr
) {
12478 src
= (wxGridEvent
*) ptr
;
12479 dest
= (wxObject
*) src
;
12480 return (void *) dest
;
12483 #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))
12484 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
* _resultobj
;
12486 wxGridEvent
* _result
;
12490 int _arg3
= (int ) -1;
12491 int _arg4
= (int ) -1;
12492 int _arg5
= (int ) -1;
12493 int _arg6
= (int ) -1;
12494 bool _arg7
= (bool ) TRUE
;
12495 bool _arg8
= (bool ) FALSE
;
12496 bool _arg9
= (bool ) FALSE
;
12497 bool _arg10
= (bool ) FALSE
;
12498 bool _arg11
= (bool ) FALSE
;
12499 PyObject
* _argo2
= 0;
12500 int tempbool7
= (int) TRUE
;
12501 int tempbool8
= (int) FALSE
;
12502 int tempbool9
= (int) FALSE
;
12503 int tempbool10
= (int) FALSE
;
12504 int tempbool11
= (int) FALSE
;
12505 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12512 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12513 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12518 _arg7
= (bool ) tempbool7
;
12519 _arg8
= (bool ) tempbool8
;
12520 _arg9
= (bool ) tempbool9
;
12521 _arg10
= (bool ) tempbool10
;
12522 _arg11
= (bool ) tempbool11
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) return NULL
;
12530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12531 _resultobj
= Py_BuildValue("s",_ptemp
);
12533 Py_INCREF(Py_None
);
12534 _resultobj
= Py_None
;
12539 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12540 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
* _resultobj
;
12543 wxGridEvent
* _arg0
;
12544 PyObject
* _argo0
= 0;
12545 char *_kwnames
[] = { "self", NULL
};
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 _result
= (int )wxGridEvent_GetRow(_arg0
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) return NULL
;
12563 } _resultobj
= Py_BuildValue("i",_result
);
12567 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12568 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
* _resultobj
;
12571 wxGridEvent
* _arg0
;
12572 PyObject
* _argo0
= 0;
12573 char *_kwnames
[] = { "self", NULL
};
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 _result
= (int )wxGridEvent_GetCol(_arg0
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) return NULL
;
12591 } _resultobj
= Py_BuildValue("i",_result
);
12595 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12596 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
* _resultobj
;
12599 wxGridEvent
* _arg0
;
12600 PyObject
* _argo0
= 0;
12601 char *_kwnames
[] = { "self", NULL
};
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) return NULL
;
12620 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12621 _resultobj
= Py_BuildValue("s",_ptemp
);
12625 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12626 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
* _resultobj
;
12629 wxGridEvent
* _arg0
;
12630 PyObject
* _argo0
= 0;
12631 char *_kwnames
[] = { "self", NULL
};
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) return NULL
;
12649 } _resultobj
= Py_BuildValue("i",_result
);
12653 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12654 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12655 PyObject
* _resultobj
;
12657 wxGridEvent
* _arg0
;
12658 PyObject
* _argo0
= 0;
12659 char *_kwnames
[] = { "self", NULL
};
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) return NULL
;
12677 } _resultobj
= Py_BuildValue("i",_result
);
12681 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12682 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
* _resultobj
;
12685 wxGridEvent
* _arg0
;
12686 PyObject
* _argo0
= 0;
12687 char *_kwnames
[] = { "self", NULL
};
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
12693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) return NULL
;
12705 } _resultobj
= Py_BuildValue("i",_result
);
12709 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12710 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
* _resultobj
;
12713 wxGridEvent
* _arg0
;
12714 PyObject
* _argo0
= 0;
12715 char *_kwnames
[] = { "self", NULL
};
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
12721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) return NULL
;
12733 } _resultobj
= Py_BuildValue("i",_result
);
12737 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
12738 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
* _resultobj
;
12741 wxGridEvent
* _arg0
;
12742 PyObject
* _argo0
= 0;
12743 char *_kwnames
[] = { "self", NULL
};
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
12749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 _result
= (bool )wxGridEvent_AltDown(_arg0
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) return NULL
;
12761 } _resultobj
= Py_BuildValue("i",_result
);
12765 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
12766 wxGridSizeEvent
*src
;
12767 wxNotifyEvent
*dest
;
12768 src
= (wxGridSizeEvent
*) ptr
;
12769 dest
= (wxNotifyEvent
*) src
;
12770 return (void *) dest
;
12773 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
12774 wxGridSizeEvent
*src
;
12775 wxCommandEvent
*dest
;
12776 src
= (wxGridSizeEvent
*) ptr
;
12777 dest
= (wxCommandEvent
*) src
;
12778 return (void *) dest
;
12781 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
12782 wxGridSizeEvent
*src
;
12784 src
= (wxGridSizeEvent
*) ptr
;
12785 dest
= (wxEvent
*) src
;
12786 return (void *) dest
;
12789 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
12790 wxGridSizeEvent
*src
;
12792 src
= (wxGridSizeEvent
*) ptr
;
12793 dest
= (wxObject
*) src
;
12794 return (void *) dest
;
12797 #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))
12798 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
* _resultobj
;
12800 wxGridSizeEvent
* _result
;
12804 int _arg3
= (int ) -1;
12805 int _arg4
= (int ) -1;
12806 int _arg5
= (int ) -1;
12807 bool _arg6
= (bool ) FALSE
;
12808 bool _arg7
= (bool ) FALSE
;
12809 bool _arg8
= (bool ) FALSE
;
12810 bool _arg9
= (bool ) FALSE
;
12811 PyObject
* _argo2
= 0;
12812 int tempbool6
= (int) FALSE
;
12813 int tempbool7
= (int) FALSE
;
12814 int tempbool8
= (int) FALSE
;
12815 int tempbool9
= (int) FALSE
;
12816 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
12823 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12824 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
12829 _arg6
= (bool ) tempbool6
;
12830 _arg7
= (bool ) tempbool7
;
12831 _arg8
= (bool ) tempbool8
;
12832 _arg9
= (bool ) tempbool9
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) return NULL
;
12840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
12841 _resultobj
= Py_BuildValue("s",_ptemp
);
12843 Py_INCREF(Py_None
);
12844 _resultobj
= Py_None
;
12849 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
12850 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
* _resultobj
;
12853 wxGridSizeEvent
* _arg0
;
12854 PyObject
* _argo0
= 0;
12855 char *_kwnames
[] = { "self", NULL
};
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
12861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) return NULL
;
12873 } _resultobj
= Py_BuildValue("i",_result
);
12877 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12878 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12879 PyObject
* _resultobj
;
12881 wxGridSizeEvent
* _arg0
;
12882 PyObject
* _argo0
= 0;
12883 char *_kwnames
[] = { "self", NULL
};
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
12890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) return NULL
;
12902 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12903 _resultobj
= Py_BuildValue("s",_ptemp
);
12907 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12908 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
* _resultobj
;
12911 wxGridSizeEvent
* _arg0
;
12912 PyObject
* _argo0
= 0;
12913 char *_kwnames
[] = { "self", NULL
};
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
12919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) return NULL
;
12931 } _resultobj
= Py_BuildValue("i",_result
);
12935 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12936 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
* _resultobj
;
12939 wxGridSizeEvent
* _arg0
;
12940 PyObject
* _argo0
= 0;
12941 char *_kwnames
[] = { "self", NULL
};
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
12947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) return NULL
;
12959 } _resultobj
= Py_BuildValue("i",_result
);
12963 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
12964 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
* _resultobj
;
12967 wxGridSizeEvent
* _arg0
;
12968 PyObject
* _argo0
= 0;
12969 char *_kwnames
[] = { "self", NULL
};
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
12975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
12977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) return NULL
;
12987 } _resultobj
= Py_BuildValue("i",_result
);
12991 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
12992 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
* _resultobj
;
12995 wxGridSizeEvent
* _arg0
;
12996 PyObject
* _argo0
= 0;
12997 char *_kwnames
[] = { "self", NULL
};
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) return NULL
;
13015 } _resultobj
= Py_BuildValue("i",_result
);
13019 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13020 wxGridRangeSelectEvent
*src
;
13021 wxNotifyEvent
*dest
;
13022 src
= (wxGridRangeSelectEvent
*) ptr
;
13023 dest
= (wxNotifyEvent
*) src
;
13024 return (void *) dest
;
13027 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13028 wxGridRangeSelectEvent
*src
;
13029 wxCommandEvent
*dest
;
13030 src
= (wxGridRangeSelectEvent
*) ptr
;
13031 dest
= (wxCommandEvent
*) src
;
13032 return (void *) dest
;
13035 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13036 wxGridRangeSelectEvent
*src
;
13038 src
= (wxGridRangeSelectEvent
*) ptr
;
13039 dest
= (wxEvent
*) src
;
13040 return (void *) dest
;
13043 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13044 wxGridRangeSelectEvent
*src
;
13046 src
= (wxGridRangeSelectEvent
*) ptr
;
13047 dest
= (wxObject
*) src
;
13048 return (void *) dest
;
13051 #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))
13052 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
* _resultobj
;
13054 wxGridRangeSelectEvent
* _result
;
13058 wxGridCellCoords
* _arg3
;
13059 wxGridCellCoords
* _arg4
;
13060 bool _arg5
= (bool ) TRUE
;
13061 bool _arg6
= (bool ) FALSE
;
13062 bool _arg7
= (bool ) FALSE
;
13063 bool _arg8
= (bool ) FALSE
;
13064 bool _arg9
= (bool ) FALSE
;
13065 PyObject
* _argo2
= 0;
13066 wxGridCellCoords temp
;
13067 PyObject
* _obj3
= 0;
13068 wxGridCellCoords temp0
;
13069 PyObject
* _obj4
= 0;
13070 int tempbool5
= (int) TRUE
;
13071 int tempbool6
= (int) FALSE
;
13072 int tempbool7
= (int) FALSE
;
13073 int tempbool8
= (int) FALSE
;
13074 int tempbool9
= (int) FALSE
;
13075 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13082 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13083 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13090 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13095 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13098 _arg5
= (bool ) tempbool5
;
13099 _arg6
= (bool ) tempbool6
;
13100 _arg7
= (bool ) tempbool7
;
13101 _arg8
= (bool ) tempbool8
;
13102 _arg9
= (bool ) tempbool9
;
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) return NULL
;
13110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13111 _resultobj
= Py_BuildValue("s",_ptemp
);
13113 Py_INCREF(Py_None
);
13114 _resultobj
= Py_None
;
13119 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13120 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
* _resultobj
;
13122 wxGridCellCoords
* _result
;
13123 wxGridRangeSelectEvent
* _arg0
;
13124 PyObject
* _argo0
= 0;
13125 char *_kwnames
[] = { "self", NULL
};
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) return NULL
;
13144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13145 _resultobj
= Py_BuildValue("s",_ptemp
);
13149 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13150 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
* _resultobj
;
13152 wxGridCellCoords
* _result
;
13153 wxGridRangeSelectEvent
* _arg0
;
13154 PyObject
* _argo0
= 0;
13155 char *_kwnames
[] = { "self", NULL
};
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) return NULL
;
13174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13175 _resultobj
= Py_BuildValue("s",_ptemp
);
13179 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13180 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
* _resultobj
;
13183 wxGridRangeSelectEvent
* _arg0
;
13184 PyObject
* _argo0
= 0;
13185 char *_kwnames
[] = { "self", NULL
};
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) return NULL
;
13203 } _resultobj
= Py_BuildValue("i",_result
);
13207 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13208 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
* _resultobj
;
13211 wxGridRangeSelectEvent
* _arg0
;
13212 PyObject
* _argo0
= 0;
13213 char *_kwnames
[] = { "self", NULL
};
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) return NULL
;
13231 } _resultobj
= Py_BuildValue("i",_result
);
13235 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13236 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
* _resultobj
;
13239 wxGridRangeSelectEvent
* _arg0
;
13240 PyObject
* _argo0
= 0;
13241 char *_kwnames
[] = { "self", NULL
};
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) return NULL
;
13259 } _resultobj
= Py_BuildValue("i",_result
);
13263 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13264 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
* _resultobj
;
13267 wxGridRangeSelectEvent
* _arg0
;
13268 PyObject
* _argo0
= 0;
13269 char *_kwnames
[] = { "self", NULL
};
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) return NULL
;
13287 } _resultobj
= Py_BuildValue("i",_result
);
13291 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13292 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
* _resultobj
;
13295 wxGridRangeSelectEvent
* _arg0
;
13296 PyObject
* _argo0
= 0;
13297 char *_kwnames
[] = { "self", NULL
};
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) return NULL
;
13315 } _resultobj
= Py_BuildValue("i",_result
);
13319 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13320 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
* _resultobj
;
13323 wxGridRangeSelectEvent
* _arg0
;
13324 PyObject
* _argo0
= 0;
13325 char *_kwnames
[] = { "self", NULL
};
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) return NULL
;
13343 } _resultobj
= Py_BuildValue("i",_result
);
13347 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13348 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
* _resultobj
;
13351 wxGridRangeSelectEvent
* _arg0
;
13352 PyObject
* _argo0
= 0;
13353 char *_kwnames
[] = { "self", NULL
};
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) return NULL
;
13371 } _resultobj
= Py_BuildValue("i",_result
);
13375 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13376 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
* _resultobj
;
13379 wxGridRangeSelectEvent
* _arg0
;
13380 PyObject
* _argo0
= 0;
13381 char *_kwnames
[] = { "self", NULL
};
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) return NULL
;
13399 } _resultobj
= Py_BuildValue("i",_result
);
13403 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13404 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
* _resultobj
;
13407 wxGridRangeSelectEvent
* _arg0
;
13408 PyObject
* _argo0
= 0;
13409 char *_kwnames
[] = { "self", NULL
};
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) return NULL
;
13427 } _resultobj
= Py_BuildValue("i",_result
);
13431 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13432 wxGridEditorCreatedEvent
*src
;
13433 wxCommandEvent
*dest
;
13434 src
= (wxGridEditorCreatedEvent
*) ptr
;
13435 dest
= (wxCommandEvent
*) src
;
13436 return (void *) dest
;
13439 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13440 wxGridEditorCreatedEvent
*src
;
13442 src
= (wxGridEditorCreatedEvent
*) ptr
;
13443 dest
= (wxEvent
*) src
;
13444 return (void *) dest
;
13447 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13448 wxGridEditorCreatedEvent
*src
;
13450 src
= (wxGridEditorCreatedEvent
*) ptr
;
13451 dest
= (wxObject
*) src
;
13452 return (void *) dest
;
13455 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13456 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
* _resultobj
;
13458 wxGridEditorCreatedEvent
* _result
;
13465 PyObject
* _argo2
= 0;
13466 PyObject
* _argo5
= 0;
13467 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13474 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13475 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13481 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13482 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) return NULL
;
13494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13495 _resultobj
= Py_BuildValue("s",_ptemp
);
13497 Py_INCREF(Py_None
);
13498 _resultobj
= Py_None
;
13503 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13504 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
* _resultobj
;
13507 wxGridEditorCreatedEvent
* _arg0
;
13508 PyObject
* _argo0
= 0;
13509 char *_kwnames
[] = { "self", NULL
};
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) return NULL
;
13527 } _resultobj
= Py_BuildValue("i",_result
);
13531 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13532 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
* _resultobj
;
13535 wxGridEditorCreatedEvent
* _arg0
;
13536 PyObject
* _argo0
= 0;
13537 char *_kwnames
[] = { "self", NULL
};
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) return NULL
;
13555 } _resultobj
= Py_BuildValue("i",_result
);
13559 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13560 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
* _resultobj
;
13562 wxControl
* _result
;
13563 wxGridEditorCreatedEvent
* _arg0
;
13564 PyObject
* _argo0
= 0;
13565 char *_kwnames
[] = { "self", NULL
};
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) return NULL
;
13583 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13587 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13588 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
* _resultobj
;
13590 wxGridEditorCreatedEvent
* _arg0
;
13592 PyObject
* _argo0
= 0;
13593 char *_kwnames
[] = { "self","row", NULL
};
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) return NULL
;
13611 } Py_INCREF(Py_None
);
13612 _resultobj
= Py_None
;
13616 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13617 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
* _resultobj
;
13619 wxGridEditorCreatedEvent
* _arg0
;
13621 PyObject
* _argo0
= 0;
13622 char *_kwnames
[] = { "self","col", NULL
};
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) return NULL
;
13640 } Py_INCREF(Py_None
);
13641 _resultobj
= Py_None
;
13645 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13646 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
* _resultobj
;
13648 wxGridEditorCreatedEvent
* _arg0
;
13650 PyObject
* _argo0
= 0;
13651 PyObject
* _argo1
= 0;
13652 char *_kwnames
[] = { "self","ctrl", NULL
};
13655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) return NULL
;
13677 } Py_INCREF(Py_None
);
13678 _resultobj
= Py_None
;
13682 static PyMethodDef gridcMethods
[] = {
13683 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13684 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13685 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13686 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
13687 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13688 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13689 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
13690 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13691 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13692 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13693 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13694 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13695 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
13696 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
13697 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
13698 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
13699 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
13700 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
13701 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
13702 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13703 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13704 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13705 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13706 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13707 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
13708 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
13709 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
13710 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
13711 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
13712 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
13713 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
13714 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
13715 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13716 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13717 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
13718 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13719 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13720 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
13721 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
13722 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
13723 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
13724 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
13725 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
13726 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
13727 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
13728 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13729 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13730 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
13731 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
13732 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
13733 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
13734 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
13735 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
13736 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
13737 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
13738 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
13739 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
13740 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13741 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13742 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13743 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
13744 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13745 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13746 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
13747 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
13748 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13749 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13750 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13751 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13752 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13753 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13754 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13755 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13756 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13757 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13758 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13759 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13760 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
13761 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
13762 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
13763 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
13764 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
13765 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
13766 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
13767 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13768 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13769 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13770 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13771 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13772 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13773 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13774 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
13775 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13776 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13777 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13778 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13779 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
13780 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
13781 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13782 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13783 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13784 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
13785 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
13786 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
13787 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
13788 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
13789 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13790 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13791 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13792 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13793 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
13794 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13795 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13796 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
13797 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13798 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13799 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
13800 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13801 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13802 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13803 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13804 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13805 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13806 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13807 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13808 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13809 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13810 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13811 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13812 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13813 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13814 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
13815 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
13816 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
13817 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13818 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13819 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13820 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13821 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
13822 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13823 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13824 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13825 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13826 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13827 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
13828 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
13829 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
13830 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
13831 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
13832 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
13833 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
13834 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
13835 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
13836 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
13837 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
13838 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
13839 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
13840 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
13841 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
13842 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
13843 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
13844 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
13845 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
13846 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
13847 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
13848 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
13849 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
13850 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13851 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13852 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13853 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
13854 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
13855 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
13856 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13857 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
13858 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
13859 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
13860 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
13861 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
13862 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
13863 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
13864 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
13865 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
13866 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
13867 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13868 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13869 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13870 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13871 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13872 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13873 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
13874 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
13875 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
13876 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13877 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13878 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13879 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
13880 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
13881 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
13882 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
13883 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
13884 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
13885 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13886 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
13887 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13888 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
13889 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13890 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
13891 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13892 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
13893 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13894 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
13895 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
13896 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
13897 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13898 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
13899 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13900 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
13901 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
13902 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13903 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13904 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13905 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13906 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13907 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13908 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13909 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13910 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13911 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13912 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13913 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13914 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13915 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13916 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13917 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13918 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13919 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13920 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13921 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
13922 { "wxPyGridTableBase__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridTableBase__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13923 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
13924 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13925 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13926 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13927 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13928 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
13929 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13930 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13931 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13932 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
13933 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
13934 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
13935 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
13936 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
13937 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
13938 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
13939 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
13940 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13941 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13942 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13943 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
13944 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
13945 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
13946 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13947 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
13948 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
13949 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
13950 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
13951 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
13952 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
13953 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
13954 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
13955 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
13956 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13957 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13958 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13959 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13960 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13961 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13962 { "wxPyGridCellAttrProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
13963 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13964 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
13965 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
13966 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
13967 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
13968 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13969 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
13970 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
13971 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
13972 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13973 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13974 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13975 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13976 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
13977 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13978 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13979 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
13980 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
13981 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13982 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13983 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
13984 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13985 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13986 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
13987 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
13988 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
13989 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
13990 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
13991 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
13992 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
13993 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
13994 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
13995 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
13996 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxPyGridCellEditor__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellEditor__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxPyGridCellRenderer__setCallbackInfo", (PyCFunction
) _wrap_wxPyGridCellRenderer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14062 * This table is used by the pointer type-checker
14064 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14065 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14066 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14067 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14068 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14069 { "_signed_long","_long",0},
14070 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14071 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14072 { "_wxPrintQuality","_wxCoord",0},
14073 { "_wxPrintQuality","_int",0},
14074 { "_wxPrintQuality","_signed_int",0},
14075 { "_wxPrintQuality","_unsigned_int",0},
14076 { "_wxPrintQuality","_wxWindowID",0},
14077 { "_wxPrintQuality","_uint",0},
14078 { "_wxPrintQuality","_EBool",0},
14079 { "_wxPrintQuality","_size_t",0},
14080 { "_wxPrintQuality","_time_t",0},
14081 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14082 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14083 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14084 { "_byte","_unsigned_char",0},
14085 { "_long","_unsigned_long",0},
14086 { "_long","_signed_long",0},
14087 { "_size_t","_WXGRIDSELECTIONMODES",0},
14088 { "_size_t","_wxCoord",0},
14089 { "_size_t","_wxPrintQuality",0},
14090 { "_size_t","_time_t",0},
14091 { "_size_t","_unsigned_int",0},
14092 { "_size_t","_int",0},
14093 { "_size_t","_wxWindowID",0},
14094 { "_size_t","_uint",0},
14095 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14096 { "_uint","_WXGRIDSELECTIONMODES",0},
14097 { "_uint","_wxCoord",0},
14098 { "_uint","_wxPrintQuality",0},
14099 { "_uint","_time_t",0},
14100 { "_uint","_size_t",0},
14101 { "_uint","_unsigned_int",0},
14102 { "_uint","_int",0},
14103 { "_uint","_wxWindowID",0},
14104 { "_wxChar","_char",0},
14105 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14106 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14107 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14108 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14109 { "_char","_wxChar",0},
14110 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14111 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14112 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14113 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14114 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14115 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14116 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14117 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14118 { "_EBool","_WXGRIDSELECTIONMODES",0},
14119 { "_EBool","_wxCoord",0},
14120 { "_EBool","_wxPrintQuality",0},
14121 { "_EBool","_signed_int",0},
14122 { "_EBool","_int",0},
14123 { "_EBool","_wxWindowID",0},
14124 { "_unsigned_long","_long",0},
14125 { "_WXGRIDSELECTIONMODES","_int",0},
14126 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14127 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14128 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14129 { "_WXGRIDSELECTIONMODES","_uint",0},
14130 { "_WXGRIDSELECTIONMODES","_EBool",0},
14131 { "_WXGRIDSELECTIONMODES","_size_t",0},
14132 { "_WXGRIDSELECTIONMODES","_time_t",0},
14133 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14134 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14135 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14136 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14137 { "_signed_int","_wxCoord",0},
14138 { "_signed_int","_wxPrintQuality",0},
14139 { "_signed_int","_EBool",0},
14140 { "_signed_int","_wxWindowID",0},
14141 { "_signed_int","_int",0},
14142 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14143 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14144 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14145 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14146 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14147 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14148 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14149 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14150 { "_WXTYPE","_short",0},
14151 { "_WXTYPE","_signed_short",0},
14152 { "_WXTYPE","_unsigned_short",0},
14153 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14154 { "_unsigned_short","_WXTYPE",0},
14155 { "_unsigned_short","_short",0},
14156 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14157 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14158 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14159 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14160 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14161 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14162 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14163 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14164 { "_signed_short","_WXTYPE",0},
14165 { "_signed_short","_short",0},
14166 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14167 { "_unsigned_char","_byte",0},
14168 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14169 { "_unsigned_int","_wxCoord",0},
14170 { "_unsigned_int","_wxPrintQuality",0},
14171 { "_unsigned_int","_time_t",0},
14172 { "_unsigned_int","_size_t",0},
14173 { "_unsigned_int","_uint",0},
14174 { "_unsigned_int","_wxWindowID",0},
14175 { "_unsigned_int","_int",0},
14176 { "_short","_WXTYPE",0},
14177 { "_short","_unsigned_short",0},
14178 { "_short","_signed_short",0},
14179 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14180 { "_wxWindowID","_wxCoord",0},
14181 { "_wxWindowID","_wxPrintQuality",0},
14182 { "_wxWindowID","_time_t",0},
14183 { "_wxWindowID","_size_t",0},
14184 { "_wxWindowID","_EBool",0},
14185 { "_wxWindowID","_uint",0},
14186 { "_wxWindowID","_int",0},
14187 { "_wxWindowID","_signed_int",0},
14188 { "_wxWindowID","_unsigned_int",0},
14189 { "_int","_WXGRIDSELECTIONMODES",0},
14190 { "_int","_wxCoord",0},
14191 { "_int","_wxPrintQuality",0},
14192 { "_int","_time_t",0},
14193 { "_int","_size_t",0},
14194 { "_int","_EBool",0},
14195 { "_int","_uint",0},
14196 { "_int","_wxWindowID",0},
14197 { "_int","_unsigned_int",0},
14198 { "_int","_signed_int",0},
14199 { "_time_t","_WXGRIDSELECTIONMODES",0},
14200 { "_time_t","_wxCoord",0},
14201 { "_time_t","_wxPrintQuality",0},
14202 { "_time_t","_unsigned_int",0},
14203 { "_time_t","_int",0},
14204 { "_time_t","_wxWindowID",0},
14205 { "_time_t","_uint",0},
14206 { "_time_t","_size_t",0},
14207 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14208 { "_wxCoord","_int",0},
14209 { "_wxCoord","_signed_int",0},
14210 { "_wxCoord","_unsigned_int",0},
14211 { "_wxCoord","_wxWindowID",0},
14212 { "_wxCoord","_uint",0},
14213 { "_wxCoord","_EBool",0},
14214 { "_wxCoord","_size_t",0},
14215 { "_wxCoord","_time_t",0},
14216 { "_wxCoord","_wxPrintQuality",0},
14217 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14218 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14219 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14220 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14221 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14222 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14223 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14224 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14225 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14226 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14227 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14228 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14229 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14232 static PyObject
*SWIG_globals
;
14236 SWIGEXPORT(void) initgridc() {
14238 SWIG_globals
= SWIG_newvarlink();
14239 m
= Py_InitModule("gridc", gridcMethods
);
14240 d
= PyModule_GetDict(m
);
14241 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14242 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14243 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14244 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14245 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14246 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14247 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14248 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14249 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14250 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14251 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14252 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14253 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14254 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14255 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14256 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14257 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14258 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14259 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14260 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14261 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14262 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14263 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14264 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14265 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14266 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14267 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14268 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14269 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14270 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14271 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14272 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14273 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14274 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14276 wxClassInfo::CleanUpClasses();
14277 wxClassInfo::InitializeClasses();
14278 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14279 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14280 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14281 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14282 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14283 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14284 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14285 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14286 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14289 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14290 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);