2 * FILE : src/gtk/grid.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgridc
56 #define SWIG_name "gridc"
60 #include <wx/generic/gridctrl.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "string type is required for parameter";
95 #define PYCALLBACK_GCA_INTINTKIND(PCLASS, CBNAME) \
96 wxGridCellAttr* CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
97 wxGridCellAttr* rval = NULL; \
99 wxPyTState* state = wxPyBeginBlockThreads(); \
100 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
102 wxGridCellAttr* ptr; \
103 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(iii)", a, b, c)); \
105 if (!SWIG_GetPtrObj(ro, (void **)&ptr, "_wxGridCellAttr_p")) \
110 wxPyEndBlockThreads(state); \
112 rval = PCLASS::CBNAME(a, b, c); \
115 wxGridCellAttr *base_##CBNAME(int a, int b, wxGridCellAttr::wxAttrKind c) { \
116 return PCLASS::CBNAME(a, b, c); \
121 #define PYCALLBACK__GCAINTINT(PCLASS, CBNAME) \
122 void CBNAME(wxGridCellAttr *attr, int a, int b) { \
123 wxPyTState* state = wxPyBeginBlockThreads(); \
125 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
126 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
127 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oii)", obj, a, b)); \
130 wxPyEndBlockThreads(state); \
132 PCLASS::CBNAME(attr, a, b); \
134 void base_##CBNAME(wxGridCellAttr *attr, int a, int b) { \
135 PCLASS::CBNAME(attr, a, b); \
140 #define PYCALLBACK__GCAINT(PCLASS, CBNAME) \
141 void CBNAME(wxGridCellAttr *attr, int val) { \
142 wxPyTState* state = wxPyBeginBlockThreads(); \
144 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
145 PyObject* obj = wxPyConstructObject((void*)attr, "wxGridCellAttr", 0);\
146 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", obj, val)); \
149 wxPyEndBlockThreads(state); \
151 PCLASS::CBNAME(attr, val); \
153 void base_##CBNAME(wxGridCellAttr *attr, int val) { \
154 PCLASS::CBNAME(attr, val); \
159 #define PYCALLBACK_INT__pure(CBNAME) \
161 wxPyTState* state = wxPyBeginBlockThreads(); \
163 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
164 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
165 wxPyEndBlockThreads(state); \
171 #define PYCALLBACK_BOOL_INTINT_pure(CBNAME) \
172 bool CBNAME(int a, int b) { \
173 wxPyTState* state = wxPyBeginBlockThreads(); \
175 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
176 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)",a,b)); \
177 wxPyEndBlockThreads(state); \
183 #define PYCALLBACK_STRING_INTINT_pure(CBNAME) \
184 wxString CBNAME(int a, int b) { \
185 wxPyTState* state = wxPyBeginBlockThreads(); \
187 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) { \
189 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
191 PyObject* str = PyObject_Str(ro); \
192 rval = PyString_AsString(str); \
193 Py_DECREF(ro); Py_DECREF(str); \
196 wxPyEndBlockThreads(state); \
202 #define PYCALLBACK__INTINTSTRING_pure(CBNAME) \
203 void CBNAME(int a, int b, const wxString& c) { \
204 wxPyTState* state = wxPyBeginBlockThreads(); \
205 if (wxPyCBH_findCallback(m_myInst, #CBNAME)) \
206 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)",a,b,c.c_str()));\
207 wxPyEndBlockThreads(state); \
211 #define PYCALLBACK_STRING_INTINT(PCLASS, CBNAME) \
212 wxString CBNAME(int a, int b) { \
214 wxPyTState* state = wxPyBeginBlockThreads(); \
216 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
220 PyObject* str = PyObject_Str(ro); \
221 rval = PyString_AsString(str); \
222 Py_DECREF(ro); Py_DECREF(str); \
225 wxPyEndBlockThreads(state); \
227 rval = PCLASS::CBNAME(a, b); \
230 wxString base_##CBNAME(int a, int b) { \
231 return PCLASS::CBNAME(a, b); \
236 #define PYCALLBACK_BOOL_INTINTSTRING(PCLASS, CBNAME) \
237 bool CBNAME(int a, int b, const wxString& c) { \
240 wxPyTState* state = wxPyBeginBlockThreads(); \
241 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
242 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iis)", a,b,c.c_str()));\
243 wxPyEndBlockThreads(state); \
245 rval = PCLASS::CBNAME(a,b,c); \
248 bool base_##CBNAME(int a, int b, const wxString& c) { \
249 return PCLASS::CBNAME(a,b,c); \
255 #define PYCALLBACK_LONG_INTINT(PCLASS, CBNAME) \
256 long CBNAME(int a, int b) { \
259 wxPyTState* state = wxPyBeginBlockThreads(); \
260 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
261 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
262 wxPyEndBlockThreads(state); \
264 rval = PCLASS::CBNAME(a,b); \
267 long base_##CBNAME(int a, int b) { \
268 return PCLASS::CBNAME(a,b); \
273 #define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
274 bool CBNAME(int a, int b) { \
277 wxPyTState* state = wxPyBeginBlockThreads(); \
278 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
279 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
280 wxPyEndBlockThreads(state); \
282 rval = PCLASS::CBNAME(a,b); \
285 bool base_##CBNAME(int a, int b) { \
286 return PCLASS::CBNAME(a,b); \
291 #define PYCALLBACK_DOUBLE_INTINT(PCLASS, CBNAME) \
292 double CBNAME(int a, int b) { \
294 wxPyTState* state = wxPyBeginBlockThreads(); \
296 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
298 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(ii)",a,b)); \
300 PyObject* str = PyObject_Str(ro); \
301 rval = PyFloat_AsDouble(str); \
302 Py_DECREF(ro); Py_DECREF(str); \
305 wxPyEndBlockThreads(state); \
307 rval = PCLASS::CBNAME(a, b); \
310 double base_##CBNAME(int a, int b) { \
311 return PCLASS::CBNAME(a, b); \
316 #define PYCALLBACK__(PCLASS, CBNAME) \
319 wxPyTState* state = wxPyBeginBlockThreads(); \
320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
321 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
322 wxPyEndBlockThreads(state); \
326 void base_##CBNAME() { \
333 #define PYCALLBACK_BOOL_SIZETSIZET(PCLASS, CBNAME) \
334 bool CBNAME(size_t a, size_t b) { \
337 wxPyTState* state = wxPyBeginBlockThreads(); \
338 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
339 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
340 wxPyEndBlockThreads(state); \
342 rval = PCLASS::CBNAME(a,b); \
345 bool base_##CBNAME(size_t a, size_t b) { \
346 return PCLASS::CBNAME(a,b); \
351 #define PYCALLBACK_BOOL_SIZET(PCLASS, CBNAME) \
352 bool CBNAME(size_t a) { \
355 wxPyTState* state = wxPyBeginBlockThreads(); \
356 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
357 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
358 wxPyEndBlockThreads(state); \
360 rval = PCLASS::CBNAME(a); \
363 bool base_##CBNAME(size_t a) { \
364 return PCLASS::CBNAME(a); \
369 #define PYCALLBACK_STRING_INT(PCLASS, CBNAME) \
370 wxString CBNAME(int a) { \
372 wxPyTState* state = wxPyBeginBlockThreads(); \
374 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
376 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(i)",a)); \
378 PyObject* str = PyObject_Str(ro); \
379 rval = PyString_AsString(str); \
380 Py_DECREF(ro); Py_DECREF(str); \
383 wxPyEndBlockThreads(state); \
385 rval = PCLASS::CBNAME(a); \
388 wxString base_##CBNAME(int a) { \
389 return PCLASS::CBNAME(a); \
394 #define PYCALLBACK__INTSTRING(PCLASS, CBNAME) \
395 void CBNAME(int a, const wxString& c) { \
397 wxPyTState* state = wxPyBeginBlockThreads(); \
398 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
399 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(is)", a,c.c_str())); \
400 wxPyEndBlockThreads(state); \
402 PCLASS::CBNAME(a,c); \
404 void base_##CBNAME(int a, const wxString& c) { \
405 PCLASS::CBNAME(a,c); \
411 #define PYCALLBACK_BOOL_(PCLASS, CBNAME) \
415 wxPyTState* state = wxPyBeginBlockThreads(); \
416 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
417 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); \
418 wxPyEndBlockThreads(state); \
420 rval = PCLASS::CBNAME(); \
423 bool base_##CBNAME() { \
424 return PCLASS::CBNAME(); \
429 #define PYCALLBACK__SIZETINT(PCLASS, CBNAME) \
430 void CBNAME(size_t a, int b) { \
432 wxPyTState* state = wxPyBeginBlockThreads(); \
433 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
434 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(ii)", a,b)); \
435 wxPyEndBlockThreads(state); \
437 PCLASS::CBNAME(a,b); \
439 void base_##CBNAME(size_t a, int b) { \
440 PCLASS::CBNAME(a,b); \
446 #define PYCALLBACK__INTINTLONG(PCLASS, CBNAME) \
447 void CBNAME(int a, int b, long c) { \
449 wxPyTState* state = wxPyBeginBlockThreads(); \
450 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
451 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
452 wxPyEndBlockThreads(state); \
454 PCLASS::CBNAME(a,b,c); \
456 void base_##CBNAME(int a, int b, long c) { \
457 PCLASS::CBNAME(a,b,c); \
463 #define PYCALLBACK__INTINTDOUBLE(PCLASS, CBNAME) \
464 void CBNAME(int a, int b, double c) { \
466 wxPyTState* state = wxPyBeginBlockThreads(); \
467 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
468 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iif)", a,b,c)); \
469 wxPyEndBlockThreads(state); \
471 PCLASS::CBNAME(a,b,c); \
473 void base_##CBNAME(int a, int b, double c) { \
474 PCLASS::CBNAME(a,b,c); \
479 #define PYCALLBACK__INTINTBOOL(PCLASS, CBNAME) \
480 void CBNAME(int a, int b, bool c) { \
482 wxPyTState* state = wxPyBeginBlockThreads(); \
483 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) \
484 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iii)", a,b,c)); \
485 wxPyEndBlockThreads(state); \
487 PCLASS::CBNAME(a,b,c); \
489 void base_##CBNAME(int a, int b, bool c) { \
490 PCLASS::CBNAME(a,b,c); \
497 class wxPyGridCellRenderer
: public wxGridCellRenderer
500 wxPyGridCellRenderer() : wxGridCellRenderer() {};
502 // Implement Python callback aware virtual methods
503 void Draw(wxGrid
& grid
, wxGridCellAttr
& attr
,
504 wxDC
& dc
, const wxRect
& rect
,
505 int row
, int col
, bool isSelected
) {
506 wxPyTState
* state
= wxPyBeginBlockThreads();
507 if (wxPyCBH_findCallback(m_myInst
, "Draw")) {
508 wxPyCBH_callCallback(m_myInst
,
509 Py_BuildValue("(OOOOiii)",
510 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
511 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
512 wxPyConstructObject((void*)&dc
, "wxDC", 0),
513 wxPyConstructObject((void*)&rect
, "wxRect", 0),
514 row
, col
, isSelected
));
516 wxPyEndBlockThreads(state
);
519 wxSize
GetBestSize(wxGrid
& grid
, wxGridCellAttr
& attr
, wxDC
& dc
,
522 wxPyTState
* state
= wxPyBeginBlockThreads();
523 if (wxPyCBH_findCallback(m_myInst
, "GetBestSize")) {
526 ro
= wxPyCBH_callCallbackObj(m_myInst
,
527 Py_BuildValue("(OOOii)",
528 wxPyConstructObject((void*)&grid
, "wxGrid", 0),
529 wxPyConstructObject((void*)&attr
, "wxGridCellAttr", 0),
530 wxPyConstructObject((void*)&dc
, "wxDC", 0),
533 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxSize_p"))
538 wxPyEndBlockThreads(state
);
543 wxGridCellRenderer
*Clone() const {
544 wxGridCellRenderer
* rval
= NULL
;
545 wxPyTState
* state
= wxPyBeginBlockThreads();
546 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
548 wxGridCellRenderer
* ptr
;
549 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
551 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellRenderer_p"))
556 wxPyEndBlockThreads(state
);
560 DEC_PYCALLBACK__STRING(SetParameters
);
565 IMP_PYCALLBACK__STRING( wxPyGridCellRenderer
, wxGridCellRenderer
, SetParameters
);
568 class wxPyGridCellEditor
: public wxGridCellEditor
571 wxPyGridCellEditor() : wxGridCellEditor() {}
573 void Create(wxWindow
* parent
, wxWindowID id
, wxEvtHandler
* evtHandler
) {
574 wxPyTState
* state
= wxPyBeginBlockThreads();
575 if (wxPyCBH_findCallback(m_myInst
, "Create")) {
576 wxPyCBH_callCallback(m_myInst
,
577 Py_BuildValue("(OiO)",
578 wxPyConstructObject((void*)parent
, "wxWindow", 0),
580 wxPyConstructObject((void*)evtHandler
, "wxEvtHandler", 0)));
582 wxPyEndBlockThreads(state
);
586 void BeginEdit(int row
, int col
, wxGrid
* grid
) {
587 wxPyTState
* state
= wxPyBeginBlockThreads();
588 if (wxPyCBH_findCallback(m_myInst
, "BeginEdit")) {
589 wxPyCBH_callCallback(m_myInst
,
590 Py_BuildValue("(iiO)", row
, col
,
591 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
593 wxPyEndBlockThreads(state
);
597 bool EndEdit(int row
, int col
, wxGrid
* grid
) {
599 wxPyTState
* state
= wxPyBeginBlockThreads();
600 if (wxPyCBH_findCallback(m_myInst
, "EndEdit")) {
601 rv
= wxPyCBH_callCallback(m_myInst
,
602 Py_BuildValue("(iiO)", row
, col
,
603 wxPyConstructObject((void*)grid
, "wxGrid", 0)));
605 wxPyEndBlockThreads(state
);
610 wxGridCellEditor
*Clone() const {
611 wxGridCellEditor
* rval
= NULL
;
612 wxPyTState
* state
= wxPyBeginBlockThreads();
613 if (wxPyCBH_findCallback(m_myInst
, "Clone")) {
615 wxGridCellEditor
* ptr
;
616 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
618 if (!SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxGridCellEditor_p"))
623 wxPyEndBlockThreads(state
);
628 void Show(bool show
, wxGridCellAttr
*attr
) {
630 wxPyTState
* state
= wxPyBeginBlockThreads();
631 if ((found
= wxPyCBH_findCallback(m_myInst
, "Show")))
632 wxPyCBH_callCallback(m_myInst
,
633 Py_BuildValue("(iO)", show
,
634 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
635 wxPyEndBlockThreads(state
);
637 wxGridCellEditor::Show(show
, attr
);
639 void base_Show(bool show
, wxGridCellAttr
*attr
) {
640 wxGridCellEditor::Show(show
, attr
);
644 void PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
646 wxPyTState
* state
= wxPyBeginBlockThreads();
647 if ((found
= wxPyCBH_findCallback(m_myInst
, "PaintBackground)")))
648 wxPyCBH_callCallback(m_myInst
,
649 Py_BuildValue("(OO)",
650 wxPyConstructObject((void*)&rectCell
, "wxRect", 0),
651 wxPyConstructObject((void*)attr
, "wxGridCellAttr", 0)));
652 wxPyEndBlockThreads(state
);
654 wxGridCellEditor::PaintBackground(rectCell
, attr
);
656 void base_PaintBackground(const wxRect
& rectCell
, wxGridCellAttr
*attr
) {
657 wxGridCellEditor::PaintBackground(rectCell
, attr
);
661 DEC_PYCALLBACK___pure(Reset
);
662 DEC_PYCALLBACK__constany(SetSize
, wxRect
);
663 DEC_PYCALLBACK_bool_any(IsAcceptedKey
, wxKeyEvent
);
664 DEC_PYCALLBACK__any(StartingKey
, wxKeyEvent
);
665 DEC_PYCALLBACK__any(HandleReturn
, wxKeyEvent
);
666 DEC_PYCALLBACK__(StartingClick
);
667 DEC_PYCALLBACK__(Destroy
);
668 DEC_PYCALLBACK__STRING(SetParameters
);
674 IMP_PYCALLBACK__STRING( wxPyGridCellEditor
, wxGridCellEditor
, SetParameters
);
675 IMP_PYCALLBACK___pure(wxPyGridCellEditor
, wxGridCellEditor
, Reset
);
676 IMP_PYCALLBACK__constany(wxPyGridCellEditor
, wxGridCellEditor
, SetSize
, wxRect
);
677 IMP_PYCALLBACK_bool_any(wxPyGridCellEditor
, wxGridCellEditor
, IsAcceptedKey
, wxKeyEvent
);
678 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, StartingKey
, wxKeyEvent
);
679 IMP_PYCALLBACK__any(wxPyGridCellEditor
, wxGridCellEditor
, HandleReturn
, wxKeyEvent
);
680 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, StartingClick
);
681 IMP_PYCALLBACK__(wxPyGridCellEditor
, wxGridCellEditor
, Destroy
);
684 class wxPyGridCellAttrProvider
: public wxGridCellAttrProvider
687 wxPyGridCellAttrProvider() : wxGridCellAttrProvider() {};
689 PYCALLBACK_GCA_INTINTKIND(wxGridCellAttrProvider
, GetAttr
);
690 PYCALLBACK__GCAINTINT(wxGridCellAttrProvider
, SetAttr
);
691 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetRowAttr
);
692 PYCALLBACK__GCAINT(wxGridCellAttrProvider
, SetColAttr
);
697 class wxPyGridTableBase
: public wxGridTableBase
700 wxPyGridTableBase() : wxGridTableBase() {}
702 PYCALLBACK_INT__pure(GetNumberRows
);
703 PYCALLBACK_INT__pure(GetNumberCols
);
704 PYCALLBACK_BOOL_INTINT_pure(IsEmptyCell
);
705 PYCALLBACK_STRING_INTINT(wxGridTableBase
, GetTypeName
);
706 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanGetValueAs
);
707 PYCALLBACK_BOOL_INTINTSTRING(wxGridTableBase
, CanSetValueAs
);
708 PYCALLBACK__(wxGridTableBase
, Clear
);
709 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertRows
);
710 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteRows
);
711 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, InsertCols
);
712 PYCALLBACK_BOOL_SIZETSIZET(wxGridTableBase
, DeleteCols
);
713 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendRows
);
714 PYCALLBACK_BOOL_SIZET(wxGridTableBase
, AppendCols
);
715 PYCALLBACK_STRING_INT(wxGridTableBase
, GetRowLabelValue
);
716 PYCALLBACK_STRING_INT(wxGridTableBase
, GetColLabelValue
);
717 PYCALLBACK__INTSTRING(wxGridTableBase
, SetRowLabelValue
);
718 PYCALLBACK__INTSTRING(wxGridTableBase
, SetColLabelValue
);
719 PYCALLBACK_BOOL_(wxGridTableBase
, CanHaveAttributes
);
720 PYCALLBACK_GCA_INTINTKIND(wxGridTableBase
, GetAttr
);
721 PYCALLBACK__GCAINTINT(wxGridTableBase
, SetAttr
);
722 PYCALLBACK__GCAINT(wxGridTableBase
, SetRowAttr
);
723 PYCALLBACK__GCAINT(wxGridTableBase
, SetColAttr
);
726 wxString
GetValue(int row
, int col
) {
727 wxPyTState
* state
= wxPyBeginBlockThreads();
729 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
731 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)",row
,col
));
733 PyObject
* str
= PyObject_Str(ro
);
734 rval
= PyString_AsString(str
);
739 wxPyEndBlockThreads(state
);
743 void SetValue(int row
, int col
, const wxString
& val
) {
744 wxPyTState
* state
= wxPyBeginBlockThreads();
745 if (wxPyCBH_findCallback(m_myInst
, "SetValue"))
746 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iis)",row
,col
,val
.c_str()));
747 wxPyEndBlockThreads(state
);
751 // Map the Get/Set methods for the standard non-string types to
752 // the GetValue and SetValue python methods.
753 long GetValueAsLong( int row
, int col
) {
755 wxPyTState
* state
= wxPyBeginBlockThreads();
756 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
759 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
760 if (ro
&& PyNumber_Check(ro
)) {
761 num
= PyNumber_Int(ro
);
763 rval
= PyInt_AsLong(num
);
769 wxPyEndBlockThreads(state
);
773 double GetValueAsDouble( int row
, int col
) {
775 wxPyTState
* state
= wxPyBeginBlockThreads();
776 if (wxPyCBH_findCallback(m_myInst
, "GetValue")) {
779 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(ii)", row
, col
));
780 if (ro
&& PyNumber_Check(ro
)) {
781 num
= PyNumber_Float(ro
);
783 rval
= PyFloat_AsDouble(num
);
789 wxPyEndBlockThreads(state
);
793 bool GetValueAsBool( int row
, int col
) {
794 return (bool)GetValueAsLong(row
, col
);
797 void SetValueAsLong( int row
, int col
, long value
) {
798 wxPyTState
* state
= wxPyBeginBlockThreads();
799 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
800 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iii)", row
, col
, value
));
802 wxPyEndBlockThreads(state
);
805 void SetValueAsDouble( int row
, int col
, double value
) {
806 wxPyTState
* state
= wxPyBeginBlockThreads();
807 if (wxPyCBH_findCallback(m_myInst
, "SetValue")) {
808 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iid)", row
, col
, value
));
810 wxPyEndBlockThreads(state
);
813 void SetValueAsBool( int row
, int col
, bool value
) {
814 SetValueAsLong( row
, col
, (long)value
);
821 bool wxGridCellCoords_helper(PyObject
* source
, wxGridCellCoords
** obj
) {
823 // If source is an object instance then it may already be the right type
824 if (PyInstance_Check(source
)) {
825 wxGridCellCoords
* ptr
;
826 if (SWIG_GetPtrObj(source
, (void **)&ptr
, "_wxGridCellCoords_p"))
831 // otherwise a 2-tuple of integers is expected
832 else if (PySequence_Check(source
) && PyObject_Length(source
) == 2) {
833 PyObject
* o1
= PySequence_GetItem(source
, 0);
834 PyObject
* o2
= PySequence_GetItem(source
, 1);
835 **obj
= wxGridCellCoords(PyInt_AsLong(o1
), PyInt_AsLong(o2
));
840 PyErr_SetString(PyExc_TypeError
, "Expected a 2-tuple of integers or a wxGridCellCoords object.");
844 typedef wxGrid::wxGridSelectionModes WXGRIDSELECTIONMODES
;
848 static int _wrap_wxGridNoCellCoords_set(PyObject
*val
) {
850 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellCoords is read-only.");
854 static PyObject
*_wrap_wxGridNoCellCoords_get() {
858 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellCoords
,"_wxGridCellCoords_p");
859 pyobj
= PyString_FromString(ptemp
);
863 static int _wrap_wxGridNoCellRect_set(PyObject
*val
) {
865 PyErr_SetString(PyExc_TypeError
,"Variable wxGridNoCellRect is read-only.");
869 static PyObject
*_wrap_wxGridNoCellRect_get() {
873 SWIG_MakePtr(ptemp
,(char *) &wxGridNoCellRect
,"_wxRect_p");
874 pyobj
= PyString_FromString(ptemp
);
878 #define wxGridCellRenderer_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
879 static PyObject
*_wrap_wxGridCellRenderer_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxGridCellRenderer
* _arg0
;
883 PyObject
* _argo0
= 0;
884 PyObject
* _obj1
= 0;
885 char *_kwnames
[] = { "self","params", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellRenderer_SetParameters",_kwnames
,&_argo0
,&_obj1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_SetParameters. Expected _wxGridCellRenderer_p.");
898 #if PYTHON_API_VERSION >= 1009
899 char* tmpPtr
; int tmpSize
;
900 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
904 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
906 _arg1
= new wxString(tmpPtr
, tmpSize
);
908 if (!PyString_Check(_obj1
)) {
909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
912 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
916 wxPy_BEGIN_ALLOW_THREADS
;
917 wxGridCellRenderer_SetParameters(_arg0
,*_arg1
);
919 wxPy_END_ALLOW_THREADS
;
920 if (PyErr_Occurred()) return NULL
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
930 #define wxGridCellRenderer_IncRef(_swigobj) (_swigobj->IncRef())
931 static PyObject
*_wrap_wxGridCellRenderer_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxGridCellRenderer
* _arg0
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_IncRef",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_IncRef. Expected _wxGridCellRenderer_p.");
948 wxPy_BEGIN_ALLOW_THREADS
;
949 wxGridCellRenderer_IncRef(_arg0
);
951 wxPy_END_ALLOW_THREADS
;
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxGridCellRenderer_DecRef(_swigobj) (_swigobj->DecRef())
959 static PyObject
*_wrap_wxGridCellRenderer_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
961 wxGridCellRenderer
* _arg0
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_DecRef",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_DecRef. Expected _wxGridCellRenderer_p.");
976 wxPy_BEGIN_ALLOW_THREADS
;
977 wxGridCellRenderer_DecRef(_arg0
);
979 wxPy_END_ALLOW_THREADS
;
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxGridCellRenderer_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
987 static PyObject
*_wrap_wxGridCellRenderer_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
989 wxGridCellRenderer
* _arg0
;
991 wxGridCellAttr
* _arg2
;
997 PyObject
* _argo0
= 0;
998 PyObject
* _argo1
= 0;
999 PyObject
* _argo2
= 0;
1000 PyObject
* _argo3
= 0;
1002 PyObject
* _obj4
= 0;
1004 char *_kwnames
[] = { "self","grid","attr","dc","rect","row","col","isSelected", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOiii:wxGridCellRenderer_Draw",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_obj4
,&_arg5
,&_arg6
,&tempbool7
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Draw. Expected _wxGridCellRenderer_p.");
1017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_Draw. Expected _wxGrid_p.");
1024 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_Draw. Expected _wxGridCellAttr_p.");
1031 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_Draw. Expected _wxDC_p.");
1039 if (! wxRect_helper(_obj4
, &_arg4
))
1042 _arg7
= (bool ) tempbool7
;
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxGridCellRenderer_Draw(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
);
1047 wxPy_END_ALLOW_THREADS
;
1048 if (PyErr_Occurred()) return NULL
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1054 #define wxGridCellRenderer_GetBestSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBestSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1055 static PyObject
*_wrap_wxGridCellRenderer_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 wxGridCellRenderer
* _arg0
;
1060 wxGridCellAttr
* _arg2
;
1064 PyObject
* _argo0
= 0;
1065 PyObject
* _argo1
= 0;
1066 PyObject
* _argo2
= 0;
1067 PyObject
* _argo3
= 0;
1068 char *_kwnames
[] = { "self","grid","attr","dc","row","col", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOii:wxGridCellRenderer_GetBestSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellRenderer_p.");
1082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellRenderer_GetBestSize. Expected _wxGrid_p.");
1089 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellRenderer_GetBestSize. Expected _wxGridCellAttr_p.");
1096 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1097 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxDC_p")) {
1098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellRenderer_GetBestSize. Expected _wxDC_p.");
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= new wxSize (wxGridCellRenderer_GetBestSize(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
));
1106 wxPy_END_ALLOW_THREADS
;
1107 if (PyErr_Occurred()) return NULL
;
1108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1109 _resultobj
= Py_BuildValue("s",_ptemp
);
1113 #define wxGridCellRenderer_Clone(_swigobj) (_swigobj->Clone())
1114 static PyObject
*_wrap_wxGridCellRenderer_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1116 wxGridCellRenderer
* _result
;
1117 wxGridCellRenderer
* _arg0
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellRenderer_Clone",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellRenderer_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellRenderer_Clone. Expected _wxGridCellRenderer_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 _result
= (wxGridCellRenderer
*)wxGridCellRenderer_Clone(_arg0
);
1136 wxPy_END_ALLOW_THREADS
;
1137 if (PyErr_Occurred()) return NULL
;
1139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
1140 _resultobj
= Py_BuildValue("s",_ptemp
);
1143 _resultobj
= Py_None
;
1148 static void *SwigwxPyGridCellRendererTowxGridCellRenderer(void *ptr
) {
1149 wxPyGridCellRenderer
*src
;
1150 wxGridCellRenderer
*dest
;
1151 src
= (wxPyGridCellRenderer
*) ptr
;
1152 dest
= (wxGridCellRenderer
*) src
;
1153 return (void *) dest
;
1156 #define new_wxPyGridCellRenderer() (new wxPyGridCellRenderer())
1157 static PyObject
*_wrap_new_wxPyGridCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxPyGridCellRenderer
* _result
;
1160 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellRenderer",_kwnames
))
1167 wxPy_BEGIN_ALLOW_THREADS
;
1168 _result
= (wxPyGridCellRenderer
*)new_wxPyGridCellRenderer();
1170 wxPy_END_ALLOW_THREADS
;
1171 if (PyErr_Occurred()) return NULL
;
1173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellRenderer_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 _resultobj
= Py_None
;
1182 #define wxPyGridCellRenderer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1183 static PyObject
*_wrap_wxPyGridCellRenderer__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1185 wxPyGridCellRenderer
* _arg0
;
1188 PyObject
* _argo0
= 0;
1189 PyObject
* _obj1
= 0;
1190 PyObject
* _obj2
= 0;
1191 char *_kwnames
[] = { "self","self","_class", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellRenderer__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer__setSelf. Expected _wxPyGridCellRenderer_p.");
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 wxPyGridCellRenderer__setSelf(_arg0
,_arg1
,_arg2
);
1213 wxPy_END_ALLOW_THREADS
;
1214 if (PyErr_Occurred()) return NULL
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 #define wxPyGridCellRenderer_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
1221 static PyObject
*_wrap_wxPyGridCellRenderer_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1223 wxPyGridCellRenderer
* _arg0
;
1225 PyObject
* _argo0
= 0;
1226 PyObject
* _obj1
= 0;
1227 char *_kwnames
[] = { "self","params", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellRenderer_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellRenderer_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellRenderer_base_SetParameters. Expected _wxPyGridCellRenderer_p.");
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr
; int tmpSize
;
1242 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1248 _arg1
= new wxString(tmpPtr
, tmpSize
);
1250 if (!PyString_Check(_obj1
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1258 wxPy_BEGIN_ALLOW_THREADS
;
1259 wxPyGridCellRenderer_base_SetParameters(_arg0
,*_arg1
);
1261 wxPy_END_ALLOW_THREADS
;
1262 if (PyErr_Occurred()) return NULL
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1272 static void *SwigwxGridCellStringRendererTowxGridCellRenderer(void *ptr
) {
1273 wxGridCellStringRenderer
*src
;
1274 wxGridCellRenderer
*dest
;
1275 src
= (wxGridCellStringRenderer
*) ptr
;
1276 dest
= (wxGridCellRenderer
*) src
;
1277 return (void *) dest
;
1280 #define new_wxGridCellStringRenderer() (new wxGridCellStringRenderer())
1281 static PyObject
*_wrap_new_wxGridCellStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1283 wxGridCellStringRenderer
* _result
;
1284 char *_kwnames
[] = { NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellStringRenderer",_kwnames
))
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (wxGridCellStringRenderer
*)new_wxGridCellStringRenderer();
1294 wxPy_END_ALLOW_THREADS
;
1295 if (PyErr_Occurred()) return NULL
;
1297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellStringRenderer_p");
1298 _resultobj
= Py_BuildValue("s",_ptemp
);
1301 _resultobj
= Py_None
;
1306 static void *SwigwxGridCellNumberRendererTowxGridCellStringRenderer(void *ptr
) {
1307 wxGridCellNumberRenderer
*src
;
1308 wxGridCellStringRenderer
*dest
;
1309 src
= (wxGridCellNumberRenderer
*) ptr
;
1310 dest
= (wxGridCellStringRenderer
*) src
;
1311 return (void *) dest
;
1314 static void *SwigwxGridCellNumberRendererTowxGridCellRenderer(void *ptr
) {
1315 wxGridCellNumberRenderer
*src
;
1316 wxGridCellRenderer
*dest
;
1317 src
= (wxGridCellNumberRenderer
*) ptr
;
1318 dest
= (wxGridCellRenderer
*) src
;
1319 return (void *) dest
;
1322 #define new_wxGridCellNumberRenderer() (new wxGridCellNumberRenderer())
1323 static PyObject
*_wrap_new_wxGridCellNumberRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxGridCellNumberRenderer
* _result
;
1326 char *_kwnames
[] = { NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellNumberRenderer",_kwnames
))
1333 wxPy_BEGIN_ALLOW_THREADS
;
1334 _result
= (wxGridCellNumberRenderer
*)new_wxGridCellNumberRenderer();
1336 wxPy_END_ALLOW_THREADS
;
1337 if (PyErr_Occurred()) return NULL
;
1339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberRenderer_p");
1340 _resultobj
= Py_BuildValue("s",_ptemp
);
1343 _resultobj
= Py_None
;
1348 static void *SwigwxGridCellFloatRendererTowxGridCellStringRenderer(void *ptr
) {
1349 wxGridCellFloatRenderer
*src
;
1350 wxGridCellStringRenderer
*dest
;
1351 src
= (wxGridCellFloatRenderer
*) ptr
;
1352 dest
= (wxGridCellStringRenderer
*) src
;
1353 return (void *) dest
;
1356 static void *SwigwxGridCellFloatRendererTowxGridCellRenderer(void *ptr
) {
1357 wxGridCellFloatRenderer
*src
;
1358 wxGridCellRenderer
*dest
;
1359 src
= (wxGridCellFloatRenderer
*) ptr
;
1360 dest
= (wxGridCellRenderer
*) src
;
1361 return (void *) dest
;
1364 #define new_wxGridCellFloatRenderer(_swigarg0,_swigarg1) (new wxGridCellFloatRenderer(_swigarg0,_swigarg1))
1365 static PyObject
*_wrap_new_wxGridCellFloatRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxGridCellFloatRenderer
* _result
;
1368 int _arg0
= (int ) -1;
1369 int _arg1
= (int ) -1;
1370 char *_kwnames
[] = { "width","precision", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellFloatRenderer",_kwnames
,&_arg0
,&_arg1
))
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (wxGridCellFloatRenderer
*)new_wxGridCellFloatRenderer(_arg0
,_arg1
);
1380 wxPy_END_ALLOW_THREADS
;
1381 if (PyErr_Occurred()) return NULL
;
1383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatRenderer_p");
1384 _resultobj
= Py_BuildValue("s",_ptemp
);
1387 _resultobj
= Py_None
;
1392 #define wxGridCellFloatRenderer_GetWidth(_swigobj) (_swigobj->GetWidth())
1393 static PyObject
*_wrap_wxGridCellFloatRenderer_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 wxGridCellFloatRenderer
* _arg0
;
1397 PyObject
* _argo0
= 0;
1398 char *_kwnames
[] = { "self", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetWidth",_kwnames
,&_argo0
))
1404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetWidth. Expected _wxGridCellFloatRenderer_p.");
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 _result
= (int )wxGridCellFloatRenderer_GetWidth(_arg0
);
1414 wxPy_END_ALLOW_THREADS
;
1415 if (PyErr_Occurred()) return NULL
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 #define wxGridCellFloatRenderer_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1421 static PyObject
*_wrap_wxGridCellFloatRenderer_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1423 wxGridCellFloatRenderer
* _arg0
;
1425 PyObject
* _argo0
= 0;
1426 char *_kwnames
[] = { "self","width", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetWidth. Expected _wxGridCellFloatRenderer_p.");
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 wxGridCellFloatRenderer_SetWidth(_arg0
,_arg1
);
1442 wxPy_END_ALLOW_THREADS
;
1443 if (PyErr_Occurred()) return NULL
;
1444 } Py_INCREF(Py_None
);
1445 _resultobj
= Py_None
;
1449 #define wxGridCellFloatRenderer_GetPrecision(_swigobj) (_swigobj->GetPrecision())
1450 static PyObject
*_wrap_wxGridCellFloatRenderer_GetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxGridCellFloatRenderer
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellFloatRenderer_GetPrecision",_kwnames
,&_argo0
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_GetPrecision. Expected _wxGridCellFloatRenderer_p.");
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (int )wxGridCellFloatRenderer_GetPrecision(_arg0
);
1471 wxPy_END_ALLOW_THREADS
;
1472 if (PyErr_Occurred()) return NULL
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxGridCellFloatRenderer_SetPrecision(_swigobj,_swigarg0) (_swigobj->SetPrecision(_swigarg0))
1478 static PyObject
*_wrap_wxGridCellFloatRenderer_SetPrecision(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxGridCellFloatRenderer
* _arg0
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self","precision", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellFloatRenderer_SetPrecision",_kwnames
,&_argo0
,&_arg1
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellFloatRenderer_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellFloatRenderer_SetPrecision. Expected _wxGridCellFloatRenderer_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 wxGridCellFloatRenderer_SetPrecision(_arg0
,_arg1
);
1499 wxPy_END_ALLOW_THREADS
;
1500 if (PyErr_Occurred()) return NULL
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 static void *SwigwxGridCellBoolRendererTowxGridCellRenderer(void *ptr
) {
1507 wxGridCellBoolRenderer
*src
;
1508 wxGridCellRenderer
*dest
;
1509 src
= (wxGridCellBoolRenderer
*) ptr
;
1510 dest
= (wxGridCellRenderer
*) src
;
1511 return (void *) dest
;
1514 #define new_wxGridCellBoolRenderer() (new wxGridCellBoolRenderer())
1515 static PyObject
*_wrap_new_wxGridCellBoolRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxGridCellBoolRenderer
* _result
;
1518 char *_kwnames
[] = { NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolRenderer",_kwnames
))
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 _result
= (wxGridCellBoolRenderer
*)new_wxGridCellBoolRenderer();
1528 wxPy_END_ALLOW_THREADS
;
1529 if (PyErr_Occurred()) return NULL
;
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolRenderer_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 _resultobj
= Py_None
;
1540 static void *SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer(void *ptr
) {
1541 wxGridCellDateTimeRenderer
*src
;
1542 wxGridCellStringRenderer
*dest
;
1543 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1544 dest
= (wxGridCellStringRenderer
*) src
;
1545 return (void *) dest
;
1548 static void *SwigwxGridCellDateTimeRendererTowxGridCellRenderer(void *ptr
) {
1549 wxGridCellDateTimeRenderer
*src
;
1550 wxGridCellRenderer
*dest
;
1551 src
= (wxGridCellDateTimeRenderer
*) ptr
;
1552 dest
= (wxGridCellRenderer
*) src
;
1553 return (void *) dest
;
1556 #define new_wxGridCellDateTimeRenderer(_swigarg0,_swigarg1) (new wxGridCellDateTimeRenderer(_swigarg0,_swigarg1))
1557 static PyObject
*_wrap_new_wxGridCellDateTimeRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxGridCellDateTimeRenderer
* _result
;
1560 wxString
* _arg0
= (wxString
*) &"%c";
1561 wxString
* _arg1
= (wxString
*) &"%c";
1562 PyObject
* _obj0
= 0;
1563 PyObject
* _obj1
= 0;
1564 char *_kwnames
[] = { "outformat","informat", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OO:new_wxGridCellDateTimeRenderer",_kwnames
,&_obj0
,&_obj1
))
1572 #if PYTHON_API_VERSION >= 1009
1573 char* tmpPtr
; int tmpSize
;
1574 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1578 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1580 _arg0
= new wxString(tmpPtr
, tmpSize
);
1582 if (!PyString_Check(_obj0
)) {
1583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1586 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1591 #if PYTHON_API_VERSION >= 1009
1592 char* tmpPtr
; int tmpSize
;
1593 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1597 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1599 _arg1
= new wxString(tmpPtr
, tmpSize
);
1601 if (!PyString_Check(_obj1
)) {
1602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1605 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1609 wxPy_BEGIN_ALLOW_THREADS
;
1610 _result
= (wxGridCellDateTimeRenderer
*)new_wxGridCellDateTimeRenderer(*_arg0
,*_arg1
);
1612 wxPy_END_ALLOW_THREADS
;
1613 if (PyErr_Occurred()) return NULL
;
1615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellDateTimeRenderer_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1619 _resultobj
= Py_None
;
1632 static void *SwigwxGridCellEnumRendererTowxGridCellStringRenderer(void *ptr
) {
1633 wxGridCellEnumRenderer
*src
;
1634 wxGridCellStringRenderer
*dest
;
1635 src
= (wxGridCellEnumRenderer
*) ptr
;
1636 dest
= (wxGridCellStringRenderer
*) src
;
1637 return (void *) dest
;
1640 static void *SwigwxGridCellEnumRendererTowxGridCellRenderer(void *ptr
) {
1641 wxGridCellEnumRenderer
*src
;
1642 wxGridCellRenderer
*dest
;
1643 src
= (wxGridCellEnumRenderer
*) ptr
;
1644 dest
= (wxGridCellRenderer
*) src
;
1645 return (void *) dest
;
1648 #define new_wxGridCellEnumRenderer(_swigarg0) (new wxGridCellEnumRenderer(_swigarg0))
1649 static PyObject
*_wrap_new_wxGridCellEnumRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1651 wxGridCellEnumRenderer
* _result
;
1652 wxString
* _arg0
= (wxString
*) &"";
1653 PyObject
* _obj0
= 0;
1654 char *_kwnames
[] = { "choices", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumRenderer",_kwnames
,&_obj0
))
1662 _arg0
= wxString_LIST_helper(_obj0
);
1663 if (_arg0
== NULL
) {
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 _result
= (wxGridCellEnumRenderer
*)new_wxGridCellEnumRenderer(*_arg0
);
1671 wxPy_END_ALLOW_THREADS
;
1672 if (PyErr_Occurred()) return NULL
;
1674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumRenderer_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 _resultobj
= Py_None
;
1686 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer(void *ptr
) {
1687 wxGridCellAutoWrapStringRenderer
*src
;
1688 wxGridCellStringRenderer
*dest
;
1689 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1690 dest
= (wxGridCellStringRenderer
*) src
;
1691 return (void *) dest
;
1694 static void *SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer(void *ptr
) {
1695 wxGridCellAutoWrapStringRenderer
*src
;
1696 wxGridCellRenderer
*dest
;
1697 src
= (wxGridCellAutoWrapStringRenderer
*) ptr
;
1698 dest
= (wxGridCellRenderer
*) src
;
1699 return (void *) dest
;
1702 #define new_wxGridCellAutoWrapStringRenderer() (new wxGridCellAutoWrapStringRenderer())
1703 static PyObject
*_wrap_new_wxGridCellAutoWrapStringRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 wxGridCellAutoWrapStringRenderer
* _result
;
1706 char *_kwnames
[] = { NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringRenderer",_kwnames
))
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 _result
= (wxGridCellAutoWrapStringRenderer
*)new_wxGridCellAutoWrapStringRenderer();
1716 wxPy_END_ALLOW_THREADS
;
1717 if (PyErr_Occurred()) return NULL
;
1719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringRenderer_p");
1720 _resultobj
= Py_BuildValue("s",_ptemp
);
1723 _resultobj
= Py_None
;
1728 #define wxGridCellEditor_IsCreated(_swigobj) (_swigobj->IsCreated())
1729 static PyObject
*_wrap_wxGridCellEditor_IsCreated(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 wxGridCellEditor
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IsCreated",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsCreated. Expected _wxGridCellEditor_p.");
1747 wxPy_BEGIN_ALLOW_THREADS
;
1748 _result
= (bool )wxGridCellEditor_IsCreated(_arg0
);
1750 wxPy_END_ALLOW_THREADS
;
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxGridCellEditor_GetControl(_swigobj) (_swigobj->GetControl())
1757 static PyObject
*_wrap_wxGridCellEditor_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxControl
* _result
;
1760 wxGridCellEditor
* _arg0
;
1761 PyObject
* _argo0
= 0;
1762 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_GetControl",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_GetControl. Expected _wxGridCellEditor_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 _result
= (wxControl
*)wxGridCellEditor_GetControl(_arg0
);
1778 wxPy_END_ALLOW_THREADS
;
1779 if (PyErr_Occurred()) return NULL
;
1780 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1784 #define wxGridCellEditor_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
1785 static PyObject
*_wrap_wxGridCellEditor_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1787 wxGridCellEditor
* _arg0
;
1789 PyObject
* _argo0
= 0;
1790 PyObject
* _argo1
= 0;
1791 char *_kwnames
[] = { "self","control", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetControl",_kwnames
,&_argo0
,&_argo1
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetControl. Expected _wxGridCellEditor_p.");
1804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_SetControl. Expected _wxControl_p.");
1811 wxPy_BEGIN_ALLOW_THREADS
;
1812 wxGridCellEditor_SetControl(_arg0
,_arg1
);
1814 wxPy_END_ALLOW_THREADS
;
1815 if (PyErr_Occurred()) return NULL
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 #define wxGridCellEditor_SetParameters(_swigobj,_swigarg0) (_swigobj->SetParameters(_swigarg0))
1822 static PyObject
*_wrap_wxGridCellEditor_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1824 wxGridCellEditor
* _arg0
;
1826 PyObject
* _argo0
= 0;
1827 PyObject
* _obj1
= 0;
1828 char *_kwnames
[] = { "self","params", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetParameters",_kwnames
,&_argo0
,&_obj1
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetParameters. Expected _wxGridCellEditor_p.");
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr
; int tmpSize
;
1843 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1847 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1849 _arg1
= new wxString(tmpPtr
, tmpSize
);
1851 if (!PyString_Check(_obj1
)) {
1852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1855 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 wxGridCellEditor_SetParameters(_arg0
,*_arg1
);
1862 wxPy_END_ALLOW_THREADS
;
1863 if (PyErr_Occurred()) return NULL
;
1864 } Py_INCREF(Py_None
);
1865 _resultobj
= Py_None
;
1873 #define wxGridCellEditor_IncRef(_swigobj) (_swigobj->IncRef())
1874 static PyObject
*_wrap_wxGridCellEditor_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxGridCellEditor
* _arg0
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_IncRef",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IncRef. Expected _wxGridCellEditor_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 wxGridCellEditor_IncRef(_arg0
);
1894 wxPy_END_ALLOW_THREADS
;
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxGridCellEditor_DecRef(_swigobj) (_swigobj->DecRef())
1902 static PyObject
*_wrap_wxGridCellEditor_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1904 wxGridCellEditor
* _arg0
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_DecRef",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_DecRef. Expected _wxGridCellEditor_p.");
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 wxGridCellEditor_DecRef(_arg0
);
1922 wxPy_END_ALLOW_THREADS
;
1923 if (PyErr_Occurred()) return NULL
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1929 #define wxGridCellEditor_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2))
1930 static PyObject
*_wrap_wxGridCellEditor_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 wxGridCellEditor
* _arg0
;
1935 wxEvtHandler
* _arg3
;
1936 PyObject
* _argo0
= 0;
1937 PyObject
* _argo1
= 0;
1938 PyObject
* _argo3
= 0;
1939 char *_kwnames
[] = { "self","parent","id","evtHandler", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO:wxGridCellEditor_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
))
1945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Create. Expected _wxGridCellEditor_p.");
1952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_Create. Expected _wxWindow_p.");
1959 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxEvtHandler_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_Create. Expected _wxEvtHandler_p.");
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxGridCellEditor_Create(_arg0
,_arg1
,_arg2
,_arg3
);
1969 wxPy_END_ALLOW_THREADS
;
1970 if (PyErr_Occurred()) return NULL
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxGridCellEditor_BeginEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginEdit(_swigarg0,_swigarg1,_swigarg2))
1977 static PyObject
*_wrap_wxGridCellEditor_BeginEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1979 wxGridCellEditor
* _arg0
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _argo3
= 0;
1985 char *_kwnames
[] = { "self","row","col","grid", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_BeginEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_BeginEdit. Expected _wxGridCellEditor_p.");
1998 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_BeginEdit. Expected _wxGrid_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 wxGridCellEditor_BeginEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2008 wxPy_END_ALLOW_THREADS
;
2009 if (PyErr_Occurred()) return NULL
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 #define wxGridCellEditor_EndEdit(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EndEdit(_swigarg0,_swigarg1,_swigarg2))
2016 static PyObject
*_wrap_wxGridCellEditor_EndEdit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2019 wxGridCellEditor
* _arg0
;
2023 PyObject
* _argo0
= 0;
2024 PyObject
* _argo3
= 0;
2025 char *_kwnames
[] = { "self","row","col","grid", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridCellEditor_EndEdit",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_EndEdit. Expected _wxGridCellEditor_p.");
2038 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGrid_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGridCellEditor_EndEdit. Expected _wxGrid_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= (bool )wxGridCellEditor_EndEdit(_arg0
,_arg1
,_arg2
,_arg3
);
2048 wxPy_END_ALLOW_THREADS
;
2049 if (PyErr_Occurred()) return NULL
;
2050 } _resultobj
= Py_BuildValue("i",_result
);
2054 #define wxGridCellEditor_Reset(_swigobj) (_swigobj->Reset())
2055 static PyObject
*_wrap_wxGridCellEditor_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxGridCellEditor
* _arg0
;
2058 PyObject
* _argo0
= 0;
2059 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Reset",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Reset. Expected _wxGridCellEditor_p.");
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 wxGridCellEditor_Reset(_arg0
);
2075 wxPy_END_ALLOW_THREADS
;
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 #define wxGridCellEditor_Clone(_swigobj) (_swigobj->Clone())
2083 static PyObject
*_wrap_wxGridCellEditor_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2085 wxGridCellEditor
* _result
;
2086 wxGridCellEditor
* _arg0
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Clone",_kwnames
,&_argo0
))
2095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Clone. Expected _wxGridCellEditor_p.");
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 _result
= (wxGridCellEditor
*)wxGridCellEditor_Clone(_arg0
);
2105 wxPy_END_ALLOW_THREADS
;
2106 if (PyErr_Occurred()) return NULL
;
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 _resultobj
= Py_None
;
2117 #define wxGridCellEditor_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2118 static PyObject
*_wrap_wxGridCellEditor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2120 wxGridCellEditor
* _arg0
;
2122 PyObject
* _argo0
= 0;
2124 PyObject
* _obj1
= 0;
2125 char *_kwnames
[] = { "self","rect", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_SetSize",_kwnames
,&_argo0
,&_obj1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_SetSize. Expected _wxGridCellEditor_p.");
2139 if (! wxRect_helper(_obj1
, &_arg1
))
2143 wxPy_BEGIN_ALLOW_THREADS
;
2144 wxGridCellEditor_SetSize(_arg0
,*_arg1
);
2146 wxPy_END_ALLOW_THREADS
;
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 #define wxGridCellEditor_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
2154 static PyObject
*_wrap_wxGridCellEditor_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2156 wxGridCellEditor
* _arg0
;
2158 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2159 PyObject
* _argo0
= 0;
2161 PyObject
* _argo2
= 0;
2162 char *_kwnames
[] = { "self","show","attr", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxGridCellEditor_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Show. Expected _wxGridCellEditor_p.");
2174 _arg1
= (bool ) tempbool1
;
2176 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_Show. Expected _wxGridCellAttr_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxGridCellEditor_Show(_arg0
,_arg1
,_arg2
);
2186 wxPy_END_ALLOW_THREADS
;
2187 if (PyErr_Occurred()) return NULL
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxGridCellEditor_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->PaintBackground(_swigarg0,_swigarg1))
2194 static PyObject
*_wrap_wxGridCellEditor_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2196 wxGridCellEditor
* _arg0
;
2198 wxGridCellAttr
* _arg2
;
2199 PyObject
* _argo0
= 0;
2201 PyObject
* _obj1
= 0;
2202 PyObject
* _argo2
= 0;
2203 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGridCellEditor_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_PaintBackground. Expected _wxGridCellEditor_p.");
2217 if (! wxRect_helper(_obj1
, &_arg1
))
2221 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGridCellEditor_PaintBackground. Expected _wxGridCellAttr_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 wxGridCellEditor_PaintBackground(_arg0
,*_arg1
,_arg2
);
2231 wxPy_END_ALLOW_THREADS
;
2232 if (PyErr_Occurred()) return NULL
;
2233 } Py_INCREF(Py_None
);
2234 _resultobj
= Py_None
;
2238 #define wxGridCellEditor_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->IsAcceptedKey(_swigarg0))
2239 static PyObject
*_wrap_wxGridCellEditor_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2242 wxGridCellEditor
* _arg0
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _argo1
= 0;
2246 char *_kwnames
[] = { "self","event", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_IsAcceptedKey. Expected _wxGridCellEditor_p.");
2259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_IsAcceptedKey. Expected _wxKeyEvent_p.");
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (bool )wxGridCellEditor_IsAcceptedKey(_arg0
,*_arg1
);
2269 wxPy_END_ALLOW_THREADS
;
2270 if (PyErr_Occurred()) return NULL
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxGridCellEditor_StartingKey(_swigobj,_swigarg0) (_swigobj->StartingKey(_swigarg0))
2276 static PyObject
*_wrap_wxGridCellEditor_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2278 wxGridCellEditor
* _arg0
;
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _argo1
= 0;
2282 char *_kwnames
[] = { "self","event", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingKey. Expected _wxGridCellEditor_p.");
2295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_StartingKey. Expected _wxKeyEvent_p.");
2302 wxPy_BEGIN_ALLOW_THREADS
;
2303 wxGridCellEditor_StartingKey(_arg0
,*_arg1
);
2305 wxPy_END_ALLOW_THREADS
;
2306 if (PyErr_Occurred()) return NULL
;
2307 } Py_INCREF(Py_None
);
2308 _resultobj
= Py_None
;
2312 #define wxGridCellEditor_StartingClick(_swigobj) (_swigobj->StartingClick())
2313 static PyObject
*_wrap_wxGridCellEditor_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
* _resultobj
;
2315 wxGridCellEditor
* _arg0
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_StartingClick",_kwnames
,&_argo0
))
2323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_StartingClick. Expected _wxGridCellEditor_p.");
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 wxGridCellEditor_StartingClick(_arg0
);
2333 wxPy_END_ALLOW_THREADS
;
2334 if (PyErr_Occurred()) return NULL
;
2335 } Py_INCREF(Py_None
);
2336 _resultobj
= Py_None
;
2340 #define wxGridCellEditor_HandleReturn(_swigobj,_swigarg0) (_swigobj->HandleReturn(_swigarg0))
2341 static PyObject
*_wrap_wxGridCellEditor_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2343 wxGridCellEditor
* _arg0
;
2345 PyObject
* _argo0
= 0;
2346 PyObject
* _argo1
= 0;
2347 char *_kwnames
[] = { "self","event", NULL
};
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellEditor_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_HandleReturn. Expected _wxGridCellEditor_p.");
2360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellEditor_HandleReturn. Expected _wxKeyEvent_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 wxGridCellEditor_HandleReturn(_arg0
,*_arg1
);
2370 wxPy_END_ALLOW_THREADS
;
2371 if (PyErr_Occurred()) return NULL
;
2372 } Py_INCREF(Py_None
);
2373 _resultobj
= Py_None
;
2377 #define wxGridCellEditor_Destroy(_swigobj) (_swigobj->Destroy())
2378 static PyObject
*_wrap_wxGridCellEditor_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2380 wxGridCellEditor
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellEditor_Destroy",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellEditor_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellEditor_Destroy. Expected _wxGridCellEditor_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxGridCellEditor_Destroy(_arg0
);
2398 wxPy_END_ALLOW_THREADS
;
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxPyGridCellEditorTowxGridCellEditor(void *ptr
) {
2406 wxPyGridCellEditor
*src
;
2407 wxGridCellEditor
*dest
;
2408 src
= (wxPyGridCellEditor
*) ptr
;
2409 dest
= (wxGridCellEditor
*) src
;
2410 return (void *) dest
;
2413 #define new_wxPyGridCellEditor() (new wxPyGridCellEditor())
2414 static PyObject
*_wrap_new_wxPyGridCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxPyGridCellEditor
* _result
;
2417 char *_kwnames
[] = { NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellEditor",_kwnames
))
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 _result
= (wxPyGridCellEditor
*)new_wxPyGridCellEditor();
2427 wxPy_END_ALLOW_THREADS
;
2428 if (PyErr_Occurred()) return NULL
;
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellEditor_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 _resultobj
= Py_None
;
2439 #define wxPyGridCellEditor__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2440 static PyObject
*_wrap_wxPyGridCellEditor__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxPyGridCellEditor
* _arg0
;
2445 PyObject
* _argo0
= 0;
2446 PyObject
* _obj1
= 0;
2447 PyObject
* _obj2
= 0;
2448 char *_kwnames
[] = { "self","self","_class", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor__setSelf. Expected _wxPyGridCellEditor_p.");
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 wxPyGridCellEditor__setSelf(_arg0
,_arg1
,_arg2
);
2470 wxPy_END_ALLOW_THREADS
;
2471 if (PyErr_Occurred()) return NULL
;
2472 } Py_INCREF(Py_None
);
2473 _resultobj
= Py_None
;
2477 #define wxPyGridCellEditor_base_SetSize(_swigobj,_swigarg0) (_swigobj->base_SetSize(_swigarg0))
2478 static PyObject
*_wrap_wxPyGridCellEditor_base_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2480 wxPyGridCellEditor
* _arg0
;
2482 PyObject
* _argo0
= 0;
2484 PyObject
* _obj1
= 0;
2485 char *_kwnames
[] = { "self","rect", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetSize",_kwnames
,&_argo0
,&_obj1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetSize. Expected _wxPyGridCellEditor_p.");
2499 if (! wxRect_helper(_obj1
, &_arg1
))
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxPyGridCellEditor_base_SetSize(_arg0
,*_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 if (PyErr_Occurred()) return NULL
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define wxPyGridCellEditor_base_Show(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_Show(_swigarg0,_swigarg1))
2514 static PyObject
*_wrap_wxPyGridCellEditor_base_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 wxPyGridCellEditor
* _arg0
;
2518 wxGridCellAttr
* _arg2
= (wxGridCellAttr
*) NULL
;
2519 PyObject
* _argo0
= 0;
2521 PyObject
* _argo2
= 0;
2522 char *_kwnames
[] = { "self","show","attr", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|O:wxPyGridCellEditor_base_Show",_kwnames
,&_argo0
,&tempbool1
,&_argo2
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Show. Expected _wxPyGridCellEditor_p.");
2534 _arg1
= (bool ) tempbool1
;
2536 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_Show. Expected _wxGridCellAttr_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 wxPyGridCellEditor_base_Show(_arg0
,_arg1
,_arg2
);
2546 wxPy_END_ALLOW_THREADS
;
2547 if (PyErr_Occurred()) return NULL
;
2548 } Py_INCREF(Py_None
);
2549 _resultobj
= Py_None
;
2553 #define wxPyGridCellEditor_base_PaintBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_PaintBackground(_swigarg0,_swigarg1))
2554 static PyObject
*_wrap_wxPyGridCellEditor_base_PaintBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2556 wxPyGridCellEditor
* _arg0
;
2558 wxGridCellAttr
* _arg2
;
2559 PyObject
* _argo0
= 0;
2561 PyObject
* _obj1
= 0;
2562 PyObject
* _argo2
= 0;
2563 char *_kwnames
[] = { "self","rectCell","attr", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellEditor_base_PaintBackground",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_PaintBackground. Expected _wxPyGridCellEditor_p.");
2577 if (! wxRect_helper(_obj1
, &_arg1
))
2581 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyGridCellEditor_base_PaintBackground. Expected _wxGridCellAttr_p.");
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 wxPyGridCellEditor_base_PaintBackground(_arg0
,*_arg1
,_arg2
);
2591 wxPy_END_ALLOW_THREADS
;
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxPyGridCellEditor_base_IsAcceptedKey(_swigobj,_swigarg0) (_swigobj->base_IsAcceptedKey(_swigarg0))
2599 static PyObject
*_wrap_wxPyGridCellEditor_base_IsAcceptedKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2601 wxPyGridCellEditor
* _arg0
;
2603 PyObject
* _argo0
= 0;
2604 PyObject
* _argo1
= 0;
2605 char *_kwnames
[] = { "self","event", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_IsAcceptedKey",_kwnames
,&_argo0
,&_argo1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxPyGridCellEditor_p.");
2618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_IsAcceptedKey. Expected _wxKeyEvent_p.");
2625 wxPy_BEGIN_ALLOW_THREADS
;
2626 wxPyGridCellEditor_base_IsAcceptedKey(_arg0
,*_arg1
);
2628 wxPy_END_ALLOW_THREADS
;
2629 if (PyErr_Occurred()) return NULL
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxPyGridCellEditor_base_StartingKey(_swigobj,_swigarg0) (_swigobj->base_StartingKey(_swigarg0))
2636 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2638 wxPyGridCellEditor
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 PyObject
* _argo1
= 0;
2642 char *_kwnames
[] = { "self","event", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_StartingKey",_kwnames
,&_argo0
,&_argo1
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingKey. Expected _wxPyGridCellEditor_p.");
2655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_StartingKey. Expected _wxKeyEvent_p.");
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 wxPyGridCellEditor_base_StartingKey(_arg0
,*_arg1
);
2665 wxPy_END_ALLOW_THREADS
;
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxPyGridCellEditor_base_StartingClick(_swigobj) (_swigobj->base_StartingClick())
2673 static PyObject
*_wrap_wxPyGridCellEditor_base_StartingClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2675 wxPyGridCellEditor
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_StartingClick",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_StartingClick. Expected _wxPyGridCellEditor_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 wxPyGridCellEditor_base_StartingClick(_arg0
);
2693 wxPy_END_ALLOW_THREADS
;
2694 if (PyErr_Occurred()) return NULL
;
2695 } Py_INCREF(Py_None
);
2696 _resultobj
= Py_None
;
2700 #define wxPyGridCellEditor_base_HandleReturn(_swigobj,_swigarg0) (_swigobj->base_HandleReturn(_swigarg0))
2701 static PyObject
*_wrap_wxPyGridCellEditor_base_HandleReturn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxPyGridCellEditor
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 PyObject
* _argo1
= 0;
2707 char *_kwnames
[] = { "self","event", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_HandleReturn",_kwnames
,&_argo0
,&_argo1
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_HandleReturn. Expected _wxPyGridCellEditor_p.");
2720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellEditor_base_HandleReturn. Expected _wxKeyEvent_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 wxPyGridCellEditor_base_HandleReturn(_arg0
,*_arg1
);
2730 wxPy_END_ALLOW_THREADS
;
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxPyGridCellEditor_base_Destroy(_swigobj) (_swigobj->base_Destroy())
2738 static PyObject
*_wrap_wxPyGridCellEditor_base_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxPyGridCellEditor
* _arg0
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridCellEditor_base_Destroy",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_Destroy. Expected _wxPyGridCellEditor_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 wxPyGridCellEditor_base_Destroy(_arg0
);
2758 wxPy_END_ALLOW_THREADS
;
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxPyGridCellEditor_base_SetParameters(_swigobj,_swigarg0) (_swigobj->base_SetParameters(_swigarg0))
2766 static PyObject
*_wrap_wxPyGridCellEditor_base_SetParameters(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2768 wxPyGridCellEditor
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 char *_kwnames
[] = { "self","params", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyGridCellEditor_base_SetParameters",_kwnames
,&_argo0
,&_obj1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellEditor_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellEditor_base_SetParameters. Expected _wxPyGridCellEditor_p.");
2785 #if PYTHON_API_VERSION >= 1009
2786 char* tmpPtr
; int tmpSize
;
2787 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2791 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2793 _arg1
= new wxString(tmpPtr
, tmpSize
);
2795 if (!PyString_Check(_obj1
)) {
2796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2799 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 wxPyGridCellEditor_base_SetParameters(_arg0
,*_arg1
);
2806 wxPy_END_ALLOW_THREADS
;
2807 if (PyErr_Occurred()) return NULL
;
2808 } Py_INCREF(Py_None
);
2809 _resultobj
= Py_None
;
2817 static void *SwigwxGridCellTextEditorTowxGridCellEditor(void *ptr
) {
2818 wxGridCellTextEditor
*src
;
2819 wxGridCellEditor
*dest
;
2820 src
= (wxGridCellTextEditor
*) ptr
;
2821 dest
= (wxGridCellEditor
*) src
;
2822 return (void *) dest
;
2825 #define new_wxGridCellTextEditor() (new wxGridCellTextEditor())
2826 static PyObject
*_wrap_new_wxGridCellTextEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
* _resultobj
;
2828 wxGridCellTextEditor
* _result
;
2829 char *_kwnames
[] = { NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellTextEditor",_kwnames
))
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (wxGridCellTextEditor
*)new_wxGridCellTextEditor();
2839 wxPy_END_ALLOW_THREADS
;
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellTextEditor_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2851 static void *SwigwxGridCellNumberEditorTowxGridCellTextEditor(void *ptr
) {
2852 wxGridCellNumberEditor
*src
;
2853 wxGridCellTextEditor
*dest
;
2854 src
= (wxGridCellNumberEditor
*) ptr
;
2855 dest
= (wxGridCellTextEditor
*) src
;
2856 return (void *) dest
;
2859 static void *SwigwxGridCellNumberEditorTowxGridCellEditor(void *ptr
) {
2860 wxGridCellNumberEditor
*src
;
2861 wxGridCellEditor
*dest
;
2862 src
= (wxGridCellNumberEditor
*) ptr
;
2863 dest
= (wxGridCellEditor
*) src
;
2864 return (void *) dest
;
2867 #define new_wxGridCellNumberEditor(_swigarg0,_swigarg1) (new wxGridCellNumberEditor(_swigarg0,_swigarg1))
2868 static PyObject
*_wrap_new_wxGridCellNumberEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2870 wxGridCellNumberEditor
* _result
;
2871 int _arg0
= (int ) -1;
2872 int _arg1
= (int ) -1;
2873 char *_kwnames
[] = { "min","max", NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellNumberEditor",_kwnames
,&_arg0
,&_arg1
))
2880 wxPy_BEGIN_ALLOW_THREADS
;
2881 _result
= (wxGridCellNumberEditor
*)new_wxGridCellNumberEditor(_arg0
,_arg1
);
2883 wxPy_END_ALLOW_THREADS
;
2884 if (PyErr_Occurred()) return NULL
;
2886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellNumberEditor_p");
2887 _resultobj
= Py_BuildValue("s",_ptemp
);
2890 _resultobj
= Py_None
;
2895 static void *SwigwxGridCellFloatEditorTowxGridCellTextEditor(void *ptr
) {
2896 wxGridCellFloatEditor
*src
;
2897 wxGridCellTextEditor
*dest
;
2898 src
= (wxGridCellFloatEditor
*) ptr
;
2899 dest
= (wxGridCellTextEditor
*) src
;
2900 return (void *) dest
;
2903 static void *SwigwxGridCellFloatEditorTowxGridCellEditor(void *ptr
) {
2904 wxGridCellFloatEditor
*src
;
2905 wxGridCellEditor
*dest
;
2906 src
= (wxGridCellFloatEditor
*) ptr
;
2907 dest
= (wxGridCellEditor
*) src
;
2908 return (void *) dest
;
2911 #define new_wxGridCellFloatEditor() (new wxGridCellFloatEditor())
2912 static PyObject
*_wrap_new_wxGridCellFloatEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2914 wxGridCellFloatEditor
* _result
;
2915 char *_kwnames
[] = { NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellFloatEditor",_kwnames
))
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 _result
= (wxGridCellFloatEditor
*)new_wxGridCellFloatEditor();
2925 wxPy_END_ALLOW_THREADS
;
2926 if (PyErr_Occurred()) return NULL
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellFloatEditor_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 static void *SwigwxGridCellBoolEditorTowxGridCellEditor(void *ptr
) {
2938 wxGridCellBoolEditor
*src
;
2939 wxGridCellEditor
*dest
;
2940 src
= (wxGridCellBoolEditor
*) ptr
;
2941 dest
= (wxGridCellEditor
*) src
;
2942 return (void *) dest
;
2945 #define new_wxGridCellBoolEditor() (new wxGridCellBoolEditor())
2946 static PyObject
*_wrap_new_wxGridCellBoolEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxGridCellBoolEditor
* _result
;
2949 char *_kwnames
[] = { NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellBoolEditor",_kwnames
))
2956 wxPy_BEGIN_ALLOW_THREADS
;
2957 _result
= (wxGridCellBoolEditor
*)new_wxGridCellBoolEditor();
2959 wxPy_END_ALLOW_THREADS
;
2960 if (PyErr_Occurred()) return NULL
;
2962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellBoolEditor_p");
2963 _resultobj
= Py_BuildValue("s",_ptemp
);
2966 _resultobj
= Py_None
;
2971 static void *SwigwxGridCellChoiceEditorTowxGridCellEditor(void *ptr
) {
2972 wxGridCellChoiceEditor
*src
;
2973 wxGridCellEditor
*dest
;
2974 src
= (wxGridCellChoiceEditor
*) ptr
;
2975 dest
= (wxGridCellEditor
*) src
;
2976 return (void *) dest
;
2979 #define new_wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2) (new wxGridCellChoiceEditor(_swigarg0,_swigarg1,_swigarg2))
2980 static PyObject
*_wrap_new_wxGridCellChoiceEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2982 wxGridCellChoiceEditor
* _result
;
2983 int _arg0
= (int ) 0;
2984 wxString
* _arg1
= (wxString
*) NULL
;
2985 bool _arg2
= (bool ) FALSE
;
2986 PyObject
* _obj1
= 0;
2987 int tempbool2
= (int) FALSE
;
2988 char *_kwnames
[] = { "choices","allowOthers", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxGridCellChoiceEditor",_kwnames
,&_obj1
,&tempbool2
))
2996 _arg1
= wxString_LIST_helper(_obj1
);
2997 if (_arg1
== NULL
) {
3001 _arg2
= (bool ) tempbool2
;
3004 _arg0
= PyList_Size(_obj1
);
3011 wxPy_BEGIN_ALLOW_THREADS
;
3012 _result
= (wxGridCellChoiceEditor
*)new_wxGridCellChoiceEditor(_arg0
,_arg1
,_arg2
);
3014 wxPy_END_ALLOW_THREADS
;
3015 if (PyErr_Occurred()) return NULL
;
3017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellChoiceEditor_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3021 _resultobj
= Py_None
;
3029 static void *SwigwxGridCellEnumEditorTowxGridCellChoiceEditor(void *ptr
) {
3030 wxGridCellEnumEditor
*src
;
3031 wxGridCellChoiceEditor
*dest
;
3032 src
= (wxGridCellEnumEditor
*) ptr
;
3033 dest
= (wxGridCellChoiceEditor
*) src
;
3034 return (void *) dest
;
3037 static void *SwigwxGridCellEnumEditorTowxGridCellEditor(void *ptr
) {
3038 wxGridCellEnumEditor
*src
;
3039 wxGridCellEditor
*dest
;
3040 src
= (wxGridCellEnumEditor
*) ptr
;
3041 dest
= (wxGridCellEditor
*) src
;
3042 return (void *) dest
;
3045 #define new_wxGridCellEnumEditor(_swigarg0) (new wxGridCellEnumEditor(_swigarg0))
3046 static PyObject
*_wrap_new_wxGridCellEnumEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3048 wxGridCellEnumEditor
* _result
;
3049 wxString
* _arg0
= (wxString
*) &"";
3050 PyObject
* _obj0
= 0;
3051 char *_kwnames
[] = { "choices", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxGridCellEnumEditor",_kwnames
,&_obj0
))
3059 _arg0
= wxString_LIST_helper(_obj0
);
3060 if (_arg0
== NULL
) {
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 _result
= (wxGridCellEnumEditor
*)new_wxGridCellEnumEditor(*_arg0
);
3068 wxPy_END_ALLOW_THREADS
;
3069 if (PyErr_Occurred()) return NULL
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEnumEditor_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3083 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor(void *ptr
) {
3084 wxGridCellAutoWrapStringEditor
*src
;
3085 wxGridCellTextEditor
*dest
;
3086 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3087 dest
= (wxGridCellTextEditor
*) src
;
3088 return (void *) dest
;
3091 static void *SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor(void *ptr
) {
3092 wxGridCellAutoWrapStringEditor
*src
;
3093 wxGridCellEditor
*dest
;
3094 src
= (wxGridCellAutoWrapStringEditor
*) ptr
;
3095 dest
= (wxGridCellEditor
*) src
;
3096 return (void *) dest
;
3099 #define new_wxGridCellAutoWrapStringEditor() (new wxGridCellAutoWrapStringEditor())
3100 static PyObject
*_wrap_new_wxGridCellAutoWrapStringEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxGridCellAutoWrapStringEditor
* _result
;
3103 char *_kwnames
[] = { NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAutoWrapStringEditor",_kwnames
))
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (wxGridCellAutoWrapStringEditor
*)new_wxGridCellAutoWrapStringEditor();
3113 wxPy_END_ALLOW_THREADS
;
3114 if (PyErr_Occurred()) return NULL
;
3116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAutoWrapStringEditor_p");
3117 _resultobj
= Py_BuildValue("s",_ptemp
);
3120 _resultobj
= Py_None
;
3125 #define new_wxGridCellAttr() (new wxGridCellAttr())
3126 static PyObject
*_wrap_new_wxGridCellAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3128 wxGridCellAttr
* _result
;
3129 char *_kwnames
[] = { NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttr",_kwnames
))
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 _result
= (wxGridCellAttr
*)new_wxGridCellAttr();
3139 wxPy_END_ALLOW_THREADS
;
3140 if (PyErr_Occurred()) return NULL
;
3142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3143 _resultobj
= Py_BuildValue("s",_ptemp
);
3146 _resultobj
= Py_None
;
3151 #define wxGridCellAttr_Clone(_swigobj) (_swigobj->Clone())
3152 static PyObject
*_wrap_wxGridCellAttr_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3154 wxGridCellAttr
* _result
;
3155 wxGridCellAttr
* _arg0
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_Clone",_kwnames
,&_argo0
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_Clone. Expected _wxGridCellAttr_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (wxGridCellAttr
*)wxGridCellAttr_Clone(_arg0
);
3174 wxPy_END_ALLOW_THREADS
;
3175 if (PyErr_Occurred()) return NULL
;
3177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
3178 _resultobj
= Py_BuildValue("s",_ptemp
);
3181 _resultobj
= Py_None
;
3186 #define wxGridCellAttr_MergeWith(_swigobj,_swigarg0) (_swigobj->MergeWith(_swigarg0))
3187 static PyObject
*_wrap_wxGridCellAttr_MergeWith(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxGridCellAttr
* _arg0
;
3190 wxGridCellAttr
* _arg1
;
3191 PyObject
* _argo0
= 0;
3192 PyObject
* _argo1
= 0;
3193 char *_kwnames
[] = { "self","mergefrom", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_MergeWith",_kwnames
,&_argo0
,&_argo1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_MergeWith. Expected _wxGridCellAttr_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 wxGridCellAttr_MergeWith(_arg0
,_arg1
);
3216 wxPy_END_ALLOW_THREADS
;
3217 if (PyErr_Occurred()) return NULL
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3223 #define wxGridCellAttr_IncRef(_swigobj) (_swigobj->IncRef())
3224 static PyObject
*_wrap_wxGridCellAttr_IncRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3226 wxGridCellAttr
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IncRef",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IncRef. Expected _wxGridCellAttr_p.");
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 wxGridCellAttr_IncRef(_arg0
);
3244 wxPy_END_ALLOW_THREADS
;
3245 if (PyErr_Occurred()) return NULL
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxGridCellAttr_DecRef(_swigobj) (_swigobj->DecRef())
3252 static PyObject
*_wrap_wxGridCellAttr_DecRef(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxGridCellAttr
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_DecRef",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_DecRef. Expected _wxGridCellAttr_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 wxGridCellAttr_DecRef(_arg0
);
3272 wxPy_END_ALLOW_THREADS
;
3273 if (PyErr_Occurred()) return NULL
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxGridCellAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
3280 static PyObject
*_wrap_wxGridCellAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxGridCellAttr
* _arg0
;
3284 PyObject
* _argo0
= 0;
3286 PyObject
* _obj1
= 0;
3287 char *_kwnames
[] = { "self","colText", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetTextColour. Expected _wxGridCellAttr_p.");
3301 if (! wxColour_helper(_obj1
, &_arg1
))
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 wxGridCellAttr_SetTextColour(_arg0
,*_arg1
);
3308 wxPy_END_ALLOW_THREADS
;
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxGridCellAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3316 static PyObject
*_wrap_wxGridCellAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxGridCellAttr
* _arg0
;
3320 PyObject
* _argo0
= 0;
3322 PyObject
* _obj1
= 0;
3323 char *_kwnames
[] = { "self","colBack", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetBackgroundColour. Expected _wxGridCellAttr_p.");
3337 if (! wxColour_helper(_obj1
, &_arg1
))
3341 wxPy_BEGIN_ALLOW_THREADS
;
3342 wxGridCellAttr_SetBackgroundColour(_arg0
,*_arg1
);
3344 wxPy_END_ALLOW_THREADS
;
3345 if (PyErr_Occurred()) return NULL
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxGridCellAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
3352 static PyObject
*_wrap_wxGridCellAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3354 wxGridCellAttr
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 PyObject
* _argo1
= 0;
3358 char *_kwnames
[] = { "self","font", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetFont. Expected _wxGridCellAttr_p.");
3371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetFont. Expected _wxFont_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 wxGridCellAttr_SetFont(_arg0
,*_arg1
);
3381 wxPy_END_ALLOW_THREADS
;
3382 if (PyErr_Occurred()) return NULL
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxGridCellAttr_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
3389 static PyObject
*_wrap_wxGridCellAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3391 wxGridCellAttr
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self","hAlign","vAlign", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetAlignment. Expected _wxGridCellAttr_p.");
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 wxGridCellAttr_SetAlignment(_arg0
,_arg1
,_arg2
);
3411 wxPy_END_ALLOW_THREADS
;
3412 if (PyErr_Occurred()) return NULL
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3418 #define wxGridCellAttr_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
3419 static PyObject
*_wrap_wxGridCellAttr_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxGridCellAttr
* _arg0
;
3422 bool _arg1
= (bool ) TRUE
;
3423 PyObject
* _argo0
= 0;
3424 int tempbool1
= (int) TRUE
;
3425 char *_kwnames
[] = { "self","isReadOnly", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridCellAttr_SetReadOnly",_kwnames
,&_argo0
,&tempbool1
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetReadOnly. Expected _wxGridCellAttr_p.");
3437 _arg1
= (bool ) tempbool1
;
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 wxGridCellAttr_SetReadOnly(_arg0
,_arg1
);
3442 wxPy_END_ALLOW_THREADS
;
3443 if (PyErr_Occurred()) return NULL
;
3444 } Py_INCREF(Py_None
);
3445 _resultobj
= Py_None
;
3449 #define wxGridCellAttr_SetRenderer(_swigobj,_swigarg0) (_swigobj->SetRenderer(_swigarg0))
3450 static PyObject
*_wrap_wxGridCellAttr_SetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxGridCellAttr
* _arg0
;
3453 wxGridCellRenderer
* _arg1
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _argo1
= 0;
3456 char *_kwnames
[] = { "self","renderer", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetRenderer",_kwnames
,&_argo0
,&_argo1
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetRenderer. Expected _wxGridCellAttr_p.");
3469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetRenderer. Expected _wxGridCellRenderer_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 wxGridCellAttr_SetRenderer(_arg0
,_arg1
);
3479 wxPy_END_ALLOW_THREADS
;
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxGridCellAttr_SetEditor(_swigobj,_swigarg0) (_swigobj->SetEditor(_swigarg0))
3487 static PyObject
*_wrap_wxGridCellAttr_SetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxGridCellAttr
* _arg0
;
3490 wxGridCellEditor
* _arg1
;
3491 PyObject
* _argo0
= 0;
3492 PyObject
* _argo1
= 0;
3493 char *_kwnames
[] = { "self","editor", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetEditor",_kwnames
,&_argo0
,&_argo1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetEditor. Expected _wxGridCellAttr_p.");
3506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetEditor. Expected _wxGridCellEditor_p.");
3513 wxPy_BEGIN_ALLOW_THREADS
;
3514 wxGridCellAttr_SetEditor(_arg0
,_arg1
);
3516 wxPy_END_ALLOW_THREADS
;
3517 if (PyErr_Occurred()) return NULL
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxGridCellAttr_SetKind(_swigobj,_swigarg0) (_swigobj->SetKind(_swigarg0))
3524 static PyObject
*_wrap_wxGridCellAttr_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxGridCellAttr
* _arg0
;
3527 wxGridCellAttr::wxAttrKind _arg1
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","kind", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellAttr_SetKind",_kwnames
,&_argo0
,&_arg1
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetKind. Expected _wxGridCellAttr_p.");
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 wxGridCellAttr_SetKind(_arg0
,_arg1
);
3545 wxPy_END_ALLOW_THREADS
;
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxGridCellAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
3553 static PyObject
*_wrap_wxGridCellAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3556 wxGridCellAttr
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasTextColour",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasTextColour. Expected _wxGridCellAttr_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 _result
= (bool )wxGridCellAttr_HasTextColour(_arg0
);
3574 wxPy_END_ALLOW_THREADS
;
3575 if (PyErr_Occurred()) return NULL
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxGridCellAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
3581 static PyObject
*_wrap_wxGridCellAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3584 wxGridCellAttr
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasBackgroundColour",_kwnames
,&_argo0
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasBackgroundColour. Expected _wxGridCellAttr_p.");
3599 wxPy_BEGIN_ALLOW_THREADS
;
3600 _result
= (bool )wxGridCellAttr_HasBackgroundColour(_arg0
);
3602 wxPy_END_ALLOW_THREADS
;
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxGridCellAttr_HasFont(_swigobj) (_swigobj->HasFont())
3609 static PyObject
*_wrap_wxGridCellAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxGridCellAttr
* _arg0
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasFont",_kwnames
,&_argo0
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasFont. Expected _wxGridCellAttr_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 _result
= (bool )wxGridCellAttr_HasFont(_arg0
);
3630 wxPy_END_ALLOW_THREADS
;
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxGridCellAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
3637 static PyObject
*_wrap_wxGridCellAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxGridCellAttr
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasAlignment",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasAlignment. Expected _wxGridCellAttr_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 _result
= (bool )wxGridCellAttr_HasAlignment(_arg0
);
3658 wxPy_END_ALLOW_THREADS
;
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxGridCellAttr_HasRenderer(_swigobj) (_swigobj->HasRenderer())
3665 static PyObject
*_wrap_wxGridCellAttr_HasRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3668 wxGridCellAttr
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasRenderer",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasRenderer. Expected _wxGridCellAttr_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 _result
= (bool )wxGridCellAttr_HasRenderer(_arg0
);
3686 wxPy_END_ALLOW_THREADS
;
3687 if (PyErr_Occurred()) return NULL
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxGridCellAttr_HasEditor(_swigobj) (_swigobj->HasEditor())
3693 static PyObject
*_wrap_wxGridCellAttr_HasEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxGridCellAttr
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasEditor",_kwnames
,&_argo0
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasEditor. Expected _wxGridCellAttr_p.");
3711 wxPy_BEGIN_ALLOW_THREADS
;
3712 _result
= (bool )wxGridCellAttr_HasEditor(_arg0
);
3714 wxPy_END_ALLOW_THREADS
;
3715 if (PyErr_Occurred()) return NULL
;
3716 } _resultobj
= Py_BuildValue("i",_result
);
3720 #define wxGridCellAttr_HasReadWriteMode(_swigobj) (_swigobj->HasReadWriteMode())
3721 static PyObject
*_wrap_wxGridCellAttr_HasReadWriteMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3724 wxGridCellAttr
* _arg0
;
3725 PyObject
* _argo0
= 0;
3726 char *_kwnames
[] = { "self", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_HasReadWriteMode",_kwnames
,&_argo0
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_HasReadWriteMode. Expected _wxGridCellAttr_p.");
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 _result
= (bool )wxGridCellAttr_HasReadWriteMode(_arg0
);
3742 wxPy_END_ALLOW_THREADS
;
3743 if (PyErr_Occurred()) return NULL
;
3744 } _resultobj
= Py_BuildValue("i",_result
);
3748 #define wxGridCellAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
3749 static PyObject
*_wrap_wxGridCellAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxGridCellAttr
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetTextColour",_kwnames
,&_argo0
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetTextColour. Expected _wxGridCellAttr_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 const wxColour
& _result_ref
= wxGridCellAttr_GetTextColour(_arg0
);
3770 _result
= (wxColour
*) &_result_ref
;
3772 wxPy_END_ALLOW_THREADS
;
3773 if (PyErr_Occurred()) return NULL
;
3775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3776 _resultobj
= Py_BuildValue("s",_ptemp
);
3779 _resultobj
= Py_None
;
3784 #define wxGridCellAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
3785 static PyObject
*_wrap_wxGridCellAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3788 wxGridCellAttr
* _arg0
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetBackgroundColour",_kwnames
,&_argo0
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetBackgroundColour. Expected _wxGridCellAttr_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 const wxColour
& _result_ref
= wxGridCellAttr_GetBackgroundColour(_arg0
);
3806 _result
= (wxColour
*) &_result_ref
;
3808 wxPy_END_ALLOW_THREADS
;
3809 if (PyErr_Occurred()) return NULL
;
3811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
3812 _resultobj
= Py_BuildValue("s",_ptemp
);
3815 _resultobj
= Py_None
;
3820 #define wxGridCellAttr_GetFont(_swigobj) (_swigobj->GetFont())
3821 static PyObject
*_wrap_wxGridCellAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3824 wxGridCellAttr
* _arg0
;
3825 PyObject
* _argo0
= 0;
3826 char *_kwnames
[] = { "self", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetFont",_kwnames
,&_argo0
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetFont. Expected _wxGridCellAttr_p.");
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 const wxFont
& _result_ref
= wxGridCellAttr_GetFont(_arg0
);
3842 _result
= (wxFont
*) &_result_ref
;
3844 wxPy_END_ALLOW_THREADS
;
3845 if (PyErr_Occurred()) return NULL
;
3847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
3848 _resultobj
= Py_BuildValue("s",_ptemp
);
3851 _resultobj
= Py_None
;
3856 #define wxGridCellAttr_GetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetAlignment(_swigarg0,_swigarg1))
3857 static PyObject
*_wrap_wxGridCellAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3859 wxGridCellAttr
* _arg0
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_GetAlignment",_kwnames
,&_argo0
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetAlignment. Expected _wxGridCellAttr_p.");
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 wxGridCellAttr_GetAlignment(_arg0
,_arg1
,_arg2
);
3887 wxPy_END_ALLOW_THREADS
;
3888 if (PyErr_Occurred()) return NULL
;
3889 } Py_INCREF(Py_None
);
3890 _resultobj
= Py_None
;
3893 o
= PyInt_FromLong((long) (*_arg1
));
3894 _resultobj
= t_output_helper(_resultobj
, o
);
3898 o
= PyInt_FromLong((long) (*_arg2
));
3899 _resultobj
= t_output_helper(_resultobj
, o
);
3904 #define wxGridCellAttr_GetRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetRenderer(_swigarg0,_swigarg1,_swigarg2))
3905 static PyObject
*_wrap_wxGridCellAttr_GetRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3907 wxGridCellRenderer
* _result
;
3908 wxGridCellAttr
* _arg0
;
3912 PyObject
* _argo0
= 0;
3913 PyObject
* _argo1
= 0;
3914 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetRenderer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetRenderer. Expected _wxGridCellAttr_p.");
3928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetRenderer. Expected _wxGrid_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 _result
= (wxGridCellRenderer
*)wxGridCellAttr_GetRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
3938 wxPy_END_ALLOW_THREADS
;
3939 if (PyErr_Occurred()) return NULL
;
3941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
3942 _resultobj
= Py_BuildValue("s",_ptemp
);
3945 _resultobj
= Py_None
;
3950 #define wxGridCellAttr_GetEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetEditor(_swigarg0,_swigarg1,_swigarg2))
3951 static PyObject
*_wrap_wxGridCellAttr_GetEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxGridCellEditor
* _result
;
3954 wxGridCellAttr
* _arg0
;
3958 PyObject
* _argo0
= 0;
3959 PyObject
* _argo1
= 0;
3960 char *_kwnames
[] = { "self","grid","row","col", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttr_GetEditor",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_GetEditor. Expected _wxGridCellAttr_p.");
3974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_GetEditor. Expected _wxGrid_p.");
3981 wxPy_BEGIN_ALLOW_THREADS
;
3982 _result
= (wxGridCellEditor
*)wxGridCellAttr_GetEditor(_arg0
,_arg1
,_arg2
,_arg3
);
3984 wxPy_END_ALLOW_THREADS
;
3985 if (PyErr_Occurred()) return NULL
;
3987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
3988 _resultobj
= Py_BuildValue("s",_ptemp
);
3991 _resultobj
= Py_None
;
3996 #define wxGridCellAttr_IsReadOnly(_swigobj) (_swigobj->IsReadOnly())
3997 static PyObject
*_wrap_wxGridCellAttr_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4000 wxGridCellAttr
* _arg0
;
4001 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellAttr_IsReadOnly",_kwnames
,&_argo0
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_IsReadOnly. Expected _wxGridCellAttr_p.");
4015 wxPy_BEGIN_ALLOW_THREADS
;
4016 _result
= (bool )wxGridCellAttr_IsReadOnly(_arg0
);
4018 wxPy_END_ALLOW_THREADS
;
4019 if (PyErr_Occurred()) return NULL
;
4020 } _resultobj
= Py_BuildValue("i",_result
);
4024 #define wxGridCellAttr_SetDefAttr(_swigobj,_swigarg0) (_swigobj->SetDefAttr(_swigarg0))
4025 static PyObject
*_wrap_wxGridCellAttr_SetDefAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxGridCellAttr
* _arg0
;
4028 wxGridCellAttr
* _arg1
;
4029 PyObject
* _argo0
= 0;
4030 PyObject
* _argo1
= 0;
4031 char *_kwnames
[] = { "self","defAttr", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellAttr_SetDefAttr",_kwnames
,&_argo0
,&_argo1
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttr_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttr_SetDefAttr. Expected _wxGridCellAttr_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 wxGridCellAttr_SetDefAttr(_arg0
,_arg1
);
4054 wxPy_END_ALLOW_THREADS
;
4055 if (PyErr_Occurred()) return NULL
;
4056 } Py_INCREF(Py_None
);
4057 _resultobj
= Py_None
;
4061 #define new_wxGridCellAttrProvider() (new wxGridCellAttrProvider())
4062 static PyObject
*_wrap_new_wxGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4064 wxGridCellAttrProvider
* _result
;
4065 char *_kwnames
[] = { NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGridCellAttrProvider",_kwnames
))
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 _result
= (wxGridCellAttrProvider
*)new_wxGridCellAttrProvider();
4075 wxPy_END_ALLOW_THREADS
;
4076 if (PyErr_Occurred()) return NULL
;
4078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4079 _resultobj
= Py_BuildValue("s",_ptemp
);
4082 _resultobj
= Py_None
;
4087 #define wxGridCellAttrProvider_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
4088 static PyObject
*_wrap_wxGridCellAttrProvider_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4090 wxGridCellAttr
* _result
;
4091 wxGridCellAttrProvider
* _arg0
;
4094 wxGridCellAttr::wxAttrKind _arg3
;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridCellAttrProvider_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_GetAttr. Expected _wxGridCellAttrProvider_p.");
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 _result
= (wxGridCellAttr
*)wxGridCellAttrProvider_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4113 wxPy_END_ALLOW_THREADS
;
4114 if (PyErr_Occurred()) return NULL
;
4116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 _resultobj
= Py_None
;
4125 #define wxGridCellAttrProvider_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
4126 static PyObject
*_wrap_wxGridCellAttrProvider_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4128 wxGridCellAttrProvider
* _arg0
;
4129 wxGridCellAttr
* _arg1
;
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridCellAttrProvider_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttrProvider_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetAttr. Expected _wxGridCellAttr_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 wxGridCellAttrProvider_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4157 wxPy_END_ALLOW_THREADS
;
4158 if (PyErr_Occurred()) return NULL
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxGridCellAttrProvider_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
4165 static PyObject
*_wrap_wxGridCellAttrProvider_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxGridCellAttrProvider
* _arg0
;
4168 wxGridCellAttr
* _arg1
;
4170 PyObject
* _argo0
= 0;
4171 PyObject
* _argo1
= 0;
4172 char *_kwnames
[] = { "self","attr","row", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttrProvider_p.");
4185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetRowAttr. Expected _wxGridCellAttr_p.");
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxGridCellAttrProvider_SetRowAttr(_arg0
,_arg1
,_arg2
);
4195 wxPy_END_ALLOW_THREADS
;
4196 if (PyErr_Occurred()) return NULL
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxGridCellAttrProvider_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
4203 static PyObject
*_wrap_wxGridCellAttrProvider_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxGridCellAttrProvider
* _arg0
;
4206 wxGridCellAttr
* _arg1
;
4208 PyObject
* _argo0
= 0;
4209 PyObject
* _argo1
= 0;
4210 char *_kwnames
[] = { "self","attr","col", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridCellAttrProvider_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttrProvider_p.");
4223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellAttrProvider_SetColAttr. Expected _wxGridCellAttr_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 wxGridCellAttrProvider_SetColAttr(_arg0
,_arg1
,_arg2
);
4233 wxPy_END_ALLOW_THREADS
;
4234 if (PyErr_Occurred()) return NULL
;
4235 } Py_INCREF(Py_None
);
4236 _resultobj
= Py_None
;
4240 #define wxGridCellAttrProvider_UpdateAttrRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrRows(_swigarg0,_swigarg1))
4241 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4243 wxGridCellAttrProvider
* _arg0
;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self","pos","numRows", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrRows. Expected _wxGridCellAttrProvider_p.");
4260 wxPy_BEGIN_ALLOW_THREADS
;
4261 wxGridCellAttrProvider_UpdateAttrRows(_arg0
,_arg1
,_arg2
);
4263 wxPy_END_ALLOW_THREADS
;
4264 if (PyErr_Occurred()) return NULL
;
4265 } Py_INCREF(Py_None
);
4266 _resultobj
= Py_None
;
4270 #define wxGridCellAttrProvider_UpdateAttrCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->UpdateAttrCols(_swigarg0,_swigarg1))
4271 static PyObject
*_wrap_wxGridCellAttrProvider_UpdateAttrCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4273 wxGridCellAttrProvider
* _arg0
;
4276 PyObject
* _argo0
= 0;
4277 char *_kwnames
[] = { "self","pos","numCols", NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellAttrProvider_UpdateAttrCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellAttrProvider_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellAttrProvider_UpdateAttrCols. Expected _wxGridCellAttrProvider_p.");
4290 wxPy_BEGIN_ALLOW_THREADS
;
4291 wxGridCellAttrProvider_UpdateAttrCols(_arg0
,_arg1
,_arg2
);
4293 wxPy_END_ALLOW_THREADS
;
4294 if (PyErr_Occurred()) return NULL
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 static void *SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider(void *ptr
) {
4301 wxPyGridCellAttrProvider
*src
;
4302 wxGridCellAttrProvider
*dest
;
4303 src
= (wxPyGridCellAttrProvider
*) ptr
;
4304 dest
= (wxGridCellAttrProvider
*) src
;
4305 return (void *) dest
;
4308 #define new_wxPyGridCellAttrProvider() (new wxPyGridCellAttrProvider())
4309 static PyObject
*_wrap_new_wxPyGridCellAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxPyGridCellAttrProvider
* _result
;
4312 char *_kwnames
[] = { NULL
};
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridCellAttrProvider",_kwnames
))
4319 wxPy_BEGIN_ALLOW_THREADS
;
4320 _result
= (wxPyGridCellAttrProvider
*)new_wxPyGridCellAttrProvider();
4322 wxPy_END_ALLOW_THREADS
;
4323 if (PyErr_Occurred()) return NULL
;
4325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridCellAttrProvider_p");
4326 _resultobj
= Py_BuildValue("s",_ptemp
);
4329 _resultobj
= Py_None
;
4334 #define wxPyGridCellAttrProvider__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4335 static PyObject
*_wrap_wxPyGridCellAttrProvider__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4337 wxPyGridCellAttrProvider
* _arg0
;
4340 PyObject
* _argo0
= 0;
4341 PyObject
* _obj1
= 0;
4342 PyObject
* _obj2
= 0;
4343 char *_kwnames
[] = { "self","self","_class", NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridCellAttrProvider__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider__setSelf. Expected _wxPyGridCellAttrProvider_p.");
4362 wxPy_BEGIN_ALLOW_THREADS
;
4363 wxPyGridCellAttrProvider__setSelf(_arg0
,_arg1
,_arg2
);
4365 wxPy_END_ALLOW_THREADS
;
4366 if (PyErr_Occurred()) return NULL
;
4367 } Py_INCREF(Py_None
);
4368 _resultobj
= Py_None
;
4372 #define wxPyGridCellAttrProvider_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
4373 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4375 wxGridCellAttr
* _result
;
4376 wxPyGridCellAttrProvider
* _arg0
;
4379 wxGridCellAttr::wxAttrKind _arg3
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self","row","col","kind", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridCellAttrProvider_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_GetAttr. Expected _wxPyGridCellAttrProvider_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 _result
= (wxGridCellAttr
*)wxPyGridCellAttrProvider_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4398 wxPy_END_ALLOW_THREADS
;
4399 if (PyErr_Occurred()) return NULL
;
4401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
4402 _resultobj
= Py_BuildValue("s",_ptemp
);
4405 _resultobj
= Py_None
;
4410 #define wxPyGridCellAttrProvider_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
4411 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4413 wxPyGridCellAttrProvider
* _arg0
;
4414 wxGridCellAttr
* _arg1
;
4417 PyObject
* _argo0
= 0;
4418 PyObject
* _argo1
= 0;
4419 char *_kwnames
[] = { "self","attr","row","col", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridCellAttrProvider_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxPyGridCellAttrProvider_p.");
4432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetAttr. Expected _wxGridCellAttr_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 wxPyGridCellAttrProvider_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
4442 wxPy_END_ALLOW_THREADS
;
4443 if (PyErr_Occurred()) return NULL
;
4444 } Py_INCREF(Py_None
);
4445 _resultobj
= Py_None
;
4449 #define wxPyGridCellAttrProvider_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
4450 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4452 wxPyGridCellAttrProvider
* _arg0
;
4453 wxGridCellAttr
* _arg1
;
4455 PyObject
* _argo0
= 0;
4456 PyObject
* _argo1
= 0;
4457 char *_kwnames
[] = { "self","attr","row", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxPyGridCellAttrProvider_p.");
4470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetRowAttr. Expected _wxGridCellAttr_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 wxPyGridCellAttrProvider_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
4480 wxPy_END_ALLOW_THREADS
;
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxPyGridCellAttrProvider_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
4488 static PyObject
*_wrap_wxPyGridCellAttrProvider_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4490 wxPyGridCellAttrProvider
* _arg0
;
4491 wxGridCellAttr
* _arg1
;
4493 PyObject
* _argo0
= 0;
4494 PyObject
* _argo1
= 0;
4495 char *_kwnames
[] = { "self","attr","col", NULL
};
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridCellAttrProvider_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridCellAttrProvider_p")) {
4503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxPyGridCellAttrProvider_p.");
4508 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridCellAttrProvider_base_SetColAttr. Expected _wxGridCellAttr_p.");
4515 wxPy_BEGIN_ALLOW_THREADS
;
4516 wxPyGridCellAttrProvider_base_SetColAttr(_arg0
,_arg1
,_arg2
);
4518 wxPy_END_ALLOW_THREADS
;
4519 if (PyErr_Occurred()) return NULL
;
4520 } Py_INCREF(Py_None
);
4521 _resultobj
= Py_None
;
4525 static void *SwigwxGridTableBaseTowxObject(void *ptr
) {
4526 wxGridTableBase
*src
;
4528 src
= (wxGridTableBase
*) ptr
;
4529 dest
= (wxObject
*) src
;
4530 return (void *) dest
;
4533 #define wxGridTableBase_SetAttrProvider(_swigobj,_swigarg0) (_swigobj->SetAttrProvider(_swigarg0))
4534 static PyObject
*_wrap_wxGridTableBase_SetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4536 wxGridTableBase
* _arg0
;
4537 wxGridCellAttrProvider
* _arg1
;
4538 PyObject
* _argo0
= 0;
4539 PyObject
* _argo1
= 0;
4540 char *_kwnames
[] = { "self","attrProvider", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetAttrProvider",_kwnames
,&_argo0
,&_argo1
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttrProvider. Expected _wxGridTableBase_p.");
4553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttrProvider_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttrProvider. Expected _wxGridCellAttrProvider_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 wxGridTableBase_SetAttrProvider(_arg0
,_arg1
);
4563 wxPy_END_ALLOW_THREADS
;
4564 if (PyErr_Occurred()) return NULL
;
4565 } Py_INCREF(Py_None
);
4566 _resultobj
= Py_None
;
4570 #define wxGridTableBase_GetAttrProvider(_swigobj) (_swigobj->GetAttrProvider())
4571 static PyObject
*_wrap_wxGridTableBase_GetAttrProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4573 wxGridCellAttrProvider
* _result
;
4574 wxGridTableBase
* _arg0
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetAttrProvider",_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_GetAttrProvider. Expected _wxGridTableBase_p.");
4590 wxPy_BEGIN_ALLOW_THREADS
;
4591 _result
= (wxGridCellAttrProvider
*)wxGridTableBase_GetAttrProvider(_arg0
);
4593 wxPy_END_ALLOW_THREADS
;
4594 if (PyErr_Occurred()) return NULL
;
4596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttrProvider_p");
4597 _resultobj
= Py_BuildValue("s",_ptemp
);
4600 _resultobj
= Py_None
;
4605 #define wxGridTableBase_SetView(_swigobj,_swigarg0) (_swigobj->SetView(_swigarg0))
4606 static PyObject
*_wrap_wxGridTableBase_SetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4608 wxGridTableBase
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 PyObject
* _argo1
= 0;
4612 char *_kwnames
[] = { "self","grid", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableBase_SetView",_kwnames
,&_argo0
,&_argo1
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetView. Expected _wxGridTableBase_p.");
4625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGrid_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetView. Expected _wxGrid_p.");
4632 wxPy_BEGIN_ALLOW_THREADS
;
4633 wxGridTableBase_SetView(_arg0
,_arg1
);
4635 wxPy_END_ALLOW_THREADS
;
4636 if (PyErr_Occurred()) return NULL
;
4637 } Py_INCREF(Py_None
);
4638 _resultobj
= Py_None
;
4642 #define wxGridTableBase_GetView(_swigobj) (_swigobj->GetView())
4643 static PyObject
*_wrap_wxGridTableBase_GetView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4646 wxGridTableBase
* _arg0
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetView",_kwnames
,&_argo0
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetView. Expected _wxGridTableBase_p.");
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 _result
= (wxGrid
*)wxGridTableBase_GetView(_arg0
);
4664 wxPy_END_ALLOW_THREADS
;
4665 if (PyErr_Occurred()) return NULL
;
4666 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4670 #define wxGridTableBase_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
4671 static PyObject
*_wrap_wxGridTableBase_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxGridTableBase
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberRows",_kwnames
,&_argo0
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberRows. Expected _wxGridTableBase_p.");
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 _result
= (int )wxGridTableBase_GetNumberRows(_arg0
);
4692 wxPy_END_ALLOW_THREADS
;
4693 if (PyErr_Occurred()) return NULL
;
4694 } _resultobj
= Py_BuildValue("i",_result
);
4698 #define wxGridTableBase_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
4699 static PyObject
*_wrap_wxGridTableBase_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4702 wxGridTableBase
* _arg0
;
4703 PyObject
* _argo0
= 0;
4704 char *_kwnames
[] = { "self", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_GetNumberCols",_kwnames
,&_argo0
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetNumberCols. Expected _wxGridTableBase_p.");
4717 wxPy_BEGIN_ALLOW_THREADS
;
4718 _result
= (int )wxGridTableBase_GetNumberCols(_arg0
);
4720 wxPy_END_ALLOW_THREADS
;
4721 if (PyErr_Occurred()) return NULL
;
4722 } _resultobj
= Py_BuildValue("i",_result
);
4726 #define wxGridTableBase_IsEmptyCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsEmptyCell(_swigarg0,_swigarg1))
4727 static PyObject
*_wrap_wxGridTableBase_IsEmptyCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4730 wxGridTableBase
* _arg0
;
4733 PyObject
* _argo0
= 0;
4734 char *_kwnames
[] = { "self","row","col", NULL
};
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_IsEmptyCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_IsEmptyCell. Expected _wxGridTableBase_p.");
4747 wxPy_BEGIN_ALLOW_THREADS
;
4748 _result
= (bool )wxGridTableBase_IsEmptyCell(_arg0
,_arg1
,_arg2
);
4750 wxPy_END_ALLOW_THREADS
;
4751 if (PyErr_Occurred()) return NULL
;
4752 } _resultobj
= Py_BuildValue("i",_result
);
4756 #define wxGridTableBase_GetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValue(_swigarg0,_swigarg1))
4757 static PyObject
*_wrap_wxGridTableBase_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4760 wxGridTableBase
* _arg0
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self","row","col", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValue. Expected _wxGridTableBase_p.");
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 _result
= new wxString (wxGridTableBase_GetValue(_arg0
,_arg1
,_arg2
));
4780 wxPy_END_ALLOW_THREADS
;
4781 if (PyErr_Occurred()) return NULL
;
4783 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4791 #define wxGridTableBase_SetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValue(_swigarg0,_swigarg1,_swigarg2))
4792 static PyObject
*_wrap_wxGridTableBase_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4794 wxGridTableBase
* _arg0
;
4798 PyObject
* _argo0
= 0;
4799 PyObject
* _obj3
= 0;
4800 char *_kwnames
[] = { "self","row","col","value", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_SetValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValue. Expected _wxGridTableBase_p.");
4813 #if PYTHON_API_VERSION >= 1009
4814 char* tmpPtr
; int tmpSize
;
4815 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4819 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4821 _arg3
= new wxString(tmpPtr
, tmpSize
);
4823 if (!PyString_Check(_obj3
)) {
4824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4827 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4831 wxPy_BEGIN_ALLOW_THREADS
;
4832 wxGridTableBase_SetValue(_arg0
,_arg1
,_arg2
,*_arg3
);
4834 wxPy_END_ALLOW_THREADS
;
4835 if (PyErr_Occurred()) return NULL
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4845 #define wxGridTableBase_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTypeName(_swigarg0,_swigarg1))
4846 static PyObject
*_wrap_wxGridTableBase_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4849 wxGridTableBase
* _arg0
;
4852 PyObject
* _argo0
= 0;
4853 char *_kwnames
[] = { "self","row","col", NULL
};
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetTypeName. Expected _wxGridTableBase_p.");
4866 wxPy_BEGIN_ALLOW_THREADS
;
4867 _result
= new wxString (wxGridTableBase_GetTypeName(_arg0
,_arg1
,_arg2
));
4869 wxPy_END_ALLOW_THREADS
;
4870 if (PyErr_Occurred()) return NULL
;
4872 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4880 #define wxGridTableBase_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
4881 static PyObject
*_wrap_wxGridTableBase_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4884 wxGridTableBase
* _arg0
;
4888 PyObject
* _argo0
= 0;
4889 PyObject
* _obj3
= 0;
4890 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanGetValueAs. Expected _wxGridTableBase_p.");
4903 #if PYTHON_API_VERSION >= 1009
4904 char* tmpPtr
; int tmpSize
;
4905 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4909 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4911 _arg3
= new wxString(tmpPtr
, tmpSize
);
4913 if (!PyString_Check(_obj3
)) {
4914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4917 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4921 wxPy_BEGIN_ALLOW_THREADS
;
4922 _result
= (bool )wxGridTableBase_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4924 wxPy_END_ALLOW_THREADS
;
4925 if (PyErr_Occurred()) return NULL
;
4926 } _resultobj
= Py_BuildValue("i",_result
);
4934 #define wxGridTableBase_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
4935 static PyObject
*_wrap_wxGridTableBase_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4938 wxGridTableBase
* _arg0
;
4942 PyObject
* _argo0
= 0;
4943 PyObject
* _obj3
= 0;
4944 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGridTableBase_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanSetValueAs. Expected _wxGridTableBase_p.");
4957 #if PYTHON_API_VERSION >= 1009
4958 char* tmpPtr
; int tmpSize
;
4959 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4963 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4965 _arg3
= new wxString(tmpPtr
, tmpSize
);
4967 if (!PyString_Check(_obj3
)) {
4968 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4971 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4975 wxPy_BEGIN_ALLOW_THREADS
;
4976 _result
= (bool )wxGridTableBase_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
4978 wxPy_END_ALLOW_THREADS
;
4979 if (PyErr_Occurred()) return NULL
;
4980 } _resultobj
= Py_BuildValue("i",_result
);
4988 #define wxGridTableBase_GetValueAsLong(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsLong(_swigarg0,_swigarg1))
4989 static PyObject
*_wrap_wxGridTableBase_GetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4992 wxGridTableBase
* _arg0
;
4995 PyObject
* _argo0
= 0;
4996 char *_kwnames
[] = { "self","row","col", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsLong. Expected _wxGridTableBase_p.");
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 _result
= (long )wxGridTableBase_GetValueAsLong(_arg0
,_arg1
,_arg2
);
5012 wxPy_END_ALLOW_THREADS
;
5013 if (PyErr_Occurred()) return NULL
;
5014 } _resultobj
= Py_BuildValue("l",_result
);
5018 #define wxGridTableBase_GetValueAsDouble(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsDouble(_swigarg0,_swigarg1))
5019 static PyObject
*_wrap_wxGridTableBase_GetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 wxGridTableBase
* _arg0
;
5025 PyObject
* _argo0
= 0;
5026 char *_kwnames
[] = { "self","row","col", NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsDouble. Expected _wxGridTableBase_p.");
5039 wxPy_BEGIN_ALLOW_THREADS
;
5040 _result
= (double )wxGridTableBase_GetValueAsDouble(_arg0
,_arg1
,_arg2
);
5042 wxPy_END_ALLOW_THREADS
;
5043 if (PyErr_Occurred()) return NULL
;
5044 } _resultobj
= Py_BuildValue("d",_result
);
5048 #define wxGridTableBase_GetValueAsBool(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetValueAsBool(_swigarg0,_swigarg1))
5049 static PyObject
*_wrap_wxGridTableBase_GetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5052 wxGridTableBase
* _arg0
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self","row","col", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridTableBase_GetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetValueAsBool. Expected _wxGridTableBase_p.");
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 _result
= (bool )wxGridTableBase_GetValueAsBool(_arg0
,_arg1
,_arg2
);
5072 wxPy_END_ALLOW_THREADS
;
5073 if (PyErr_Occurred()) return NULL
;
5074 } _resultobj
= Py_BuildValue("i",_result
);
5078 #define wxGridTableBase_SetValueAsLong(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsLong(_swigarg0,_swigarg1,_swigarg2))
5079 static PyObject
*_wrap_wxGridTableBase_SetValueAsLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5081 wxGridTableBase
* _arg0
;
5085 PyObject
* _argo0
= 0;
5086 char *_kwnames
[] = { "self","row","col","value", NULL
};
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiil:wxGridTableBase_SetValueAsLong",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsLong. Expected _wxGridTableBase_p.");
5099 wxPy_BEGIN_ALLOW_THREADS
;
5100 wxGridTableBase_SetValueAsLong(_arg0
,_arg1
,_arg2
,_arg3
);
5102 wxPy_END_ALLOW_THREADS
;
5103 if (PyErr_Occurred()) return NULL
;
5104 } Py_INCREF(Py_None
);
5105 _resultobj
= Py_None
;
5109 #define wxGridTableBase_SetValueAsDouble(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsDouble(_swigarg0,_swigarg1,_swigarg2))
5110 static PyObject
*_wrap_wxGridTableBase_SetValueAsDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5112 wxGridTableBase
* _arg0
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self","row","col","value", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiid:wxGridTableBase_SetValueAsDouble",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsDouble. Expected _wxGridTableBase_p.");
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 wxGridTableBase_SetValueAsDouble(_arg0
,_arg1
,_arg2
,_arg3
);
5133 wxPy_END_ALLOW_THREADS
;
5134 if (PyErr_Occurred()) return NULL
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5140 #define wxGridTableBase_SetValueAsBool(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetValueAsBool(_swigarg0,_swigarg1,_swigarg2))
5141 static PyObject
*_wrap_wxGridTableBase_SetValueAsBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxGridTableBase
* _arg0
;
5147 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self","row","col","value", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_SetValueAsBool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetValueAsBool. Expected _wxGridTableBase_p.");
5161 _arg3
= (bool ) tempbool3
;
5163 wxPy_BEGIN_ALLOW_THREADS
;
5164 wxGridTableBase_SetValueAsBool(_arg0
,_arg1
,_arg2
,_arg3
);
5166 wxPy_END_ALLOW_THREADS
;
5167 if (PyErr_Occurred()) return NULL
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5173 #define wxGridTableBase_Clear(_swigobj) (_swigobj->Clear())
5174 static PyObject
*_wrap_wxGridTableBase_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5176 wxGridTableBase
* _arg0
;
5177 PyObject
* _argo0
= 0;
5178 char *_kwnames
[] = { "self", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_Clear",_kwnames
,&_argo0
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_Clear. Expected _wxGridTableBase_p.");
5191 wxPy_BEGIN_ALLOW_THREADS
;
5192 wxGridTableBase_Clear(_arg0
);
5194 wxPy_END_ALLOW_THREADS
;
5195 if (PyErr_Occurred()) return NULL
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5201 #define wxGridTableBase_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertRows(_swigarg0,_swigarg1))
5202 static PyObject
*_wrap_wxGridTableBase_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5205 wxGridTableBase
* _arg0
;
5206 size_t _arg1
= (size_t ) 0;
5207 size_t _arg2
= (size_t ) 1;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertRows. Expected _wxGridTableBase_p.");
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 _result
= (bool )wxGridTableBase_InsertRows(_arg0
,_arg1
,_arg2
);
5225 wxPy_END_ALLOW_THREADS
;
5226 if (PyErr_Occurred()) return NULL
;
5227 } _resultobj
= Py_BuildValue("i",_result
);
5231 #define wxGridTableBase_AppendRows(_swigobj,_swigarg0) (_swigobj->AppendRows(_swigarg0))
5232 static PyObject
*_wrap_wxGridTableBase_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5235 wxGridTableBase
* _arg0
;
5236 size_t _arg1
= (size_t ) 1;
5237 PyObject
* _argo0
= 0;
5238 char *_kwnames
[] = { "self","numRows", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendRows",_kwnames
,&_argo0
,&_arg1
))
5244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendRows. Expected _wxGridTableBase_p.");
5251 wxPy_BEGIN_ALLOW_THREADS
;
5252 _result
= (bool )wxGridTableBase_AppendRows(_arg0
,_arg1
);
5254 wxPy_END_ALLOW_THREADS
;
5255 if (PyErr_Occurred()) return NULL
;
5256 } _resultobj
= Py_BuildValue("i",_result
);
5260 #define wxGridTableBase_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteRows(_swigarg0,_swigarg1))
5261 static PyObject
*_wrap_wxGridTableBase_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5264 wxGridTableBase
* _arg0
;
5265 size_t _arg1
= (size_t ) 0;
5266 size_t _arg2
= (size_t ) 1;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self","pos","numRows", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteRows. Expected _wxGridTableBase_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 _result
= (bool )wxGridTableBase_DeleteRows(_arg0
,_arg1
,_arg2
);
5284 wxPy_END_ALLOW_THREADS
;
5285 if (PyErr_Occurred()) return NULL
;
5286 } _resultobj
= Py_BuildValue("i",_result
);
5290 #define wxGridTableBase_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertCols(_swigarg0,_swigarg1))
5291 static PyObject
*_wrap_wxGridTableBase_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5294 wxGridTableBase
* _arg0
;
5295 size_t _arg1
= (size_t ) 0;
5296 size_t _arg2
= (size_t ) 1;
5297 PyObject
* _argo0
= 0;
5298 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_InsertCols. Expected _wxGridTableBase_p.");
5311 wxPy_BEGIN_ALLOW_THREADS
;
5312 _result
= (bool )wxGridTableBase_InsertCols(_arg0
,_arg1
,_arg2
);
5314 wxPy_END_ALLOW_THREADS
;
5315 if (PyErr_Occurred()) return NULL
;
5316 } _resultobj
= Py_BuildValue("i",_result
);
5320 #define wxGridTableBase_AppendCols(_swigobj,_swigarg0) (_swigobj->AppendCols(_swigarg0))
5321 static PyObject
*_wrap_wxGridTableBase_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5324 wxGridTableBase
* _arg0
;
5325 size_t _arg1
= (size_t ) 1;
5326 PyObject
* _argo0
= 0;
5327 char *_kwnames
[] = { "self","numCols", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGridTableBase_AppendCols",_kwnames
,&_argo0
,&_arg1
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_AppendCols. Expected _wxGridTableBase_p.");
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 _result
= (bool )wxGridTableBase_AppendCols(_arg0
,_arg1
);
5343 wxPy_END_ALLOW_THREADS
;
5344 if (PyErr_Occurred()) return NULL
;
5345 } _resultobj
= Py_BuildValue("i",_result
);
5349 #define wxGridTableBase_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteCols(_swigarg0,_swigarg1))
5350 static PyObject
*_wrap_wxGridTableBase_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5353 wxGridTableBase
* _arg0
;
5354 size_t _arg1
= (size_t ) 0;
5355 size_t _arg2
= (size_t ) 1;
5356 PyObject
* _argo0
= 0;
5357 char *_kwnames
[] = { "self","pos","numCols", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGridTableBase_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_DeleteCols. Expected _wxGridTableBase_p.");
5370 wxPy_BEGIN_ALLOW_THREADS
;
5371 _result
= (bool )wxGridTableBase_DeleteCols(_arg0
,_arg1
,_arg2
);
5373 wxPy_END_ALLOW_THREADS
;
5374 if (PyErr_Occurred()) return NULL
;
5375 } _resultobj
= Py_BuildValue("i",_result
);
5379 #define wxGridTableBase_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
5380 static PyObject
*_wrap_wxGridTableBase_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5383 wxGridTableBase
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self","row", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetRowLabelValue. Expected _wxGridTableBase_p.");
5399 wxPy_BEGIN_ALLOW_THREADS
;
5400 _result
= new wxString (wxGridTableBase_GetRowLabelValue(_arg0
,_arg1
));
5402 wxPy_END_ALLOW_THREADS
;
5403 if (PyErr_Occurred()) return NULL
;
5405 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5413 #define wxGridTableBase_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
5414 static PyObject
*_wrap_wxGridTableBase_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
* _resultobj
;
5417 wxGridTableBase
* _arg0
;
5419 PyObject
* _argo0
= 0;
5420 char *_kwnames
[] = { "self","col", NULL
};
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableBase_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
5426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetColLabelValue. Expected _wxGridTableBase_p.");
5433 wxPy_BEGIN_ALLOW_THREADS
;
5434 _result
= new wxString (wxGridTableBase_GetColLabelValue(_arg0
,_arg1
));
5436 wxPy_END_ALLOW_THREADS
;
5437 if (PyErr_Occurred()) return NULL
;
5439 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5447 #define wxGridTableBase_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
5448 static PyObject
*_wrap_wxGridTableBase_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5450 wxGridTableBase
* _arg0
;
5453 PyObject
* _argo0
= 0;
5454 PyObject
* _obj2
= 0;
5455 char *_kwnames
[] = { "self","row","value", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowLabelValue. Expected _wxGridTableBase_p.");
5468 #if PYTHON_API_VERSION >= 1009
5469 char* tmpPtr
; int tmpSize
;
5470 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5474 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5476 _arg2
= new wxString(tmpPtr
, tmpSize
);
5478 if (!PyString_Check(_obj2
)) {
5479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5482 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5486 wxPy_BEGIN_ALLOW_THREADS
;
5487 wxGridTableBase_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
5489 wxPy_END_ALLOW_THREADS
;
5490 if (PyErr_Occurred()) return NULL
;
5491 } Py_INCREF(Py_None
);
5492 _resultobj
= Py_None
;
5500 #define wxGridTableBase_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
5501 static PyObject
*_wrap_wxGridTableBase_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5503 wxGridTableBase
* _arg0
;
5506 PyObject
* _argo0
= 0;
5507 PyObject
* _obj2
= 0;
5508 char *_kwnames
[] = { "self","col","value", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGridTableBase_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColLabelValue. Expected _wxGridTableBase_p.");
5521 #if PYTHON_API_VERSION >= 1009
5522 char* tmpPtr
; int tmpSize
;
5523 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5527 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5529 _arg2
= new wxString(tmpPtr
, tmpSize
);
5531 if (!PyString_Check(_obj2
)) {
5532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5535 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 wxGridTableBase_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
5542 wxPy_END_ALLOW_THREADS
;
5543 if (PyErr_Occurred()) return NULL
;
5544 } Py_INCREF(Py_None
);
5545 _resultobj
= Py_None
;
5553 #define wxGridTableBase_CanHaveAttributes(_swigobj) (_swigobj->CanHaveAttributes())
5554 static PyObject
*_wrap_wxGridTableBase_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
* _resultobj
;
5557 wxGridTableBase
* _arg0
;
5558 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableBase_CanHaveAttributes",_kwnames
,&_argo0
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_CanHaveAttributes. Expected _wxGridTableBase_p.");
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 _result
= (bool )wxGridTableBase_CanHaveAttributes(_arg0
);
5575 wxPy_END_ALLOW_THREADS
;
5576 if (PyErr_Occurred()) return NULL
;
5577 } _resultobj
= Py_BuildValue("i",_result
);
5581 #define wxGridTableBase_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetAttr(_swigarg0,_swigarg1,_swigarg2))
5582 static PyObject
*_wrap_wxGridTableBase_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxGridCellAttr
* _result
;
5585 wxGridTableBase
* _arg0
;
5588 wxGridCellAttr::wxAttrKind _arg3
;
5589 PyObject
* _argo0
= 0;
5590 char *_kwnames
[] = { "self","row","col","kind", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxGridTableBase_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_GetAttr. Expected _wxGridTableBase_p.");
5604 wxPy_BEGIN_ALLOW_THREADS
;
5605 _result
= (wxGridCellAttr
*)wxGridTableBase_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5607 wxPy_END_ALLOW_THREADS
;
5608 if (PyErr_Occurred()) return NULL
;
5610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
5611 _resultobj
= Py_BuildValue("s",_ptemp
);
5614 _resultobj
= Py_None
;
5619 #define wxGridTableBase_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetAttr(_swigarg0,_swigarg1,_swigarg2))
5620 static PyObject
*_wrap_wxGridTableBase_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
* _resultobj
;
5622 wxGridTableBase
* _arg0
;
5623 wxGridCellAttr
* _arg1
;
5626 PyObject
* _argo0
= 0;
5627 PyObject
* _argo1
= 0;
5628 char *_kwnames
[] = { "self","attr","row","col", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxGridTableBase_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetAttr. Expected _wxGridTableBase_p.");
5641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetAttr. Expected _wxGridCellAttr_p.");
5648 wxPy_BEGIN_ALLOW_THREADS
;
5649 wxGridTableBase_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
5651 wxPy_END_ALLOW_THREADS
;
5652 if (PyErr_Occurred()) return NULL
;
5653 } Py_INCREF(Py_None
);
5654 _resultobj
= Py_None
;
5658 #define wxGridTableBase_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
5659 static PyObject
*_wrap_wxGridTableBase_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5661 wxGridTableBase
* _arg0
;
5662 wxGridCellAttr
* _arg1
;
5664 PyObject
* _argo0
= 0;
5665 PyObject
* _argo1
= 0;
5666 char *_kwnames
[] = { "self","attr","row", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetRowAttr. Expected _wxGridTableBase_p.");
5679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetRowAttr. Expected _wxGridCellAttr_p.");
5686 wxPy_BEGIN_ALLOW_THREADS
;
5687 wxGridTableBase_SetRowAttr(_arg0
,_arg1
,_arg2
);
5689 wxPy_END_ALLOW_THREADS
;
5690 if (PyErr_Occurred()) return NULL
;
5691 } Py_INCREF(Py_None
);
5692 _resultobj
= Py_None
;
5696 #define wxGridTableBase_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
5697 static PyObject
*_wrap_wxGridTableBase_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
* _resultobj
;
5699 wxGridTableBase
* _arg0
;
5700 wxGridCellAttr
* _arg1
;
5702 PyObject
* _argo0
= 0;
5703 PyObject
* _argo1
= 0;
5704 char *_kwnames
[] = { "self","attr","col", NULL
};
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxGridTableBase_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
5710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
5712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableBase_SetColAttr. Expected _wxGridTableBase_p.");
5717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
5719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableBase_SetColAttr. Expected _wxGridCellAttr_p.");
5724 wxPy_BEGIN_ALLOW_THREADS
;
5725 wxGridTableBase_SetColAttr(_arg0
,_arg1
,_arg2
);
5727 wxPy_END_ALLOW_THREADS
;
5728 if (PyErr_Occurred()) return NULL
;
5729 } Py_INCREF(Py_None
);
5730 _resultobj
= Py_None
;
5734 static void *SwigwxPyGridTableBaseTowxGridTableBase(void *ptr
) {
5735 wxPyGridTableBase
*src
;
5736 wxGridTableBase
*dest
;
5737 src
= (wxPyGridTableBase
*) ptr
;
5738 dest
= (wxGridTableBase
*) src
;
5739 return (void *) dest
;
5742 static void *SwigwxPyGridTableBaseTowxObject(void *ptr
) {
5743 wxPyGridTableBase
*src
;
5745 src
= (wxPyGridTableBase
*) ptr
;
5746 dest
= (wxObject
*) src
;
5747 return (void *) dest
;
5750 #define new_wxPyGridTableBase() (new wxPyGridTableBase())
5751 static PyObject
*_wrap_new_wxPyGridTableBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5753 wxPyGridTableBase
* _result
;
5754 char *_kwnames
[] = { NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyGridTableBase",_kwnames
))
5761 wxPy_BEGIN_ALLOW_THREADS
;
5762 _result
= (wxPyGridTableBase
*)new_wxPyGridTableBase();
5764 wxPy_END_ALLOW_THREADS
;
5765 if (PyErr_Occurred()) return NULL
;
5767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyGridTableBase_p");
5768 _resultobj
= Py_BuildValue("s",_ptemp
);
5771 _resultobj
= Py_None
;
5776 #define wxPyGridTableBase__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5777 static PyObject
*_wrap_wxPyGridTableBase__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5779 wxPyGridTableBase
* _arg0
;
5782 PyObject
* _argo0
= 0;
5783 PyObject
* _obj1
= 0;
5784 PyObject
* _obj2
= 0;
5785 char *_kwnames
[] = { "self","self","_class", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyGridTableBase__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase__setSelf. Expected _wxPyGridTableBase_p.");
5804 wxPy_BEGIN_ALLOW_THREADS
;
5805 wxPyGridTableBase__setSelf(_arg0
,_arg1
,_arg2
);
5807 wxPy_END_ALLOW_THREADS
;
5808 if (PyErr_Occurred()) return NULL
;
5809 } Py_INCREF(Py_None
);
5810 _resultobj
= Py_None
;
5814 static void wxPyGridTableBase_Destroy(wxPyGridTableBase
*self
) { delete self
; }
5815 static PyObject
*_wrap_wxPyGridTableBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5817 wxPyGridTableBase
* _arg0
;
5818 PyObject
* _argo0
= 0;
5819 char *_kwnames
[] = { "self", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_Destroy",_kwnames
,&_argo0
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_Destroy. Expected _wxPyGridTableBase_p.");
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 wxPyGridTableBase_Destroy(_arg0
);
5835 wxPy_END_ALLOW_THREADS
;
5836 if (PyErr_Occurred()) return NULL
;
5837 } Py_INCREF(Py_None
);
5838 _resultobj
= Py_None
;
5842 #define wxPyGridTableBase_base_GetTypeName(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_GetTypeName(_swigarg0,_swigarg1))
5843 static PyObject
*_wrap_wxPyGridTableBase_base_GetTypeName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5846 wxPyGridTableBase
* _arg0
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self","row","col", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyGridTableBase_base_GetTypeName",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetTypeName. Expected _wxPyGridTableBase_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 _result
= new wxString (wxPyGridTableBase_base_GetTypeName(_arg0
,_arg1
,_arg2
));
5866 wxPy_END_ALLOW_THREADS
;
5867 if (PyErr_Occurred()) return NULL
;
5869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5877 #define wxPyGridTableBase_base_CanGetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanGetValueAs(_swigarg0,_swigarg1,_swigarg2))
5878 static PyObject
*_wrap_wxPyGridTableBase_base_CanGetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5881 wxPyGridTableBase
* _arg0
;
5885 PyObject
* _argo0
= 0;
5886 PyObject
* _obj3
= 0;
5887 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanGetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanGetValueAs. Expected _wxPyGridTableBase_p.");
5900 #if PYTHON_API_VERSION >= 1009
5901 char* tmpPtr
; int tmpSize
;
5902 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5906 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5908 _arg3
= new wxString(tmpPtr
, tmpSize
);
5910 if (!PyString_Check(_obj3
)) {
5911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5914 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (bool )wxPyGridTableBase_base_CanGetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5921 wxPy_END_ALLOW_THREADS
;
5922 if (PyErr_Occurred()) return NULL
;
5923 } _resultobj
= Py_BuildValue("i",_result
);
5931 #define wxPyGridTableBase_base_CanSetValueAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_CanSetValueAs(_swigarg0,_swigarg1,_swigarg2))
5932 static PyObject
*_wrap_wxPyGridTableBase_base_CanSetValueAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5935 wxPyGridTableBase
* _arg0
;
5939 PyObject
* _argo0
= 0;
5940 PyObject
* _obj3
= 0;
5941 char *_kwnames
[] = { "self","row","col","typeName", NULL
};
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxPyGridTableBase_base_CanSetValueAs",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanSetValueAs. Expected _wxPyGridTableBase_p.");
5954 #if PYTHON_API_VERSION >= 1009
5955 char* tmpPtr
; int tmpSize
;
5956 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5960 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5962 _arg3
= new wxString(tmpPtr
, tmpSize
);
5964 if (!PyString_Check(_obj3
)) {
5965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5968 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 _result
= (bool )wxPyGridTableBase_base_CanSetValueAs(_arg0
,_arg1
,_arg2
,*_arg3
);
5975 wxPy_END_ALLOW_THREADS
;
5976 if (PyErr_Occurred()) return NULL
;
5977 } _resultobj
= Py_BuildValue("i",_result
);
5985 #define wxPyGridTableBase_base_Clear(_swigobj) (_swigobj->base_Clear())
5986 static PyObject
*_wrap_wxPyGridTableBase_base_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxPyGridTableBase
* _arg0
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_Clear",_kwnames
,&_argo0
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_Clear. Expected _wxPyGridTableBase_p.");
6003 wxPy_BEGIN_ALLOW_THREADS
;
6004 wxPyGridTableBase_base_Clear(_arg0
);
6006 wxPy_END_ALLOW_THREADS
;
6007 if (PyErr_Occurred()) return NULL
;
6008 } Py_INCREF(Py_None
);
6009 _resultobj
= Py_None
;
6013 #define wxPyGridTableBase_base_InsertRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertRows(_swigarg0,_swigarg1))
6014 static PyObject
*_wrap_wxPyGridTableBase_base_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
* _resultobj
;
6017 wxPyGridTableBase
* _arg0
;
6018 size_t _arg1
= (size_t ) 0;
6019 size_t _arg2
= (size_t ) 1;
6020 PyObject
* _argo0
= 0;
6021 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertRows. Expected _wxPyGridTableBase_p.");
6034 wxPy_BEGIN_ALLOW_THREADS
;
6035 _result
= (bool )wxPyGridTableBase_base_InsertRows(_arg0
,_arg1
,_arg2
);
6037 wxPy_END_ALLOW_THREADS
;
6038 if (PyErr_Occurred()) return NULL
;
6039 } _resultobj
= Py_BuildValue("i",_result
);
6043 #define wxPyGridTableBase_base_AppendRows(_swigobj,_swigarg0) (_swigobj->base_AppendRows(_swigarg0))
6044 static PyObject
*_wrap_wxPyGridTableBase_base_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6047 wxPyGridTableBase
* _arg0
;
6048 size_t _arg1
= (size_t ) 1;
6049 PyObject
* _argo0
= 0;
6050 char *_kwnames
[] = { "self","numRows", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendRows",_kwnames
,&_argo0
,&_arg1
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendRows. Expected _wxPyGridTableBase_p.");
6063 wxPy_BEGIN_ALLOW_THREADS
;
6064 _result
= (bool )wxPyGridTableBase_base_AppendRows(_arg0
,_arg1
);
6066 wxPy_END_ALLOW_THREADS
;
6067 if (PyErr_Occurred()) return NULL
;
6068 } _resultobj
= Py_BuildValue("i",_result
);
6072 #define wxPyGridTableBase_base_DeleteRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteRows(_swigarg0,_swigarg1))
6073 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6076 wxPyGridTableBase
* _arg0
;
6077 size_t _arg1
= (size_t ) 0;
6078 size_t _arg2
= (size_t ) 1;
6079 PyObject
* _argo0
= 0;
6080 char *_kwnames
[] = { "self","pos","numRows", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteRows. Expected _wxPyGridTableBase_p.");
6093 wxPy_BEGIN_ALLOW_THREADS
;
6094 _result
= (bool )wxPyGridTableBase_base_DeleteRows(_arg0
,_arg1
,_arg2
);
6096 wxPy_END_ALLOW_THREADS
;
6097 if (PyErr_Occurred()) return NULL
;
6098 } _resultobj
= Py_BuildValue("i",_result
);
6102 #define wxPyGridTableBase_base_InsertCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_InsertCols(_swigarg0,_swigarg1))
6103 static PyObject
*_wrap_wxPyGridTableBase_base_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
* _resultobj
;
6106 wxPyGridTableBase
* _arg0
;
6107 size_t _arg1
= (size_t ) 0;
6108 size_t _arg2
= (size_t ) 1;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_InsertCols. Expected _wxPyGridTableBase_p.");
6123 wxPy_BEGIN_ALLOW_THREADS
;
6124 _result
= (bool )wxPyGridTableBase_base_InsertCols(_arg0
,_arg1
,_arg2
);
6126 wxPy_END_ALLOW_THREADS
;
6127 if (PyErr_Occurred()) return NULL
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 #define wxPyGridTableBase_base_AppendCols(_swigobj,_swigarg0) (_swigobj->base_AppendCols(_swigarg0))
6133 static PyObject
*_wrap_wxPyGridTableBase_base_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6136 wxPyGridTableBase
* _arg0
;
6137 size_t _arg1
= (size_t ) 1;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self","numCols", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyGridTableBase_base_AppendCols",_kwnames
,&_argo0
,&_arg1
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_AppendCols. Expected _wxPyGridTableBase_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (bool )wxPyGridTableBase_base_AppendCols(_arg0
,_arg1
);
6155 wxPy_END_ALLOW_THREADS
;
6156 if (PyErr_Occurred()) return NULL
;
6157 } _resultobj
= Py_BuildValue("i",_result
);
6161 #define wxPyGridTableBase_base_DeleteCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_DeleteCols(_swigarg0,_swigarg1))
6162 static PyObject
*_wrap_wxPyGridTableBase_base_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
* _resultobj
;
6165 wxPyGridTableBase
* _arg0
;
6166 size_t _arg1
= (size_t ) 0;
6167 size_t _arg2
= (size_t ) 1;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self","pos","numCols", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyGridTableBase_base_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_DeleteCols. Expected _wxPyGridTableBase_p.");
6182 wxPy_BEGIN_ALLOW_THREADS
;
6183 _result
= (bool )wxPyGridTableBase_base_DeleteCols(_arg0
,_arg1
,_arg2
);
6185 wxPy_END_ALLOW_THREADS
;
6186 if (PyErr_Occurred()) return NULL
;
6187 } _resultobj
= Py_BuildValue("i",_result
);
6191 #define wxPyGridTableBase_base_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetRowLabelValue(_swigarg0))
6192 static PyObject
*_wrap_wxPyGridTableBase_base_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6195 wxPyGridTableBase
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self","row", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetRowLabelValue. Expected _wxPyGridTableBase_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 _result
= new wxString (wxPyGridTableBase_base_GetRowLabelValue(_arg0
,_arg1
));
6214 wxPy_END_ALLOW_THREADS
;
6215 if (PyErr_Occurred()) return NULL
;
6217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6225 #define wxPyGridTableBase_base_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->base_GetColLabelValue(_swigarg0))
6226 static PyObject
*_wrap_wxPyGridTableBase_base_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6229 wxPyGridTableBase
* _arg0
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self","col", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyGridTableBase_base_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetColLabelValue. Expected _wxPyGridTableBase_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 _result
= new wxString (wxPyGridTableBase_base_GetColLabelValue(_arg0
,_arg1
));
6248 wxPy_END_ALLOW_THREADS
;
6249 if (PyErr_Occurred()) return NULL
;
6251 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6259 #define wxPyGridTableBase_base_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowLabelValue(_swigarg0,_swigarg1))
6260 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxPyGridTableBase
* _arg0
;
6265 PyObject
* _argo0
= 0;
6266 PyObject
* _obj2
= 0;
6267 char *_kwnames
[] = { "self","row","value", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowLabelValue. Expected _wxPyGridTableBase_p.");
6280 #if PYTHON_API_VERSION >= 1009
6281 char* tmpPtr
; int tmpSize
;
6282 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6286 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6288 _arg2
= new wxString(tmpPtr
, tmpSize
);
6290 if (!PyString_Check(_obj2
)) {
6291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6294 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 wxPyGridTableBase_base_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
6301 wxPy_END_ALLOW_THREADS
;
6302 if (PyErr_Occurred()) return NULL
;
6303 } Py_INCREF(Py_None
);
6304 _resultobj
= Py_None
;
6312 #define wxPyGridTableBase_base_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColLabelValue(_swigarg0,_swigarg1))
6313 static PyObject
*_wrap_wxPyGridTableBase_base_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxPyGridTableBase
* _arg0
;
6318 PyObject
* _argo0
= 0;
6319 PyObject
* _obj2
= 0;
6320 char *_kwnames
[] = { "self","col","value", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyGridTableBase_base_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColLabelValue. Expected _wxPyGridTableBase_p.");
6333 #if PYTHON_API_VERSION >= 1009
6334 char* tmpPtr
; int tmpSize
;
6335 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6339 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6341 _arg2
= new wxString(tmpPtr
, tmpSize
);
6343 if (!PyString_Check(_obj2
)) {
6344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6347 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6351 wxPy_BEGIN_ALLOW_THREADS
;
6352 wxPyGridTableBase_base_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
6354 wxPy_END_ALLOW_THREADS
;
6355 if (PyErr_Occurred()) return NULL
;
6356 } Py_INCREF(Py_None
);
6357 _resultobj
= Py_None
;
6365 #define wxPyGridTableBase_base_CanHaveAttributes(_swigobj) (_swigobj->base_CanHaveAttributes())
6366 static PyObject
*_wrap_wxPyGridTableBase_base_CanHaveAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6369 wxPyGridTableBase
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyGridTableBase_base_CanHaveAttributes",_kwnames
,&_argo0
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_CanHaveAttributes. Expected _wxPyGridTableBase_p.");
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 _result
= (bool )wxPyGridTableBase_base_CanHaveAttributes(_arg0
);
6387 wxPy_END_ALLOW_THREADS
;
6388 if (PyErr_Occurred()) return NULL
;
6389 } _resultobj
= Py_BuildValue("i",_result
);
6393 #define wxPyGridTableBase_base_GetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_GetAttr(_swigarg0,_swigarg1,_swigarg2))
6394 static PyObject
*_wrap_wxPyGridTableBase_base_GetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6396 wxGridCellAttr
* _result
;
6397 wxPyGridTableBase
* _arg0
;
6400 wxGridCellAttr::wxAttrKind _arg3
;
6401 PyObject
* _argo0
= 0;
6402 char *_kwnames
[] = { "self","row","col","kind", NULL
};
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxPyGridTableBase_base_GetAttr",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_GetAttr. Expected _wxPyGridTableBase_p.");
6416 wxPy_BEGIN_ALLOW_THREADS
;
6417 _result
= (wxGridCellAttr
*)wxPyGridTableBase_base_GetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6419 wxPy_END_ALLOW_THREADS
;
6420 if (PyErr_Occurred()) return NULL
;
6422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellAttr_p");
6423 _resultobj
= Py_BuildValue("s",_ptemp
);
6426 _resultobj
= Py_None
;
6431 #define wxPyGridTableBase_base_SetAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_SetAttr(_swigarg0,_swigarg1,_swigarg2))
6432 static PyObject
*_wrap_wxPyGridTableBase_base_SetAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxPyGridTableBase
* _arg0
;
6435 wxGridCellAttr
* _arg1
;
6438 PyObject
* _argo0
= 0;
6439 PyObject
* _argo1
= 0;
6440 char *_kwnames
[] = { "self","attr","row","col", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxPyGridTableBase_base_SetAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetAttr. Expected _wxPyGridTableBase_p.");
6453 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetAttr. Expected _wxGridCellAttr_p.");
6460 wxPy_BEGIN_ALLOW_THREADS
;
6461 wxPyGridTableBase_base_SetAttr(_arg0
,_arg1
,_arg2
,_arg3
);
6463 wxPy_END_ALLOW_THREADS
;
6464 if (PyErr_Occurred()) return NULL
;
6465 } Py_INCREF(Py_None
);
6466 _resultobj
= Py_None
;
6470 #define wxPyGridTableBase_base_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetRowAttr(_swigarg0,_swigarg1))
6471 static PyObject
*_wrap_wxPyGridTableBase_base_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
* _resultobj
;
6473 wxPyGridTableBase
* _arg0
;
6474 wxGridCellAttr
* _arg1
;
6476 PyObject
* _argo0
= 0;
6477 PyObject
* _argo1
= 0;
6478 char *_kwnames
[] = { "self","attr","row", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetRowAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetRowAttr. Expected _wxPyGridTableBase_p.");
6491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetRowAttr. Expected _wxGridCellAttr_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 wxPyGridTableBase_base_SetRowAttr(_arg0
,_arg1
,_arg2
);
6501 wxPy_END_ALLOW_THREADS
;
6502 if (PyErr_Occurred()) return NULL
;
6503 } Py_INCREF(Py_None
);
6504 _resultobj
= Py_None
;
6508 #define wxPyGridTableBase_base_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_SetColAttr(_swigarg0,_swigarg1))
6509 static PyObject
*_wrap_wxPyGridTableBase_base_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6511 wxPyGridTableBase
* _arg0
;
6512 wxGridCellAttr
* _arg1
;
6514 PyObject
* _argo0
= 0;
6515 PyObject
* _argo1
= 0;
6516 char *_kwnames
[] = { "self","attr","col", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyGridTableBase_base_SetColAttr",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyGridTableBase_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyGridTableBase_base_SetColAttr. Expected _wxPyGridTableBase_p.");
6529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellAttr_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyGridTableBase_base_SetColAttr. Expected _wxGridCellAttr_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 wxPyGridTableBase_base_SetColAttr(_arg0
,_arg1
,_arg2
);
6539 wxPy_END_ALLOW_THREADS
;
6540 if (PyErr_Occurred()) return NULL
;
6541 } Py_INCREF(Py_None
);
6542 _resultobj
= Py_None
;
6546 static void *SwigwxGridStringTableTowxGridTableBase(void *ptr
) {
6547 wxGridStringTable
*src
;
6548 wxGridTableBase
*dest
;
6549 src
= (wxGridStringTable
*) ptr
;
6550 dest
= (wxGridTableBase
*) src
;
6551 return (void *) dest
;
6554 static void *SwigwxGridStringTableTowxObject(void *ptr
) {
6555 wxGridStringTable
*src
;
6557 src
= (wxGridStringTable
*) ptr
;
6558 dest
= (wxObject
*) src
;
6559 return (void *) dest
;
6562 #define new_wxGridStringTable(_swigarg0,_swigarg1) (new wxGridStringTable(_swigarg0,_swigarg1))
6563 static PyObject
*_wrap_new_wxGridStringTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6565 wxGridStringTable
* _result
;
6566 int _arg0
= (int ) 0;
6567 int _arg1
= (int ) 0;
6568 char *_kwnames
[] = { "numRows","numCols", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridStringTable",_kwnames
,&_arg0
,&_arg1
))
6575 wxPy_BEGIN_ALLOW_THREADS
;
6576 _result
= (wxGridStringTable
*)new_wxGridStringTable(_arg0
,_arg1
);
6578 wxPy_END_ALLOW_THREADS
;
6579 if (PyErr_Occurred()) return NULL
;
6581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridStringTable_p");
6582 _resultobj
= Py_BuildValue("s",_ptemp
);
6585 _resultobj
= Py_None
;
6590 #define new_wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridTableMessage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6591 static PyObject
*_wrap_new_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6593 wxGridTableMessage
* _result
;
6594 wxGridTableBase
* _arg0
;
6596 int _arg2
= (int ) -1;
6597 int _arg3
= (int ) -1;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "table","id","comInt1","comInt2", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:new_wxGridTableMessage",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableBase_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGridTableMessage. Expected _wxGridTableBase_p.");
6613 wxPy_BEGIN_ALLOW_THREADS
;
6614 _result
= (wxGridTableMessage
*)new_wxGridTableMessage(_arg0
,_arg1
,_arg2
,_arg3
);
6616 wxPy_END_ALLOW_THREADS
;
6617 if (PyErr_Occurred()) return NULL
;
6619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridTableMessage_p");
6620 _resultobj
= Py_BuildValue("s",_ptemp
);
6623 _resultobj
= Py_None
;
6628 #define delete_wxGridTableMessage(_swigobj) (delete _swigobj)
6629 static PyObject
*_wrap_delete_wxGridTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6631 wxGridTableMessage
* _arg0
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridTableMessage",_kwnames
,&_argo0
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridTableMessage. Expected _wxGridTableMessage_p.");
6646 wxPy_BEGIN_ALLOW_THREADS
;
6647 delete_wxGridTableMessage(_arg0
);
6649 wxPy_END_ALLOW_THREADS
;
6650 if (PyErr_Occurred()) return NULL
;
6651 } Py_INCREF(Py_None
);
6652 _resultobj
= Py_None
;
6656 #define wxGridTableMessage_SetTableObject(_swigobj,_swigarg0) (_swigobj->SetTableObject(_swigarg0))
6657 static PyObject
*_wrap_wxGridTableMessage_SetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6659 wxGridTableMessage
* _arg0
;
6660 wxGridTableBase
* _arg1
;
6661 PyObject
* _argo0
= 0;
6662 PyObject
* _argo1
= 0;
6663 char *_kwnames
[] = { "self","table", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridTableMessage_SetTableObject",_kwnames
,&_argo0
,&_argo1
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetTableObject. Expected _wxGridTableMessage_p.");
6676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
6678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridTableMessage_SetTableObject. Expected _wxGridTableBase_p.");
6683 wxPy_BEGIN_ALLOW_THREADS
;
6684 wxGridTableMessage_SetTableObject(_arg0
,_arg1
);
6686 wxPy_END_ALLOW_THREADS
;
6687 if (PyErr_Occurred()) return NULL
;
6688 } Py_INCREF(Py_None
);
6689 _resultobj
= Py_None
;
6693 #define wxGridTableMessage_GetTableObject(_swigobj) (_swigobj->GetTableObject())
6694 static PyObject
*_wrap_wxGridTableMessage_GetTableObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6696 wxGridTableBase
* _result
;
6697 wxGridTableMessage
* _arg0
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetTableObject",_kwnames
,&_argo0
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetTableObject. Expected _wxGridTableMessage_p.");
6712 wxPy_BEGIN_ALLOW_THREADS
;
6713 _result
= (wxGridTableBase
*)wxGridTableMessage_GetTableObject(_arg0
);
6715 wxPy_END_ALLOW_THREADS
;
6716 if (PyErr_Occurred()) return NULL
;
6717 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6721 #define wxGridTableMessage_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
6722 static PyObject
*_wrap_wxGridTableMessage_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6724 wxGridTableMessage
* _arg0
;
6726 PyObject
* _argo0
= 0;
6727 char *_kwnames
[] = { "self","id", NULL
};
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetId",_kwnames
,&_argo0
,&_arg1
))
6733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetId. Expected _wxGridTableMessage_p.");
6740 wxPy_BEGIN_ALLOW_THREADS
;
6741 wxGridTableMessage_SetId(_arg0
,_arg1
);
6743 wxPy_END_ALLOW_THREADS
;
6744 if (PyErr_Occurred()) return NULL
;
6745 } Py_INCREF(Py_None
);
6746 _resultobj
= Py_None
;
6750 #define wxGridTableMessage_GetId(_swigobj) (_swigobj->GetId())
6751 static PyObject
*_wrap_wxGridTableMessage_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6754 wxGridTableMessage
* _arg0
;
6755 PyObject
* _argo0
= 0;
6756 char *_kwnames
[] = { "self", NULL
};
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetId",_kwnames
,&_argo0
))
6762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetId. Expected _wxGridTableMessage_p.");
6769 wxPy_BEGIN_ALLOW_THREADS
;
6770 _result
= (int )wxGridTableMessage_GetId(_arg0
);
6772 wxPy_END_ALLOW_THREADS
;
6773 if (PyErr_Occurred()) return NULL
;
6774 } _resultobj
= Py_BuildValue("i",_result
);
6778 #define wxGridTableMessage_SetCommandInt(_swigobj,_swigarg0) (_swigobj->SetCommandInt(_swigarg0))
6779 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6781 wxGridTableMessage
* _arg0
;
6783 PyObject
* _argo0
= 0;
6784 char *_kwnames
[] = { "self","comInt1", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt",_kwnames
,&_argo0
,&_arg1
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt. Expected _wxGridTableMessage_p.");
6797 wxPy_BEGIN_ALLOW_THREADS
;
6798 wxGridTableMessage_SetCommandInt(_arg0
,_arg1
);
6800 wxPy_END_ALLOW_THREADS
;
6801 if (PyErr_Occurred()) return NULL
;
6802 } Py_INCREF(Py_None
);
6803 _resultobj
= Py_None
;
6807 #define wxGridTableMessage_GetCommandInt(_swigobj) (_swigobj->GetCommandInt())
6808 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6811 wxGridTableMessage
* _arg0
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt. Expected _wxGridTableMessage_p.");
6826 wxPy_BEGIN_ALLOW_THREADS
;
6827 _result
= (int )wxGridTableMessage_GetCommandInt(_arg0
);
6829 wxPy_END_ALLOW_THREADS
;
6830 if (PyErr_Occurred()) return NULL
;
6831 } _resultobj
= Py_BuildValue("i",_result
);
6835 #define wxGridTableMessage_SetCommandInt2(_swigobj,_swigarg0) (_swigobj->SetCommandInt2(_swigarg0))
6836 static PyObject
*_wrap_wxGridTableMessage_SetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6838 wxGridTableMessage
* _arg0
;
6840 PyObject
* _argo0
= 0;
6841 char *_kwnames
[] = { "self","comInt2", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridTableMessage_SetCommandInt2",_kwnames
,&_argo0
,&_arg1
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_SetCommandInt2. Expected _wxGridTableMessage_p.");
6854 wxPy_BEGIN_ALLOW_THREADS
;
6855 wxGridTableMessage_SetCommandInt2(_arg0
,_arg1
);
6857 wxPy_END_ALLOW_THREADS
;
6858 if (PyErr_Occurred()) return NULL
;
6859 } Py_INCREF(Py_None
);
6860 _resultobj
= Py_None
;
6864 #define wxGridTableMessage_GetCommandInt2(_swigobj) (_swigobj->GetCommandInt2())
6865 static PyObject
*_wrap_wxGridTableMessage_GetCommandInt2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6868 wxGridTableMessage
* _arg0
;
6869 PyObject
* _argo0
= 0;
6870 char *_kwnames
[] = { "self", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridTableMessage_GetCommandInt2",_kwnames
,&_argo0
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridTableMessage_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridTableMessage_GetCommandInt2. Expected _wxGridTableMessage_p.");
6883 wxPy_BEGIN_ALLOW_THREADS
;
6884 _result
= (int )wxGridTableMessage_GetCommandInt2(_arg0
);
6886 wxPy_END_ALLOW_THREADS
;
6887 if (PyErr_Occurred()) return NULL
;
6888 } _resultobj
= Py_BuildValue("i",_result
);
6892 #define new_wxGridCellCoords(_swigarg0,_swigarg1) (new wxGridCellCoords(_swigarg0,_swigarg1))
6893 static PyObject
*_wrap_new_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6895 wxGridCellCoords
* _result
;
6896 int _arg0
= (int ) -1;
6897 int _arg1
= (int ) -1;
6898 char *_kwnames
[] = { "r","c", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ii:new_wxGridCellCoords",_kwnames
,&_arg0
,&_arg1
))
6905 wxPy_BEGIN_ALLOW_THREADS
;
6906 _result
= (wxGridCellCoords
*)new_wxGridCellCoords(_arg0
,_arg1
);
6908 wxPy_END_ALLOW_THREADS
;
6909 if (PyErr_Occurred()) return NULL
;
6911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
6912 _resultobj
= Py_BuildValue("s",_ptemp
);
6915 _resultobj
= Py_None
;
6920 #define delete_wxGridCellCoords(_swigobj) (delete _swigobj)
6921 static PyObject
*_wrap_delete_wxGridCellCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6923 wxGridCellCoords
* _arg0
;
6924 PyObject
* _argo0
= 0;
6925 char *_kwnames
[] = { "self", NULL
};
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGridCellCoords",_kwnames
,&_argo0
))
6931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGridCellCoords. Expected _wxGridCellCoords_p.");
6938 wxPy_BEGIN_ALLOW_THREADS
;
6939 delete_wxGridCellCoords(_arg0
);
6941 wxPy_END_ALLOW_THREADS
;
6942 if (PyErr_Occurred()) return NULL
;
6943 } Py_INCREF(Py_None
);
6944 _resultobj
= Py_None
;
6948 #define wxGridCellCoords_GetRow(_swigobj) (_swigobj->GetRow())
6949 static PyObject
*_wrap_wxGridCellCoords_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
* _resultobj
;
6952 wxGridCellCoords
* _arg0
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetRow",_kwnames
,&_argo0
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetRow. Expected _wxGridCellCoords_p.");
6967 wxPy_BEGIN_ALLOW_THREADS
;
6968 _result
= (int )wxGridCellCoords_GetRow(_arg0
);
6970 wxPy_END_ALLOW_THREADS
;
6971 if (PyErr_Occurred()) return NULL
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxGridCellCoords_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
6977 static PyObject
*_wrap_wxGridCellCoords_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6979 wxGridCellCoords
* _arg0
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self","n", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetRow",_kwnames
,&_argo0
,&_arg1
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetRow. Expected _wxGridCellCoords_p.");
6995 wxPy_BEGIN_ALLOW_THREADS
;
6996 wxGridCellCoords_SetRow(_arg0
,_arg1
);
6998 wxPy_END_ALLOW_THREADS
;
6999 if (PyErr_Occurred()) return NULL
;
7000 } Py_INCREF(Py_None
);
7001 _resultobj
= Py_None
;
7005 #define wxGridCellCoords_GetCol(_swigobj) (_swigobj->GetCol())
7006 static PyObject
*_wrap_wxGridCellCoords_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7009 wxGridCellCoords
* _arg0
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_GetCol",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_GetCol. Expected _wxGridCellCoords_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 _result
= (int )wxGridCellCoords_GetCol(_arg0
);
7027 wxPy_END_ALLOW_THREADS
;
7028 if (PyErr_Occurred()) return NULL
;
7029 } _resultobj
= Py_BuildValue("i",_result
);
7033 #define wxGridCellCoords_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
7034 static PyObject
*_wrap_wxGridCellCoords_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7036 wxGridCellCoords
* _arg0
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self","n", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridCellCoords_SetCol",_kwnames
,&_argo0
,&_arg1
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_SetCol. Expected _wxGridCellCoords_p.");
7052 wxPy_BEGIN_ALLOW_THREADS
;
7053 wxGridCellCoords_SetCol(_arg0
,_arg1
);
7055 wxPy_END_ALLOW_THREADS
;
7056 if (PyErr_Occurred()) return NULL
;
7057 } Py_INCREF(Py_None
);
7058 _resultobj
= Py_None
;
7062 #define wxGridCellCoords_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
7063 static PyObject
*_wrap_wxGridCellCoords_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7065 wxGridCellCoords
* _arg0
;
7068 PyObject
* _argo0
= 0;
7069 char *_kwnames
[] = { "self","row","col", NULL
};
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGridCellCoords_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_Set. Expected _wxGridCellCoords_p.");
7082 wxPy_BEGIN_ALLOW_THREADS
;
7083 wxGridCellCoords_Set(_arg0
,_arg1
,_arg2
);
7085 wxPy_END_ALLOW_THREADS
;
7086 if (PyErr_Occurred()) return NULL
;
7087 } Py_INCREF(Py_None
);
7088 _resultobj
= Py_None
;
7092 static PyObject
* wxGridCellCoords_asTuple(wxGridCellCoords
*self
) {
7093 PyObject
* tup
= PyTuple_New(2);
7094 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
7095 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
7098 static PyObject
*_wrap_wxGridCellCoords_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7101 wxGridCellCoords
* _arg0
;
7102 PyObject
* _argo0
= 0;
7103 char *_kwnames
[] = { "self", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridCellCoords_asTuple",_kwnames
,&_argo0
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords_asTuple. Expected _wxGridCellCoords_p.");
7116 wxPy_BEGIN_ALLOW_THREADS
;
7117 _result
= (PyObject
*)wxGridCellCoords_asTuple(_arg0
);
7119 wxPy_END_ALLOW_THREADS
;
7120 if (PyErr_Occurred()) return NULL
;
7122 _resultobj
= _result
;
7127 static int wxGridCellCoords___cmp__(wxGridCellCoords
*self
,const wxGridCellCoords
& other
) {
7128 return *self
!= other
;
7130 static PyObject
*_wrap_wxGridCellCoords___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7133 wxGridCellCoords
* _arg0
;
7134 wxGridCellCoords
* _arg1
;
7135 PyObject
* _argo0
= 0;
7136 PyObject
* _argo1
= 0;
7137 char *_kwnames
[] = { "self","other", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridCellCoords___cmp__",_kwnames
,&_argo0
,&_argo1
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridCellCoords_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellCoords_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridCellCoords___cmp__. Expected _wxGridCellCoords_p.");
7157 wxPy_BEGIN_ALLOW_THREADS
;
7158 _result
= (int )wxGridCellCoords___cmp__(_arg0
,*_arg1
);
7160 wxPy_END_ALLOW_THREADS
;
7161 if (PyErr_Occurred()) return NULL
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7166 static void *SwigwxGridTowxScrolledWindow(void *ptr
) {
7168 wxScrolledWindow
*dest
;
7169 src
= (wxGrid
*) ptr
;
7170 dest
= (wxScrolledWindow
*) src
;
7171 return (void *) dest
;
7174 static void *SwigwxGridTowxPanel(void *ptr
) {
7177 src
= (wxGrid
*) ptr
;
7178 dest
= (wxPanel
*) src
;
7179 return (void *) dest
;
7182 static void *SwigwxGridTowxWindow(void *ptr
) {
7185 src
= (wxGrid
*) ptr
;
7186 dest
= (wxWindow
*) src
;
7187 return (void *) dest
;
7190 static void *SwigwxGridTowxEvtHandler(void *ptr
) {
7193 src
= (wxGrid
*) ptr
;
7194 dest
= (wxEvtHandler
*) src
;
7195 return (void *) dest
;
7198 static void *SwigwxGridTowxObject(void *ptr
) {
7201 src
= (wxGrid
*) ptr
;
7202 dest
= (wxObject
*) src
;
7203 return (void *) dest
;
7206 #define new_wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGrid(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7207 static PyObject
*_wrap_new_wxGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7212 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7213 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7214 long _arg4
= (long ) wxWANTS_CHARS
;
7215 char * _arg5
= (char *) wxPanelNameStr
;
7216 PyObject
* _argo0
= 0;
7218 PyObject
* _obj2
= 0;
7220 PyObject
* _obj3
= 0;
7221 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxGrid",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGrid. Expected _wxWindow_p.");
7237 if (! wxPoint_helper(_obj2
, &_arg2
))
7243 if (! wxSize_helper(_obj3
, &_arg3
))
7247 wxPy_BEGIN_ALLOW_THREADS
;
7248 _result
= (wxGrid
*)new_wxGrid(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7250 wxPy_END_ALLOW_THREADS
;
7251 if (PyErr_Occurred()) return NULL
;
7253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGrid_p");
7254 _resultobj
= Py_BuildValue("s",_ptemp
);
7257 _resultobj
= Py_None
;
7262 #define wxGrid_CreateGrid(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateGrid(_swigarg0,_swigarg1,_swigarg2))
7263 static PyObject
*_wrap_wxGrid_CreateGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
* _resultobj
;
7269 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7270 PyObject
* _argo0
= 0;
7271 char *_kwnames
[] = { "self","numRows","numCols","selmode", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_CreateGrid",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CreateGrid. Expected _wxGrid_p.");
7284 wxPy_BEGIN_ALLOW_THREADS
;
7285 _result
= (bool )wxGrid_CreateGrid(_arg0
,_arg1
,_arg2
,_arg3
);
7287 wxPy_END_ALLOW_THREADS
;
7288 if (PyErr_Occurred()) return NULL
;
7289 } _resultobj
= Py_BuildValue("i",_result
);
7293 #define wxGrid_SetSelectionMode(_swigobj,_swigarg0) (_swigobj->SetSelectionMode(_swigarg0))
7294 static PyObject
*_wrap_wxGrid_SetSelectionMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7297 WXGRIDSELECTIONMODES _arg1
;
7298 PyObject
* _argo0
= 0;
7299 char *_kwnames
[] = { "self","selmode", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetSelectionMode",_kwnames
,&_argo0
,&_arg1
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionMode. Expected _wxGrid_p.");
7312 wxPy_BEGIN_ALLOW_THREADS
;
7313 wxGrid_SetSelectionMode(_arg0
,_arg1
);
7315 wxPy_END_ALLOW_THREADS
;
7316 if (PyErr_Occurred()) return NULL
;
7317 } Py_INCREF(Py_None
);
7318 _resultobj
= Py_None
;
7322 #define wxGrid_GetNumberRows(_swigobj) (_swigobj->GetNumberRows())
7323 static PyObject
*_wrap_wxGrid_GetNumberRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
* _resultobj
;
7327 PyObject
* _argo0
= 0;
7328 char *_kwnames
[] = { "self", NULL
};
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberRows",_kwnames
,&_argo0
))
7334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberRows. Expected _wxGrid_p.");
7341 wxPy_BEGIN_ALLOW_THREADS
;
7342 _result
= (int )wxGrid_GetNumberRows(_arg0
);
7344 wxPy_END_ALLOW_THREADS
;
7345 if (PyErr_Occurred()) return NULL
;
7346 } _resultobj
= Py_BuildValue("i",_result
);
7350 #define wxGrid_GetNumberCols(_swigobj) (_swigobj->GetNumberCols())
7351 static PyObject
*_wrap_wxGrid_GetNumberCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7355 PyObject
* _argo0
= 0;
7356 char *_kwnames
[] = { "self", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetNumberCols",_kwnames
,&_argo0
))
7362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetNumberCols. Expected _wxGrid_p.");
7369 wxPy_BEGIN_ALLOW_THREADS
;
7370 _result
= (int )wxGrid_GetNumberCols(_arg0
);
7372 wxPy_END_ALLOW_THREADS
;
7373 if (PyErr_Occurred()) return NULL
;
7374 } _resultobj
= Py_BuildValue("i",_result
);
7378 #define wxGrid_ProcessTableMessage(_swigobj,_swigarg0) (_swigobj->ProcessTableMessage(_swigarg0))
7379 static PyObject
*_wrap_wxGrid_ProcessTableMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7383 wxGridTableMessage
* _arg1
;
7384 PyObject
* _argo0
= 0;
7385 PyObject
* _argo1
= 0;
7386 char *_kwnames
[] = { "self","arg2", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_ProcessTableMessage",_kwnames
,&_argo0
,&_argo1
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ProcessTableMessage. Expected _wxGrid_p.");
7399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableMessage_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_ProcessTableMessage. Expected _wxGridTableMessage_p.");
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 _result
= (bool )wxGrid_ProcessTableMessage(_arg0
,*_arg1
);
7409 wxPy_END_ALLOW_THREADS
;
7410 if (PyErr_Occurred()) return NULL
;
7411 } _resultobj
= Py_BuildValue("i",_result
);
7415 #define wxGrid_GetTable(_swigobj) (_swigobj->GetTable())
7416 static PyObject
*_wrap_wxGrid_GetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7418 wxGridTableBase
* _result
;
7420 PyObject
* _argo0
= 0;
7421 char *_kwnames
[] = { "self", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetTable",_kwnames
,&_argo0
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTable. Expected _wxGrid_p.");
7434 wxPy_BEGIN_ALLOW_THREADS
;
7435 _result
= (wxGridTableBase
*)wxGrid_GetTable(_arg0
);
7437 wxPy_END_ALLOW_THREADS
;
7438 if (PyErr_Occurred()) return NULL
;
7439 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7443 #define wxGrid_SetTable(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetTable(_swigarg0,_swigarg1,_swigarg2))
7444 static PyObject
*_wrap_wxGrid_SetTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7448 wxGridTableBase
* _arg1
;
7449 bool _arg2
= (bool ) FALSE
;
7450 WXGRIDSELECTIONMODES _arg3
= (WXGRIDSELECTIONMODES
) wxGrid::wxGridSelectCells
;
7451 PyObject
* _argo0
= 0;
7452 PyObject
* _argo1
= 0;
7453 int tempbool2
= (int) FALSE
;
7454 char *_kwnames
[] = { "self","table","takeOwnership","selmode", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:wxGrid_SetTable",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetTable. Expected _wxGrid_p.");
7467 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridTableBase_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetTable. Expected _wxGridTableBase_p.");
7473 _arg2
= (bool ) tempbool2
;
7475 wxPy_BEGIN_ALLOW_THREADS
;
7476 _result
= (bool )wxGrid_SetTable(_arg0
,_arg1
,_arg2
,_arg3
);
7478 wxPy_END_ALLOW_THREADS
;
7479 if (PyErr_Occurred()) return NULL
;
7480 } _resultobj
= Py_BuildValue("i",_result
);
7484 #define wxGrid_ClearGrid(_swigobj) (_swigobj->ClearGrid())
7485 static PyObject
*_wrap_wxGrid_ClearGrid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearGrid",_kwnames
,&_argo0
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearGrid. Expected _wxGrid_p.");
7502 wxPy_BEGIN_ALLOW_THREADS
;
7503 wxGrid_ClearGrid(_arg0
);
7505 wxPy_END_ALLOW_THREADS
;
7506 if (PyErr_Occurred()) return NULL
;
7507 } Py_INCREF(Py_None
);
7508 _resultobj
= Py_None
;
7512 #define wxGrid_InsertRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertRows(_swigarg0,_swigarg1,_swigarg2))
7513 static PyObject
*_wrap_wxGrid_InsertRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7517 int _arg1
= (int ) 0;
7518 int _arg2
= (int ) 1;
7519 bool _arg3
= (bool ) TRUE
;
7520 PyObject
* _argo0
= 0;
7521 int tempbool3
= (int) TRUE
;
7522 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertRows. Expected _wxGrid_p.");
7534 _arg3
= (bool ) tempbool3
;
7536 wxPy_BEGIN_ALLOW_THREADS
;
7537 _result
= (bool )wxGrid_InsertRows(_arg0
,_arg1
,_arg2
,_arg3
);
7539 wxPy_END_ALLOW_THREADS
;
7540 if (PyErr_Occurred()) return NULL
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxGrid_AppendRows(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendRows(_swigarg0,_swigarg1))
7546 static PyObject
*_wrap_wxGrid_AppendRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 int _arg1
= (int ) 1;
7551 bool _arg2
= (bool ) TRUE
;
7552 PyObject
* _argo0
= 0;
7553 int tempbool2
= (int) TRUE
;
7554 char *_kwnames
[] = { "self","numRows","updateLabels", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendRows",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendRows. Expected _wxGrid_p.");
7566 _arg2
= (bool ) tempbool2
;
7568 wxPy_BEGIN_ALLOW_THREADS
;
7569 _result
= (bool )wxGrid_AppendRows(_arg0
,_arg1
,_arg2
);
7571 wxPy_END_ALLOW_THREADS
;
7572 if (PyErr_Occurred()) return NULL
;
7573 } _resultobj
= Py_BuildValue("i",_result
);
7577 #define wxGrid_DeleteRows(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteRows(_swigarg0,_swigarg1,_swigarg2))
7578 static PyObject
*_wrap_wxGrid_DeleteRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7582 int _arg1
= (int ) 0;
7583 int _arg2
= (int ) 1;
7584 bool _arg3
= (bool ) TRUE
;
7585 PyObject
* _argo0
= 0;
7586 int tempbool3
= (int) TRUE
;
7587 char *_kwnames
[] = { "self","pos","numRows","updateLabels", NULL
};
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteRows",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteRows. Expected _wxGrid_p.");
7599 _arg3
= (bool ) tempbool3
;
7601 wxPy_BEGIN_ALLOW_THREADS
;
7602 _result
= (bool )wxGrid_DeleteRows(_arg0
,_arg1
,_arg2
,_arg3
);
7604 wxPy_END_ALLOW_THREADS
;
7605 if (PyErr_Occurred()) return NULL
;
7606 } _resultobj
= Py_BuildValue("i",_result
);
7610 #define wxGrid_InsertCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertCols(_swigarg0,_swigarg1,_swigarg2))
7611 static PyObject
*_wrap_wxGrid_InsertCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7615 int _arg1
= (int ) 0;
7616 int _arg2
= (int ) 1;
7617 bool _arg3
= (bool ) TRUE
;
7618 PyObject
* _argo0
= 0;
7619 int tempbool3
= (int) TRUE
;
7620 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_InsertCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_InsertCols. Expected _wxGrid_p.");
7632 _arg3
= (bool ) tempbool3
;
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 _result
= (bool )wxGrid_InsertCols(_arg0
,_arg1
,_arg2
,_arg3
);
7637 wxPy_END_ALLOW_THREADS
;
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxGrid_AppendCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendCols(_swigarg0,_swigarg1))
7644 static PyObject
*_wrap_wxGrid_AppendCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7648 int _arg1
= (int ) 1;
7649 bool _arg2
= (bool ) TRUE
;
7650 PyObject
* _argo0
= 0;
7651 int tempbool2
= (int) TRUE
;
7652 char *_kwnames
[] = { "self","numCols","updateLabels", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxGrid_AppendCols",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AppendCols. Expected _wxGrid_p.");
7664 _arg2
= (bool ) tempbool2
;
7666 wxPy_BEGIN_ALLOW_THREADS
;
7667 _result
= (bool )wxGrid_AppendCols(_arg0
,_arg1
,_arg2
);
7669 wxPy_END_ALLOW_THREADS
;
7670 if (PyErr_Occurred()) return NULL
;
7671 } _resultobj
= Py_BuildValue("i",_result
);
7675 #define wxGrid_DeleteCols(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DeleteCols(_swigarg0,_swigarg1,_swigarg2))
7676 static PyObject
*_wrap_wxGrid_DeleteCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
* _resultobj
;
7680 int _arg1
= (int ) 0;
7681 int _arg2
= (int ) 1;
7682 bool _arg3
= (bool ) TRUE
;
7683 PyObject
* _argo0
= 0;
7684 int tempbool3
= (int) TRUE
;
7685 char *_kwnames
[] = { "self","pos","numCols","updateLabels", NULL
};
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iii:wxGrid_DeleteCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
7691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DeleteCols. Expected _wxGrid_p.");
7697 _arg3
= (bool ) tempbool3
;
7699 wxPy_BEGIN_ALLOW_THREADS
;
7700 _result
= (bool )wxGrid_DeleteCols(_arg0
,_arg1
,_arg2
,_arg3
);
7702 wxPy_END_ALLOW_THREADS
;
7703 if (PyErr_Occurred()) return NULL
;
7704 } _resultobj
= Py_BuildValue("i",_result
);
7708 #define wxGrid_DrawCellHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawCellHighlight(_swigarg0,_swigarg1))
7709 static PyObject
*_wrap_wxGrid_DrawCellHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7713 wxGridCellAttr
* _arg2
;
7714 PyObject
* _argo0
= 0;
7715 PyObject
* _argo1
= 0;
7716 PyObject
* _argo2
= 0;
7717 char *_kwnames
[] = { "self","dc","attr", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_DrawCellHighlight",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawCellHighlight. Expected _wxGrid_p.");
7730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawCellHighlight. Expected _wxDC_p.");
7737 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_DrawCellHighlight. Expected _wxGridCellAttr_p.");
7744 wxPy_BEGIN_ALLOW_THREADS
;
7745 wxGrid_DrawCellHighlight(_arg0
,*_arg1
,_arg2
);
7747 wxPy_END_ALLOW_THREADS
;
7748 if (PyErr_Occurred()) return NULL
;
7749 } Py_INCREF(Py_None
);
7750 _resultobj
= Py_None
;
7754 #define wxGrid_DrawTextRectangle(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawTextRectangle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7755 static PyObject
*_wrap_wxGrid_DrawTextRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7761 int _arg4
= (int ) wxLEFT
;
7762 int _arg5
= (int ) wxTOP
;
7763 PyObject
* _argo0
= 0;
7764 PyObject
* _argo1
= 0;
7765 PyObject
* _obj2
= 0;
7767 PyObject
* _obj3
= 0;
7768 char *_kwnames
[] = { "self","dc","arg3","arg4","horizontalAlignment","verticalAlignment", NULL
};
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO|ii:wxGrid_DrawTextRectangle",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DrawTextRectangle. Expected _wxGrid_p.");
7781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_DrawTextRectangle. Expected _wxDC_p.");
7788 #if PYTHON_API_VERSION >= 1009
7789 char* tmpPtr
; int tmpSize
;
7790 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7794 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7796 _arg2
= new wxString(tmpPtr
, tmpSize
);
7798 if (!PyString_Check(_obj2
)) {
7799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7802 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7807 if (! wxRect_helper(_obj3
, &_arg3
))
7811 wxPy_BEGIN_ALLOW_THREADS
;
7812 wxGrid_DrawTextRectangle(_arg0
,*_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7814 wxPy_END_ALLOW_THREADS
;
7815 if (PyErr_Occurred()) return NULL
;
7816 } Py_INCREF(Py_None
);
7817 _resultobj
= Py_None
;
7825 #define wxGrid_StringToLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->StringToLines(_swigarg0,_swigarg1))
7826 static PyObject
*_wrap_wxGrid_StringToLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7830 wxArrayString
* _arg2
;
7831 PyObject
* _argo0
= 0;
7832 PyObject
* _obj1
= 0;
7833 PyObject
* _argo2
= 0;
7834 char *_kwnames
[] = { "self","value","lines", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_StringToLines",_kwnames
,&_argo0
,&_obj1
,&_argo2
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_StringToLines. Expected _wxGrid_p.");
7847 #if PYTHON_API_VERSION >= 1009
7848 char* tmpPtr
; int tmpSize
;
7849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7855 _arg1
= new wxString(tmpPtr
, tmpSize
);
7857 if (!PyString_Check(_obj1
)) {
7858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7865 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7866 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_StringToLines. Expected _wxArrayString_p.");
7872 wxPy_BEGIN_ALLOW_THREADS
;
7873 wxGrid_StringToLines(_arg0
,*_arg1
,*_arg2
);
7875 wxPy_END_ALLOW_THREADS
;
7876 if (PyErr_Occurred()) return NULL
;
7877 } Py_INCREF(Py_None
);
7878 _resultobj
= Py_None
;
7886 #define wxGrid_GetTextBoxSize(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetTextBoxSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7887 static PyObject
*_wrap_wxGrid_GetTextBoxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
* _resultobj
;
7891 wxArrayString
* _arg2
;
7896 PyObject
* _argo0
= 0;
7897 PyObject
* _argo1
= 0;
7898 PyObject
* _argo2
= 0;
7899 char *_kwnames
[] = { "self","dc","lines", NULL
};
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetTextBoxSize",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetTextBoxSize. Expected _wxGrid_p.");
7918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetTextBoxSize. Expected _wxDC_p.");
7925 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7926 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrayString_p")) {
7927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetTextBoxSize. Expected _wxArrayString_p.");
7932 wxPy_BEGIN_ALLOW_THREADS
;
7933 wxGrid_GetTextBoxSize(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
7935 wxPy_END_ALLOW_THREADS
;
7936 if (PyErr_Occurred()) return NULL
;
7937 } Py_INCREF(Py_None
);
7938 _resultobj
= Py_None
;
7941 o
= PyInt_FromLong((long) (*_arg3
));
7942 _resultobj
= t_output_helper(_resultobj
, o
);
7946 o
= PyInt_FromLong((long) (*_arg4
));
7947 _resultobj
= t_output_helper(_resultobj
, o
);
7952 #define wxGrid_BeginBatch(_swigobj) (_swigobj->BeginBatch())
7953 static PyObject
*_wrap_wxGrid_BeginBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7956 PyObject
* _argo0
= 0;
7957 char *_kwnames
[] = { "self", NULL
};
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_BeginBatch",_kwnames
,&_argo0
))
7963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BeginBatch. Expected _wxGrid_p.");
7970 wxPy_BEGIN_ALLOW_THREADS
;
7971 wxGrid_BeginBatch(_arg0
);
7973 wxPy_END_ALLOW_THREADS
;
7974 if (PyErr_Occurred()) return NULL
;
7975 } Py_INCREF(Py_None
);
7976 _resultobj
= Py_None
;
7980 #define wxGrid_EndBatch(_swigobj) (_swigobj->EndBatch())
7981 static PyObject
*_wrap_wxGrid_EndBatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
* _resultobj
;
7984 PyObject
* _argo0
= 0;
7985 char *_kwnames
[] = { "self", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_EndBatch",_kwnames
,&_argo0
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EndBatch. Expected _wxGrid_p.");
7998 wxPy_BEGIN_ALLOW_THREADS
;
7999 wxGrid_EndBatch(_arg0
);
8001 wxPy_END_ALLOW_THREADS
;
8002 if (PyErr_Occurred()) return NULL
;
8003 } Py_INCREF(Py_None
);
8004 _resultobj
= Py_None
;
8008 #define wxGrid_GetBatchCount(_swigobj) (_swigobj->GetBatchCount())
8009 static PyObject
*_wrap_wxGrid_GetBatchCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
* _resultobj
;
8013 PyObject
* _argo0
= 0;
8014 char *_kwnames
[] = { "self", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetBatchCount",_kwnames
,&_argo0
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetBatchCount. Expected _wxGrid_p.");
8027 wxPy_BEGIN_ALLOW_THREADS
;
8028 _result
= (int )wxGrid_GetBatchCount(_arg0
);
8030 wxPy_END_ALLOW_THREADS
;
8031 if (PyErr_Occurred()) return NULL
;
8032 } _resultobj
= Py_BuildValue("i",_result
);
8036 #define wxGrid_ForceRefresh(_swigobj) (_swigobj->ForceRefresh())
8037 static PyObject
*_wrap_wxGrid_ForceRefresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
* _resultobj
;
8040 PyObject
* _argo0
= 0;
8041 char *_kwnames
[] = { "self", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ForceRefresh",_kwnames
,&_argo0
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ForceRefresh. Expected _wxGrid_p.");
8054 wxPy_BEGIN_ALLOW_THREADS
;
8055 wxGrid_ForceRefresh(_arg0
);
8057 wxPy_END_ALLOW_THREADS
;
8058 if (PyErr_Occurred()) return NULL
;
8059 } Py_INCREF(Py_None
);
8060 _resultobj
= Py_None
;
8064 #define wxGrid_IsEditable(_swigobj) (_swigobj->IsEditable())
8065 static PyObject
*_wrap_wxGrid_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
* _resultobj
;
8069 PyObject
* _argo0
= 0;
8070 char *_kwnames
[] = { "self", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsEditable",_kwnames
,&_argo0
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsEditable. Expected _wxGrid_p.");
8083 wxPy_BEGIN_ALLOW_THREADS
;
8084 _result
= (bool )wxGrid_IsEditable(_arg0
);
8086 wxPy_END_ALLOW_THREADS
;
8087 if (PyErr_Occurred()) return NULL
;
8088 } _resultobj
= Py_BuildValue("i",_result
);
8092 #define wxGrid_EnableEditing(_swigobj,_swigarg0) (_swigobj->EnableEditing(_swigarg0))
8093 static PyObject
*_wrap_wxGrid_EnableEditing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
* _resultobj
;
8097 PyObject
* _argo0
= 0;
8099 char *_kwnames
[] = { "self","edit", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_EnableEditing",_kwnames
,&_argo0
,&tempbool1
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableEditing. Expected _wxGrid_p.");
8111 _arg1
= (bool ) tempbool1
;
8113 wxPy_BEGIN_ALLOW_THREADS
;
8114 wxGrid_EnableEditing(_arg0
,_arg1
);
8116 wxPy_END_ALLOW_THREADS
;
8117 if (PyErr_Occurred()) return NULL
;
8118 } Py_INCREF(Py_None
);
8119 _resultobj
= Py_None
;
8123 #define wxGrid_EnableCellEditControl(_swigobj,_swigarg0) (_swigobj->EnableCellEditControl(_swigarg0))
8124 static PyObject
*_wrap_wxGrid_EnableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8127 bool _arg1
= (bool ) TRUE
;
8128 PyObject
* _argo0
= 0;
8129 int tempbool1
= (int) TRUE
;
8130 char *_kwnames
[] = { "self","enable", NULL
};
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableCellEditControl",_kwnames
,&_argo0
,&tempbool1
))
8136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableCellEditControl. Expected _wxGrid_p.");
8142 _arg1
= (bool ) tempbool1
;
8144 wxPy_BEGIN_ALLOW_THREADS
;
8145 wxGrid_EnableCellEditControl(_arg0
,_arg1
);
8147 wxPy_END_ALLOW_THREADS
;
8148 if (PyErr_Occurred()) return NULL
;
8149 } Py_INCREF(Py_None
);
8150 _resultobj
= Py_None
;
8154 #define wxGrid_DisableCellEditControl(_swigobj) (_swigobj->DisableCellEditControl())
8155 static PyObject
*_wrap_wxGrid_DisableCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
* _resultobj
;
8158 PyObject
* _argo0
= 0;
8159 char *_kwnames
[] = { "self", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableCellEditControl",_kwnames
,&_argo0
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableCellEditControl. Expected _wxGrid_p.");
8172 wxPy_BEGIN_ALLOW_THREADS
;
8173 wxGrid_DisableCellEditControl(_arg0
);
8175 wxPy_END_ALLOW_THREADS
;
8176 if (PyErr_Occurred()) return NULL
;
8177 } Py_INCREF(Py_None
);
8178 _resultobj
= Py_None
;
8182 #define wxGrid_CanEnableCellControl(_swigobj) (_swigobj->CanEnableCellControl())
8183 static PyObject
*_wrap_wxGrid_CanEnableCellControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
* _resultobj
;
8187 PyObject
* _argo0
= 0;
8188 char *_kwnames
[] = { "self", NULL
};
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanEnableCellControl",_kwnames
,&_argo0
))
8194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanEnableCellControl. Expected _wxGrid_p.");
8201 wxPy_BEGIN_ALLOW_THREADS
;
8202 _result
= (bool )wxGrid_CanEnableCellControl(_arg0
);
8204 wxPy_END_ALLOW_THREADS
;
8205 if (PyErr_Occurred()) return NULL
;
8206 } _resultobj
= Py_BuildValue("i",_result
);
8210 #define wxGrid_IsCellEditControlEnabled(_swigobj) (_swigobj->IsCellEditControlEnabled())
8211 static PyObject
*_wrap_wxGrid_IsCellEditControlEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
* _resultobj
;
8215 PyObject
* _argo0
= 0;
8216 char *_kwnames
[] = { "self", NULL
};
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlEnabled",_kwnames
,&_argo0
))
8222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlEnabled. Expected _wxGrid_p.");
8229 wxPy_BEGIN_ALLOW_THREADS
;
8230 _result
= (bool )wxGrid_IsCellEditControlEnabled(_arg0
);
8232 wxPy_END_ALLOW_THREADS
;
8233 if (PyErr_Occurred()) return NULL
;
8234 } _resultobj
= Py_BuildValue("i",_result
);
8238 #define wxGrid_IsCellEditControlShown(_swigobj) (_swigobj->IsCellEditControlShown())
8239 static PyObject
*_wrap_wxGrid_IsCellEditControlShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
* _resultobj
;
8243 PyObject
* _argo0
= 0;
8244 char *_kwnames
[] = { "self", NULL
};
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCellEditControlShown",_kwnames
,&_argo0
))
8250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCellEditControlShown. Expected _wxGrid_p.");
8257 wxPy_BEGIN_ALLOW_THREADS
;
8258 _result
= (bool )wxGrid_IsCellEditControlShown(_arg0
);
8260 wxPy_END_ALLOW_THREADS
;
8261 if (PyErr_Occurred()) return NULL
;
8262 } _resultobj
= Py_BuildValue("i",_result
);
8266 #define wxGrid_IsCurrentCellReadOnly(_swigobj) (_swigobj->IsCurrentCellReadOnly())
8267 static PyObject
*_wrap_wxGrid_IsCurrentCellReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsCurrentCellReadOnly",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsCurrentCellReadOnly. Expected _wxGrid_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 _result
= (bool )wxGrid_IsCurrentCellReadOnly(_arg0
);
8288 wxPy_END_ALLOW_THREADS
;
8289 if (PyErr_Occurred()) return NULL
;
8290 } _resultobj
= Py_BuildValue("i",_result
);
8294 #define wxGrid_ShowCellEditControl(_swigobj) (_swigobj->ShowCellEditControl())
8295 static PyObject
*_wrap_wxGrid_ShowCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8298 PyObject
* _argo0
= 0;
8299 char *_kwnames
[] = { "self", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ShowCellEditControl",_kwnames
,&_argo0
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ShowCellEditControl. Expected _wxGrid_p.");
8312 wxPy_BEGIN_ALLOW_THREADS
;
8313 wxGrid_ShowCellEditControl(_arg0
);
8315 wxPy_END_ALLOW_THREADS
;
8316 if (PyErr_Occurred()) return NULL
;
8317 } Py_INCREF(Py_None
);
8318 _resultobj
= Py_None
;
8322 #define wxGrid_HideCellEditControl(_swigobj) (_swigobj->HideCellEditControl())
8323 static PyObject
*_wrap_wxGrid_HideCellEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
* _resultobj
;
8326 PyObject
* _argo0
= 0;
8327 char *_kwnames
[] = { "self", NULL
};
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_HideCellEditControl",_kwnames
,&_argo0
))
8333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_HideCellEditControl. Expected _wxGrid_p.");
8340 wxPy_BEGIN_ALLOW_THREADS
;
8341 wxGrid_HideCellEditControl(_arg0
);
8343 wxPy_END_ALLOW_THREADS
;
8344 if (PyErr_Occurred()) return NULL
;
8345 } Py_INCREF(Py_None
);
8346 _resultobj
= Py_None
;
8350 #define wxGrid_SaveEditControlValue(_swigobj) (_swigobj->SaveEditControlValue())
8351 static PyObject
*_wrap_wxGrid_SaveEditControlValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
* _resultobj
;
8354 PyObject
* _argo0
= 0;
8355 char *_kwnames
[] = { "self", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SaveEditControlValue",_kwnames
,&_argo0
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SaveEditControlValue. Expected _wxGrid_p.");
8368 wxPy_BEGIN_ALLOW_THREADS
;
8369 wxGrid_SaveEditControlValue(_arg0
);
8371 wxPy_END_ALLOW_THREADS
;
8372 if (PyErr_Occurred()) return NULL
;
8373 } Py_INCREF(Py_None
);
8374 _resultobj
= Py_None
;
8378 static wxGridCellCoords
* wxGrid_XYToCell(wxGrid
*self
,int x
,int y
) {
8379 wxGridCellCoords rv
;
8380 self
->XYToCell(x
, y
, rv
);
8381 return new wxGridCellCoords(rv
);
8383 static PyObject
*_wrap_wxGrid_XYToCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
* _resultobj
;
8385 wxGridCellCoords
* _result
;
8389 PyObject
* _argo0
= 0;
8390 char *_kwnames
[] = { "self","x","y", NULL
};
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_XYToCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XYToCell. Expected _wxGrid_p.");
8404 wxPy_BEGIN_ALLOW_THREADS
;
8405 _result
= (wxGridCellCoords
*)wxGrid_XYToCell(_arg0
,_arg1
,_arg2
);
8407 wxPy_END_ALLOW_THREADS
;
8408 if (PyErr_Occurred()) return NULL
;
8410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellCoords_p");
8411 _resultobj
= Py_BuildValue("s",_ptemp
);
8414 _resultobj
= Py_None
;
8419 #define wxGrid_YToRow(_swigobj,_swigarg0) (_swigobj->YToRow(_swigarg0))
8420 static PyObject
*_wrap_wxGrid_YToRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8421 PyObject
* _resultobj
;
8425 PyObject
* _argo0
= 0;
8426 char *_kwnames
[] = { "self","y", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToRow",_kwnames
,&_argo0
,&_arg1
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToRow. Expected _wxGrid_p.");
8439 wxPy_BEGIN_ALLOW_THREADS
;
8440 _result
= (int )wxGrid_YToRow(_arg0
,_arg1
);
8442 wxPy_END_ALLOW_THREADS
;
8443 if (PyErr_Occurred()) return NULL
;
8444 } _resultobj
= Py_BuildValue("i",_result
);
8448 #define wxGrid_XToCol(_swigobj,_swigarg0) (_swigobj->XToCol(_swigarg0))
8449 static PyObject
*_wrap_wxGrid_XToCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8454 PyObject
* _argo0
= 0;
8455 char *_kwnames
[] = { "self","x", NULL
};
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToCol",_kwnames
,&_argo0
,&_arg1
))
8461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToCol. Expected _wxGrid_p.");
8468 wxPy_BEGIN_ALLOW_THREADS
;
8469 _result
= (int )wxGrid_XToCol(_arg0
,_arg1
);
8471 wxPy_END_ALLOW_THREADS
;
8472 if (PyErr_Occurred()) return NULL
;
8473 } _resultobj
= Py_BuildValue("i",_result
);
8477 #define wxGrid_YToEdgeOfRow(_swigobj,_swigarg0) (_swigobj->YToEdgeOfRow(_swigarg0))
8478 static PyObject
*_wrap_wxGrid_YToEdgeOfRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
* _resultobj
;
8483 PyObject
* _argo0
= 0;
8484 char *_kwnames
[] = { "self","y", NULL
};
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_YToEdgeOfRow",_kwnames
,&_argo0
,&_arg1
))
8490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_YToEdgeOfRow. Expected _wxGrid_p.");
8497 wxPy_BEGIN_ALLOW_THREADS
;
8498 _result
= (int )wxGrid_YToEdgeOfRow(_arg0
,_arg1
);
8500 wxPy_END_ALLOW_THREADS
;
8501 if (PyErr_Occurred()) return NULL
;
8502 } _resultobj
= Py_BuildValue("i",_result
);
8506 #define wxGrid_XToEdgeOfCol(_swigobj,_swigarg0) (_swigobj->XToEdgeOfCol(_swigarg0))
8507 static PyObject
*_wrap_wxGrid_XToEdgeOfCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8512 PyObject
* _argo0
= 0;
8513 char *_kwnames
[] = { "self","x", NULL
};
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_XToEdgeOfCol",_kwnames
,&_argo0
,&_arg1
))
8519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_XToEdgeOfCol. Expected _wxGrid_p.");
8526 wxPy_BEGIN_ALLOW_THREADS
;
8527 _result
= (int )wxGrid_XToEdgeOfCol(_arg0
,_arg1
);
8529 wxPy_END_ALLOW_THREADS
;
8530 if (PyErr_Occurred()) return NULL
;
8531 } _resultobj
= Py_BuildValue("i",_result
);
8535 #define wxGrid_CellToRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->CellToRect(_swigarg0,_swigarg1))
8536 static PyObject
*_wrap_wxGrid_CellToRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
* _resultobj
;
8542 PyObject
* _argo0
= 0;
8543 char *_kwnames
[] = { "self","row","col", NULL
};
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_CellToRect",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CellToRect. Expected _wxGrid_p.");
8557 wxPy_BEGIN_ALLOW_THREADS
;
8558 _result
= new wxRect (wxGrid_CellToRect(_arg0
,_arg1
,_arg2
));
8560 wxPy_END_ALLOW_THREADS
;
8561 if (PyErr_Occurred()) return NULL
;
8562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
8563 _resultobj
= Py_BuildValue("s",_ptemp
);
8567 #define wxGrid_GetGridCursorRow(_swigobj) (_swigobj->GetGridCursorRow())
8568 static PyObject
*_wrap_wxGrid_GetGridCursorRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8572 PyObject
* _argo0
= 0;
8573 char *_kwnames
[] = { "self", NULL
};
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorRow",_kwnames
,&_argo0
))
8579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorRow. Expected _wxGrid_p.");
8586 wxPy_BEGIN_ALLOW_THREADS
;
8587 _result
= (int )wxGrid_GetGridCursorRow(_arg0
);
8589 wxPy_END_ALLOW_THREADS
;
8590 if (PyErr_Occurred()) return NULL
;
8591 } _resultobj
= Py_BuildValue("i",_result
);
8595 #define wxGrid_GetGridCursorCol(_swigobj) (_swigobj->GetGridCursorCol())
8596 static PyObject
*_wrap_wxGrid_GetGridCursorCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
* _resultobj
;
8600 PyObject
* _argo0
= 0;
8601 char *_kwnames
[] = { "self", NULL
};
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCursorCol",_kwnames
,&_argo0
))
8607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCursorCol. Expected _wxGrid_p.");
8614 wxPy_BEGIN_ALLOW_THREADS
;
8615 _result
= (int )wxGrid_GetGridCursorCol(_arg0
);
8617 wxPy_END_ALLOW_THREADS
;
8618 if (PyErr_Occurred()) return NULL
;
8619 } _resultobj
= Py_BuildValue("i",_result
);
8623 #define wxGrid_IsVisible(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->IsVisible(_swigarg0,_swigarg1,_swigarg2))
8624 static PyObject
*_wrap_wxGrid_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
* _resultobj
;
8630 bool _arg3
= (bool ) TRUE
;
8631 PyObject
* _argo0
= 0;
8632 int tempbool3
= (int) TRUE
;
8633 char *_kwnames
[] = { "self","row","col","wholeCellVisible", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_IsVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsVisible. Expected _wxGrid_p.");
8645 _arg3
= (bool ) tempbool3
;
8647 wxPy_BEGIN_ALLOW_THREADS
;
8648 _result
= (bool )wxGrid_IsVisible(_arg0
,_arg1
,_arg2
,_arg3
);
8650 wxPy_END_ALLOW_THREADS
;
8651 if (PyErr_Occurred()) return NULL
;
8652 } _resultobj
= Py_BuildValue("i",_result
);
8656 #define wxGrid_MakeCellVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->MakeCellVisible(_swigarg0,_swigarg1))
8657 static PyObject
*_wrap_wxGrid_MakeCellVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8662 PyObject
* _argo0
= 0;
8663 char *_kwnames
[] = { "self","row","col", NULL
};
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_MakeCellVisible",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MakeCellVisible. Expected _wxGrid_p.");
8676 wxPy_BEGIN_ALLOW_THREADS
;
8677 wxGrid_MakeCellVisible(_arg0
,_arg1
,_arg2
);
8679 wxPy_END_ALLOW_THREADS
;
8680 if (PyErr_Occurred()) return NULL
;
8681 } Py_INCREF(Py_None
);
8682 _resultobj
= Py_None
;
8686 #define wxGrid_SetGridCursor(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetGridCursor(_swigarg0,_swigarg1))
8687 static PyObject
*_wrap_wxGrid_SetGridCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
* _resultobj
;
8692 PyObject
* _argo0
= 0;
8693 char *_kwnames
[] = { "self","row","col", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetGridCursor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridCursor. Expected _wxGrid_p.");
8706 wxPy_BEGIN_ALLOW_THREADS
;
8707 wxGrid_SetGridCursor(_arg0
,_arg1
,_arg2
);
8709 wxPy_END_ALLOW_THREADS
;
8710 if (PyErr_Occurred()) return NULL
;
8711 } Py_INCREF(Py_None
);
8712 _resultobj
= Py_None
;
8716 #define wxGrid_MoveCursorUp(_swigobj,_swigarg0) (_swigobj->MoveCursorUp(_swigarg0))
8717 static PyObject
*_wrap_wxGrid_MoveCursorUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
* _resultobj
;
8722 PyObject
* _argo0
= 0;
8724 char *_kwnames
[] = { "self","expandSelection", NULL
};
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUp",_kwnames
,&_argo0
,&tempbool1
))
8730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUp. Expected _wxGrid_p.");
8736 _arg1
= (bool ) tempbool1
;
8738 wxPy_BEGIN_ALLOW_THREADS
;
8739 _result
= (bool )wxGrid_MoveCursorUp(_arg0
,_arg1
);
8741 wxPy_END_ALLOW_THREADS
;
8742 if (PyErr_Occurred()) return NULL
;
8743 } _resultobj
= Py_BuildValue("i",_result
);
8747 #define wxGrid_MoveCursorDown(_swigobj,_swigarg0) (_swigobj->MoveCursorDown(_swigarg0))
8748 static PyObject
*_wrap_wxGrid_MoveCursorDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
* _resultobj
;
8753 PyObject
* _argo0
= 0;
8755 char *_kwnames
[] = { "self","expandSelection", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDown",_kwnames
,&_argo0
,&tempbool1
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorDown. Expected _wxGrid_p.");
8767 _arg1
= (bool ) tempbool1
;
8769 wxPy_BEGIN_ALLOW_THREADS
;
8770 _result
= (bool )wxGrid_MoveCursorDown(_arg0
,_arg1
);
8772 wxPy_END_ALLOW_THREADS
;
8773 if (PyErr_Occurred()) return NULL
;
8774 } _resultobj
= Py_BuildValue("i",_result
);
8778 #define wxGrid_MoveCursorLeft(_swigobj,_swigarg0) (_swigobj->MoveCursorLeft(_swigarg0))
8779 static PyObject
*_wrap_wxGrid_MoveCursorLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8784 PyObject
* _argo0
= 0;
8786 char *_kwnames
[] = { "self","expandSelection", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeft",_kwnames
,&_argo0
,&tempbool1
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeft. Expected _wxGrid_p.");
8798 _arg1
= (bool ) tempbool1
;
8800 wxPy_BEGIN_ALLOW_THREADS
;
8801 _result
= (bool )wxGrid_MoveCursorLeft(_arg0
,_arg1
);
8803 wxPy_END_ALLOW_THREADS
;
8804 if (PyErr_Occurred()) return NULL
;
8805 } _resultobj
= Py_BuildValue("i",_result
);
8809 #define wxGrid_MoveCursorRight(_swigobj,_swigarg0) (_swigobj->MoveCursorRight(_swigarg0))
8810 static PyObject
*_wrap_wxGrid_MoveCursorRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8815 PyObject
* _argo0
= 0;
8817 char *_kwnames
[] = { "self","expandSelection", NULL
};
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRight",_kwnames
,&_argo0
,&tempbool1
))
8823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRight. Expected _wxGrid_p.");
8829 _arg1
= (bool ) tempbool1
;
8831 wxPy_BEGIN_ALLOW_THREADS
;
8832 _result
= (bool )wxGrid_MoveCursorRight(_arg0
,_arg1
);
8834 wxPy_END_ALLOW_THREADS
;
8835 if (PyErr_Occurred()) return NULL
;
8836 } _resultobj
= Py_BuildValue("i",_result
);
8840 #define wxGrid_MovePageDown(_swigobj) (_swigobj->MovePageDown())
8841 static PyObject
*_wrap_wxGrid_MovePageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
* _resultobj
;
8845 PyObject
* _argo0
= 0;
8846 char *_kwnames
[] = { "self", NULL
};
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageDown",_kwnames
,&_argo0
))
8852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageDown. Expected _wxGrid_p.");
8859 wxPy_BEGIN_ALLOW_THREADS
;
8860 _result
= (bool )wxGrid_MovePageDown(_arg0
);
8862 wxPy_END_ALLOW_THREADS
;
8863 if (PyErr_Occurred()) return NULL
;
8864 } _resultobj
= Py_BuildValue("i",_result
);
8868 #define wxGrid_MovePageUp(_swigobj) (_swigobj->MovePageUp())
8869 static PyObject
*_wrap_wxGrid_MovePageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
* _resultobj
;
8873 PyObject
* _argo0
= 0;
8874 char *_kwnames
[] = { "self", NULL
};
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_MovePageUp",_kwnames
,&_argo0
))
8880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MovePageUp. Expected _wxGrid_p.");
8887 wxPy_BEGIN_ALLOW_THREADS
;
8888 _result
= (bool )wxGrid_MovePageUp(_arg0
);
8890 wxPy_END_ALLOW_THREADS
;
8891 if (PyErr_Occurred()) return NULL
;
8892 } _resultobj
= Py_BuildValue("i",_result
);
8896 #define wxGrid_MoveCursorUpBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorUpBlock(_swigarg0))
8897 static PyObject
*_wrap_wxGrid_MoveCursorUpBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
* _resultobj
;
8902 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self","expandSelection", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorUpBlock",_kwnames
,&_argo0
,&tempbool1
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorUpBlock. Expected _wxGrid_p.");
8916 _arg1
= (bool ) tempbool1
;
8918 wxPy_BEGIN_ALLOW_THREADS
;
8919 _result
= (bool )wxGrid_MoveCursorUpBlock(_arg0
,_arg1
);
8921 wxPy_END_ALLOW_THREADS
;
8922 if (PyErr_Occurred()) return NULL
;
8923 } _resultobj
= Py_BuildValue("i",_result
);
8927 #define wxGrid_MoveCursorDownBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorDownBlock(_swigarg0))
8928 static PyObject
*_wrap_wxGrid_MoveCursorDownBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
* _resultobj
;
8933 PyObject
* _argo0
= 0;
8935 char *_kwnames
[] = { "self","expandSelection", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorDownBlock",_kwnames
,&_argo0
,&tempbool1
))
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_MoveCursorDownBlock. Expected _wxGrid_p.");
8947 _arg1
= (bool ) tempbool1
;
8949 wxPy_BEGIN_ALLOW_THREADS
;
8950 _result
= (bool )wxGrid_MoveCursorDownBlock(_arg0
,_arg1
);
8952 wxPy_END_ALLOW_THREADS
;
8953 if (PyErr_Occurred()) return NULL
;
8954 } _resultobj
= Py_BuildValue("i",_result
);
8958 #define wxGrid_MoveCursorLeftBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorLeftBlock(_swigarg0))
8959 static PyObject
*_wrap_wxGrid_MoveCursorLeftBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
* _resultobj
;
8964 PyObject
* _argo0
= 0;
8966 char *_kwnames
[] = { "self","expandSelection", NULL
};
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorLeftBlock",_kwnames
,&_argo0
,&tempbool1
))
8972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
8974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorLeftBlock. Expected _wxGrid_p.");
8978 _arg1
= (bool ) tempbool1
;
8980 wxPy_BEGIN_ALLOW_THREADS
;
8981 _result
= (bool )wxGrid_MoveCursorLeftBlock(_arg0
,_arg1
);
8983 wxPy_END_ALLOW_THREADS
;
8984 if (PyErr_Occurred()) return NULL
;
8985 } _resultobj
= Py_BuildValue("i",_result
);
8989 #define wxGrid_MoveCursorRightBlock(_swigobj,_swigarg0) (_swigobj->MoveCursorRightBlock(_swigarg0))
8990 static PyObject
*_wrap_wxGrid_MoveCursorRightBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
* _resultobj
;
8995 PyObject
* _argo0
= 0;
8997 char *_kwnames
[] = { "self","expandSelection", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_MoveCursorRightBlock",_kwnames
,&_argo0
,&tempbool1
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_MoveCursorRightBlock. Expected _wxGrid_p.");
9009 _arg1
= (bool ) tempbool1
;
9011 wxPy_BEGIN_ALLOW_THREADS
;
9012 _result
= (bool )wxGrid_MoveCursorRightBlock(_arg0
,_arg1
);
9014 wxPy_END_ALLOW_THREADS
;
9015 if (PyErr_Occurred()) return NULL
;
9016 } _resultobj
= Py_BuildValue("i",_result
);
9020 #define wxGrid_GetDefaultRowLabelSize(_swigobj) (_swigobj->GetDefaultRowLabelSize())
9021 static PyObject
*_wrap_wxGrid_GetDefaultRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
* _resultobj
;
9025 PyObject
* _argo0
= 0;
9026 char *_kwnames
[] = { "self", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowLabelSize",_kwnames
,&_argo0
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowLabelSize. Expected _wxGrid_p.");
9039 wxPy_BEGIN_ALLOW_THREADS
;
9040 _result
= (int )wxGrid_GetDefaultRowLabelSize(_arg0
);
9042 wxPy_END_ALLOW_THREADS
;
9043 if (PyErr_Occurred()) return NULL
;
9044 } _resultobj
= Py_BuildValue("i",_result
);
9048 #define wxGrid_GetRowLabelSize(_swigobj) (_swigobj->GetRowLabelSize())
9049 static PyObject
*_wrap_wxGrid_GetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
* _resultobj
;
9053 PyObject
* _argo0
= 0;
9054 char *_kwnames
[] = { "self", NULL
};
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelSize",_kwnames
,&_argo0
))
9060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelSize. Expected _wxGrid_p.");
9067 wxPy_BEGIN_ALLOW_THREADS
;
9068 _result
= (int )wxGrid_GetRowLabelSize(_arg0
);
9070 wxPy_END_ALLOW_THREADS
;
9071 if (PyErr_Occurred()) return NULL
;
9072 } _resultobj
= Py_BuildValue("i",_result
);
9076 #define wxGrid_GetDefaultColLabelSize(_swigobj) (_swigobj->GetDefaultColLabelSize())
9077 static PyObject
*_wrap_wxGrid_GetDefaultColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
* _resultobj
;
9081 PyObject
* _argo0
= 0;
9082 char *_kwnames
[] = { "self", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColLabelSize",_kwnames
,&_argo0
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColLabelSize. Expected _wxGrid_p.");
9095 wxPy_BEGIN_ALLOW_THREADS
;
9096 _result
= (int )wxGrid_GetDefaultColLabelSize(_arg0
);
9098 wxPy_END_ALLOW_THREADS
;
9099 if (PyErr_Occurred()) return NULL
;
9100 } _resultobj
= Py_BuildValue("i",_result
);
9104 #define wxGrid_GetColLabelSize(_swigobj) (_swigobj->GetColLabelSize())
9105 static PyObject
*_wrap_wxGrid_GetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
* _resultobj
;
9109 PyObject
* _argo0
= 0;
9110 char *_kwnames
[] = { "self", NULL
};
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelSize",_kwnames
,&_argo0
))
9116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelSize. Expected _wxGrid_p.");
9123 wxPy_BEGIN_ALLOW_THREADS
;
9124 _result
= (int )wxGrid_GetColLabelSize(_arg0
);
9126 wxPy_END_ALLOW_THREADS
;
9127 if (PyErr_Occurred()) return NULL
;
9128 } _resultobj
= Py_BuildValue("i",_result
);
9132 #define wxGrid_GetLabelBackgroundColour(_swigobj) (_swigobj->GetLabelBackgroundColour())
9133 static PyObject
*_wrap_wxGrid_GetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
* _resultobj
;
9137 PyObject
* _argo0
= 0;
9138 char *_kwnames
[] = { "self", NULL
};
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelBackgroundColour",_kwnames
,&_argo0
))
9145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelBackgroundColour. Expected _wxGrid_p.");
9152 wxPy_BEGIN_ALLOW_THREADS
;
9153 _result
= new wxColour (wxGrid_GetLabelBackgroundColour(_arg0
));
9155 wxPy_END_ALLOW_THREADS
;
9156 if (PyErr_Occurred()) return NULL
;
9157 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9158 _resultobj
= Py_BuildValue("s",_ptemp
);
9162 #define wxGrid_GetLabelTextColour(_swigobj) (_swigobj->GetLabelTextColour())
9163 static PyObject
*_wrap_wxGrid_GetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9167 PyObject
* _argo0
= 0;
9168 char *_kwnames
[] = { "self", NULL
};
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelTextColour",_kwnames
,&_argo0
))
9175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelTextColour. Expected _wxGrid_p.");
9182 wxPy_BEGIN_ALLOW_THREADS
;
9183 _result
= new wxColour (wxGrid_GetLabelTextColour(_arg0
));
9185 wxPy_END_ALLOW_THREADS
;
9186 if (PyErr_Occurred()) return NULL
;
9187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9188 _resultobj
= Py_BuildValue("s",_ptemp
);
9192 #define wxGrid_GetLabelFont(_swigobj) (_swigobj->GetLabelFont())
9193 static PyObject
*_wrap_wxGrid_GetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
* _resultobj
;
9197 PyObject
* _argo0
= 0;
9198 char *_kwnames
[] = { "self", NULL
};
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetLabelFont",_kwnames
,&_argo0
))
9205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetLabelFont. Expected _wxGrid_p.");
9212 wxPy_BEGIN_ALLOW_THREADS
;
9213 _result
= new wxFont (wxGrid_GetLabelFont(_arg0
));
9215 wxPy_END_ALLOW_THREADS
;
9216 if (PyErr_Occurred()) return NULL
;
9217 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
9218 _resultobj
= Py_BuildValue("s",_ptemp
);
9222 #define wxGrid_GetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRowLabelAlignment(_swigarg0,_swigarg1))
9223 static PyObject
*_wrap_wxGrid_GetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
* _resultobj
;
9230 PyObject
* _argo0
= 0;
9231 char *_kwnames
[] = { "self", NULL
};
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetRowLabelAlignment",_kwnames
,&_argo0
))
9243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelAlignment. Expected _wxGrid_p.");
9250 wxPy_BEGIN_ALLOW_THREADS
;
9251 wxGrid_GetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9253 wxPy_END_ALLOW_THREADS
;
9254 if (PyErr_Occurred()) return NULL
;
9255 } Py_INCREF(Py_None
);
9256 _resultobj
= Py_None
;
9259 o
= PyInt_FromLong((long) (*_arg1
));
9260 _resultobj
= t_output_helper(_resultobj
, o
);
9264 o
= PyInt_FromLong((long) (*_arg2
));
9265 _resultobj
= t_output_helper(_resultobj
, o
);
9270 #define wxGrid_GetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColLabelAlignment(_swigarg0,_swigarg1))
9271 static PyObject
*_wrap_wxGrid_GetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
* _resultobj
;
9278 PyObject
* _argo0
= 0;
9279 char *_kwnames
[] = { "self", NULL
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetColLabelAlignment",_kwnames
,&_argo0
))
9291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelAlignment. Expected _wxGrid_p.");
9298 wxPy_BEGIN_ALLOW_THREADS
;
9299 wxGrid_GetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9301 wxPy_END_ALLOW_THREADS
;
9302 if (PyErr_Occurred()) return NULL
;
9303 } Py_INCREF(Py_None
);
9304 _resultobj
= Py_None
;
9307 o
= PyInt_FromLong((long) (*_arg1
));
9308 _resultobj
= t_output_helper(_resultobj
, o
);
9312 o
= PyInt_FromLong((long) (*_arg2
));
9313 _resultobj
= t_output_helper(_resultobj
, o
);
9318 #define wxGrid_GetRowLabelValue(_swigobj,_swigarg0) (_swigobj->GetRowLabelValue(_swigarg0))
9319 static PyObject
*_wrap_wxGrid_GetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
* _resultobj
;
9324 PyObject
* _argo0
= 0;
9325 char *_kwnames
[] = { "self","row", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowLabelValue",_kwnames
,&_argo0
,&_arg1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowLabelValue. Expected _wxGrid_p.");
9338 wxPy_BEGIN_ALLOW_THREADS
;
9339 _result
= new wxString (wxGrid_GetRowLabelValue(_arg0
,_arg1
));
9341 wxPy_END_ALLOW_THREADS
;
9342 if (PyErr_Occurred()) return NULL
;
9344 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9352 #define wxGrid_GetColLabelValue(_swigobj,_swigarg0) (_swigobj->GetColLabelValue(_swigarg0))
9353 static PyObject
*_wrap_wxGrid_GetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
* _resultobj
;
9358 PyObject
* _argo0
= 0;
9359 char *_kwnames
[] = { "self","col", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColLabelValue",_kwnames
,&_argo0
,&_arg1
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetColLabelValue. Expected _wxGrid_p.");
9372 wxPy_BEGIN_ALLOW_THREADS
;
9373 _result
= new wxString (wxGrid_GetColLabelValue(_arg0
,_arg1
));
9375 wxPy_END_ALLOW_THREADS
;
9376 if (PyErr_Occurred()) return NULL
;
9378 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9386 #define wxGrid_GetGridLineColour(_swigobj) (_swigobj->GetGridLineColour())
9387 static PyObject
*_wrap_wxGrid_GetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9391 PyObject
* _argo0
= 0;
9392 char *_kwnames
[] = { "self", NULL
};
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridLineColour",_kwnames
,&_argo0
))
9399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridLineColour. Expected _wxGrid_p.");
9406 wxPy_BEGIN_ALLOW_THREADS
;
9407 _result
= new wxColour (wxGrid_GetGridLineColour(_arg0
));
9409 wxPy_END_ALLOW_THREADS
;
9410 if (PyErr_Occurred()) return NULL
;
9411 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9412 _resultobj
= Py_BuildValue("s",_ptemp
);
9416 #define wxGrid_GetCellHighlightColour(_swigobj) (_swigobj->GetCellHighlightColour())
9417 static PyObject
*_wrap_wxGrid_GetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9421 PyObject
* _argo0
= 0;
9422 char *_kwnames
[] = { "self", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightColour",_kwnames
,&_argo0
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightColour. Expected _wxGrid_p.");
9436 wxPy_BEGIN_ALLOW_THREADS
;
9437 _result
= new wxColour (wxGrid_GetCellHighlightColour(_arg0
));
9439 wxPy_END_ALLOW_THREADS
;
9440 if (PyErr_Occurred()) return NULL
;
9441 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
9442 _resultobj
= Py_BuildValue("s",_ptemp
);
9446 #define wxGrid_GetCellHighlightPenWidth(_swigobj) (_swigobj->GetCellHighlightPenWidth())
9447 static PyObject
*_wrap_wxGrid_GetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
* _resultobj
;
9451 PyObject
* _argo0
= 0;
9452 char *_kwnames
[] = { "self", NULL
};
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightPenWidth",_kwnames
,&_argo0
))
9458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellHighlightPenWidth. Expected _wxGrid_p.");
9465 wxPy_BEGIN_ALLOW_THREADS
;
9466 _result
= (int )wxGrid_GetCellHighlightPenWidth(_arg0
);
9468 wxPy_END_ALLOW_THREADS
;
9469 if (PyErr_Occurred()) return NULL
;
9470 } _resultobj
= Py_BuildValue("i",_result
);
9474 #define wxGrid_GetCellHighlightROPenWidth(_swigobj) (_swigobj->GetCellHighlightROPenWidth())
9475 static PyObject
*_wrap_wxGrid_GetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
* _resultobj
;
9479 PyObject
* _argo0
= 0;
9480 char *_kwnames
[] = { "self", NULL
};
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetCellHighlightROPenWidth",_kwnames
,&_argo0
))
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_GetCellHighlightROPenWidth. Expected _wxGrid_p.");
9493 wxPy_BEGIN_ALLOW_THREADS
;
9494 _result
= (int )wxGrid_GetCellHighlightROPenWidth(_arg0
);
9496 wxPy_END_ALLOW_THREADS
;
9497 if (PyErr_Occurred()) return NULL
;
9498 } _resultobj
= Py_BuildValue("i",_result
);
9502 #define wxGrid_SetRowLabelSize(_swigobj,_swigarg0) (_swigobj->SetRowLabelSize(_swigarg0))
9503 static PyObject
*_wrap_wxGrid_SetRowLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9507 PyObject
* _argo0
= 0;
9508 char *_kwnames
[] = { "self","width", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetRowLabelSize",_kwnames
,&_argo0
,&_arg1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelSize. Expected _wxGrid_p.");
9521 wxPy_BEGIN_ALLOW_THREADS
;
9522 wxGrid_SetRowLabelSize(_arg0
,_arg1
);
9524 wxPy_END_ALLOW_THREADS
;
9525 if (PyErr_Occurred()) return NULL
;
9526 } Py_INCREF(Py_None
);
9527 _resultobj
= Py_None
;
9531 #define wxGrid_SetColLabelSize(_swigobj,_swigarg0) (_swigobj->SetColLabelSize(_swigarg0))
9532 static PyObject
*_wrap_wxGrid_SetColLabelSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
* _resultobj
;
9536 PyObject
* _argo0
= 0;
9537 char *_kwnames
[] = { "self","height", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColLabelSize",_kwnames
,&_argo0
,&_arg1
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelSize. Expected _wxGrid_p.");
9550 wxPy_BEGIN_ALLOW_THREADS
;
9551 wxGrid_SetColLabelSize(_arg0
,_arg1
);
9553 wxPy_END_ALLOW_THREADS
;
9554 if (PyErr_Occurred()) return NULL
;
9555 } Py_INCREF(Py_None
);
9556 _resultobj
= Py_None
;
9560 #define wxGrid_SetLabelBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetLabelBackgroundColour(_swigarg0))
9561 static PyObject
*_wrap_wxGrid_SetLabelBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
* _resultobj
;
9565 PyObject
* _argo0
= 0;
9567 PyObject
* _obj1
= 0;
9568 char *_kwnames
[] = { "self","arg2", NULL
};
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
9574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelBackgroundColour. Expected _wxGrid_p.");
9582 if (! wxColour_helper(_obj1
, &_arg1
))
9586 wxPy_BEGIN_ALLOW_THREADS
;
9587 wxGrid_SetLabelBackgroundColour(_arg0
,*_arg1
);
9589 wxPy_END_ALLOW_THREADS
;
9590 if (PyErr_Occurred()) return NULL
;
9591 } Py_INCREF(Py_None
);
9592 _resultobj
= Py_None
;
9596 #define wxGrid_SetLabelTextColour(_swigobj,_swigarg0) (_swigobj->SetLabelTextColour(_swigarg0))
9597 static PyObject
*_wrap_wxGrid_SetLabelTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
* _resultobj
;
9601 PyObject
* _argo0
= 0;
9603 PyObject
* _obj1
= 0;
9604 char *_kwnames
[] = { "self","arg2", NULL
};
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelTextColour",_kwnames
,&_argo0
,&_obj1
))
9610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelTextColour. Expected _wxGrid_p.");
9618 if (! wxColour_helper(_obj1
, &_arg1
))
9622 wxPy_BEGIN_ALLOW_THREADS
;
9623 wxGrid_SetLabelTextColour(_arg0
,*_arg1
);
9625 wxPy_END_ALLOW_THREADS
;
9626 if (PyErr_Occurred()) return NULL
;
9627 } Py_INCREF(Py_None
);
9628 _resultobj
= Py_None
;
9632 #define wxGrid_SetLabelFont(_swigobj,_swigarg0) (_swigobj->SetLabelFont(_swigarg0))
9633 static PyObject
*_wrap_wxGrid_SetLabelFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9637 PyObject
* _argo0
= 0;
9638 PyObject
* _argo1
= 0;
9639 char *_kwnames
[] = { "self","arg2", NULL
};
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetLabelFont",_kwnames
,&_argo0
,&_argo1
))
9645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetLabelFont. Expected _wxGrid_p.");
9652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
9654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetLabelFont. Expected _wxFont_p.");
9659 wxPy_BEGIN_ALLOW_THREADS
;
9660 wxGrid_SetLabelFont(_arg0
,*_arg1
);
9662 wxPy_END_ALLOW_THREADS
;
9663 if (PyErr_Occurred()) return NULL
;
9664 } Py_INCREF(Py_None
);
9665 _resultobj
= Py_None
;
9669 #define wxGrid_SetRowLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelAlignment(_swigarg0,_swigarg1))
9670 static PyObject
*_wrap_wxGrid_SetRowLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
* _resultobj
;
9675 PyObject
* _argo0
= 0;
9676 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelAlignment. Expected _wxGrid_p.");
9689 wxPy_BEGIN_ALLOW_THREADS
;
9690 wxGrid_SetRowLabelAlignment(_arg0
,_arg1
,_arg2
);
9692 wxPy_END_ALLOW_THREADS
;
9693 if (PyErr_Occurred()) return NULL
;
9694 } Py_INCREF(Py_None
);
9695 _resultobj
= Py_None
;
9699 #define wxGrid_SetColLabelAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelAlignment(_swigarg0,_swigarg1))
9700 static PyObject
*_wrap_wxGrid_SetColLabelAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9705 PyObject
* _argo0
= 0;
9706 char *_kwnames
[] = { "self","horiz","vert", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColLabelAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelAlignment. Expected _wxGrid_p.");
9719 wxPy_BEGIN_ALLOW_THREADS
;
9720 wxGrid_SetColLabelAlignment(_arg0
,_arg1
,_arg2
);
9722 wxPy_END_ALLOW_THREADS
;
9723 if (PyErr_Occurred()) return NULL
;
9724 } Py_INCREF(Py_None
);
9725 _resultobj
= Py_None
;
9729 #define wxGrid_SetRowLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowLabelValue(_swigarg0,_swigarg1))
9730 static PyObject
*_wrap_wxGrid_SetRowLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
* _resultobj
;
9735 PyObject
* _argo0
= 0;
9736 PyObject
* _obj2
= 0;
9737 char *_kwnames
[] = { "self","row","arg3", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowLabelValue. Expected _wxGrid_p.");
9750 #if PYTHON_API_VERSION >= 1009
9751 char* tmpPtr
; int tmpSize
;
9752 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9756 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9758 _arg2
= new wxString(tmpPtr
, tmpSize
);
9760 if (!PyString_Check(_obj2
)) {
9761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9764 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9768 wxPy_BEGIN_ALLOW_THREADS
;
9769 wxGrid_SetRowLabelValue(_arg0
,_arg1
,*_arg2
);
9771 wxPy_END_ALLOW_THREADS
;
9772 if (PyErr_Occurred()) return NULL
;
9773 } Py_INCREF(Py_None
);
9774 _resultobj
= Py_None
;
9782 #define wxGrid_SetColLabelValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColLabelValue(_swigarg0,_swigarg1))
9783 static PyObject
*_wrap_wxGrid_SetColLabelValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
* _resultobj
;
9788 PyObject
* _argo0
= 0;
9789 PyObject
* _obj2
= 0;
9790 char *_kwnames
[] = { "self","col","arg3", NULL
};
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColLabelValue",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColLabelValue. Expected _wxGrid_p.");
9803 #if PYTHON_API_VERSION >= 1009
9804 char* tmpPtr
; int tmpSize
;
9805 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9809 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9811 _arg2
= new wxString(tmpPtr
, tmpSize
);
9813 if (!PyString_Check(_obj2
)) {
9814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9817 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9821 wxPy_BEGIN_ALLOW_THREADS
;
9822 wxGrid_SetColLabelValue(_arg0
,_arg1
,*_arg2
);
9824 wxPy_END_ALLOW_THREADS
;
9825 if (PyErr_Occurred()) return NULL
;
9826 } Py_INCREF(Py_None
);
9827 _resultobj
= Py_None
;
9835 #define wxGrid_SetGridLineColour(_swigobj,_swigarg0) (_swigobj->SetGridLineColour(_swigarg0))
9836 static PyObject
*_wrap_wxGrid_SetGridLineColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9840 PyObject
* _argo0
= 0;
9842 PyObject
* _obj1
= 0;
9843 char *_kwnames
[] = { "self","arg2", NULL
};
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetGridLineColour",_kwnames
,&_argo0
,&_obj1
))
9849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetGridLineColour. Expected _wxGrid_p.");
9857 if (! wxColour_helper(_obj1
, &_arg1
))
9861 wxPy_BEGIN_ALLOW_THREADS
;
9862 wxGrid_SetGridLineColour(_arg0
,*_arg1
);
9864 wxPy_END_ALLOW_THREADS
;
9865 if (PyErr_Occurred()) return NULL
;
9866 } Py_INCREF(Py_None
);
9867 _resultobj
= Py_None
;
9871 #define wxGrid_SetCellHighlightColour(_swigobj,_swigarg0) (_swigobj->SetCellHighlightColour(_swigarg0))
9872 static PyObject
*_wrap_wxGrid_SetCellHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
* _resultobj
;
9876 PyObject
* _argo0
= 0;
9878 PyObject
* _obj1
= 0;
9879 char *_kwnames
[] = { "self","arg2", NULL
};
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetCellHighlightColour",_kwnames
,&_argo0
,&_obj1
))
9885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightColour. Expected _wxGrid_p.");
9893 if (! wxColour_helper(_obj1
, &_arg1
))
9897 wxPy_BEGIN_ALLOW_THREADS
;
9898 wxGrid_SetCellHighlightColour(_arg0
,*_arg1
);
9900 wxPy_END_ALLOW_THREADS
;
9901 if (PyErr_Occurred()) return NULL
;
9902 } Py_INCREF(Py_None
);
9903 _resultobj
= Py_None
;
9907 #define wxGrid_SetCellHighlightPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightPenWidth(_swigarg0))
9908 static PyObject
*_wrap_wxGrid_SetCellHighlightPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
* _resultobj
;
9912 PyObject
* _argo0
= 0;
9913 char *_kwnames
[] = { "self","width", NULL
};
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightPenWidth",_kwnames
,&_argo0
,&_arg1
))
9919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightPenWidth. Expected _wxGrid_p.");
9926 wxPy_BEGIN_ALLOW_THREADS
;
9927 wxGrid_SetCellHighlightPenWidth(_arg0
,_arg1
);
9929 wxPy_END_ALLOW_THREADS
;
9930 if (PyErr_Occurred()) return NULL
;
9931 } Py_INCREF(Py_None
);
9932 _resultobj
= Py_None
;
9936 #define wxGrid_SetCellHighlightROPenWidth(_swigobj,_swigarg0) (_swigobj->SetCellHighlightROPenWidth(_swigarg0))
9937 static PyObject
*_wrap_wxGrid_SetCellHighlightROPenWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
* _resultobj
;
9941 PyObject
* _argo0
= 0;
9942 char *_kwnames
[] = { "self","width", NULL
};
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetCellHighlightROPenWidth",_kwnames
,&_argo0
,&_arg1
))
9948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellHighlightROPenWidth. Expected _wxGrid_p.");
9955 wxPy_BEGIN_ALLOW_THREADS
;
9956 wxGrid_SetCellHighlightROPenWidth(_arg0
,_arg1
);
9958 wxPy_END_ALLOW_THREADS
;
9959 if (PyErr_Occurred()) return NULL
;
9960 } Py_INCREF(Py_None
);
9961 _resultobj
= Py_None
;
9965 #define wxGrid_EnableDragRowSize(_swigobj,_swigarg0) (_swigobj->EnableDragRowSize(_swigarg0))
9966 static PyObject
*_wrap_wxGrid_EnableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9969 bool _arg1
= (bool ) TRUE
;
9970 PyObject
* _argo0
= 0;
9971 int tempbool1
= (int) TRUE
;
9972 char *_kwnames
[] = { "self","enable", NULL
};
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragRowSize",_kwnames
,&_argo0
,&tempbool1
))
9978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
9980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragRowSize. Expected _wxGrid_p.");
9984 _arg1
= (bool ) tempbool1
;
9986 wxPy_BEGIN_ALLOW_THREADS
;
9987 wxGrid_EnableDragRowSize(_arg0
,_arg1
);
9989 wxPy_END_ALLOW_THREADS
;
9990 if (PyErr_Occurred()) return NULL
;
9991 } Py_INCREF(Py_None
);
9992 _resultobj
= Py_None
;
9996 #define wxGrid_DisableDragRowSize(_swigobj) (_swigobj->DisableDragRowSize())
9997 static PyObject
*_wrap_wxGrid_DisableDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
* _resultobj
;
10000 PyObject
* _argo0
= 0;
10001 char *_kwnames
[] = { "self", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragRowSize",_kwnames
,&_argo0
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragRowSize. Expected _wxGrid_p.");
10014 wxPy_BEGIN_ALLOW_THREADS
;
10015 wxGrid_DisableDragRowSize(_arg0
);
10017 wxPy_END_ALLOW_THREADS
;
10018 if (PyErr_Occurred()) return NULL
;
10019 } Py_INCREF(Py_None
);
10020 _resultobj
= Py_None
;
10024 #define wxGrid_CanDragRowSize(_swigobj) (_swigobj->CanDragRowSize())
10025 static PyObject
*_wrap_wxGrid_CanDragRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
* _resultobj
;
10029 PyObject
* _argo0
= 0;
10030 char *_kwnames
[] = { "self", NULL
};
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragRowSize",_kwnames
,&_argo0
))
10036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragRowSize. Expected _wxGrid_p.");
10043 wxPy_BEGIN_ALLOW_THREADS
;
10044 _result
= (bool )wxGrid_CanDragRowSize(_arg0
);
10046 wxPy_END_ALLOW_THREADS
;
10047 if (PyErr_Occurred()) return NULL
;
10048 } _resultobj
= Py_BuildValue("i",_result
);
10052 #define wxGrid_EnableDragColSize(_swigobj,_swigarg0) (_swigobj->EnableDragColSize(_swigarg0))
10053 static PyObject
*_wrap_wxGrid_EnableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
* _resultobj
;
10056 bool _arg1
= (bool ) TRUE
;
10057 PyObject
* _argo0
= 0;
10058 int tempbool1
= (int) TRUE
;
10059 char *_kwnames
[] = { "self","enable", NULL
};
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragColSize",_kwnames
,&_argo0
,&tempbool1
))
10065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragColSize. Expected _wxGrid_p.");
10071 _arg1
= (bool ) tempbool1
;
10073 wxPy_BEGIN_ALLOW_THREADS
;
10074 wxGrid_EnableDragColSize(_arg0
,_arg1
);
10076 wxPy_END_ALLOW_THREADS
;
10077 if (PyErr_Occurred()) return NULL
;
10078 } Py_INCREF(Py_None
);
10079 _resultobj
= Py_None
;
10083 #define wxGrid_DisableDragColSize(_swigobj) (_swigobj->DisableDragColSize())
10084 static PyObject
*_wrap_wxGrid_DisableDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
* _resultobj
;
10087 PyObject
* _argo0
= 0;
10088 char *_kwnames
[] = { "self", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragColSize",_kwnames
,&_argo0
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragColSize. Expected _wxGrid_p.");
10101 wxPy_BEGIN_ALLOW_THREADS
;
10102 wxGrid_DisableDragColSize(_arg0
);
10104 wxPy_END_ALLOW_THREADS
;
10105 if (PyErr_Occurred()) return NULL
;
10106 } Py_INCREF(Py_None
);
10107 _resultobj
= Py_None
;
10111 #define wxGrid_CanDragColSize(_swigobj) (_swigobj->CanDragColSize())
10112 static PyObject
*_wrap_wxGrid_CanDragColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
* _resultobj
;
10116 PyObject
* _argo0
= 0;
10117 char *_kwnames
[] = { "self", NULL
};
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragColSize",_kwnames
,&_argo0
))
10123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragColSize. Expected _wxGrid_p.");
10130 wxPy_BEGIN_ALLOW_THREADS
;
10131 _result
= (bool )wxGrid_CanDragColSize(_arg0
);
10133 wxPy_END_ALLOW_THREADS
;
10134 if (PyErr_Occurred()) return NULL
;
10135 } _resultobj
= Py_BuildValue("i",_result
);
10139 #define wxGrid_EnableDragGridSize(_swigobj,_swigarg0) (_swigobj->EnableDragGridSize(_swigarg0))
10140 static PyObject
*_wrap_wxGrid_EnableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10143 bool _arg1
= (bool ) TRUE
;
10144 PyObject
* _argo0
= 0;
10145 int tempbool1
= (int) TRUE
;
10146 char *_kwnames
[] = { "self","enable", NULL
};
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableDragGridSize",_kwnames
,&_argo0
,&tempbool1
))
10152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableDragGridSize. Expected _wxGrid_p.");
10158 _arg1
= (bool ) tempbool1
;
10160 wxPy_BEGIN_ALLOW_THREADS
;
10161 wxGrid_EnableDragGridSize(_arg0
,_arg1
);
10163 wxPy_END_ALLOW_THREADS
;
10164 if (PyErr_Occurred()) return NULL
;
10165 } Py_INCREF(Py_None
);
10166 _resultobj
= Py_None
;
10170 #define wxGrid_DisableDragGridSize(_swigobj) (_swigobj->DisableDragGridSize())
10171 static PyObject
*_wrap_wxGrid_DisableDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
* _resultobj
;
10174 PyObject
* _argo0
= 0;
10175 char *_kwnames
[] = { "self", NULL
};
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_DisableDragGridSize",_kwnames
,&_argo0
))
10181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_DisableDragGridSize. Expected _wxGrid_p.");
10188 wxPy_BEGIN_ALLOW_THREADS
;
10189 wxGrid_DisableDragGridSize(_arg0
);
10191 wxPy_END_ALLOW_THREADS
;
10192 if (PyErr_Occurred()) return NULL
;
10193 } Py_INCREF(Py_None
);
10194 _resultobj
= Py_None
;
10198 #define wxGrid_CanDragGridSize(_swigobj) (_swigobj->CanDragGridSize())
10199 static PyObject
*_wrap_wxGrid_CanDragGridSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
* _resultobj
;
10203 PyObject
* _argo0
= 0;
10204 char *_kwnames
[] = { "self", NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_CanDragGridSize",_kwnames
,&_argo0
))
10210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_CanDragGridSize. Expected _wxGrid_p.");
10217 wxPy_BEGIN_ALLOW_THREADS
;
10218 _result
= (bool )wxGrid_CanDragGridSize(_arg0
);
10220 wxPy_END_ALLOW_THREADS
;
10221 if (PyErr_Occurred()) return NULL
;
10222 } _resultobj
= Py_BuildValue("i",_result
);
10226 #define wxGrid_SetRowAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowAttr(_swigarg0,_swigarg1))
10227 static PyObject
*_wrap_wxGrid_SetRowAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
* _resultobj
;
10231 wxGridCellAttr
* _arg2
;
10232 PyObject
* _argo0
= 0;
10233 PyObject
* _argo2
= 0;
10234 char *_kwnames
[] = { "self","row","attr", NULL
};
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetRowAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowAttr. Expected _wxGrid_p.");
10247 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10248 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetRowAttr. Expected _wxGridCellAttr_p.");
10254 wxPy_BEGIN_ALLOW_THREADS
;
10255 wxGrid_SetRowAttr(_arg0
,_arg1
,_arg2
);
10257 wxPy_END_ALLOW_THREADS
;
10258 if (PyErr_Occurred()) return NULL
;
10259 } Py_INCREF(Py_None
);
10260 _resultobj
= Py_None
;
10264 #define wxGrid_SetColAttr(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColAttr(_swigarg0,_swigarg1))
10265 static PyObject
*_wrap_wxGrid_SetColAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
* _resultobj
;
10269 wxGridCellAttr
* _arg2
;
10270 PyObject
* _argo0
= 0;
10271 PyObject
* _argo2
= 0;
10272 char *_kwnames
[] = { "self","col","attr", NULL
};
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColAttr",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
10278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColAttr. Expected _wxGrid_p.");
10285 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10286 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellAttr_p")) {
10287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_SetColAttr. Expected _wxGridCellAttr_p.");
10292 wxPy_BEGIN_ALLOW_THREADS
;
10293 wxGrid_SetColAttr(_arg0
,_arg1
,_arg2
);
10295 wxPy_END_ALLOW_THREADS
;
10296 if (PyErr_Occurred()) return NULL
;
10297 } Py_INCREF(Py_None
);
10298 _resultobj
= Py_None
;
10302 #define wxGrid_SetColFormatBool(_swigobj,_swigarg0) (_swigobj->SetColFormatBool(_swigarg0))
10303 static PyObject
*_wrap_wxGrid_SetColFormatBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10307 PyObject
* _argo0
= 0;
10308 char *_kwnames
[] = { "self","col", NULL
};
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatBool",_kwnames
,&_argo0
,&_arg1
))
10314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatBool. Expected _wxGrid_p.");
10321 wxPy_BEGIN_ALLOW_THREADS
;
10322 wxGrid_SetColFormatBool(_arg0
,_arg1
);
10324 wxPy_END_ALLOW_THREADS
;
10325 if (PyErr_Occurred()) return NULL
;
10326 } Py_INCREF(Py_None
);
10327 _resultobj
= Py_None
;
10331 #define wxGrid_SetColFormatNumber(_swigobj,_swigarg0) (_swigobj->SetColFormatNumber(_swigarg0))
10332 static PyObject
*_wrap_wxGrid_SetColFormatNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
* _resultobj
;
10336 PyObject
* _argo0
= 0;
10337 char *_kwnames
[] = { "self","col", NULL
};
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_SetColFormatNumber",_kwnames
,&_argo0
,&_arg1
))
10343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatNumber. Expected _wxGrid_p.");
10350 wxPy_BEGIN_ALLOW_THREADS
;
10351 wxGrid_SetColFormatNumber(_arg0
,_arg1
);
10353 wxPy_END_ALLOW_THREADS
;
10354 if (PyErr_Occurred()) return NULL
;
10355 } Py_INCREF(Py_None
);
10356 _resultobj
= Py_None
;
10360 #define wxGrid_SetColFormatFloat(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetColFormatFloat(_swigarg0,_swigarg1,_swigarg2))
10361 static PyObject
*_wrap_wxGrid_SetColFormatFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
* _resultobj
;
10365 int _arg2
= (int ) -1;
10366 int _arg3
= (int ) -1;
10367 PyObject
* _argo0
= 0;
10368 char *_kwnames
[] = { "self","col","width","precision", NULL
};
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxGrid_SetColFormatFloat",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
10374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatFloat. Expected _wxGrid_p.");
10381 wxPy_BEGIN_ALLOW_THREADS
;
10382 wxGrid_SetColFormatFloat(_arg0
,_arg1
,_arg2
,_arg3
);
10384 wxPy_END_ALLOW_THREADS
;
10385 if (PyErr_Occurred()) return NULL
;
10386 } Py_INCREF(Py_None
);
10387 _resultobj
= Py_None
;
10391 #define wxGrid_SetColFormatCustom(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColFormatCustom(_swigarg0,_swigarg1))
10392 static PyObject
*_wrap_wxGrid_SetColFormatCustom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10397 PyObject
* _argo0
= 0;
10398 PyObject
* _obj2
= 0;
10399 char *_kwnames
[] = { "self","col","typeName", NULL
};
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxGrid_SetColFormatCustom",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColFormatCustom. Expected _wxGrid_p.");
10412 #if PYTHON_API_VERSION >= 1009
10413 char* tmpPtr
; int tmpSize
;
10414 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10418 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10420 _arg2
= new wxString(tmpPtr
, tmpSize
);
10422 if (!PyString_Check(_obj2
)) {
10423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10426 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10430 wxPy_BEGIN_ALLOW_THREADS
;
10431 wxGrid_SetColFormatCustom(_arg0
,_arg1
,*_arg2
);
10433 wxPy_END_ALLOW_THREADS
;
10434 if (PyErr_Occurred()) return NULL
;
10435 } Py_INCREF(Py_None
);
10436 _resultobj
= Py_None
;
10444 #define wxGrid_EnableGridLines(_swigobj,_swigarg0) (_swigobj->EnableGridLines(_swigarg0))
10445 static PyObject
*_wrap_wxGrid_EnableGridLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
* _resultobj
;
10448 bool _arg1
= (bool ) TRUE
;
10449 PyObject
* _argo0
= 0;
10450 int tempbool1
= (int) TRUE
;
10451 char *_kwnames
[] = { "self","enable", NULL
};
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_EnableGridLines",_kwnames
,&_argo0
,&tempbool1
))
10457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_EnableGridLines. Expected _wxGrid_p.");
10463 _arg1
= (bool ) tempbool1
;
10465 wxPy_BEGIN_ALLOW_THREADS
;
10466 wxGrid_EnableGridLines(_arg0
,_arg1
);
10468 wxPy_END_ALLOW_THREADS
;
10469 if (PyErr_Occurred()) return NULL
;
10470 } Py_INCREF(Py_None
);
10471 _resultobj
= Py_None
;
10475 #define wxGrid_GridLinesEnabled(_swigobj) (_swigobj->GridLinesEnabled())
10476 static PyObject
*_wrap_wxGrid_GridLinesEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
* _resultobj
;
10480 PyObject
* _argo0
= 0;
10481 char *_kwnames
[] = { "self", NULL
};
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GridLinesEnabled",_kwnames
,&_argo0
))
10487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GridLinesEnabled. Expected _wxGrid_p.");
10494 wxPy_BEGIN_ALLOW_THREADS
;
10495 _result
= (bool )wxGrid_GridLinesEnabled(_arg0
);
10497 wxPy_END_ALLOW_THREADS
;
10498 if (PyErr_Occurred()) return NULL
;
10499 } _resultobj
= Py_BuildValue("i",_result
);
10503 #define wxGrid_GetDefaultRowSize(_swigobj) (_swigobj->GetDefaultRowSize())
10504 static PyObject
*_wrap_wxGrid_GetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
* _resultobj
;
10508 PyObject
* _argo0
= 0;
10509 char *_kwnames
[] = { "self", NULL
};
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRowSize",_kwnames
,&_argo0
))
10515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRowSize. Expected _wxGrid_p.");
10522 wxPy_BEGIN_ALLOW_THREADS
;
10523 _result
= (int )wxGrid_GetDefaultRowSize(_arg0
);
10525 wxPy_END_ALLOW_THREADS
;
10526 if (PyErr_Occurred()) return NULL
;
10527 } _resultobj
= Py_BuildValue("i",_result
);
10531 #define wxGrid_GetRowSize(_swigobj,_swigarg0) (_swigobj->GetRowSize(_swigarg0))
10532 static PyObject
*_wrap_wxGrid_GetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
* _resultobj
;
10537 PyObject
* _argo0
= 0;
10538 char *_kwnames
[] = { "self","row", NULL
};
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetRowSize",_kwnames
,&_argo0
,&_arg1
))
10544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetRowSize. Expected _wxGrid_p.");
10551 wxPy_BEGIN_ALLOW_THREADS
;
10552 _result
= (int )wxGrid_GetRowSize(_arg0
,_arg1
);
10554 wxPy_END_ALLOW_THREADS
;
10555 if (PyErr_Occurred()) return NULL
;
10556 } _resultobj
= Py_BuildValue("i",_result
);
10560 #define wxGrid_GetDefaultColSize(_swigobj) (_swigobj->GetDefaultColSize())
10561 static PyObject
*_wrap_wxGrid_GetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
* _resultobj
;
10565 PyObject
* _argo0
= 0;
10566 char *_kwnames
[] = { "self", NULL
};
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultColSize",_kwnames
,&_argo0
))
10572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultColSize. Expected _wxGrid_p.");
10579 wxPy_BEGIN_ALLOW_THREADS
;
10580 _result
= (int )wxGrid_GetDefaultColSize(_arg0
);
10582 wxPy_END_ALLOW_THREADS
;
10583 if (PyErr_Occurred()) return NULL
;
10584 } _resultobj
= Py_BuildValue("i",_result
);
10588 #define wxGrid_GetColSize(_swigobj,_swigarg0) (_swigobj->GetColSize(_swigarg0))
10589 static PyObject
*_wrap_wxGrid_GetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
* _resultobj
;
10594 PyObject
* _argo0
= 0;
10595 char *_kwnames
[] = { "self","col", NULL
};
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGrid_GetColSize",_kwnames
,&_argo0
,&_arg1
))
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_GetColSize. Expected _wxGrid_p.");
10608 wxPy_BEGIN_ALLOW_THREADS
;
10609 _result
= (int )wxGrid_GetColSize(_arg0
,_arg1
);
10611 wxPy_END_ALLOW_THREADS
;
10612 if (PyErr_Occurred()) return NULL
;
10613 } _resultobj
= Py_BuildValue("i",_result
);
10617 #define wxGrid_GetDefaultCellBackgroundColour(_swigobj) (_swigobj->GetDefaultCellBackgroundColour())
10618 static PyObject
*_wrap_wxGrid_GetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
* _resultobj
;
10620 wxColour
* _result
;
10622 PyObject
* _argo0
= 0;
10623 char *_kwnames
[] = { "self", NULL
};
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellBackgroundColour",_kwnames
,&_argo0
))
10630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellBackgroundColour. Expected _wxGrid_p.");
10637 wxPy_BEGIN_ALLOW_THREADS
;
10638 _result
= new wxColour (wxGrid_GetDefaultCellBackgroundColour(_arg0
));
10640 wxPy_END_ALLOW_THREADS
;
10641 if (PyErr_Occurred()) return NULL
;
10642 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10643 _resultobj
= Py_BuildValue("s",_ptemp
);
10647 #define wxGrid_GetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellBackgroundColour(_swigarg0,_swigarg1))
10648 static PyObject
*_wrap_wxGrid_GetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
* _resultobj
;
10650 wxColour
* _result
;
10654 PyObject
* _argo0
= 0;
10655 char *_kwnames
[] = { "self","row","col", NULL
};
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellBackgroundColour. Expected _wxGrid_p.");
10669 wxPy_BEGIN_ALLOW_THREADS
;
10670 _result
= new wxColour (wxGrid_GetCellBackgroundColour(_arg0
,_arg1
,_arg2
));
10672 wxPy_END_ALLOW_THREADS
;
10673 if (PyErr_Occurred()) return NULL
;
10674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10675 _resultobj
= Py_BuildValue("s",_ptemp
);
10679 #define wxGrid_GetDefaultCellTextColour(_swigobj) (_swigobj->GetDefaultCellTextColour())
10680 static PyObject
*_wrap_wxGrid_GetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
* _resultobj
;
10682 wxColour
* _result
;
10684 PyObject
* _argo0
= 0;
10685 char *_kwnames
[] = { "self", NULL
};
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellTextColour",_kwnames
,&_argo0
))
10692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellTextColour. Expected _wxGrid_p.");
10699 wxPy_BEGIN_ALLOW_THREADS
;
10700 _result
= new wxColour (wxGrid_GetDefaultCellTextColour(_arg0
));
10702 wxPy_END_ALLOW_THREADS
;
10703 if (PyErr_Occurred()) return NULL
;
10704 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10705 _resultobj
= Py_BuildValue("s",_ptemp
);
10709 #define wxGrid_GetCellTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellTextColour(_swigarg0,_swigarg1))
10710 static PyObject
*_wrap_wxGrid_GetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
* _resultobj
;
10712 wxColour
* _result
;
10716 PyObject
* _argo0
= 0;
10717 char *_kwnames
[] = { "self","row","col", NULL
};
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellTextColour. Expected _wxGrid_p.");
10731 wxPy_BEGIN_ALLOW_THREADS
;
10732 _result
= new wxColour (wxGrid_GetCellTextColour(_arg0
,_arg1
,_arg2
));
10734 wxPy_END_ALLOW_THREADS
;
10735 if (PyErr_Occurred()) return NULL
;
10736 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10737 _resultobj
= Py_BuildValue("s",_ptemp
);
10741 #define wxGrid_GetDefaultCellFont(_swigobj) (_swigobj->GetDefaultCellFont())
10742 static PyObject
*_wrap_wxGrid_GetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
* _resultobj
;
10746 PyObject
* _argo0
= 0;
10747 char *_kwnames
[] = { "self", NULL
};
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultCellFont",_kwnames
,&_argo0
))
10754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellFont. Expected _wxGrid_p.");
10761 wxPy_BEGIN_ALLOW_THREADS
;
10762 _result
= new wxFont (wxGrid_GetDefaultCellFont(_arg0
));
10764 wxPy_END_ALLOW_THREADS
;
10765 if (PyErr_Occurred()) return NULL
;
10766 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10767 _resultobj
= Py_BuildValue("s",_ptemp
);
10771 #define wxGrid_GetCellFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellFont(_swigarg0,_swigarg1))
10772 static PyObject
*_wrap_wxGrid_GetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
* _resultobj
;
10778 PyObject
* _argo0
= 0;
10779 char *_kwnames
[] = { "self","row","col", NULL
};
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellFont. Expected _wxGrid_p.");
10793 wxPy_BEGIN_ALLOW_THREADS
;
10794 _result
= new wxFont (wxGrid_GetCellFont(_arg0
,_arg1
,_arg2
));
10796 wxPy_END_ALLOW_THREADS
;
10797 if (PyErr_Occurred()) return NULL
;
10798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
10799 _resultobj
= Py_BuildValue("s",_ptemp
);
10803 #define wxGrid_GetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultCellAlignment(_swigarg0,_swigarg1))
10804 static PyObject
*_wrap_wxGrid_GetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10809 PyObject
* _argo0
= 0;
10810 PyObject
* _argo1
= 0;
10811 PyObject
* _argo2
= 0;
10812 char *_kwnames
[] = { "self","horiz","vert", NULL
};
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_GetDefaultCellAlignment",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
10818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultCellAlignment. Expected _wxGrid_p.");
10825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_int_p")) {
10827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10832 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10833 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_int_p")) {
10834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_GetDefaultCellAlignment. Expected _int_p.");
10839 wxPy_BEGIN_ALLOW_THREADS
;
10840 wxGrid_GetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
10842 wxPy_END_ALLOW_THREADS
;
10843 if (PyErr_Occurred()) return NULL
;
10844 } Py_INCREF(Py_None
);
10845 _resultobj
= Py_None
;
10849 #define wxGrid_GetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10850 static PyObject
*_wrap_wxGrid_GetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
* _resultobj
;
10857 PyObject
* _argo0
= 0;
10858 PyObject
* _argo3
= 0;
10859 PyObject
* _argo4
= 0;
10860 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO:wxGrid_GetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
))
10866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellAlignment. Expected _wxGrid_p.");
10873 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10874 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_int_p")) {
10875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_GetCellAlignment. Expected _int_p.");
10880 if (_argo4
== Py_None
) { _arg4
= NULL
; }
10881 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_int_p")) {
10882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGrid_GetCellAlignment. Expected _int_p.");
10887 wxPy_BEGIN_ALLOW_THREADS
;
10888 wxGrid_GetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
10890 wxPy_END_ALLOW_THREADS
;
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxGrid_SetDefaultRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultRowSize(_swigarg0,_swigarg1))
10898 static PyObject
*_wrap_wxGrid_SetDefaultRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10902 bool _arg2
= (bool ) FALSE
;
10903 PyObject
* _argo0
= 0;
10904 int tempbool2
= (int) FALSE
;
10905 char *_kwnames
[] = { "self","height","resizeExistingRows", NULL
};
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultRowSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRowSize. Expected _wxGrid_p.");
10917 _arg2
= (bool ) tempbool2
;
10919 wxPy_BEGIN_ALLOW_THREADS
;
10920 wxGrid_SetDefaultRowSize(_arg0
,_arg1
,_arg2
);
10922 wxPy_END_ALLOW_THREADS
;
10923 if (PyErr_Occurred()) return NULL
;
10924 } Py_INCREF(Py_None
);
10925 _resultobj
= Py_None
;
10929 #define wxGrid_SetRowSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowSize(_swigarg0,_swigarg1))
10930 static PyObject
*_wrap_wxGrid_SetRowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
* _resultobj
;
10935 PyObject
* _argo0
= 0;
10936 char *_kwnames
[] = { "self","row","height", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowSize. Expected _wxGrid_p.");
10949 wxPy_BEGIN_ALLOW_THREADS
;
10950 wxGrid_SetRowSize(_arg0
,_arg1
,_arg2
);
10952 wxPy_END_ALLOW_THREADS
;
10953 if (PyErr_Occurred()) return NULL
;
10954 } Py_INCREF(Py_None
);
10955 _resultobj
= Py_None
;
10959 #define wxGrid_SetDefaultColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultColSize(_swigarg0,_swigarg1))
10960 static PyObject
*_wrap_wxGrid_SetDefaultColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
* _resultobj
;
10964 bool _arg2
= (bool ) FALSE
;
10965 PyObject
* _argo0
= 0;
10966 int tempbool2
= (int) FALSE
;
10967 char *_kwnames
[] = { "self","width","resizeExistingCols", NULL
};
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SetDefaultColSize",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
10975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultColSize. Expected _wxGrid_p.");
10979 _arg2
= (bool ) tempbool2
;
10981 wxPy_BEGIN_ALLOW_THREADS
;
10982 wxGrid_SetDefaultColSize(_arg0
,_arg1
,_arg2
);
10984 wxPy_END_ALLOW_THREADS
;
10985 if (PyErr_Occurred()) return NULL
;
10986 } Py_INCREF(Py_None
);
10987 _resultobj
= Py_None
;
10991 #define wxGrid_SetColSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColSize(_swigarg0,_swigarg1))
10992 static PyObject
*_wrap_wxGrid_SetColSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
* _resultobj
;
10997 PyObject
* _argo0
= 0;
10998 char *_kwnames
[] = { "self","col","width", NULL
};
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColSize. Expected _wxGrid_p.");
11011 wxPy_BEGIN_ALLOW_THREADS
;
11012 wxGrid_SetColSize(_arg0
,_arg1
,_arg2
);
11014 wxPy_END_ALLOW_THREADS
;
11015 if (PyErr_Occurred()) return NULL
;
11016 } Py_INCREF(Py_None
);
11017 _resultobj
= Py_None
;
11021 #define wxGrid_AutoSizeColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeColumn(_swigarg0,_swigarg1))
11022 static PyObject
*_wrap_wxGrid_AutoSizeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
* _resultobj
;
11026 bool _arg2
= (bool ) TRUE
;
11027 PyObject
* _argo0
= 0;
11028 int tempbool2
= (int) TRUE
;
11029 char *_kwnames
[] = { "self","col","setAsMin", NULL
};
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeColumn",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumn. Expected _wxGrid_p.");
11041 _arg2
= (bool ) tempbool2
;
11043 wxPy_BEGIN_ALLOW_THREADS
;
11044 wxGrid_AutoSizeColumn(_arg0
,_arg1
,_arg2
);
11046 wxPy_END_ALLOW_THREADS
;
11047 if (PyErr_Occurred()) return NULL
;
11048 } Py_INCREF(Py_None
);
11049 _resultobj
= Py_None
;
11053 #define wxGrid_AutoSizeRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoSizeRow(_swigarg0,_swigarg1))
11054 static PyObject
*_wrap_wxGrid_AutoSizeRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
* _resultobj
;
11058 bool _arg2
= (bool ) TRUE
;
11059 PyObject
* _argo0
= 0;
11060 int tempbool2
= (int) TRUE
;
11061 char *_kwnames
[] = { "self","row","setAsMin", NULL
};
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_AutoSizeRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRow. Expected _wxGrid_p.");
11073 _arg2
= (bool ) tempbool2
;
11075 wxPy_BEGIN_ALLOW_THREADS
;
11076 wxGrid_AutoSizeRow(_arg0
,_arg1
,_arg2
);
11078 wxPy_END_ALLOW_THREADS
;
11079 if (PyErr_Occurred()) return NULL
;
11080 } Py_INCREF(Py_None
);
11081 _resultobj
= Py_None
;
11085 #define wxGrid_AutoSizeColumns(_swigobj,_swigarg0) (_swigobj->AutoSizeColumns(_swigarg0))
11086 static PyObject
*_wrap_wxGrid_AutoSizeColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
* _resultobj
;
11089 bool _arg1
= (bool ) TRUE
;
11090 PyObject
* _argo0
= 0;
11091 int tempbool1
= (int) TRUE
;
11092 char *_kwnames
[] = { "self","setAsMin", NULL
};
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeColumns",_kwnames
,&_argo0
,&tempbool1
))
11098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeColumns. Expected _wxGrid_p.");
11104 _arg1
= (bool ) tempbool1
;
11106 wxPy_BEGIN_ALLOW_THREADS
;
11107 wxGrid_AutoSizeColumns(_arg0
,_arg1
);
11109 wxPy_END_ALLOW_THREADS
;
11110 if (PyErr_Occurred()) return NULL
;
11111 } Py_INCREF(Py_None
);
11112 _resultobj
= Py_None
;
11116 #define wxGrid_AutoSizeRows(_swigobj,_swigarg0) (_swigobj->AutoSizeRows(_swigarg0))
11117 static PyObject
*_wrap_wxGrid_AutoSizeRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
* _resultobj
;
11120 bool _arg1
= (bool ) TRUE
;
11121 PyObject
* _argo0
= 0;
11122 int tempbool1
= (int) TRUE
;
11123 char *_kwnames
[] = { "self","setAsMin", NULL
};
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxGrid_AutoSizeRows",_kwnames
,&_argo0
,&tempbool1
))
11129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSizeRows. Expected _wxGrid_p.");
11135 _arg1
= (bool ) tempbool1
;
11137 wxPy_BEGIN_ALLOW_THREADS
;
11138 wxGrid_AutoSizeRows(_arg0
,_arg1
);
11140 wxPy_END_ALLOW_THREADS
;
11141 if (PyErr_Occurred()) return NULL
;
11142 } Py_INCREF(Py_None
);
11143 _resultobj
= Py_None
;
11147 #define wxGrid_AutoSize(_swigobj) (_swigobj->AutoSize())
11148 static PyObject
*_wrap_wxGrid_AutoSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
* _resultobj
;
11151 PyObject
* _argo0
= 0;
11152 char *_kwnames
[] = { "self", NULL
};
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_AutoSize",_kwnames
,&_argo0
))
11158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_AutoSize. Expected _wxGrid_p.");
11165 wxPy_BEGIN_ALLOW_THREADS
;
11166 wxGrid_AutoSize(_arg0
);
11168 wxPy_END_ALLOW_THREADS
;
11169 if (PyErr_Occurred()) return NULL
;
11170 } Py_INCREF(Py_None
);
11171 _resultobj
= Py_None
;
11175 #define wxGrid_SetColMinimalWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColMinimalWidth(_swigarg0,_swigarg1))
11176 static PyObject
*_wrap_wxGrid_SetColMinimalWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
* _resultobj
;
11181 PyObject
* _argo0
= 0;
11182 char *_kwnames
[] = { "self","col","width", NULL
};
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetColMinimalWidth",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetColMinimalWidth. Expected _wxGrid_p.");
11195 wxPy_BEGIN_ALLOW_THREADS
;
11196 wxGrid_SetColMinimalWidth(_arg0
,_arg1
,_arg2
);
11198 wxPy_END_ALLOW_THREADS
;
11199 if (PyErr_Occurred()) return NULL
;
11200 } Py_INCREF(Py_None
);
11201 _resultobj
= Py_None
;
11205 #define wxGrid_SetRowMinimalHeight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRowMinimalHeight(_swigarg0,_swigarg1))
11206 static PyObject
*_wrap_wxGrid_SetRowMinimalHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
* _resultobj
;
11211 PyObject
* _argo0
= 0;
11212 char *_kwnames
[] = { "self","row","width", NULL
};
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetRowMinimalHeight",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetRowMinimalHeight. Expected _wxGrid_p.");
11225 wxPy_BEGIN_ALLOW_THREADS
;
11226 wxGrid_SetRowMinimalHeight(_arg0
,_arg1
,_arg2
);
11228 wxPy_END_ALLOW_THREADS
;
11229 if (PyErr_Occurred()) return NULL
;
11230 } Py_INCREF(Py_None
);
11231 _resultobj
= Py_None
;
11235 #define wxGrid_SetDefaultCellBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellBackgroundColour(_swigarg0))
11236 static PyObject
*_wrap_wxGrid_SetDefaultCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
* _resultobj
;
11240 PyObject
* _argo0
= 0;
11242 PyObject
* _obj1
= 0;
11243 char *_kwnames
[] = { "self","arg2", NULL
};
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellBackgroundColour. Expected _wxGrid_p.");
11257 if (! wxColour_helper(_obj1
, &_arg1
))
11261 wxPy_BEGIN_ALLOW_THREADS
;
11262 wxGrid_SetDefaultCellBackgroundColour(_arg0
,*_arg1
);
11264 wxPy_END_ALLOW_THREADS
;
11265 if (PyErr_Occurred()) return NULL
;
11266 } Py_INCREF(Py_None
);
11267 _resultobj
= Py_None
;
11271 #define wxGrid_SetCellBackgroundColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellBackgroundColour(_swigarg0,_swigarg1,_swigarg2))
11272 static PyObject
*_wrap_wxGrid_SetCellBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
* _resultobj
;
11278 PyObject
* _argo0
= 0;
11280 PyObject
* _obj3
= 0;
11281 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellBackgroundColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellBackgroundColour. Expected _wxGrid_p.");
11295 if (! wxColour_helper(_obj3
, &_arg3
))
11299 wxPy_BEGIN_ALLOW_THREADS
;
11300 wxGrid_SetCellBackgroundColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11302 wxPy_END_ALLOW_THREADS
;
11303 if (PyErr_Occurred()) return NULL
;
11304 } Py_INCREF(Py_None
);
11305 _resultobj
= Py_None
;
11309 #define wxGrid_SetDefaultCellTextColour(_swigobj,_swigarg0) (_swigobj->SetDefaultCellTextColour(_swigarg0))
11310 static PyObject
*_wrap_wxGrid_SetDefaultCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
* _resultobj
;
11314 PyObject
* _argo0
= 0;
11316 PyObject
* _obj1
= 0;
11317 char *_kwnames
[] = { "self","arg2", NULL
};
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellTextColour",_kwnames
,&_argo0
,&_obj1
))
11323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellTextColour. Expected _wxGrid_p.");
11331 if (! wxColour_helper(_obj1
, &_arg1
))
11335 wxPy_BEGIN_ALLOW_THREADS
;
11336 wxGrid_SetDefaultCellTextColour(_arg0
,*_arg1
);
11338 wxPy_END_ALLOW_THREADS
;
11339 if (PyErr_Occurred()) return NULL
;
11340 } Py_INCREF(Py_None
);
11341 _resultobj
= Py_None
;
11345 #define wxGrid_SetCellTextColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellTextColour(_swigarg0,_swigarg1,_swigarg2))
11346 static PyObject
*_wrap_wxGrid_SetCellTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
* _resultobj
;
11352 PyObject
* _argo0
= 0;
11354 PyObject
* _obj3
= 0;
11355 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellTextColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellTextColour. Expected _wxGrid_p.");
11369 if (! wxColour_helper(_obj3
, &_arg3
))
11373 wxPy_BEGIN_ALLOW_THREADS
;
11374 wxGrid_SetCellTextColour(_arg0
,_arg1
,_arg2
,*_arg3
);
11376 wxPy_END_ALLOW_THREADS
;
11377 if (PyErr_Occurred()) return NULL
;
11378 } Py_INCREF(Py_None
);
11379 _resultobj
= Py_None
;
11383 #define wxGrid_SetDefaultCellFont(_swigobj,_swigarg0) (_swigobj->SetDefaultCellFont(_swigarg0))
11384 static PyObject
*_wrap_wxGrid_SetDefaultCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
* _resultobj
;
11388 PyObject
* _argo0
= 0;
11389 PyObject
* _argo1
= 0;
11390 char *_kwnames
[] = { "self","arg2", NULL
};
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultCellFont",_kwnames
,&_argo0
,&_argo1
))
11396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellFont. Expected _wxGrid_p.");
11403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultCellFont. Expected _wxFont_p.");
11410 wxPy_BEGIN_ALLOW_THREADS
;
11411 wxGrid_SetDefaultCellFont(_arg0
,*_arg1
);
11413 wxPy_END_ALLOW_THREADS
;
11414 if (PyErr_Occurred()) return NULL
;
11415 } Py_INCREF(Py_None
);
11416 _resultobj
= Py_None
;
11420 #define wxGrid_SetCellFont(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellFont(_swigarg0,_swigarg1,_swigarg2))
11421 static PyObject
*_wrap_wxGrid_SetCellFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
* _resultobj
;
11427 PyObject
* _argo0
= 0;
11428 PyObject
* _argo3
= 0;
11429 char *_kwnames
[] = { "self","row","col","arg4", NULL
};
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellFont",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellFont. Expected _wxGrid_p.");
11442 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11443 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxFont_p")) {
11444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellFont. Expected _wxFont_p.");
11449 wxPy_BEGIN_ALLOW_THREADS
;
11450 wxGrid_SetCellFont(_arg0
,_arg1
,_arg2
,*_arg3
);
11452 wxPy_END_ALLOW_THREADS
;
11453 if (PyErr_Occurred()) return NULL
;
11454 } Py_INCREF(Py_None
);
11455 _resultobj
= Py_None
;
11459 #define wxGrid_SetDefaultCellAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultCellAlignment(_swigarg0,_swigarg1))
11460 static PyObject
*_wrap_wxGrid_SetDefaultCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
* _resultobj
;
11465 PyObject
* _argo0
= 0;
11466 char *_kwnames
[] = { "self","horiz","vert", NULL
};
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetDefaultCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultCellAlignment. Expected _wxGrid_p.");
11479 wxPy_BEGIN_ALLOW_THREADS
;
11480 wxGrid_SetDefaultCellAlignment(_arg0
,_arg1
,_arg2
);
11482 wxPy_END_ALLOW_THREADS
;
11483 if (PyErr_Occurred()) return NULL
;
11484 } Py_INCREF(Py_None
);
11485 _resultobj
= Py_None
;
11489 #define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11490 static PyObject
*_wrap_wxGrid_SetCellAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
* _resultobj
;
11497 PyObject
* _argo0
= 0;
11498 char *_kwnames
[] = { "self","row","col","horiz","vert", NULL
};
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxGrid_SetCellAlignment",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
11504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellAlignment. Expected _wxGrid_p.");
11511 wxPy_BEGIN_ALLOW_THREADS
;
11512 wxGrid_SetCellAlignment(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
11514 wxPy_END_ALLOW_THREADS
;
11515 if (PyErr_Occurred()) return NULL
;
11516 } Py_INCREF(Py_None
);
11517 _resultobj
= Py_None
;
11521 #define wxGrid_SetDefaultRenderer(_swigobj,_swigarg0) (_swigobj->SetDefaultRenderer(_swigarg0))
11522 static PyObject
*_wrap_wxGrid_SetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
* _resultobj
;
11525 wxGridCellRenderer
* _arg1
;
11526 PyObject
* _argo0
= 0;
11527 PyObject
* _argo1
= 0;
11528 char *_kwnames
[] = { "self","renderer", NULL
};
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultRenderer",_kwnames
,&_argo0
,&_argo1
))
11534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultRenderer. Expected _wxGrid_p.");
11541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellRenderer_p")) {
11543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultRenderer. Expected _wxGridCellRenderer_p.");
11548 wxPy_BEGIN_ALLOW_THREADS
;
11549 wxGrid_SetDefaultRenderer(_arg0
,_arg1
);
11551 wxPy_END_ALLOW_THREADS
;
11552 if (PyErr_Occurred()) return NULL
;
11553 } Py_INCREF(Py_None
);
11554 _resultobj
= Py_None
;
11558 #define wxGrid_SetCellRenderer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellRenderer(_swigarg0,_swigarg1,_swigarg2))
11559 static PyObject
*_wrap_wxGrid_SetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
* _resultobj
;
11564 wxGridCellRenderer
* _arg3
;
11565 PyObject
* _argo0
= 0;
11566 PyObject
* _argo3
= 0;
11567 char *_kwnames
[] = { "self","row","col","renderer", NULL
};
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellRenderer. Expected _wxGrid_p.");
11580 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11581 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellRenderer_p")) {
11582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellRenderer. Expected _wxGridCellRenderer_p.");
11587 wxPy_BEGIN_ALLOW_THREADS
;
11588 wxGrid_SetCellRenderer(_arg0
,_arg1
,_arg2
,_arg3
);
11590 wxPy_END_ALLOW_THREADS
;
11591 if (PyErr_Occurred()) return NULL
;
11592 } Py_INCREF(Py_None
);
11593 _resultobj
= Py_None
;
11597 #define wxGrid_GetDefaultRenderer(_swigobj) (_swigobj->GetDefaultRenderer())
11598 static PyObject
*_wrap_wxGrid_GetDefaultRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
* _resultobj
;
11600 wxGridCellRenderer
* _result
;
11602 PyObject
* _argo0
= 0;
11603 char *_kwnames
[] = { "self", NULL
};
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultRenderer",_kwnames
,&_argo0
))
11610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRenderer. Expected _wxGrid_p.");
11617 wxPy_BEGIN_ALLOW_THREADS
;
11618 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRenderer(_arg0
);
11620 wxPy_END_ALLOW_THREADS
;
11621 if (PyErr_Occurred()) return NULL
;
11623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11624 _resultobj
= Py_BuildValue("s",_ptemp
);
11626 Py_INCREF(Py_None
);
11627 _resultobj
= Py_None
;
11632 #define wxGrid_GetCellRenderer(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellRenderer(_swigarg0,_swigarg1))
11633 static PyObject
*_wrap_wxGrid_GetCellRenderer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
* _resultobj
;
11635 wxGridCellRenderer
* _result
;
11639 PyObject
* _argo0
= 0;
11640 char *_kwnames
[] = { "self","row","col", NULL
};
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellRenderer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellRenderer. Expected _wxGrid_p.");
11654 wxPy_BEGIN_ALLOW_THREADS
;
11655 _result
= (wxGridCellRenderer
*)wxGrid_GetCellRenderer(_arg0
,_arg1
,_arg2
);
11657 wxPy_END_ALLOW_THREADS
;
11658 if (PyErr_Occurred()) return NULL
;
11660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
11661 _resultobj
= Py_BuildValue("s",_ptemp
);
11663 Py_INCREF(Py_None
);
11664 _resultobj
= Py_None
;
11669 #define wxGrid_SetDefaultEditor(_swigobj,_swigarg0) (_swigobj->SetDefaultEditor(_swigarg0))
11670 static PyObject
*_wrap_wxGrid_SetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
* _resultobj
;
11673 wxGridCellEditor
* _arg1
;
11674 PyObject
* _argo0
= 0;
11675 PyObject
* _argo1
= 0;
11676 char *_kwnames
[] = { "self","editor", NULL
};
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetDefaultEditor",_kwnames
,&_argo0
,&_argo1
))
11682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetDefaultEditor. Expected _wxGrid_p.");
11689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGridCellEditor_p")) {
11691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGrid_SetDefaultEditor. Expected _wxGridCellEditor_p.");
11696 wxPy_BEGIN_ALLOW_THREADS
;
11697 wxGrid_SetDefaultEditor(_arg0
,_arg1
);
11699 wxPy_END_ALLOW_THREADS
;
11700 if (PyErr_Occurred()) return NULL
;
11701 } Py_INCREF(Py_None
);
11702 _resultobj
= Py_None
;
11706 #define wxGrid_SetCellEditor(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellEditor(_swigarg0,_swigarg1,_swigarg2))
11707 static PyObject
*_wrap_wxGrid_SetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
* _resultobj
;
11712 wxGridCellEditor
* _arg3
;
11713 PyObject
* _argo0
= 0;
11714 PyObject
* _argo3
= 0;
11715 char *_kwnames
[] = { "self","row","col","editor", NULL
};
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
11721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellEditor. Expected _wxGrid_p.");
11728 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11729 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
11730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_SetCellEditor. Expected _wxGridCellEditor_p.");
11735 wxPy_BEGIN_ALLOW_THREADS
;
11736 wxGrid_SetCellEditor(_arg0
,_arg1
,_arg2
,_arg3
);
11738 wxPy_END_ALLOW_THREADS
;
11739 if (PyErr_Occurred()) return NULL
;
11740 } Py_INCREF(Py_None
);
11741 _resultobj
= Py_None
;
11745 #define wxGrid_GetDefaultEditor(_swigobj) (_swigobj->GetDefaultEditor())
11746 static PyObject
*_wrap_wxGrid_GetDefaultEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
* _resultobj
;
11748 wxGridCellEditor
* _result
;
11750 PyObject
* _argo0
= 0;
11751 char *_kwnames
[] = { "self", NULL
};
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetDefaultEditor",_kwnames
,&_argo0
))
11758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditor. Expected _wxGrid_p.");
11765 wxPy_BEGIN_ALLOW_THREADS
;
11766 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditor(_arg0
);
11768 wxPy_END_ALLOW_THREADS
;
11769 if (PyErr_Occurred()) return NULL
;
11771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11772 _resultobj
= Py_BuildValue("s",_ptemp
);
11774 Py_INCREF(Py_None
);
11775 _resultobj
= Py_None
;
11780 #define wxGrid_GetCellEditor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellEditor(_swigarg0,_swigarg1))
11781 static PyObject
*_wrap_wxGrid_GetCellEditor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
* _resultobj
;
11783 wxGridCellEditor
* _result
;
11787 PyObject
* _argo0
= 0;
11788 char *_kwnames
[] = { "self","row","col", NULL
};
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellEditor",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellEditor. Expected _wxGrid_p.");
11802 wxPy_BEGIN_ALLOW_THREADS
;
11803 _result
= (wxGridCellEditor
*)wxGrid_GetCellEditor(_arg0
,_arg1
,_arg2
);
11805 wxPy_END_ALLOW_THREADS
;
11806 if (PyErr_Occurred()) return NULL
;
11808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
11809 _resultobj
= Py_BuildValue("s",_ptemp
);
11811 Py_INCREF(Py_None
);
11812 _resultobj
= Py_None
;
11817 #define wxGrid_GetCellValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCellValue(_swigarg0,_swigarg1))
11818 static PyObject
*_wrap_wxGrid_GetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
* _resultobj
;
11820 wxString
* _result
;
11824 PyObject
* _argo0
= 0;
11825 char *_kwnames
[] = { "self","row","col", NULL
};
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetCellValue. Expected _wxGrid_p.");
11838 wxPy_BEGIN_ALLOW_THREADS
;
11839 _result
= new wxString (wxGrid_GetCellValue(_arg0
,_arg1
,_arg2
));
11841 wxPy_END_ALLOW_THREADS
;
11842 if (PyErr_Occurred()) return NULL
;
11844 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11852 #define wxGrid_SetCellValue(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellValue(_swigarg0,_swigarg1,_swigarg2))
11853 static PyObject
*_wrap_wxGrid_SetCellValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
* _resultobj
;
11859 PyObject
* _argo0
= 0;
11860 PyObject
* _obj3
= 0;
11861 char *_kwnames
[] = { "self","row","col","s", NULL
};
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO:wxGrid_SetCellValue",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
11867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetCellValue. Expected _wxGrid_p.");
11874 #if PYTHON_API_VERSION >= 1009
11875 char* tmpPtr
; int tmpSize
;
11876 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11880 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11882 _arg3
= new wxString(tmpPtr
, tmpSize
);
11884 if (!PyString_Check(_obj3
)) {
11885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11888 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11892 wxPy_BEGIN_ALLOW_THREADS
;
11893 wxGrid_SetCellValue(_arg0
,_arg1
,_arg2
,*_arg3
);
11895 wxPy_END_ALLOW_THREADS
;
11896 if (PyErr_Occurred()) return NULL
;
11897 } Py_INCREF(Py_None
);
11898 _resultobj
= Py_None
;
11906 #define wxGrid_IsReadOnly(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsReadOnly(_swigarg0,_swigarg1))
11907 static PyObject
*_wrap_wxGrid_IsReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
* _resultobj
;
11913 PyObject
* _argo0
= 0;
11914 char *_kwnames
[] = { "self","row","col", NULL
};
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsReadOnly. Expected _wxGrid_p.");
11927 wxPy_BEGIN_ALLOW_THREADS
;
11928 _result
= (bool )wxGrid_IsReadOnly(_arg0
,_arg1
,_arg2
);
11930 wxPy_END_ALLOW_THREADS
;
11931 if (PyErr_Occurred()) return NULL
;
11932 } _resultobj
= Py_BuildValue("i",_result
);
11936 #define wxGrid_SetReadOnly(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetReadOnly(_swigarg0,_swigarg1,_swigarg2))
11937 static PyObject
*_wrap_wxGrid_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
* _resultobj
;
11942 bool _arg3
= (bool ) TRUE
;
11943 PyObject
* _argo0
= 0;
11944 int tempbool3
= (int) TRUE
;
11945 char *_kwnames
[] = { "self","row","col","isReadOnly", NULL
};
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxGrid_SetReadOnly",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
11951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetReadOnly. Expected _wxGrid_p.");
11957 _arg3
= (bool ) tempbool3
;
11959 wxPy_BEGIN_ALLOW_THREADS
;
11960 wxGrid_SetReadOnly(_arg0
,_arg1
,_arg2
,_arg3
);
11962 wxPy_END_ALLOW_THREADS
;
11963 if (PyErr_Occurred()) return NULL
;
11964 } Py_INCREF(Py_None
);
11965 _resultobj
= Py_None
;
11969 #define wxGrid_SelectRow(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectRow(_swigarg0,_swigarg1))
11970 static PyObject
*_wrap_wxGrid_SelectRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
* _resultobj
;
11974 bool _arg2
= (bool ) FALSE
;
11975 PyObject
* _argo0
= 0;
11976 int tempbool2
= (int) FALSE
;
11977 char *_kwnames
[] = { "self","row","addToSelected", NULL
};
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectRow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
11983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
11985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectRow. Expected _wxGrid_p.");
11989 _arg2
= (bool ) tempbool2
;
11991 wxPy_BEGIN_ALLOW_THREADS
;
11992 wxGrid_SelectRow(_arg0
,_arg1
,_arg2
);
11994 wxPy_END_ALLOW_THREADS
;
11995 if (PyErr_Occurred()) return NULL
;
11996 } Py_INCREF(Py_None
);
11997 _resultobj
= Py_None
;
12001 #define wxGrid_SelectCol(_swigobj,_swigarg0,_swigarg1) (_swigobj->SelectCol(_swigarg0,_swigarg1))
12002 static PyObject
*_wrap_wxGrid_SelectCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
* _resultobj
;
12006 bool _arg2
= (bool ) FALSE
;
12007 PyObject
* _argo0
= 0;
12008 int tempbool2
= (int) FALSE
;
12009 char *_kwnames
[] = { "self","col","addToSelected", NULL
};
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxGrid_SelectCol",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
12015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectCol. Expected _wxGrid_p.");
12021 _arg2
= (bool ) tempbool2
;
12023 wxPy_BEGIN_ALLOW_THREADS
;
12024 wxGrid_SelectCol(_arg0
,_arg1
,_arg2
);
12026 wxPy_END_ALLOW_THREADS
;
12027 if (PyErr_Occurred()) return NULL
;
12028 } Py_INCREF(Py_None
);
12029 _resultobj
= Py_None
;
12033 #define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12034 static PyObject
*_wrap_wxGrid_SelectBlock(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
* _resultobj
;
12041 bool _arg5
= (bool ) FALSE
;
12042 PyObject
* _argo0
= 0;
12043 int tempbool5
= (int) FALSE
;
12044 char *_kwnames
[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL
};
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxGrid_SelectBlock",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
12050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectBlock. Expected _wxGrid_p.");
12056 _arg5
= (bool ) tempbool5
;
12058 wxPy_BEGIN_ALLOW_THREADS
;
12059 wxGrid_SelectBlock(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
12061 wxPy_END_ALLOW_THREADS
;
12062 if (PyErr_Occurred()) return NULL
;
12063 } Py_INCREF(Py_None
);
12064 _resultobj
= Py_None
;
12068 #define wxGrid_SelectAll(_swigobj) (_swigobj->SelectAll())
12069 static PyObject
*_wrap_wxGrid_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
* _resultobj
;
12072 PyObject
* _argo0
= 0;
12073 char *_kwnames
[] = { "self", NULL
};
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_SelectAll",_kwnames
,&_argo0
))
12079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SelectAll. Expected _wxGrid_p.");
12086 wxPy_BEGIN_ALLOW_THREADS
;
12087 wxGrid_SelectAll(_arg0
);
12089 wxPy_END_ALLOW_THREADS
;
12090 if (PyErr_Occurred()) return NULL
;
12091 } Py_INCREF(Py_None
);
12092 _resultobj
= Py_None
;
12096 #define wxGrid_IsSelection(_swigobj) (_swigobj->IsSelection())
12097 static PyObject
*_wrap_wxGrid_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
* _resultobj
;
12101 PyObject
* _argo0
= 0;
12102 char *_kwnames
[] = { "self", NULL
};
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_IsSelection",_kwnames
,&_argo0
))
12108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsSelection. Expected _wxGrid_p.");
12115 wxPy_BEGIN_ALLOW_THREADS
;
12116 _result
= (bool )wxGrid_IsSelection(_arg0
);
12118 wxPy_END_ALLOW_THREADS
;
12119 if (PyErr_Occurred()) return NULL
;
12120 } _resultobj
= Py_BuildValue("i",_result
);
12124 #define wxGrid_ClearSelection(_swigobj) (_swigobj->ClearSelection())
12125 static PyObject
*_wrap_wxGrid_ClearSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
* _resultobj
;
12128 PyObject
* _argo0
= 0;
12129 char *_kwnames
[] = { "self", NULL
};
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_ClearSelection",_kwnames
,&_argo0
))
12135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_ClearSelection. Expected _wxGrid_p.");
12142 wxPy_BEGIN_ALLOW_THREADS
;
12143 wxGrid_ClearSelection(_arg0
);
12145 wxPy_END_ALLOW_THREADS
;
12146 if (PyErr_Occurred()) return NULL
;
12147 } Py_INCREF(Py_None
);
12148 _resultobj
= Py_None
;
12152 #define wxGrid_IsInSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->IsInSelection(_swigarg0,_swigarg1))
12153 static PyObject
*_wrap_wxGrid_IsInSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
* _resultobj
;
12159 PyObject
* _argo0
= 0;
12160 char *_kwnames
[] = { "self","row","col", NULL
};
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_IsInSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_IsInSelection. Expected _wxGrid_p.");
12173 wxPy_BEGIN_ALLOW_THREADS
;
12174 _result
= (bool )wxGrid_IsInSelection(_arg0
,_arg1
,_arg2
);
12176 wxPy_END_ALLOW_THREADS
;
12177 if (PyErr_Occurred()) return NULL
;
12178 } _resultobj
= Py_BuildValue("i",_result
);
12182 #define wxGrid_BlockToDeviceRect(_swigobj,_swigarg0,_swigarg1) (_swigobj->BlockToDeviceRect(_swigarg0,_swigarg1))
12183 static PyObject
*_wrap_wxGrid_BlockToDeviceRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
* _resultobj
;
12187 wxGridCellCoords
* _arg1
;
12188 wxGridCellCoords
* _arg2
;
12189 PyObject
* _argo0
= 0;
12190 wxGridCellCoords temp
;
12191 PyObject
* _obj1
= 0;
12192 wxGridCellCoords temp0
;
12193 PyObject
* _obj2
= 0;
12194 char *_kwnames
[] = { "self","topLeft","bottomRight", NULL
};
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxGrid_BlockToDeviceRect",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
12201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_BlockToDeviceRect. Expected _wxGrid_p.");
12209 if (! wxGridCellCoords_helper(_obj1
, &_arg1
))
12214 if (! wxGridCellCoords_helper(_obj2
, &_arg2
))
12218 wxPy_BEGIN_ALLOW_THREADS
;
12219 _result
= new wxRect (wxGrid_BlockToDeviceRect(_arg0
,*_arg1
,*_arg2
));
12221 wxPy_END_ALLOW_THREADS
;
12222 if (PyErr_Occurred()) return NULL
;
12223 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
12224 _resultobj
= Py_BuildValue("s",_ptemp
);
12228 #define wxGrid_GetSelectionBackground(_swigobj) (_swigobj->GetSelectionBackground())
12229 static PyObject
*_wrap_wxGrid_GetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
* _resultobj
;
12231 wxColour
* _result
;
12233 PyObject
* _argo0
= 0;
12234 char *_kwnames
[] = { "self", NULL
};
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionBackground",_kwnames
,&_argo0
))
12241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionBackground. Expected _wxGrid_p.");
12248 wxPy_BEGIN_ALLOW_THREADS
;
12249 _result
= new wxColour (wxGrid_GetSelectionBackground(_arg0
));
12251 wxPy_END_ALLOW_THREADS
;
12252 if (PyErr_Occurred()) return NULL
;
12253 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12254 _resultobj
= Py_BuildValue("s",_ptemp
);
12258 #define wxGrid_GetSelectionForeground(_swigobj) (_swigobj->GetSelectionForeground())
12259 static PyObject
*_wrap_wxGrid_GetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
* _resultobj
;
12261 wxColour
* _result
;
12263 PyObject
* _argo0
= 0;
12264 char *_kwnames
[] = { "self", NULL
};
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetSelectionForeground",_kwnames
,&_argo0
))
12271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetSelectionForeground. Expected _wxGrid_p.");
12278 wxPy_BEGIN_ALLOW_THREADS
;
12279 _result
= new wxColour (wxGrid_GetSelectionForeground(_arg0
));
12281 wxPy_END_ALLOW_THREADS
;
12282 if (PyErr_Occurred()) return NULL
;
12283 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
12284 _resultobj
= Py_BuildValue("s",_ptemp
);
12288 #define wxGrid_SetSelectionBackground(_swigobj,_swigarg0) (_swigobj->SetSelectionBackground(_swigarg0))
12289 static PyObject
*_wrap_wxGrid_SetSelectionBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
* _resultobj
;
12293 PyObject
* _argo0
= 0;
12295 PyObject
* _obj1
= 0;
12296 char *_kwnames
[] = { "self","c", NULL
};
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionBackground",_kwnames
,&_argo0
,&_obj1
))
12302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionBackground. Expected _wxGrid_p.");
12310 if (! wxColour_helper(_obj1
, &_arg1
))
12314 wxPy_BEGIN_ALLOW_THREADS
;
12315 wxGrid_SetSelectionBackground(_arg0
,*_arg1
);
12317 wxPy_END_ALLOW_THREADS
;
12318 if (PyErr_Occurred()) return NULL
;
12319 } Py_INCREF(Py_None
);
12320 _resultobj
= Py_None
;
12324 #define wxGrid_SetSelectionForeground(_swigobj,_swigarg0) (_swigobj->SetSelectionForeground(_swigarg0))
12325 static PyObject
*_wrap_wxGrid_SetSelectionForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
* _resultobj
;
12329 PyObject
* _argo0
= 0;
12331 PyObject
* _obj1
= 0;
12332 char *_kwnames
[] = { "self","c", NULL
};
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_SetSelectionForeground",_kwnames
,&_argo0
,&_obj1
))
12338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetSelectionForeground. Expected _wxGrid_p.");
12346 if (! wxColour_helper(_obj1
, &_arg1
))
12350 wxPy_BEGIN_ALLOW_THREADS
;
12351 wxGrid_SetSelectionForeground(_arg0
,*_arg1
);
12353 wxPy_END_ALLOW_THREADS
;
12354 if (PyErr_Occurred()) return NULL
;
12355 } Py_INCREF(Py_None
);
12356 _resultobj
= Py_None
;
12360 #define wxGrid_RegisterDataType(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->RegisterDataType(_swigarg0,_swigarg1,_swigarg2))
12361 static PyObject
*_wrap_wxGrid_RegisterDataType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
* _resultobj
;
12365 wxGridCellRenderer
* _arg2
;
12366 wxGridCellEditor
* _arg3
;
12367 PyObject
* _argo0
= 0;
12368 PyObject
* _obj1
= 0;
12369 PyObject
* _argo2
= 0;
12370 PyObject
* _argo3
= 0;
12371 char *_kwnames
[] = { "self","typeName","renderer","editor", NULL
};
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxGrid_RegisterDataType",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
12377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_RegisterDataType. Expected _wxGrid_p.");
12384 #if PYTHON_API_VERSION >= 1009
12385 char* tmpPtr
; int tmpSize
;
12386 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12390 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12392 _arg1
= new wxString(tmpPtr
, tmpSize
);
12394 if (!PyString_Check(_obj1
)) {
12395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12398 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12402 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12403 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGridCellRenderer_p")) {
12404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxGrid_RegisterDataType. Expected _wxGridCellRenderer_p.");
12409 if (_argo3
== Py_None
) { _arg3
= NULL
; }
12410 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxGridCellEditor_p")) {
12411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGrid_RegisterDataType. Expected _wxGridCellEditor_p.");
12416 wxPy_BEGIN_ALLOW_THREADS
;
12417 wxGrid_RegisterDataType(_arg0
,*_arg1
,_arg2
,_arg3
);
12419 wxPy_END_ALLOW_THREADS
;
12420 if (PyErr_Occurred()) return NULL
;
12421 } Py_INCREF(Py_None
);
12422 _resultobj
= Py_None
;
12430 #define wxGrid_GetDefaultEditorForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultEditorForCell(_swigarg0,_swigarg1))
12431 static PyObject
*_wrap_wxGrid_GetDefaultEditorForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
* _resultobj
;
12433 wxGridCellEditor
* _result
;
12437 PyObject
* _argo0
= 0;
12438 char *_kwnames
[] = { "self","row","col", NULL
};
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultEditorForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForCell. Expected _wxGrid_p.");
12452 wxPy_BEGIN_ALLOW_THREADS
;
12453 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForCell(_arg0
,_arg1
,_arg2
);
12455 wxPy_END_ALLOW_THREADS
;
12456 if (PyErr_Occurred()) return NULL
;
12458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12459 _resultobj
= Py_BuildValue("s",_ptemp
);
12461 Py_INCREF(Py_None
);
12462 _resultobj
= Py_None
;
12467 #define wxGrid_GetDefaultRendererForCell(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetDefaultRendererForCell(_swigarg0,_swigarg1))
12468 static PyObject
*_wrap_wxGrid_GetDefaultRendererForCell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
* _resultobj
;
12470 wxGridCellRenderer
* _result
;
12474 PyObject
* _argo0
= 0;
12475 char *_kwnames
[] = { "self","row","col", NULL
};
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_GetDefaultRendererForCell",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForCell. Expected _wxGrid_p.");
12489 wxPy_BEGIN_ALLOW_THREADS
;
12490 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForCell(_arg0
,_arg1
,_arg2
);
12492 wxPy_END_ALLOW_THREADS
;
12493 if (PyErr_Occurred()) return NULL
;
12495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12496 _resultobj
= Py_BuildValue("s",_ptemp
);
12498 Py_INCREF(Py_None
);
12499 _resultobj
= Py_None
;
12504 #define wxGrid_GetDefaultEditorForType(_swigobj,_swigarg0) (_swigobj->GetDefaultEditorForType(_swigarg0))
12505 static PyObject
*_wrap_wxGrid_GetDefaultEditorForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
* _resultobj
;
12507 wxGridCellEditor
* _result
;
12510 PyObject
* _argo0
= 0;
12511 PyObject
* _obj1
= 0;
12512 char *_kwnames
[] = { "self","typeName", NULL
};
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultEditorForType",_kwnames
,&_argo0
,&_obj1
))
12519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultEditorForType. Expected _wxGrid_p.");
12526 #if PYTHON_API_VERSION >= 1009
12527 char* tmpPtr
; int tmpSize
;
12528 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12532 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12534 _arg1
= new wxString(tmpPtr
, tmpSize
);
12536 if (!PyString_Check(_obj1
)) {
12537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12540 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12544 wxPy_BEGIN_ALLOW_THREADS
;
12545 _result
= (wxGridCellEditor
*)wxGrid_GetDefaultEditorForType(_arg0
,*_arg1
);
12547 wxPy_END_ALLOW_THREADS
;
12548 if (PyErr_Occurred()) return NULL
;
12550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellEditor_p");
12551 _resultobj
= Py_BuildValue("s",_ptemp
);
12553 Py_INCREF(Py_None
);
12554 _resultobj
= Py_None
;
12563 #define wxGrid_GetDefaultRendererForType(_swigobj,_swigarg0) (_swigobj->GetDefaultRendererForType(_swigarg0))
12564 static PyObject
*_wrap_wxGrid_GetDefaultRendererForType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
* _resultobj
;
12566 wxGridCellRenderer
* _result
;
12569 PyObject
* _argo0
= 0;
12570 PyObject
* _obj1
= 0;
12571 char *_kwnames
[] = { "self","typeName", NULL
};
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGrid_GetDefaultRendererForType",_kwnames
,&_argo0
,&_obj1
))
12578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetDefaultRendererForType. Expected _wxGrid_p.");
12585 #if PYTHON_API_VERSION >= 1009
12586 char* tmpPtr
; int tmpSize
;
12587 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
12588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12591 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
12593 _arg1
= new wxString(tmpPtr
, tmpSize
);
12595 if (!PyString_Check(_obj1
)) {
12596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
12599 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
12603 wxPy_BEGIN_ALLOW_THREADS
;
12604 _result
= (wxGridCellRenderer
*)wxGrid_GetDefaultRendererForType(_arg0
,*_arg1
);
12606 wxPy_END_ALLOW_THREADS
;
12607 if (PyErr_Occurred()) return NULL
;
12609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridCellRenderer_p");
12610 _resultobj
= Py_BuildValue("s",_ptemp
);
12612 Py_INCREF(Py_None
);
12613 _resultobj
= Py_None
;
12622 #define wxGrid_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
12623 static PyObject
*_wrap_wxGrid_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
* _resultobj
;
12628 PyObject
* _argo0
= 0;
12629 char *_kwnames
[] = { "self","extraWidth","extraHeight", NULL
};
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxGrid_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_SetMargins. Expected _wxGrid_p.");
12642 wxPy_BEGIN_ALLOW_THREADS
;
12643 wxGrid_SetMargins(_arg0
,_arg1
,_arg2
);
12645 wxPy_END_ALLOW_THREADS
;
12646 if (PyErr_Occurred()) return NULL
;
12647 } Py_INCREF(Py_None
);
12648 _resultobj
= Py_None
;
12652 #define wxGrid_GetGridWindow(_swigobj) (_swigobj->GetGridWindow())
12653 static PyObject
*_wrap_wxGrid_GetGridWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
* _resultobj
;
12655 wxWindow
* _result
;
12657 PyObject
* _argo0
= 0;
12658 char *_kwnames
[] = { "self", NULL
};
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridWindow",_kwnames
,&_argo0
))
12664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridWindow. Expected _wxGrid_p.");
12671 wxPy_BEGIN_ALLOW_THREADS
;
12672 _result
= (wxWindow
*)wxGrid_GetGridWindow(_arg0
);
12674 wxPy_END_ALLOW_THREADS
;
12675 if (PyErr_Occurred()) return NULL
;
12676 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12680 #define wxGrid_GetGridRowLabelWindow(_swigobj) (_swigobj->GetGridRowLabelWindow())
12681 static PyObject
*_wrap_wxGrid_GetGridRowLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
* _resultobj
;
12683 wxWindow
* _result
;
12685 PyObject
* _argo0
= 0;
12686 char *_kwnames
[] = { "self", NULL
};
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridRowLabelWindow",_kwnames
,&_argo0
))
12692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridRowLabelWindow. Expected _wxGrid_p.");
12699 wxPy_BEGIN_ALLOW_THREADS
;
12700 _result
= (wxWindow
*)wxGrid_GetGridRowLabelWindow(_arg0
);
12702 wxPy_END_ALLOW_THREADS
;
12703 if (PyErr_Occurred()) return NULL
;
12704 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12708 #define wxGrid_GetGridColLabelWindow(_swigobj) (_swigobj->GetGridColLabelWindow())
12709 static PyObject
*_wrap_wxGrid_GetGridColLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
* _resultobj
;
12711 wxWindow
* _result
;
12713 PyObject
* _argo0
= 0;
12714 char *_kwnames
[] = { "self", NULL
};
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridColLabelWindow",_kwnames
,&_argo0
))
12720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridColLabelWindow. Expected _wxGrid_p.");
12727 wxPy_BEGIN_ALLOW_THREADS
;
12728 _result
= (wxWindow
*)wxGrid_GetGridColLabelWindow(_arg0
);
12730 wxPy_END_ALLOW_THREADS
;
12731 if (PyErr_Occurred()) return NULL
;
12732 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12736 #define wxGrid_GetGridCornerLabelWindow(_swigobj) (_swigobj->GetGridCornerLabelWindow())
12737 static PyObject
*_wrap_wxGrid_GetGridCornerLabelWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
* _resultobj
;
12739 wxWindow
* _result
;
12741 PyObject
* _argo0
= 0;
12742 char *_kwnames
[] = { "self", NULL
};
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGrid_GetGridCornerLabelWindow",_kwnames
,&_argo0
))
12748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGrid_p")) {
12750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGrid_GetGridCornerLabelWindow. Expected _wxGrid_p.");
12755 wxPy_BEGIN_ALLOW_THREADS
;
12756 _result
= (wxWindow
*)wxGrid_GetGridCornerLabelWindow(_arg0
);
12758 wxPy_END_ALLOW_THREADS
;
12759 if (PyErr_Occurred()) return NULL
;
12760 }{ _resultobj
= wxPyMake_wxObject(_result
); }
12764 static void *SwigwxGridEventTowxNotifyEvent(void *ptr
) {
12766 wxNotifyEvent
*dest
;
12767 src
= (wxGridEvent
*) ptr
;
12768 dest
= (wxNotifyEvent
*) src
;
12769 return (void *) dest
;
12772 static void *SwigwxGridEventTowxCommandEvent(void *ptr
) {
12774 wxCommandEvent
*dest
;
12775 src
= (wxGridEvent
*) ptr
;
12776 dest
= (wxCommandEvent
*) src
;
12777 return (void *) dest
;
12780 static void *SwigwxGridEventTowxEvent(void *ptr
) {
12783 src
= (wxGridEvent
*) ptr
;
12784 dest
= (wxEvent
*) src
;
12785 return (void *) dest
;
12788 static void *SwigwxGridEventTowxObject(void *ptr
) {
12791 src
= (wxGridEvent
*) ptr
;
12792 dest
= (wxObject
*) src
;
12793 return (void *) dest
;
12796 #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))
12797 static PyObject
*_wrap_new_wxGridEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
* _resultobj
;
12799 wxGridEvent
* _result
;
12803 int _arg3
= (int ) -1;
12804 int _arg4
= (int ) -1;
12805 int _arg5
= (int ) -1;
12806 int _arg6
= (int ) -1;
12807 bool _arg7
= (bool ) TRUE
;
12808 bool _arg8
= (bool ) FALSE
;
12809 bool _arg9
= (bool ) FALSE
;
12810 bool _arg10
= (bool ) FALSE
;
12811 bool _arg11
= (bool ) FALSE
;
12812 PyObject
* _argo2
= 0;
12813 int tempbool7
= (int) TRUE
;
12814 int tempbool8
= (int) FALSE
;
12815 int tempbool9
= (int) FALSE
;
12816 int tempbool10
= (int) FALSE
;
12817 int tempbool11
= (int) FALSE
;
12818 char *_kwnames
[] = { "id","type","obj","row","col","x","y","sel","control","shift","alt","meta", NULL
};
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiiiii:new_wxGridEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&tempbool7
,&tempbool8
,&tempbool9
,&tempbool10
,&tempbool11
))
12825 if (_argo2
== Py_None
) { _arg2
= NULL
; }
12826 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
12827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEvent. Expected _wxGrid_p.");
12831 _arg7
= (bool ) tempbool7
;
12832 _arg8
= (bool ) tempbool8
;
12833 _arg9
= (bool ) tempbool9
;
12834 _arg10
= (bool ) tempbool10
;
12835 _arg11
= (bool ) tempbool11
;
12837 wxPy_BEGIN_ALLOW_THREADS
;
12838 _result
= (wxGridEvent
*)new_wxGridEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
,_arg11
);
12840 wxPy_END_ALLOW_THREADS
;
12841 if (PyErr_Occurred()) return NULL
;
12843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEvent_p");
12844 _resultobj
= Py_BuildValue("s",_ptemp
);
12846 Py_INCREF(Py_None
);
12847 _resultobj
= Py_None
;
12852 #define wxGridEvent_GetRow(_swigobj) (_swigobj->GetRow())
12853 static PyObject
*_wrap_wxGridEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
* _resultobj
;
12856 wxGridEvent
* _arg0
;
12857 PyObject
* _argo0
= 0;
12858 char *_kwnames
[] = { "self", NULL
};
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetRow",_kwnames
,&_argo0
))
12864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetRow. Expected _wxGridEvent_p.");
12871 wxPy_BEGIN_ALLOW_THREADS
;
12872 _result
= (int )wxGridEvent_GetRow(_arg0
);
12874 wxPy_END_ALLOW_THREADS
;
12875 if (PyErr_Occurred()) return NULL
;
12876 } _resultobj
= Py_BuildValue("i",_result
);
12880 #define wxGridEvent_GetCol(_swigobj) (_swigobj->GetCol())
12881 static PyObject
*_wrap_wxGridEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
* _resultobj
;
12884 wxGridEvent
* _arg0
;
12885 PyObject
* _argo0
= 0;
12886 char *_kwnames
[] = { "self", NULL
};
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetCol",_kwnames
,&_argo0
))
12892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetCol. Expected _wxGridEvent_p.");
12899 wxPy_BEGIN_ALLOW_THREADS
;
12900 _result
= (int )wxGridEvent_GetCol(_arg0
);
12902 wxPy_END_ALLOW_THREADS
;
12903 if (PyErr_Occurred()) return NULL
;
12904 } _resultobj
= Py_BuildValue("i",_result
);
12908 #define wxGridEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
12909 static PyObject
*_wrap_wxGridEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
* _resultobj
;
12912 wxGridEvent
* _arg0
;
12913 PyObject
* _argo0
= 0;
12914 char *_kwnames
[] = { "self", NULL
};
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_GetPosition",_kwnames
,&_argo0
))
12921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_GetPosition. Expected _wxGridEvent_p.");
12928 wxPy_BEGIN_ALLOW_THREADS
;
12929 _result
= new wxPoint (wxGridEvent_GetPosition(_arg0
));
12931 wxPy_END_ALLOW_THREADS
;
12932 if (PyErr_Occurred()) return NULL
;
12933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
12934 _resultobj
= Py_BuildValue("s",_ptemp
);
12938 #define wxGridEvent_Selecting(_swigobj) (_swigobj->Selecting())
12939 static PyObject
*_wrap_wxGridEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
* _resultobj
;
12942 wxGridEvent
* _arg0
;
12943 PyObject
* _argo0
= 0;
12944 char *_kwnames
[] = { "self", NULL
};
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_Selecting",_kwnames
,&_argo0
))
12950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_Selecting. Expected _wxGridEvent_p.");
12957 wxPy_BEGIN_ALLOW_THREADS
;
12958 _result
= (bool )wxGridEvent_Selecting(_arg0
);
12960 wxPy_END_ALLOW_THREADS
;
12961 if (PyErr_Occurred()) return NULL
;
12962 } _resultobj
= Py_BuildValue("i",_result
);
12966 #define wxGridEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
12967 static PyObject
*_wrap_wxGridEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
* _resultobj
;
12970 wxGridEvent
* _arg0
;
12971 PyObject
* _argo0
= 0;
12972 char *_kwnames
[] = { "self", NULL
};
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ControlDown",_kwnames
,&_argo0
))
12978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
12980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ControlDown. Expected _wxGridEvent_p.");
12985 wxPy_BEGIN_ALLOW_THREADS
;
12986 _result
= (bool )wxGridEvent_ControlDown(_arg0
);
12988 wxPy_END_ALLOW_THREADS
;
12989 if (PyErr_Occurred()) return NULL
;
12990 } _resultobj
= Py_BuildValue("i",_result
);
12994 #define wxGridEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
12995 static PyObject
*_wrap_wxGridEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
* _resultobj
;
12998 wxGridEvent
* _arg0
;
12999 PyObject
* _argo0
= 0;
13000 char *_kwnames
[] = { "self", NULL
};
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_MetaDown",_kwnames
,&_argo0
))
13006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_MetaDown. Expected _wxGridEvent_p.");
13013 wxPy_BEGIN_ALLOW_THREADS
;
13014 _result
= (bool )wxGridEvent_MetaDown(_arg0
);
13016 wxPy_END_ALLOW_THREADS
;
13017 if (PyErr_Occurred()) return NULL
;
13018 } _resultobj
= Py_BuildValue("i",_result
);
13022 #define wxGridEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13023 static PyObject
*_wrap_wxGridEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
* _resultobj
;
13026 wxGridEvent
* _arg0
;
13027 PyObject
* _argo0
= 0;
13028 char *_kwnames
[] = { "self", NULL
};
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_ShiftDown",_kwnames
,&_argo0
))
13034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_ShiftDown. Expected _wxGridEvent_p.");
13041 wxPy_BEGIN_ALLOW_THREADS
;
13042 _result
= (bool )wxGridEvent_ShiftDown(_arg0
);
13044 wxPy_END_ALLOW_THREADS
;
13045 if (PyErr_Occurred()) return NULL
;
13046 } _resultobj
= Py_BuildValue("i",_result
);
13050 #define wxGridEvent_AltDown(_swigobj) (_swigobj->AltDown())
13051 static PyObject
*_wrap_wxGridEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
* _resultobj
;
13054 wxGridEvent
* _arg0
;
13055 PyObject
* _argo0
= 0;
13056 char *_kwnames
[] = { "self", NULL
};
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEvent_AltDown",_kwnames
,&_argo0
))
13062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEvent_p")) {
13064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEvent_AltDown. Expected _wxGridEvent_p.");
13069 wxPy_BEGIN_ALLOW_THREADS
;
13070 _result
= (bool )wxGridEvent_AltDown(_arg0
);
13072 wxPy_END_ALLOW_THREADS
;
13073 if (PyErr_Occurred()) return NULL
;
13074 } _resultobj
= Py_BuildValue("i",_result
);
13078 static void *SwigwxGridSizeEventTowxNotifyEvent(void *ptr
) {
13079 wxGridSizeEvent
*src
;
13080 wxNotifyEvent
*dest
;
13081 src
= (wxGridSizeEvent
*) ptr
;
13082 dest
= (wxNotifyEvent
*) src
;
13083 return (void *) dest
;
13086 static void *SwigwxGridSizeEventTowxCommandEvent(void *ptr
) {
13087 wxGridSizeEvent
*src
;
13088 wxCommandEvent
*dest
;
13089 src
= (wxGridSizeEvent
*) ptr
;
13090 dest
= (wxCommandEvent
*) src
;
13091 return (void *) dest
;
13094 static void *SwigwxGridSizeEventTowxEvent(void *ptr
) {
13095 wxGridSizeEvent
*src
;
13097 src
= (wxGridSizeEvent
*) ptr
;
13098 dest
= (wxEvent
*) src
;
13099 return (void *) dest
;
13102 static void *SwigwxGridSizeEventTowxObject(void *ptr
) {
13103 wxGridSizeEvent
*src
;
13105 src
= (wxGridSizeEvent
*) ptr
;
13106 dest
= (wxObject
*) src
;
13107 return (void *) dest
;
13110 #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))
13111 static PyObject
*_wrap_new_wxGridSizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
* _resultobj
;
13113 wxGridSizeEvent
* _result
;
13117 int _arg3
= (int ) -1;
13118 int _arg4
= (int ) -1;
13119 int _arg5
= (int ) -1;
13120 bool _arg6
= (bool ) FALSE
;
13121 bool _arg7
= (bool ) FALSE
;
13122 bool _arg8
= (bool ) FALSE
;
13123 bool _arg9
= (bool ) FALSE
;
13124 PyObject
* _argo2
= 0;
13125 int tempbool6
= (int) FALSE
;
13126 int tempbool7
= (int) FALSE
;
13127 int tempbool8
= (int) FALSE
;
13128 int tempbool9
= (int) FALSE
;
13129 char *_kwnames
[] = { "id","type","obj","rowOrCol","x","y","control","shift","alt","meta", NULL
};
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiO|iiiiiii:new_wxGridSizeEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13136 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13137 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridSizeEvent. Expected _wxGrid_p.");
13142 _arg6
= (bool ) tempbool6
;
13143 _arg7
= (bool ) tempbool7
;
13144 _arg8
= (bool ) tempbool8
;
13145 _arg9
= (bool ) tempbool9
;
13147 wxPy_BEGIN_ALLOW_THREADS
;
13148 _result
= (wxGridSizeEvent
*)new_wxGridSizeEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13150 wxPy_END_ALLOW_THREADS
;
13151 if (PyErr_Occurred()) return NULL
;
13153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizeEvent_p");
13154 _resultobj
= Py_BuildValue("s",_ptemp
);
13156 Py_INCREF(Py_None
);
13157 _resultobj
= Py_None
;
13162 #define wxGridSizeEvent_GetRowOrCol(_swigobj) (_swigobj->GetRowOrCol())
13163 static PyObject
*_wrap_wxGridSizeEvent_GetRowOrCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
* _resultobj
;
13166 wxGridSizeEvent
* _arg0
;
13167 PyObject
* _argo0
= 0;
13168 char *_kwnames
[] = { "self", NULL
};
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetRowOrCol",_kwnames
,&_argo0
))
13174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetRowOrCol. Expected _wxGridSizeEvent_p.");
13181 wxPy_BEGIN_ALLOW_THREADS
;
13182 _result
= (int )wxGridSizeEvent_GetRowOrCol(_arg0
);
13184 wxPy_END_ALLOW_THREADS
;
13185 if (PyErr_Occurred()) return NULL
;
13186 } _resultobj
= Py_BuildValue("i",_result
);
13190 #define wxGridSizeEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
13191 static PyObject
*_wrap_wxGridSizeEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
* _resultobj
;
13194 wxGridSizeEvent
* _arg0
;
13195 PyObject
* _argo0
= 0;
13196 char *_kwnames
[] = { "self", NULL
};
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_GetPosition",_kwnames
,&_argo0
))
13203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_GetPosition. Expected _wxGridSizeEvent_p.");
13210 wxPy_BEGIN_ALLOW_THREADS
;
13211 _result
= new wxPoint (wxGridSizeEvent_GetPosition(_arg0
));
13213 wxPy_END_ALLOW_THREADS
;
13214 if (PyErr_Occurred()) return NULL
;
13215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
13216 _resultobj
= Py_BuildValue("s",_ptemp
);
13220 #define wxGridSizeEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13221 static PyObject
*_wrap_wxGridSizeEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
* _resultobj
;
13224 wxGridSizeEvent
* _arg0
;
13225 PyObject
* _argo0
= 0;
13226 char *_kwnames
[] = { "self", NULL
};
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ControlDown",_kwnames
,&_argo0
))
13232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ControlDown. Expected _wxGridSizeEvent_p.");
13239 wxPy_BEGIN_ALLOW_THREADS
;
13240 _result
= (bool )wxGridSizeEvent_ControlDown(_arg0
);
13242 wxPy_END_ALLOW_THREADS
;
13243 if (PyErr_Occurred()) return NULL
;
13244 } _resultobj
= Py_BuildValue("i",_result
);
13248 #define wxGridSizeEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13249 static PyObject
*_wrap_wxGridSizeEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
* _resultobj
;
13252 wxGridSizeEvent
* _arg0
;
13253 PyObject
* _argo0
= 0;
13254 char *_kwnames
[] = { "self", NULL
};
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_MetaDown",_kwnames
,&_argo0
))
13260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_MetaDown. Expected _wxGridSizeEvent_p.");
13267 wxPy_BEGIN_ALLOW_THREADS
;
13268 _result
= (bool )wxGridSizeEvent_MetaDown(_arg0
);
13270 wxPy_END_ALLOW_THREADS
;
13271 if (PyErr_Occurred()) return NULL
;
13272 } _resultobj
= Py_BuildValue("i",_result
);
13276 #define wxGridSizeEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13277 static PyObject
*_wrap_wxGridSizeEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
* _resultobj
;
13280 wxGridSizeEvent
* _arg0
;
13281 PyObject
* _argo0
= 0;
13282 char *_kwnames
[] = { "self", NULL
};
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_ShiftDown",_kwnames
,&_argo0
))
13288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_ShiftDown. Expected _wxGridSizeEvent_p.");
13295 wxPy_BEGIN_ALLOW_THREADS
;
13296 _result
= (bool )wxGridSizeEvent_ShiftDown(_arg0
);
13298 wxPy_END_ALLOW_THREADS
;
13299 if (PyErr_Occurred()) return NULL
;
13300 } _resultobj
= Py_BuildValue("i",_result
);
13304 #define wxGridSizeEvent_AltDown(_swigobj) (_swigobj->AltDown())
13305 static PyObject
*_wrap_wxGridSizeEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
* _resultobj
;
13308 wxGridSizeEvent
* _arg0
;
13309 PyObject
* _argo0
= 0;
13310 char *_kwnames
[] = { "self", NULL
};
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizeEvent_AltDown",_kwnames
,&_argo0
))
13316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizeEvent_p")) {
13318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizeEvent_AltDown. Expected _wxGridSizeEvent_p.");
13323 wxPy_BEGIN_ALLOW_THREADS
;
13324 _result
= (bool )wxGridSizeEvent_AltDown(_arg0
);
13326 wxPy_END_ALLOW_THREADS
;
13327 if (PyErr_Occurred()) return NULL
;
13328 } _resultobj
= Py_BuildValue("i",_result
);
13332 static void *SwigwxGridRangeSelectEventTowxNotifyEvent(void *ptr
) {
13333 wxGridRangeSelectEvent
*src
;
13334 wxNotifyEvent
*dest
;
13335 src
= (wxGridRangeSelectEvent
*) ptr
;
13336 dest
= (wxNotifyEvent
*) src
;
13337 return (void *) dest
;
13340 static void *SwigwxGridRangeSelectEventTowxCommandEvent(void *ptr
) {
13341 wxGridRangeSelectEvent
*src
;
13342 wxCommandEvent
*dest
;
13343 src
= (wxGridRangeSelectEvent
*) ptr
;
13344 dest
= (wxCommandEvent
*) src
;
13345 return (void *) dest
;
13348 static void *SwigwxGridRangeSelectEventTowxEvent(void *ptr
) {
13349 wxGridRangeSelectEvent
*src
;
13351 src
= (wxGridRangeSelectEvent
*) ptr
;
13352 dest
= (wxEvent
*) src
;
13353 return (void *) dest
;
13356 static void *SwigwxGridRangeSelectEventTowxObject(void *ptr
) {
13357 wxGridRangeSelectEvent
*src
;
13359 src
= (wxGridRangeSelectEvent
*) ptr
;
13360 dest
= (wxObject
*) src
;
13361 return (void *) dest
;
13364 #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))
13365 static PyObject
*_wrap_new_wxGridRangeSelectEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
* _resultobj
;
13367 wxGridRangeSelectEvent
* _result
;
13371 wxGridCellCoords
* _arg3
;
13372 wxGridCellCoords
* _arg4
;
13373 bool _arg5
= (bool ) TRUE
;
13374 bool _arg6
= (bool ) FALSE
;
13375 bool _arg7
= (bool ) FALSE
;
13376 bool _arg8
= (bool ) FALSE
;
13377 bool _arg9
= (bool ) FALSE
;
13378 PyObject
* _argo2
= 0;
13379 wxGridCellCoords temp
;
13380 PyObject
* _obj3
= 0;
13381 wxGridCellCoords temp0
;
13382 PyObject
* _obj4
= 0;
13383 int tempbool5
= (int) TRUE
;
13384 int tempbool6
= (int) FALSE
;
13385 int tempbool7
= (int) FALSE
;
13386 int tempbool8
= (int) FALSE
;
13387 int tempbool9
= (int) FALSE
;
13388 char *_kwnames
[] = { "id","type","obj","topLeft","bottomRight","sel","control","shift","alt","meta", NULL
};
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOOO|iiiii:new_wxGridRangeSelectEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&tempbool5
,&tempbool6
,&tempbool7
,&tempbool8
,&tempbool9
))
13395 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13396 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxGrid_p")) {
13397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridRangeSelectEvent. Expected _wxGrid_p.");
13403 if (! wxGridCellCoords_helper(_obj3
, &_arg3
))
13408 if (! wxGridCellCoords_helper(_obj4
, &_arg4
))
13411 _arg5
= (bool ) tempbool5
;
13412 _arg6
= (bool ) tempbool6
;
13413 _arg7
= (bool ) tempbool7
;
13414 _arg8
= (bool ) tempbool8
;
13415 _arg9
= (bool ) tempbool9
;
13417 wxPy_BEGIN_ALLOW_THREADS
;
13418 _result
= (wxGridRangeSelectEvent
*)new_wxGridRangeSelectEvent(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
13420 wxPy_END_ALLOW_THREADS
;
13421 if (PyErr_Occurred()) return NULL
;
13423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridRangeSelectEvent_p");
13424 _resultobj
= Py_BuildValue("s",_ptemp
);
13426 Py_INCREF(Py_None
);
13427 _resultobj
= Py_None
;
13432 #define wxGridRangeSelectEvent_GetTopLeftCoords(_swigobj) (_swigobj->GetTopLeftCoords())
13433 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopLeftCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
* _resultobj
;
13435 wxGridCellCoords
* _result
;
13436 wxGridRangeSelectEvent
* _arg0
;
13437 PyObject
* _argo0
= 0;
13438 char *_kwnames
[] = { "self", NULL
};
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopLeftCoords",_kwnames
,&_argo0
))
13445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopLeftCoords. Expected _wxGridRangeSelectEvent_p.");
13452 wxPy_BEGIN_ALLOW_THREADS
;
13453 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetTopLeftCoords(_arg0
));
13455 wxPy_END_ALLOW_THREADS
;
13456 if (PyErr_Occurred()) return NULL
;
13457 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13458 _resultobj
= Py_BuildValue("s",_ptemp
);
13462 #define wxGridRangeSelectEvent_GetBottomRightCoords(_swigobj) (_swigobj->GetBottomRightCoords())
13463 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRightCoords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
* _resultobj
;
13465 wxGridCellCoords
* _result
;
13466 wxGridRangeSelectEvent
* _arg0
;
13467 PyObject
* _argo0
= 0;
13468 char *_kwnames
[] = { "self", NULL
};
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRightCoords",_kwnames
,&_argo0
))
13475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRightCoords. Expected _wxGridRangeSelectEvent_p.");
13482 wxPy_BEGIN_ALLOW_THREADS
;
13483 _result
= new wxGridCellCoords (wxGridRangeSelectEvent_GetBottomRightCoords(_arg0
));
13485 wxPy_END_ALLOW_THREADS
;
13486 if (PyErr_Occurred()) return NULL
;
13487 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxGridCellCoords_p");
13488 _resultobj
= Py_BuildValue("s",_ptemp
);
13492 #define wxGridRangeSelectEvent_GetTopRow(_swigobj) (_swigobj->GetTopRow())
13493 static PyObject
*_wrap_wxGridRangeSelectEvent_GetTopRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
* _resultobj
;
13496 wxGridRangeSelectEvent
* _arg0
;
13497 PyObject
* _argo0
= 0;
13498 char *_kwnames
[] = { "self", NULL
};
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetTopRow",_kwnames
,&_argo0
))
13504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetTopRow. Expected _wxGridRangeSelectEvent_p.");
13511 wxPy_BEGIN_ALLOW_THREADS
;
13512 _result
= (int )wxGridRangeSelectEvent_GetTopRow(_arg0
);
13514 wxPy_END_ALLOW_THREADS
;
13515 if (PyErr_Occurred()) return NULL
;
13516 } _resultobj
= Py_BuildValue("i",_result
);
13520 #define wxGridRangeSelectEvent_GetBottomRow(_swigobj) (_swigobj->GetBottomRow())
13521 static PyObject
*_wrap_wxGridRangeSelectEvent_GetBottomRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
* _resultobj
;
13524 wxGridRangeSelectEvent
* _arg0
;
13525 PyObject
* _argo0
= 0;
13526 char *_kwnames
[] = { "self", NULL
};
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetBottomRow",_kwnames
,&_argo0
))
13532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetBottomRow. Expected _wxGridRangeSelectEvent_p.");
13539 wxPy_BEGIN_ALLOW_THREADS
;
13540 _result
= (int )wxGridRangeSelectEvent_GetBottomRow(_arg0
);
13542 wxPy_END_ALLOW_THREADS
;
13543 if (PyErr_Occurred()) return NULL
;
13544 } _resultobj
= Py_BuildValue("i",_result
);
13548 #define wxGridRangeSelectEvent_GetLeftCol(_swigobj) (_swigobj->GetLeftCol())
13549 static PyObject
*_wrap_wxGridRangeSelectEvent_GetLeftCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
* _resultobj
;
13552 wxGridRangeSelectEvent
* _arg0
;
13553 PyObject
* _argo0
= 0;
13554 char *_kwnames
[] = { "self", NULL
};
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetLeftCol",_kwnames
,&_argo0
))
13560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetLeftCol. Expected _wxGridRangeSelectEvent_p.");
13567 wxPy_BEGIN_ALLOW_THREADS
;
13568 _result
= (int )wxGridRangeSelectEvent_GetLeftCol(_arg0
);
13570 wxPy_END_ALLOW_THREADS
;
13571 if (PyErr_Occurred()) return NULL
;
13572 } _resultobj
= Py_BuildValue("i",_result
);
13576 #define wxGridRangeSelectEvent_GetRightCol(_swigobj) (_swigobj->GetRightCol())
13577 static PyObject
*_wrap_wxGridRangeSelectEvent_GetRightCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
* _resultobj
;
13580 wxGridRangeSelectEvent
* _arg0
;
13581 PyObject
* _argo0
= 0;
13582 char *_kwnames
[] = { "self", NULL
};
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_GetRightCol",_kwnames
,&_argo0
))
13588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_GetRightCol. Expected _wxGridRangeSelectEvent_p.");
13595 wxPy_BEGIN_ALLOW_THREADS
;
13596 _result
= (int )wxGridRangeSelectEvent_GetRightCol(_arg0
);
13598 wxPy_END_ALLOW_THREADS
;
13599 if (PyErr_Occurred()) return NULL
;
13600 } _resultobj
= Py_BuildValue("i",_result
);
13604 #define wxGridRangeSelectEvent_Selecting(_swigobj) (_swigobj->Selecting())
13605 static PyObject
*_wrap_wxGridRangeSelectEvent_Selecting(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
* _resultobj
;
13608 wxGridRangeSelectEvent
* _arg0
;
13609 PyObject
* _argo0
= 0;
13610 char *_kwnames
[] = { "self", NULL
};
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_Selecting",_kwnames
,&_argo0
))
13616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_Selecting. Expected _wxGridRangeSelectEvent_p.");
13623 wxPy_BEGIN_ALLOW_THREADS
;
13624 _result
= (bool )wxGridRangeSelectEvent_Selecting(_arg0
);
13626 wxPy_END_ALLOW_THREADS
;
13627 if (PyErr_Occurred()) return NULL
;
13628 } _resultobj
= Py_BuildValue("i",_result
);
13632 #define wxGridRangeSelectEvent_ControlDown(_swigobj) (_swigobj->ControlDown())
13633 static PyObject
*_wrap_wxGridRangeSelectEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
* _resultobj
;
13636 wxGridRangeSelectEvent
* _arg0
;
13637 PyObject
* _argo0
= 0;
13638 char *_kwnames
[] = { "self", NULL
};
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ControlDown",_kwnames
,&_argo0
))
13644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ControlDown. Expected _wxGridRangeSelectEvent_p.");
13651 wxPy_BEGIN_ALLOW_THREADS
;
13652 _result
= (bool )wxGridRangeSelectEvent_ControlDown(_arg0
);
13654 wxPy_END_ALLOW_THREADS
;
13655 if (PyErr_Occurred()) return NULL
;
13656 } _resultobj
= Py_BuildValue("i",_result
);
13660 #define wxGridRangeSelectEvent_MetaDown(_swigobj) (_swigobj->MetaDown())
13661 static PyObject
*_wrap_wxGridRangeSelectEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
* _resultobj
;
13664 wxGridRangeSelectEvent
* _arg0
;
13665 PyObject
* _argo0
= 0;
13666 char *_kwnames
[] = { "self", NULL
};
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_MetaDown",_kwnames
,&_argo0
))
13672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_MetaDown. Expected _wxGridRangeSelectEvent_p.");
13679 wxPy_BEGIN_ALLOW_THREADS
;
13680 _result
= (bool )wxGridRangeSelectEvent_MetaDown(_arg0
);
13682 wxPy_END_ALLOW_THREADS
;
13683 if (PyErr_Occurred()) return NULL
;
13684 } _resultobj
= Py_BuildValue("i",_result
);
13688 #define wxGridRangeSelectEvent_ShiftDown(_swigobj) (_swigobj->ShiftDown())
13689 static PyObject
*_wrap_wxGridRangeSelectEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
* _resultobj
;
13692 wxGridRangeSelectEvent
* _arg0
;
13693 PyObject
* _argo0
= 0;
13694 char *_kwnames
[] = { "self", NULL
};
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_ShiftDown",_kwnames
,&_argo0
))
13700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_ShiftDown. Expected _wxGridRangeSelectEvent_p.");
13707 wxPy_BEGIN_ALLOW_THREADS
;
13708 _result
= (bool )wxGridRangeSelectEvent_ShiftDown(_arg0
);
13710 wxPy_END_ALLOW_THREADS
;
13711 if (PyErr_Occurred()) return NULL
;
13712 } _resultobj
= Py_BuildValue("i",_result
);
13716 #define wxGridRangeSelectEvent_AltDown(_swigobj) (_swigobj->AltDown())
13717 static PyObject
*_wrap_wxGridRangeSelectEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
* _resultobj
;
13720 wxGridRangeSelectEvent
* _arg0
;
13721 PyObject
* _argo0
= 0;
13722 char *_kwnames
[] = { "self", NULL
};
13725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridRangeSelectEvent_AltDown",_kwnames
,&_argo0
))
13728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridRangeSelectEvent_p")) {
13730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridRangeSelectEvent_AltDown. Expected _wxGridRangeSelectEvent_p.");
13735 wxPy_BEGIN_ALLOW_THREADS
;
13736 _result
= (bool )wxGridRangeSelectEvent_AltDown(_arg0
);
13738 wxPy_END_ALLOW_THREADS
;
13739 if (PyErr_Occurred()) return NULL
;
13740 } _resultobj
= Py_BuildValue("i",_result
);
13744 static void *SwigwxGridEditorCreatedEventTowxCommandEvent(void *ptr
) {
13745 wxGridEditorCreatedEvent
*src
;
13746 wxCommandEvent
*dest
;
13747 src
= (wxGridEditorCreatedEvent
*) ptr
;
13748 dest
= (wxCommandEvent
*) src
;
13749 return (void *) dest
;
13752 static void *SwigwxGridEditorCreatedEventTowxEvent(void *ptr
) {
13753 wxGridEditorCreatedEvent
*src
;
13755 src
= (wxGridEditorCreatedEvent
*) ptr
;
13756 dest
= (wxEvent
*) src
;
13757 return (void *) dest
;
13760 static void *SwigwxGridEditorCreatedEventTowxObject(void *ptr
) {
13761 wxGridEditorCreatedEvent
*src
;
13763 src
= (wxGridEditorCreatedEvent
*) ptr
;
13764 dest
= (wxObject
*) src
;
13765 return (void *) dest
;
13768 #define new_wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxGridEditorCreatedEvent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
13769 static PyObject
*_wrap_new_wxGridEditorCreatedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
* _resultobj
;
13771 wxGridEditorCreatedEvent
* _result
;
13778 PyObject
* _argo2
= 0;
13779 PyObject
* _argo5
= 0;
13780 char *_kwnames
[] = { "id","type","obj","row","col","ctrl", NULL
};
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iiOiiO:new_wxGridEditorCreatedEvent",_kwnames
,&_arg0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_argo5
))
13787 if (_argo2
== Py_None
) { _arg2
= NULL
; }
13788 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxObject_p")) {
13789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGridEditorCreatedEvent. Expected _wxObject_p.");
13794 if (_argo5
== Py_None
) { _arg5
= NULL
; }
13795 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxControl_p")) {
13796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxGridEditorCreatedEvent. Expected _wxControl_p.");
13801 wxPy_BEGIN_ALLOW_THREADS
;
13802 _result
= (wxGridEditorCreatedEvent
*)new_wxGridEditorCreatedEvent(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
13804 wxPy_END_ALLOW_THREADS
;
13805 if (PyErr_Occurred()) return NULL
;
13807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridEditorCreatedEvent_p");
13808 _resultobj
= Py_BuildValue("s",_ptemp
);
13810 Py_INCREF(Py_None
);
13811 _resultobj
= Py_None
;
13816 #define wxGridEditorCreatedEvent_GetRow(_swigobj) (_swigobj->GetRow())
13817 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
* _resultobj
;
13820 wxGridEditorCreatedEvent
* _arg0
;
13821 PyObject
* _argo0
= 0;
13822 char *_kwnames
[] = { "self", NULL
};
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetRow",_kwnames
,&_argo0
))
13828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetRow. Expected _wxGridEditorCreatedEvent_p.");
13835 wxPy_BEGIN_ALLOW_THREADS
;
13836 _result
= (int )wxGridEditorCreatedEvent_GetRow(_arg0
);
13838 wxPy_END_ALLOW_THREADS
;
13839 if (PyErr_Occurred()) return NULL
;
13840 } _resultobj
= Py_BuildValue("i",_result
);
13844 #define wxGridEditorCreatedEvent_GetCol(_swigobj) (_swigobj->GetCol())
13845 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
* _resultobj
;
13848 wxGridEditorCreatedEvent
* _arg0
;
13849 PyObject
* _argo0
= 0;
13850 char *_kwnames
[] = { "self", NULL
};
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetCol",_kwnames
,&_argo0
))
13856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetCol. Expected _wxGridEditorCreatedEvent_p.");
13863 wxPy_BEGIN_ALLOW_THREADS
;
13864 _result
= (int )wxGridEditorCreatedEvent_GetCol(_arg0
);
13866 wxPy_END_ALLOW_THREADS
;
13867 if (PyErr_Occurred()) return NULL
;
13868 } _resultobj
= Py_BuildValue("i",_result
);
13872 #define wxGridEditorCreatedEvent_GetControl(_swigobj) (_swigobj->GetControl())
13873 static PyObject
*_wrap_wxGridEditorCreatedEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
* _resultobj
;
13875 wxControl
* _result
;
13876 wxGridEditorCreatedEvent
* _arg0
;
13877 PyObject
* _argo0
= 0;
13878 char *_kwnames
[] = { "self", NULL
};
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridEditorCreatedEvent_GetControl",_kwnames
,&_argo0
))
13884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_GetControl. Expected _wxGridEditorCreatedEvent_p.");
13891 wxPy_BEGIN_ALLOW_THREADS
;
13892 _result
= (wxControl
*)wxGridEditorCreatedEvent_GetControl(_arg0
);
13894 wxPy_END_ALLOW_THREADS
;
13895 if (PyErr_Occurred()) return NULL
;
13896 }{ _resultobj
= wxPyMake_wxObject(_result
); }
13900 #define wxGridEditorCreatedEvent_SetRow(_swigobj,_swigarg0) (_swigobj->SetRow(_swigarg0))
13901 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
* _resultobj
;
13903 wxGridEditorCreatedEvent
* _arg0
;
13905 PyObject
* _argo0
= 0;
13906 char *_kwnames
[] = { "self","row", NULL
};
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetRow",_kwnames
,&_argo0
,&_arg1
))
13912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetRow. Expected _wxGridEditorCreatedEvent_p.");
13919 wxPy_BEGIN_ALLOW_THREADS
;
13920 wxGridEditorCreatedEvent_SetRow(_arg0
,_arg1
);
13922 wxPy_END_ALLOW_THREADS
;
13923 if (PyErr_Occurred()) return NULL
;
13924 } Py_INCREF(Py_None
);
13925 _resultobj
= Py_None
;
13929 #define wxGridEditorCreatedEvent_SetCol(_swigobj,_swigarg0) (_swigobj->SetCol(_swigarg0))
13930 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
* _resultobj
;
13932 wxGridEditorCreatedEvent
* _arg0
;
13934 PyObject
* _argo0
= 0;
13935 char *_kwnames
[] = { "self","col", NULL
};
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridEditorCreatedEvent_SetCol",_kwnames
,&_argo0
,&_arg1
))
13941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetCol. Expected _wxGridEditorCreatedEvent_p.");
13948 wxPy_BEGIN_ALLOW_THREADS
;
13949 wxGridEditorCreatedEvent_SetCol(_arg0
,_arg1
);
13951 wxPy_END_ALLOW_THREADS
;
13952 if (PyErr_Occurred()) return NULL
;
13953 } Py_INCREF(Py_None
);
13954 _resultobj
= Py_None
;
13958 #define wxGridEditorCreatedEvent_SetControl(_swigobj,_swigarg0) (_swigobj->SetControl(_swigarg0))
13959 static PyObject
*_wrap_wxGridEditorCreatedEvent_SetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
* _resultobj
;
13961 wxGridEditorCreatedEvent
* _arg0
;
13963 PyObject
* _argo0
= 0;
13964 PyObject
* _argo1
= 0;
13965 char *_kwnames
[] = { "self","ctrl", NULL
};
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxGridEditorCreatedEvent_SetControl",_kwnames
,&_argo0
,&_argo1
))
13971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
13972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridEditorCreatedEvent_p")) {
13973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridEditorCreatedEvent_SetControl. Expected _wxGridEditorCreatedEvent_p.");
13978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
13979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
13980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGridEditorCreatedEvent_SetControl. Expected _wxControl_p.");
13985 wxPy_BEGIN_ALLOW_THREADS
;
13986 wxGridEditorCreatedEvent_SetControl(_arg0
,_arg1
);
13988 wxPy_END_ALLOW_THREADS
;
13989 if (PyErr_Occurred()) return NULL
;
13990 } Py_INCREF(Py_None
);
13991 _resultobj
= Py_None
;
13995 static PyMethodDef gridcMethods
[] = {
13996 { "wxGridEditorCreatedEvent_SetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
13997 { "wxGridEditorCreatedEvent_SetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
13998 { "wxGridEditorCreatedEvent_SetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
13999 { "wxGridEditorCreatedEvent_GetControl", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14000 { "wxGridEditorCreatedEvent_GetCol", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14001 { "wxGridEditorCreatedEvent_GetRow", (PyCFunction
) _wrap_wxGridEditorCreatedEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14002 { "new_wxGridEditorCreatedEvent", (PyCFunction
) _wrap_new_wxGridEditorCreatedEvent
, METH_VARARGS
| METH_KEYWORDS
},
14003 { "wxGridRangeSelectEvent_AltDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14004 { "wxGridRangeSelectEvent_ShiftDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14005 { "wxGridRangeSelectEvent_MetaDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14006 { "wxGridRangeSelectEvent_ControlDown", (PyCFunction
) _wrap_wxGridRangeSelectEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14007 { "wxGridRangeSelectEvent_Selecting", (PyCFunction
) _wrap_wxGridRangeSelectEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14008 { "wxGridRangeSelectEvent_GetRightCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetRightCol
, METH_VARARGS
| METH_KEYWORDS
},
14009 { "wxGridRangeSelectEvent_GetLeftCol", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetLeftCol
, METH_VARARGS
| METH_KEYWORDS
},
14010 { "wxGridRangeSelectEvent_GetBottomRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRow
, METH_VARARGS
| METH_KEYWORDS
},
14011 { "wxGridRangeSelectEvent_GetTopRow", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopRow
, METH_VARARGS
| METH_KEYWORDS
},
14012 { "wxGridRangeSelectEvent_GetBottomRightCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetBottomRightCoords
, METH_VARARGS
| METH_KEYWORDS
},
14013 { "wxGridRangeSelectEvent_GetTopLeftCoords", (PyCFunction
) _wrap_wxGridRangeSelectEvent_GetTopLeftCoords
, METH_VARARGS
| METH_KEYWORDS
},
14014 { "new_wxGridRangeSelectEvent", (PyCFunction
) _wrap_new_wxGridRangeSelectEvent
, METH_VARARGS
| METH_KEYWORDS
},
14015 { "wxGridSizeEvent_AltDown", (PyCFunction
) _wrap_wxGridSizeEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14016 { "wxGridSizeEvent_ShiftDown", (PyCFunction
) _wrap_wxGridSizeEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14017 { "wxGridSizeEvent_MetaDown", (PyCFunction
) _wrap_wxGridSizeEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14018 { "wxGridSizeEvent_ControlDown", (PyCFunction
) _wrap_wxGridSizeEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14019 { "wxGridSizeEvent_GetPosition", (PyCFunction
) _wrap_wxGridSizeEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14020 { "wxGridSizeEvent_GetRowOrCol", (PyCFunction
) _wrap_wxGridSizeEvent_GetRowOrCol
, METH_VARARGS
| METH_KEYWORDS
},
14021 { "new_wxGridSizeEvent", (PyCFunction
) _wrap_new_wxGridSizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
14022 { "wxGridEvent_AltDown", (PyCFunction
) _wrap_wxGridEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
14023 { "wxGridEvent_ShiftDown", (PyCFunction
) _wrap_wxGridEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
14024 { "wxGridEvent_MetaDown", (PyCFunction
) _wrap_wxGridEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
14025 { "wxGridEvent_ControlDown", (PyCFunction
) _wrap_wxGridEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
14026 { "wxGridEvent_Selecting", (PyCFunction
) _wrap_wxGridEvent_Selecting
, METH_VARARGS
| METH_KEYWORDS
},
14027 { "wxGridEvent_GetPosition", (PyCFunction
) _wrap_wxGridEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
14028 { "wxGridEvent_GetCol", (PyCFunction
) _wrap_wxGridEvent_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14029 { "wxGridEvent_GetRow", (PyCFunction
) _wrap_wxGridEvent_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14030 { "new_wxGridEvent", (PyCFunction
) _wrap_new_wxGridEvent
, METH_VARARGS
| METH_KEYWORDS
},
14031 { "wxGrid_GetGridCornerLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridCornerLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14032 { "wxGrid_GetGridColLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridColLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14033 { "wxGrid_GetGridRowLabelWindow", (PyCFunction
) _wrap_wxGrid_GetGridRowLabelWindow
, METH_VARARGS
| METH_KEYWORDS
},
14034 { "wxGrid_GetGridWindow", (PyCFunction
) _wrap_wxGrid_GetGridWindow
, METH_VARARGS
| METH_KEYWORDS
},
14035 { "wxGrid_SetMargins", (PyCFunction
) _wrap_wxGrid_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
14036 { "wxGrid_GetDefaultRendererForType", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForType
, METH_VARARGS
| METH_KEYWORDS
},
14037 { "wxGrid_GetDefaultEditorForType", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForType
, METH_VARARGS
| METH_KEYWORDS
},
14038 { "wxGrid_GetDefaultRendererForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultRendererForCell
, METH_VARARGS
| METH_KEYWORDS
},
14039 { "wxGrid_GetDefaultEditorForCell", (PyCFunction
) _wrap_wxGrid_GetDefaultEditorForCell
, METH_VARARGS
| METH_KEYWORDS
},
14040 { "wxGrid_RegisterDataType", (PyCFunction
) _wrap_wxGrid_RegisterDataType
, METH_VARARGS
| METH_KEYWORDS
},
14041 { "wxGrid_SetSelectionForeground", (PyCFunction
) _wrap_wxGrid_SetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14042 { "wxGrid_SetSelectionBackground", (PyCFunction
) _wrap_wxGrid_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14043 { "wxGrid_GetSelectionForeground", (PyCFunction
) _wrap_wxGrid_GetSelectionForeground
, METH_VARARGS
| METH_KEYWORDS
},
14044 { "wxGrid_GetSelectionBackground", (PyCFunction
) _wrap_wxGrid_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
},
14045 { "wxGrid_BlockToDeviceRect", (PyCFunction
) _wrap_wxGrid_BlockToDeviceRect
, METH_VARARGS
| METH_KEYWORDS
},
14046 { "wxGrid_IsInSelection", (PyCFunction
) _wrap_wxGrid_IsInSelection
, METH_VARARGS
| METH_KEYWORDS
},
14047 { "wxGrid_ClearSelection", (PyCFunction
) _wrap_wxGrid_ClearSelection
, METH_VARARGS
| METH_KEYWORDS
},
14048 { "wxGrid_IsSelection", (PyCFunction
) _wrap_wxGrid_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
14049 { "wxGrid_SelectAll", (PyCFunction
) _wrap_wxGrid_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
14050 { "wxGrid_SelectBlock", (PyCFunction
) _wrap_wxGrid_SelectBlock
, METH_VARARGS
| METH_KEYWORDS
},
14051 { "wxGrid_SelectCol", (PyCFunction
) _wrap_wxGrid_SelectCol
, METH_VARARGS
| METH_KEYWORDS
},
14052 { "wxGrid_SelectRow", (PyCFunction
) _wrap_wxGrid_SelectRow
, METH_VARARGS
| METH_KEYWORDS
},
14053 { "wxGrid_SetReadOnly", (PyCFunction
) _wrap_wxGrid_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14054 { "wxGrid_IsReadOnly", (PyCFunction
) _wrap_wxGrid_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14055 { "wxGrid_SetCellValue", (PyCFunction
) _wrap_wxGrid_SetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14056 { "wxGrid_GetCellValue", (PyCFunction
) _wrap_wxGrid_GetCellValue
, METH_VARARGS
| METH_KEYWORDS
},
14057 { "wxGrid_GetCellEditor", (PyCFunction
) _wrap_wxGrid_GetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14058 { "wxGrid_GetDefaultEditor", (PyCFunction
) _wrap_wxGrid_GetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14059 { "wxGrid_SetCellEditor", (PyCFunction
) _wrap_wxGrid_SetCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14060 { "wxGrid_SetDefaultEditor", (PyCFunction
) _wrap_wxGrid_SetDefaultEditor
, METH_VARARGS
| METH_KEYWORDS
},
14061 { "wxGrid_GetCellRenderer", (PyCFunction
) _wrap_wxGrid_GetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14062 { "wxGrid_GetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_GetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14063 { "wxGrid_SetCellRenderer", (PyCFunction
) _wrap_wxGrid_SetCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14064 { "wxGrid_SetDefaultRenderer", (PyCFunction
) _wrap_wxGrid_SetDefaultRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14065 { "wxGrid_SetCellAlignment", (PyCFunction
) _wrap_wxGrid_SetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14066 { "wxGrid_SetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_SetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14067 { "wxGrid_SetCellFont", (PyCFunction
) _wrap_wxGrid_SetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14068 { "wxGrid_SetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_SetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14069 { "wxGrid_SetCellTextColour", (PyCFunction
) _wrap_wxGrid_SetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14070 { "wxGrid_SetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14071 { "wxGrid_SetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14072 { "wxGrid_SetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14073 { "wxGrid_SetRowMinimalHeight", (PyCFunction
) _wrap_wxGrid_SetRowMinimalHeight
, METH_VARARGS
| METH_KEYWORDS
},
14074 { "wxGrid_SetColMinimalWidth", (PyCFunction
) _wrap_wxGrid_SetColMinimalWidth
, METH_VARARGS
| METH_KEYWORDS
},
14075 { "wxGrid_AutoSize", (PyCFunction
) _wrap_wxGrid_AutoSize
, METH_VARARGS
| METH_KEYWORDS
},
14076 { "wxGrid_AutoSizeRows", (PyCFunction
) _wrap_wxGrid_AutoSizeRows
, METH_VARARGS
| METH_KEYWORDS
},
14077 { "wxGrid_AutoSizeColumns", (PyCFunction
) _wrap_wxGrid_AutoSizeColumns
, METH_VARARGS
| METH_KEYWORDS
},
14078 { "wxGrid_AutoSizeRow", (PyCFunction
) _wrap_wxGrid_AutoSizeRow
, METH_VARARGS
| METH_KEYWORDS
},
14079 { "wxGrid_AutoSizeColumn", (PyCFunction
) _wrap_wxGrid_AutoSizeColumn
, METH_VARARGS
| METH_KEYWORDS
},
14080 { "wxGrid_SetColSize", (PyCFunction
) _wrap_wxGrid_SetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14081 { "wxGrid_SetDefaultColSize", (PyCFunction
) _wrap_wxGrid_SetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14082 { "wxGrid_SetRowSize", (PyCFunction
) _wrap_wxGrid_SetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14083 { "wxGrid_SetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_SetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14084 { "wxGrid_GetCellAlignment", (PyCFunction
) _wrap_wxGrid_GetCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14085 { "wxGrid_GetDefaultCellAlignment", (PyCFunction
) _wrap_wxGrid_GetDefaultCellAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14086 { "wxGrid_GetCellFont", (PyCFunction
) _wrap_wxGrid_GetCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14087 { "wxGrid_GetDefaultCellFont", (PyCFunction
) _wrap_wxGrid_GetDefaultCellFont
, METH_VARARGS
| METH_KEYWORDS
},
14088 { "wxGrid_GetCellTextColour", (PyCFunction
) _wrap_wxGrid_GetCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14089 { "wxGrid_GetDefaultCellTextColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14090 { "wxGrid_GetCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14091 { "wxGrid_GetDefaultCellBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetDefaultCellBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14092 { "wxGrid_GetColSize", (PyCFunction
) _wrap_wxGrid_GetColSize
, METH_VARARGS
| METH_KEYWORDS
},
14093 { "wxGrid_GetDefaultColSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColSize
, METH_VARARGS
| METH_KEYWORDS
},
14094 { "wxGrid_GetRowSize", (PyCFunction
) _wrap_wxGrid_GetRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14095 { "wxGrid_GetDefaultRowSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14096 { "wxGrid_GridLinesEnabled", (PyCFunction
) _wrap_wxGrid_GridLinesEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14097 { "wxGrid_EnableGridLines", (PyCFunction
) _wrap_wxGrid_EnableGridLines
, METH_VARARGS
| METH_KEYWORDS
},
14098 { "wxGrid_SetColFormatCustom", (PyCFunction
) _wrap_wxGrid_SetColFormatCustom
, METH_VARARGS
| METH_KEYWORDS
},
14099 { "wxGrid_SetColFormatFloat", (PyCFunction
) _wrap_wxGrid_SetColFormatFloat
, METH_VARARGS
| METH_KEYWORDS
},
14100 { "wxGrid_SetColFormatNumber", (PyCFunction
) _wrap_wxGrid_SetColFormatNumber
, METH_VARARGS
| METH_KEYWORDS
},
14101 { "wxGrid_SetColFormatBool", (PyCFunction
) _wrap_wxGrid_SetColFormatBool
, METH_VARARGS
| METH_KEYWORDS
},
14102 { "wxGrid_SetColAttr", (PyCFunction
) _wrap_wxGrid_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14103 { "wxGrid_SetRowAttr", (PyCFunction
) _wrap_wxGrid_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14104 { "wxGrid_CanDragGridSize", (PyCFunction
) _wrap_wxGrid_CanDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14105 { "wxGrid_DisableDragGridSize", (PyCFunction
) _wrap_wxGrid_DisableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14106 { "wxGrid_EnableDragGridSize", (PyCFunction
) _wrap_wxGrid_EnableDragGridSize
, METH_VARARGS
| METH_KEYWORDS
},
14107 { "wxGrid_CanDragColSize", (PyCFunction
) _wrap_wxGrid_CanDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14108 { "wxGrid_DisableDragColSize", (PyCFunction
) _wrap_wxGrid_DisableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14109 { "wxGrid_EnableDragColSize", (PyCFunction
) _wrap_wxGrid_EnableDragColSize
, METH_VARARGS
| METH_KEYWORDS
},
14110 { "wxGrid_CanDragRowSize", (PyCFunction
) _wrap_wxGrid_CanDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14111 { "wxGrid_DisableDragRowSize", (PyCFunction
) _wrap_wxGrid_DisableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14112 { "wxGrid_EnableDragRowSize", (PyCFunction
) _wrap_wxGrid_EnableDragRowSize
, METH_VARARGS
| METH_KEYWORDS
},
14113 { "wxGrid_SetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14114 { "wxGrid_SetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_SetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14115 { "wxGrid_SetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_SetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14116 { "wxGrid_SetGridLineColour", (PyCFunction
) _wrap_wxGrid_SetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14117 { "wxGrid_SetColLabelValue", (PyCFunction
) _wrap_wxGrid_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14118 { "wxGrid_SetRowLabelValue", (PyCFunction
) _wrap_wxGrid_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14119 { "wxGrid_SetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14120 { "wxGrid_SetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_SetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14121 { "wxGrid_SetLabelFont", (PyCFunction
) _wrap_wxGrid_SetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14122 { "wxGrid_SetLabelTextColour", (PyCFunction
) _wrap_wxGrid_SetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14123 { "wxGrid_SetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_SetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14124 { "wxGrid_SetColLabelSize", (PyCFunction
) _wrap_wxGrid_SetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14125 { "wxGrid_SetRowLabelSize", (PyCFunction
) _wrap_wxGrid_SetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14126 { "wxGrid_GetCellHighlightROPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightROPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14127 { "wxGrid_GetCellHighlightPenWidth", (PyCFunction
) _wrap_wxGrid_GetCellHighlightPenWidth
, METH_VARARGS
| METH_KEYWORDS
},
14128 { "wxGrid_GetCellHighlightColour", (PyCFunction
) _wrap_wxGrid_GetCellHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
14129 { "wxGrid_GetGridLineColour", (PyCFunction
) _wrap_wxGrid_GetGridLineColour
, METH_VARARGS
| METH_KEYWORDS
},
14130 { "wxGrid_GetColLabelValue", (PyCFunction
) _wrap_wxGrid_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14131 { "wxGrid_GetRowLabelValue", (PyCFunction
) _wrap_wxGrid_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14132 { "wxGrid_GetColLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetColLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14133 { "wxGrid_GetRowLabelAlignment", (PyCFunction
) _wrap_wxGrid_GetRowLabelAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14134 { "wxGrid_GetLabelFont", (PyCFunction
) _wrap_wxGrid_GetLabelFont
, METH_VARARGS
| METH_KEYWORDS
},
14135 { "wxGrid_GetLabelTextColour", (PyCFunction
) _wrap_wxGrid_GetLabelTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14136 { "wxGrid_GetLabelBackgroundColour", (PyCFunction
) _wrap_wxGrid_GetLabelBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14137 { "wxGrid_GetColLabelSize", (PyCFunction
) _wrap_wxGrid_GetColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14138 { "wxGrid_GetDefaultColLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultColLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14139 { "wxGrid_GetRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14140 { "wxGrid_GetDefaultRowLabelSize", (PyCFunction
) _wrap_wxGrid_GetDefaultRowLabelSize
, METH_VARARGS
| METH_KEYWORDS
},
14141 { "wxGrid_MoveCursorRightBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorRightBlock
, METH_VARARGS
| METH_KEYWORDS
},
14142 { "wxGrid_MoveCursorLeftBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorLeftBlock
, METH_VARARGS
| METH_KEYWORDS
},
14143 { "wxGrid_MoveCursorDownBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorDownBlock
, METH_VARARGS
| METH_KEYWORDS
},
14144 { "wxGrid_MoveCursorUpBlock", (PyCFunction
) _wrap_wxGrid_MoveCursorUpBlock
, METH_VARARGS
| METH_KEYWORDS
},
14145 { "wxGrid_MovePageUp", (PyCFunction
) _wrap_wxGrid_MovePageUp
, METH_VARARGS
| METH_KEYWORDS
},
14146 { "wxGrid_MovePageDown", (PyCFunction
) _wrap_wxGrid_MovePageDown
, METH_VARARGS
| METH_KEYWORDS
},
14147 { "wxGrid_MoveCursorRight", (PyCFunction
) _wrap_wxGrid_MoveCursorRight
, METH_VARARGS
| METH_KEYWORDS
},
14148 { "wxGrid_MoveCursorLeft", (PyCFunction
) _wrap_wxGrid_MoveCursorLeft
, METH_VARARGS
| METH_KEYWORDS
},
14149 { "wxGrid_MoveCursorDown", (PyCFunction
) _wrap_wxGrid_MoveCursorDown
, METH_VARARGS
| METH_KEYWORDS
},
14150 { "wxGrid_MoveCursorUp", (PyCFunction
) _wrap_wxGrid_MoveCursorUp
, METH_VARARGS
| METH_KEYWORDS
},
14151 { "wxGrid_SetGridCursor", (PyCFunction
) _wrap_wxGrid_SetGridCursor
, METH_VARARGS
| METH_KEYWORDS
},
14152 { "wxGrid_MakeCellVisible", (PyCFunction
) _wrap_wxGrid_MakeCellVisible
, METH_VARARGS
| METH_KEYWORDS
},
14153 { "wxGrid_IsVisible", (PyCFunction
) _wrap_wxGrid_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
14154 { "wxGrid_GetGridCursorCol", (PyCFunction
) _wrap_wxGrid_GetGridCursorCol
, METH_VARARGS
| METH_KEYWORDS
},
14155 { "wxGrid_GetGridCursorRow", (PyCFunction
) _wrap_wxGrid_GetGridCursorRow
, METH_VARARGS
| METH_KEYWORDS
},
14156 { "wxGrid_CellToRect", (PyCFunction
) _wrap_wxGrid_CellToRect
, METH_VARARGS
| METH_KEYWORDS
},
14157 { "wxGrid_XToEdgeOfCol", (PyCFunction
) _wrap_wxGrid_XToEdgeOfCol
, METH_VARARGS
| METH_KEYWORDS
},
14158 { "wxGrid_YToEdgeOfRow", (PyCFunction
) _wrap_wxGrid_YToEdgeOfRow
, METH_VARARGS
| METH_KEYWORDS
},
14159 { "wxGrid_XToCol", (PyCFunction
) _wrap_wxGrid_XToCol
, METH_VARARGS
| METH_KEYWORDS
},
14160 { "wxGrid_YToRow", (PyCFunction
) _wrap_wxGrid_YToRow
, METH_VARARGS
| METH_KEYWORDS
},
14161 { "wxGrid_XYToCell", (PyCFunction
) _wrap_wxGrid_XYToCell
, METH_VARARGS
| METH_KEYWORDS
},
14162 { "wxGrid_SaveEditControlValue", (PyCFunction
) _wrap_wxGrid_SaveEditControlValue
, METH_VARARGS
| METH_KEYWORDS
},
14163 { "wxGrid_HideCellEditControl", (PyCFunction
) _wrap_wxGrid_HideCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14164 { "wxGrid_ShowCellEditControl", (PyCFunction
) _wrap_wxGrid_ShowCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14165 { "wxGrid_IsCurrentCellReadOnly", (PyCFunction
) _wrap_wxGrid_IsCurrentCellReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14166 { "wxGrid_IsCellEditControlShown", (PyCFunction
) _wrap_wxGrid_IsCellEditControlShown
, METH_VARARGS
| METH_KEYWORDS
},
14167 { "wxGrid_IsCellEditControlEnabled", (PyCFunction
) _wrap_wxGrid_IsCellEditControlEnabled
, METH_VARARGS
| METH_KEYWORDS
},
14168 { "wxGrid_CanEnableCellControl", (PyCFunction
) _wrap_wxGrid_CanEnableCellControl
, METH_VARARGS
| METH_KEYWORDS
},
14169 { "wxGrid_DisableCellEditControl", (PyCFunction
) _wrap_wxGrid_DisableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14170 { "wxGrid_EnableCellEditControl", (PyCFunction
) _wrap_wxGrid_EnableCellEditControl
, METH_VARARGS
| METH_KEYWORDS
},
14171 { "wxGrid_EnableEditing", (PyCFunction
) _wrap_wxGrid_EnableEditing
, METH_VARARGS
| METH_KEYWORDS
},
14172 { "wxGrid_IsEditable", (PyCFunction
) _wrap_wxGrid_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
14173 { "wxGrid_ForceRefresh", (PyCFunction
) _wrap_wxGrid_ForceRefresh
, METH_VARARGS
| METH_KEYWORDS
},
14174 { "wxGrid_GetBatchCount", (PyCFunction
) _wrap_wxGrid_GetBatchCount
, METH_VARARGS
| METH_KEYWORDS
},
14175 { "wxGrid_EndBatch", (PyCFunction
) _wrap_wxGrid_EndBatch
, METH_VARARGS
| METH_KEYWORDS
},
14176 { "wxGrid_BeginBatch", (PyCFunction
) _wrap_wxGrid_BeginBatch
, METH_VARARGS
| METH_KEYWORDS
},
14177 { "wxGrid_GetTextBoxSize", (PyCFunction
) _wrap_wxGrid_GetTextBoxSize
, METH_VARARGS
| METH_KEYWORDS
},
14178 { "wxGrid_StringToLines", (PyCFunction
) _wrap_wxGrid_StringToLines
, METH_VARARGS
| METH_KEYWORDS
},
14179 { "wxGrid_DrawTextRectangle", (PyCFunction
) _wrap_wxGrid_DrawTextRectangle
, METH_VARARGS
| METH_KEYWORDS
},
14180 { "wxGrid_DrawCellHighlight", (PyCFunction
) _wrap_wxGrid_DrawCellHighlight
, METH_VARARGS
| METH_KEYWORDS
},
14181 { "wxGrid_DeleteCols", (PyCFunction
) _wrap_wxGrid_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14182 { "wxGrid_AppendCols", (PyCFunction
) _wrap_wxGrid_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14183 { "wxGrid_InsertCols", (PyCFunction
) _wrap_wxGrid_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14184 { "wxGrid_DeleteRows", (PyCFunction
) _wrap_wxGrid_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14185 { "wxGrid_AppendRows", (PyCFunction
) _wrap_wxGrid_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14186 { "wxGrid_InsertRows", (PyCFunction
) _wrap_wxGrid_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14187 { "wxGrid_ClearGrid", (PyCFunction
) _wrap_wxGrid_ClearGrid
, METH_VARARGS
| METH_KEYWORDS
},
14188 { "wxGrid_SetTable", (PyCFunction
) _wrap_wxGrid_SetTable
, METH_VARARGS
| METH_KEYWORDS
},
14189 { "wxGrid_GetTable", (PyCFunction
) _wrap_wxGrid_GetTable
, METH_VARARGS
| METH_KEYWORDS
},
14190 { "wxGrid_ProcessTableMessage", (PyCFunction
) _wrap_wxGrid_ProcessTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14191 { "wxGrid_GetNumberCols", (PyCFunction
) _wrap_wxGrid_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14192 { "wxGrid_GetNumberRows", (PyCFunction
) _wrap_wxGrid_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14193 { "wxGrid_SetSelectionMode", (PyCFunction
) _wrap_wxGrid_SetSelectionMode
, METH_VARARGS
| METH_KEYWORDS
},
14194 { "wxGrid_CreateGrid", (PyCFunction
) _wrap_wxGrid_CreateGrid
, METH_VARARGS
| METH_KEYWORDS
},
14195 { "new_wxGrid", (PyCFunction
) _wrap_new_wxGrid
, METH_VARARGS
| METH_KEYWORDS
},
14196 { "wxGridCellCoords___cmp__", (PyCFunction
) _wrap_wxGridCellCoords___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
14197 { "wxGridCellCoords_asTuple", (PyCFunction
) _wrap_wxGridCellCoords_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
14198 { "wxGridCellCoords_Set", (PyCFunction
) _wrap_wxGridCellCoords_Set
, METH_VARARGS
| METH_KEYWORDS
},
14199 { "wxGridCellCoords_SetCol", (PyCFunction
) _wrap_wxGridCellCoords_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
14200 { "wxGridCellCoords_GetCol", (PyCFunction
) _wrap_wxGridCellCoords_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
14201 { "wxGridCellCoords_SetRow", (PyCFunction
) _wrap_wxGridCellCoords_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
14202 { "wxGridCellCoords_GetRow", (PyCFunction
) _wrap_wxGridCellCoords_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
14203 { "delete_wxGridCellCoords", (PyCFunction
) _wrap_delete_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14204 { "new_wxGridCellCoords", (PyCFunction
) _wrap_new_wxGridCellCoords
, METH_VARARGS
| METH_KEYWORDS
},
14205 { "wxGridTableMessage_GetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14206 { "wxGridTableMessage_SetCommandInt2", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt2
, METH_VARARGS
| METH_KEYWORDS
},
14207 { "wxGridTableMessage_GetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_GetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14208 { "wxGridTableMessage_SetCommandInt", (PyCFunction
) _wrap_wxGridTableMessage_SetCommandInt
, METH_VARARGS
| METH_KEYWORDS
},
14209 { "wxGridTableMessage_GetId", (PyCFunction
) _wrap_wxGridTableMessage_GetId
, METH_VARARGS
| METH_KEYWORDS
},
14210 { "wxGridTableMessage_SetId", (PyCFunction
) _wrap_wxGridTableMessage_SetId
, METH_VARARGS
| METH_KEYWORDS
},
14211 { "wxGridTableMessage_GetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_GetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14212 { "wxGridTableMessage_SetTableObject", (PyCFunction
) _wrap_wxGridTableMessage_SetTableObject
, METH_VARARGS
| METH_KEYWORDS
},
14213 { "delete_wxGridTableMessage", (PyCFunction
) _wrap_delete_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14214 { "new_wxGridTableMessage", (PyCFunction
) _wrap_new_wxGridTableMessage
, METH_VARARGS
| METH_KEYWORDS
},
14215 { "new_wxGridStringTable", (PyCFunction
) _wrap_new_wxGridStringTable
, METH_VARARGS
| METH_KEYWORDS
},
14216 { "wxPyGridTableBase_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14217 { "wxPyGridTableBase_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14218 { "wxPyGridTableBase_base_SetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14219 { "wxPyGridTableBase_base_GetAttr", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14220 { "wxPyGridTableBase_base_CanHaveAttributes", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14221 { "wxPyGridTableBase_base_SetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14222 { "wxPyGridTableBase_base_SetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14223 { "wxPyGridTableBase_base_GetColLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14224 { "wxPyGridTableBase_base_GetRowLabelValue", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14225 { "wxPyGridTableBase_base_DeleteCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14226 { "wxPyGridTableBase_base_AppendCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14227 { "wxPyGridTableBase_base_InsertCols", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14228 { "wxPyGridTableBase_base_DeleteRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14229 { "wxPyGridTableBase_base_AppendRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14230 { "wxPyGridTableBase_base_InsertRows", (PyCFunction
) _wrap_wxPyGridTableBase_base_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14231 { "wxPyGridTableBase_base_Clear", (PyCFunction
) _wrap_wxPyGridTableBase_base_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14232 { "wxPyGridTableBase_base_CanSetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14233 { "wxPyGridTableBase_base_CanGetValueAs", (PyCFunction
) _wrap_wxPyGridTableBase_base_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14234 { "wxPyGridTableBase_base_GetTypeName", (PyCFunction
) _wrap_wxPyGridTableBase_base_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14235 { "wxPyGridTableBase_Destroy", (PyCFunction
) _wrap_wxPyGridTableBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14236 { "wxPyGridTableBase__setSelf", (PyCFunction
) _wrap_wxPyGridTableBase__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14237 { "new_wxPyGridTableBase", (PyCFunction
) _wrap_new_wxPyGridTableBase
, METH_VARARGS
| METH_KEYWORDS
},
14238 { "wxGridTableBase_SetColAttr", (PyCFunction
) _wrap_wxGridTableBase_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14239 { "wxGridTableBase_SetRowAttr", (PyCFunction
) _wrap_wxGridTableBase_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14240 { "wxGridTableBase_SetAttr", (PyCFunction
) _wrap_wxGridTableBase_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14241 { "wxGridTableBase_GetAttr", (PyCFunction
) _wrap_wxGridTableBase_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14242 { "wxGridTableBase_CanHaveAttributes", (PyCFunction
) _wrap_wxGridTableBase_CanHaveAttributes
, METH_VARARGS
| METH_KEYWORDS
},
14243 { "wxGridTableBase_SetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14244 { "wxGridTableBase_SetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_SetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14245 { "wxGridTableBase_GetColLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetColLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14246 { "wxGridTableBase_GetRowLabelValue", (PyCFunction
) _wrap_wxGridTableBase_GetRowLabelValue
, METH_VARARGS
| METH_KEYWORDS
},
14247 { "wxGridTableBase_DeleteCols", (PyCFunction
) _wrap_wxGridTableBase_DeleteCols
, METH_VARARGS
| METH_KEYWORDS
},
14248 { "wxGridTableBase_AppendCols", (PyCFunction
) _wrap_wxGridTableBase_AppendCols
, METH_VARARGS
| METH_KEYWORDS
},
14249 { "wxGridTableBase_InsertCols", (PyCFunction
) _wrap_wxGridTableBase_InsertCols
, METH_VARARGS
| METH_KEYWORDS
},
14250 { "wxGridTableBase_DeleteRows", (PyCFunction
) _wrap_wxGridTableBase_DeleteRows
, METH_VARARGS
| METH_KEYWORDS
},
14251 { "wxGridTableBase_AppendRows", (PyCFunction
) _wrap_wxGridTableBase_AppendRows
, METH_VARARGS
| METH_KEYWORDS
},
14252 { "wxGridTableBase_InsertRows", (PyCFunction
) _wrap_wxGridTableBase_InsertRows
, METH_VARARGS
| METH_KEYWORDS
},
14253 { "wxGridTableBase_Clear", (PyCFunction
) _wrap_wxGridTableBase_Clear
, METH_VARARGS
| METH_KEYWORDS
},
14254 { "wxGridTableBase_SetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14255 { "wxGridTableBase_SetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14256 { "wxGridTableBase_SetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_SetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14257 { "wxGridTableBase_GetValueAsBool", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsBool
, METH_VARARGS
| METH_KEYWORDS
},
14258 { "wxGridTableBase_GetValueAsDouble", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsDouble
, METH_VARARGS
| METH_KEYWORDS
},
14259 { "wxGridTableBase_GetValueAsLong", (PyCFunction
) _wrap_wxGridTableBase_GetValueAsLong
, METH_VARARGS
| METH_KEYWORDS
},
14260 { "wxGridTableBase_CanSetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanSetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14261 { "wxGridTableBase_CanGetValueAs", (PyCFunction
) _wrap_wxGridTableBase_CanGetValueAs
, METH_VARARGS
| METH_KEYWORDS
},
14262 { "wxGridTableBase_GetTypeName", (PyCFunction
) _wrap_wxGridTableBase_GetTypeName
, METH_VARARGS
| METH_KEYWORDS
},
14263 { "wxGridTableBase_SetValue", (PyCFunction
) _wrap_wxGridTableBase_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
14264 { "wxGridTableBase_GetValue", (PyCFunction
) _wrap_wxGridTableBase_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
14265 { "wxGridTableBase_IsEmptyCell", (PyCFunction
) _wrap_wxGridTableBase_IsEmptyCell
, METH_VARARGS
| METH_KEYWORDS
},
14266 { "wxGridTableBase_GetNumberCols", (PyCFunction
) _wrap_wxGridTableBase_GetNumberCols
, METH_VARARGS
| METH_KEYWORDS
},
14267 { "wxGridTableBase_GetNumberRows", (PyCFunction
) _wrap_wxGridTableBase_GetNumberRows
, METH_VARARGS
| METH_KEYWORDS
},
14268 { "wxGridTableBase_GetView", (PyCFunction
) _wrap_wxGridTableBase_GetView
, METH_VARARGS
| METH_KEYWORDS
},
14269 { "wxGridTableBase_SetView", (PyCFunction
) _wrap_wxGridTableBase_SetView
, METH_VARARGS
| METH_KEYWORDS
},
14270 { "wxGridTableBase_GetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_GetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14271 { "wxGridTableBase_SetAttrProvider", (PyCFunction
) _wrap_wxGridTableBase_SetAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14272 { "wxPyGridCellAttrProvider_base_SetColAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14273 { "wxPyGridCellAttrProvider_base_SetRowAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14274 { "wxPyGridCellAttrProvider_base_SetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14275 { "wxPyGridCellAttrProvider_base_GetAttr", (PyCFunction
) _wrap_wxPyGridCellAttrProvider_base_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14276 { "wxPyGridCellAttrProvider__setSelf", (PyCFunction
) _wrap_wxPyGridCellAttrProvider__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14277 { "new_wxPyGridCellAttrProvider", (PyCFunction
) _wrap_new_wxPyGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14278 { "wxGridCellAttrProvider_UpdateAttrCols", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrCols
, METH_VARARGS
| METH_KEYWORDS
},
14279 { "wxGridCellAttrProvider_UpdateAttrRows", (PyCFunction
) _wrap_wxGridCellAttrProvider_UpdateAttrRows
, METH_VARARGS
| METH_KEYWORDS
},
14280 { "wxGridCellAttrProvider_SetColAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetColAttr
, METH_VARARGS
| METH_KEYWORDS
},
14281 { "wxGridCellAttrProvider_SetRowAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetRowAttr
, METH_VARARGS
| METH_KEYWORDS
},
14282 { "wxGridCellAttrProvider_SetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_SetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14283 { "wxGridCellAttrProvider_GetAttr", (PyCFunction
) _wrap_wxGridCellAttrProvider_GetAttr
, METH_VARARGS
| METH_KEYWORDS
},
14284 { "new_wxGridCellAttrProvider", (PyCFunction
) _wrap_new_wxGridCellAttrProvider
, METH_VARARGS
| METH_KEYWORDS
},
14285 { "wxGridCellAttr_SetDefAttr", (PyCFunction
) _wrap_wxGridCellAttr_SetDefAttr
, METH_VARARGS
| METH_KEYWORDS
},
14286 { "wxGridCellAttr_IsReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_IsReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14287 { "wxGridCellAttr_GetEditor", (PyCFunction
) _wrap_wxGridCellAttr_GetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14288 { "wxGridCellAttr_GetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_GetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14289 { "wxGridCellAttr_GetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14290 { "wxGridCellAttr_GetFont", (PyCFunction
) _wrap_wxGridCellAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
14291 { "wxGridCellAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14292 { "wxGridCellAttr_GetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14293 { "wxGridCellAttr_HasReadWriteMode", (PyCFunction
) _wrap_wxGridCellAttr_HasReadWriteMode
, METH_VARARGS
| METH_KEYWORDS
},
14294 { "wxGridCellAttr_HasEditor", (PyCFunction
) _wrap_wxGridCellAttr_HasEditor
, METH_VARARGS
| METH_KEYWORDS
},
14295 { "wxGridCellAttr_HasRenderer", (PyCFunction
) _wrap_wxGridCellAttr_HasRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14296 { "wxGridCellAttr_HasAlignment", (PyCFunction
) _wrap_wxGridCellAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14297 { "wxGridCellAttr_HasFont", (PyCFunction
) _wrap_wxGridCellAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
14298 { "wxGridCellAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14299 { "wxGridCellAttr_HasTextColour", (PyCFunction
) _wrap_wxGridCellAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14300 { "wxGridCellAttr_SetKind", (PyCFunction
) _wrap_wxGridCellAttr_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
14301 { "wxGridCellAttr_SetEditor", (PyCFunction
) _wrap_wxGridCellAttr_SetEditor
, METH_VARARGS
| METH_KEYWORDS
},
14302 { "wxGridCellAttr_SetRenderer", (PyCFunction
) _wrap_wxGridCellAttr_SetRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14303 { "wxGridCellAttr_SetReadOnly", (PyCFunction
) _wrap_wxGridCellAttr_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
14304 { "wxGridCellAttr_SetAlignment", (PyCFunction
) _wrap_wxGridCellAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
14305 { "wxGridCellAttr_SetFont", (PyCFunction
) _wrap_wxGridCellAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
14306 { "wxGridCellAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxGridCellAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
14307 { "wxGridCellAttr_SetTextColour", (PyCFunction
) _wrap_wxGridCellAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
14308 { "wxGridCellAttr_DecRef", (PyCFunction
) _wrap_wxGridCellAttr_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14309 { "wxGridCellAttr_IncRef", (PyCFunction
) _wrap_wxGridCellAttr_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14310 { "wxGridCellAttr_MergeWith", (PyCFunction
) _wrap_wxGridCellAttr_MergeWith
, METH_VARARGS
| METH_KEYWORDS
},
14311 { "wxGridCellAttr_Clone", (PyCFunction
) _wrap_wxGridCellAttr_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14312 { "new_wxGridCellAttr", (PyCFunction
) _wrap_new_wxGridCellAttr
, METH_VARARGS
| METH_KEYWORDS
},
14313 { "new_wxGridCellAutoWrapStringEditor", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringEditor
, METH_VARARGS
| METH_KEYWORDS
},
14314 { "new_wxGridCellEnumEditor", (PyCFunction
) _wrap_new_wxGridCellEnumEditor
, METH_VARARGS
| METH_KEYWORDS
},
14315 { "new_wxGridCellChoiceEditor", (PyCFunction
) _wrap_new_wxGridCellChoiceEditor
, METH_VARARGS
| METH_KEYWORDS
},
14316 { "new_wxGridCellBoolEditor", (PyCFunction
) _wrap_new_wxGridCellBoolEditor
, METH_VARARGS
| METH_KEYWORDS
},
14317 { "new_wxGridCellFloatEditor", (PyCFunction
) _wrap_new_wxGridCellFloatEditor
, METH_VARARGS
| METH_KEYWORDS
},
14318 { "new_wxGridCellNumberEditor", (PyCFunction
) _wrap_new_wxGridCellNumberEditor
, METH_VARARGS
| METH_KEYWORDS
},
14319 { "new_wxGridCellTextEditor", (PyCFunction
) _wrap_new_wxGridCellTextEditor
, METH_VARARGS
| METH_KEYWORDS
},
14320 { "wxPyGridCellEditor_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14321 { "wxPyGridCellEditor_base_Destroy", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14322 { "wxPyGridCellEditor_base_HandleReturn", (PyCFunction
) _wrap_wxPyGridCellEditor_base_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14323 { "wxPyGridCellEditor_base_StartingClick", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14324 { "wxPyGridCellEditor_base_StartingKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14325 { "wxPyGridCellEditor_base_IsAcceptedKey", (PyCFunction
) _wrap_wxPyGridCellEditor_base_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14326 { "wxPyGridCellEditor_base_PaintBackground", (PyCFunction
) _wrap_wxPyGridCellEditor_base_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14327 { "wxPyGridCellEditor_base_Show", (PyCFunction
) _wrap_wxPyGridCellEditor_base_Show
, METH_VARARGS
| METH_KEYWORDS
},
14328 { "wxPyGridCellEditor_base_SetSize", (PyCFunction
) _wrap_wxPyGridCellEditor_base_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14329 { "wxPyGridCellEditor__setSelf", (PyCFunction
) _wrap_wxPyGridCellEditor__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14330 { "new_wxPyGridCellEditor", (PyCFunction
) _wrap_new_wxPyGridCellEditor
, METH_VARARGS
| METH_KEYWORDS
},
14331 { "wxGridCellEditor_Destroy", (PyCFunction
) _wrap_wxGridCellEditor_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
14332 { "wxGridCellEditor_HandleReturn", (PyCFunction
) _wrap_wxGridCellEditor_HandleReturn
, METH_VARARGS
| METH_KEYWORDS
},
14333 { "wxGridCellEditor_StartingClick", (PyCFunction
) _wrap_wxGridCellEditor_StartingClick
, METH_VARARGS
| METH_KEYWORDS
},
14334 { "wxGridCellEditor_StartingKey", (PyCFunction
) _wrap_wxGridCellEditor_StartingKey
, METH_VARARGS
| METH_KEYWORDS
},
14335 { "wxGridCellEditor_IsAcceptedKey", (PyCFunction
) _wrap_wxGridCellEditor_IsAcceptedKey
, METH_VARARGS
| METH_KEYWORDS
},
14336 { "wxGridCellEditor_PaintBackground", (PyCFunction
) _wrap_wxGridCellEditor_PaintBackground
, METH_VARARGS
| METH_KEYWORDS
},
14337 { "wxGridCellEditor_Show", (PyCFunction
) _wrap_wxGridCellEditor_Show
, METH_VARARGS
| METH_KEYWORDS
},
14338 { "wxGridCellEditor_SetSize", (PyCFunction
) _wrap_wxGridCellEditor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
14339 { "wxGridCellEditor_Clone", (PyCFunction
) _wrap_wxGridCellEditor_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14340 { "wxGridCellEditor_Reset", (PyCFunction
) _wrap_wxGridCellEditor_Reset
, METH_VARARGS
| METH_KEYWORDS
},
14341 { "wxGridCellEditor_EndEdit", (PyCFunction
) _wrap_wxGridCellEditor_EndEdit
, METH_VARARGS
| METH_KEYWORDS
},
14342 { "wxGridCellEditor_BeginEdit", (PyCFunction
) _wrap_wxGridCellEditor_BeginEdit
, METH_VARARGS
| METH_KEYWORDS
},
14343 { "wxGridCellEditor_Create", (PyCFunction
) _wrap_wxGridCellEditor_Create
, METH_VARARGS
| METH_KEYWORDS
},
14344 { "wxGridCellEditor_DecRef", (PyCFunction
) _wrap_wxGridCellEditor_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14345 { "wxGridCellEditor_IncRef", (PyCFunction
) _wrap_wxGridCellEditor_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14346 { "wxGridCellEditor_SetParameters", (PyCFunction
) _wrap_wxGridCellEditor_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14347 { "wxGridCellEditor_SetControl", (PyCFunction
) _wrap_wxGridCellEditor_SetControl
, METH_VARARGS
| METH_KEYWORDS
},
14348 { "wxGridCellEditor_GetControl", (PyCFunction
) _wrap_wxGridCellEditor_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
14349 { "wxGridCellEditor_IsCreated", (PyCFunction
) _wrap_wxGridCellEditor_IsCreated
, METH_VARARGS
| METH_KEYWORDS
},
14350 { "new_wxGridCellAutoWrapStringRenderer", (PyCFunction
) _wrap_new_wxGridCellAutoWrapStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14351 { "new_wxGridCellEnumRenderer", (PyCFunction
) _wrap_new_wxGridCellEnumRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14352 { "new_wxGridCellDateTimeRenderer", (PyCFunction
) _wrap_new_wxGridCellDateTimeRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14353 { "new_wxGridCellBoolRenderer", (PyCFunction
) _wrap_new_wxGridCellBoolRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14354 { "wxGridCellFloatRenderer_SetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14355 { "wxGridCellFloatRenderer_GetPrecision", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetPrecision
, METH_VARARGS
| METH_KEYWORDS
},
14356 { "wxGridCellFloatRenderer_SetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14357 { "wxGridCellFloatRenderer_GetWidth", (PyCFunction
) _wrap_wxGridCellFloatRenderer_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
14358 { "new_wxGridCellFloatRenderer", (PyCFunction
) _wrap_new_wxGridCellFloatRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14359 { "new_wxGridCellNumberRenderer", (PyCFunction
) _wrap_new_wxGridCellNumberRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14360 { "new_wxGridCellStringRenderer", (PyCFunction
) _wrap_new_wxGridCellStringRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14361 { "wxPyGridCellRenderer_base_SetParameters", (PyCFunction
) _wrap_wxPyGridCellRenderer_base_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14362 { "wxPyGridCellRenderer__setSelf", (PyCFunction
) _wrap_wxPyGridCellRenderer__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
14363 { "new_wxPyGridCellRenderer", (PyCFunction
) _wrap_new_wxPyGridCellRenderer
, METH_VARARGS
| METH_KEYWORDS
},
14364 { "wxGridCellRenderer_Clone", (PyCFunction
) _wrap_wxGridCellRenderer_Clone
, METH_VARARGS
| METH_KEYWORDS
},
14365 { "wxGridCellRenderer_GetBestSize", (PyCFunction
) _wrap_wxGridCellRenderer_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
14366 { "wxGridCellRenderer_Draw", (PyCFunction
) _wrap_wxGridCellRenderer_Draw
, METH_VARARGS
| METH_KEYWORDS
},
14367 { "wxGridCellRenderer_DecRef", (PyCFunction
) _wrap_wxGridCellRenderer_DecRef
, METH_VARARGS
| METH_KEYWORDS
},
14368 { "wxGridCellRenderer_IncRef", (PyCFunction
) _wrap_wxGridCellRenderer_IncRef
, METH_VARARGS
| METH_KEYWORDS
},
14369 { "wxGridCellRenderer_SetParameters", (PyCFunction
) _wrap_wxGridCellRenderer_SetParameters
, METH_VARARGS
| METH_KEYWORDS
},
14376 * This table is used by the pointer type-checker
14378 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
14379 { "_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14380 { "_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14381 { "_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14382 { "_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14383 { "_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14384 { "_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14385 { "_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14386 { "_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14387 { "_signed_long","_long",0},
14388 { "_class_wxGridCellRenderer","_class_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14389 { "_class_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14390 { "_class_wxGridCellRenderer","_class_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14391 { "_class_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14392 { "_class_wxGridCellRenderer","_class_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14393 { "_class_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14394 { "_class_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14395 { "_class_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14396 { "_class_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14397 { "_class_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14398 { "_class_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14399 { "_class_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14400 { "_class_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14401 { "_class_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14402 { "_class_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14403 { "_class_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14404 { "_wxGridCellChoiceEditor","_class_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14405 { "_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14406 { "_wxPrintQuality","_WXGRIDSELECTIONMODES",0},
14407 { "_wxPrintQuality","_wxCoord",0},
14408 { "_wxPrintQuality","_int",0},
14409 { "_wxPrintQuality","_signed_int",0},
14410 { "_wxPrintQuality","_unsigned_int",0},
14411 { "_wxPrintQuality","_wxWindowID",0},
14412 { "_wxPrintQuality","_uint",0},
14413 { "_wxPrintQuality","_EBool",0},
14414 { "_wxPrintQuality","_size_t",0},
14415 { "_wxPrintQuality","_time_t",0},
14416 { "_class_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14417 { "_class_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14418 { "_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14419 { "_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14420 { "_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14421 { "_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14422 { "_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14423 { "_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14424 { "_byte","_unsigned_char",0},
14425 { "_long","_unsigned_long",0},
14426 { "_long","_signed_long",0},
14427 { "_class_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14428 { "_class_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14429 { "_class_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14430 { "_class_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14431 { "_class_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14432 { "_class_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14433 { "_class_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14434 { "_class_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14435 { "_class_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14436 { "_class_wxObject","_wxGrid",SwigwxGridTowxObject
},
14437 { "_class_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14438 { "_class_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14439 { "_class_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14440 { "_class_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14441 { "_class_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14442 { "_class_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14443 { "_size_t","_WXGRIDSELECTIONMODES",0},
14444 { "_size_t","_wxCoord",0},
14445 { "_size_t","_wxPrintQuality",0},
14446 { "_size_t","_time_t",0},
14447 { "_size_t","_unsigned_int",0},
14448 { "_size_t","_int",0},
14449 { "_size_t","_wxWindowID",0},
14450 { "_size_t","_uint",0},
14451 { "_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14452 { "_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14453 { "_uint","_WXGRIDSELECTIONMODES",0},
14454 { "_uint","_wxCoord",0},
14455 { "_uint","_wxPrintQuality",0},
14456 { "_uint","_time_t",0},
14457 { "_uint","_size_t",0},
14458 { "_uint","_unsigned_int",0},
14459 { "_uint","_int",0},
14460 { "_uint","_wxWindowID",0},
14461 { "_wxChar","_char",0},
14462 { "_class_wxEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14463 { "_class_wxEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxEvent
},
14464 { "_class_wxEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14465 { "_class_wxEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxEvent
},
14466 { "_class_wxEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14467 { "_class_wxEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxEvent
},
14468 { "_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent
},
14469 { "_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent
},
14470 { "_class_wxGridCellChoiceEditor","_class_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14471 { "_class_wxGridCellChoiceEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellChoiceEditor
},
14472 { "_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14473 { "_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14474 { "_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14475 { "_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14476 { "_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14477 { "_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14478 { "_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14479 { "_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14480 { "_char","_wxChar",0},
14481 { "_wxGridCellStringRenderer","_class_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14482 { "_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14483 { "_wxGridCellStringRenderer","_class_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14484 { "_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14485 { "_wxGridCellStringRenderer","_class_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14486 { "_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14487 { "_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14488 { "_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14489 { "_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14490 { "_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14491 { "_class_wxNotifyEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14492 { "_class_wxNotifyEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxNotifyEvent
},
14493 { "_class_wxNotifyEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14494 { "_class_wxNotifyEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxNotifyEvent
},
14495 { "_class_wxNotifyEvent","_class_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14496 { "_class_wxNotifyEvent","_wxGridEvent",SwigwxGridEventTowxNotifyEvent
},
14497 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
14498 { "_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14499 { "_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14500 { "_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14501 { "_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14502 { "_EBool","_WXGRIDSELECTIONMODES",0},
14503 { "_EBool","_wxCoord",0},
14504 { "_EBool","_wxPrintQuality",0},
14505 { "_EBool","_signed_int",0},
14506 { "_EBool","_int",0},
14507 { "_EBool","_wxWindowID",0},
14508 { "_class_wxGridCellTextEditor","_class_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14509 { "_class_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14510 { "_class_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14511 { "_class_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14512 { "_class_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14513 { "_class_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14514 { "_unsigned_long","_long",0},
14515 { "_WXGRIDSELECTIONMODES","_int",0},
14516 { "_WXGRIDSELECTIONMODES","_signed_int",0},
14517 { "_WXGRIDSELECTIONMODES","_unsigned_int",0},
14518 { "_WXGRIDSELECTIONMODES","_wxWindowID",0},
14519 { "_WXGRIDSELECTIONMODES","_uint",0},
14520 { "_WXGRIDSELECTIONMODES","_EBool",0},
14521 { "_WXGRIDSELECTIONMODES","_size_t",0},
14522 { "_WXGRIDSELECTIONMODES","_time_t",0},
14523 { "_WXGRIDSELECTIONMODES","_wxPrintQuality",0},
14524 { "_WXGRIDSELECTIONMODES","_wxCoord",0},
14525 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
14526 { "_class_wxGridCellStringRenderer","_class_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14527 { "_class_wxGridCellStringRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellStringRenderer
},
14528 { "_class_wxGridCellStringRenderer","_class_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14529 { "_class_wxGridCellStringRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellStringRenderer
},
14530 { "_class_wxGridCellStringRenderer","_class_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14531 { "_class_wxGridCellStringRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellStringRenderer
},
14532 { "_class_wxGridCellStringRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14533 { "_class_wxGridCellStringRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellStringRenderer
},
14534 { "_class_wxGridCellStringRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14535 { "_class_wxGridCellStringRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellStringRenderer
},
14536 { "_class_wxPanel","_class_wxGrid",SwigwxGridTowxPanel
},
14537 { "_class_wxPanel","_wxGrid",SwigwxGridTowxPanel
},
14538 { "_signed_int","_WXGRIDSELECTIONMODES",0},
14539 { "_signed_int","_wxCoord",0},
14540 { "_signed_int","_wxPrintQuality",0},
14541 { "_signed_int","_EBool",0},
14542 { "_signed_int","_wxWindowID",0},
14543 { "_signed_int","_int",0},
14544 { "_wxGridCellEditor","_class_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14545 { "_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14546 { "_wxGridCellEditor","_class_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14547 { "_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14548 { "_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14549 { "_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14550 { "_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14551 { "_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14552 { "_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14553 { "_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14554 { "_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14555 { "_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14556 { "_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14557 { "_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14558 { "_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14559 { "_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14560 { "_WXTYPE","_short",0},
14561 { "_WXTYPE","_signed_short",0},
14562 { "_WXTYPE","_unsigned_short",0},
14563 { "_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14564 { "_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14565 { "_class_wxGridTableBase","_class_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14566 { "_class_wxGridTableBase","_wxGridStringTable",SwigwxGridStringTableTowxGridTableBase
},
14567 { "_class_wxGridTableBase","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14568 { "_class_wxGridTableBase","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxGridTableBase
},
14569 { "_unsigned_short","_WXTYPE",0},
14570 { "_unsigned_short","_short",0},
14571 { "_class_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14572 { "_class_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14573 { "_wxObject","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14574 { "_wxObject","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxObject
},
14575 { "_wxObject","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14576 { "_wxObject","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxObject
},
14577 { "_wxObject","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14578 { "_wxObject","_wxGridSizeEvent",SwigwxGridSizeEventTowxObject
},
14579 { "_wxObject","_class_wxGridEvent",SwigwxGridEventTowxObject
},
14580 { "_wxObject","_wxGridEvent",SwigwxGridEventTowxObject
},
14581 { "_wxObject","_class_wxGrid",SwigwxGridTowxObject
},
14582 { "_wxObject","_wxGrid",SwigwxGridTowxObject
},
14583 { "_wxObject","_class_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14584 { "_wxObject","_wxGridStringTable",SwigwxGridStringTableTowxObject
},
14585 { "_wxObject","_class_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14586 { "_wxObject","_wxPyGridTableBase",SwigwxPyGridTableBaseTowxObject
},
14587 { "_wxObject","_class_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14588 { "_wxObject","_wxGridTableBase",SwigwxGridTableBaseTowxObject
},
14589 { "_signed_short","_WXTYPE",0},
14590 { "_signed_short","_short",0},
14591 { "_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14592 { "_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14593 { "_unsigned_char","_byte",0},
14594 { "_unsigned_int","_WXGRIDSELECTIONMODES",0},
14595 { "_unsigned_int","_wxCoord",0},
14596 { "_unsigned_int","_wxPrintQuality",0},
14597 { "_unsigned_int","_time_t",0},
14598 { "_unsigned_int","_size_t",0},
14599 { "_unsigned_int","_uint",0},
14600 { "_unsigned_int","_wxWindowID",0},
14601 { "_unsigned_int","_int",0},
14602 { "_short","_WXTYPE",0},
14603 { "_short","_unsigned_short",0},
14604 { "_short","_signed_short",0},
14605 { "_wxWindowID","_WXGRIDSELECTIONMODES",0},
14606 { "_wxWindowID","_wxCoord",0},
14607 { "_wxWindowID","_wxPrintQuality",0},
14608 { "_wxWindowID","_time_t",0},
14609 { "_wxWindowID","_size_t",0},
14610 { "_wxWindowID","_EBool",0},
14611 { "_wxWindowID","_uint",0},
14612 { "_wxWindowID","_int",0},
14613 { "_wxWindowID","_signed_int",0},
14614 { "_wxWindowID","_unsigned_int",0},
14615 { "_int","_WXGRIDSELECTIONMODES",0},
14616 { "_int","_wxCoord",0},
14617 { "_int","_wxPrintQuality",0},
14618 { "_int","_time_t",0},
14619 { "_int","_size_t",0},
14620 { "_int","_EBool",0},
14621 { "_int","_uint",0},
14622 { "_int","_wxWindowID",0},
14623 { "_int","_unsigned_int",0},
14624 { "_int","_signed_int",0},
14625 { "_time_t","_WXGRIDSELECTIONMODES",0},
14626 { "_time_t","_wxCoord",0},
14627 { "_time_t","_wxPrintQuality",0},
14628 { "_time_t","_unsigned_int",0},
14629 { "_time_t","_int",0},
14630 { "_time_t","_wxWindowID",0},
14631 { "_time_t","_uint",0},
14632 { "_time_t","_size_t",0},
14633 { "_class_wxGridCellEditor","_class_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14634 { "_class_wxGridCellEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellEditor
},
14635 { "_class_wxGridCellEditor","_class_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14636 { "_class_wxGridCellEditor","_wxGridCellEnumEditor",SwigwxGridCellEnumEditorTowxGridCellEditor
},
14637 { "_class_wxGridCellEditor","_class_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14638 { "_class_wxGridCellEditor","_wxGridCellChoiceEditor",SwigwxGridCellChoiceEditorTowxGridCellEditor
},
14639 { "_class_wxGridCellEditor","_class_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14640 { "_class_wxGridCellEditor","_wxGridCellBoolEditor",SwigwxGridCellBoolEditorTowxGridCellEditor
},
14641 { "_class_wxGridCellEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14642 { "_class_wxGridCellEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellEditor
},
14643 { "_class_wxGridCellEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14644 { "_class_wxGridCellEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellEditor
},
14645 { "_class_wxGridCellEditor","_class_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14646 { "_class_wxGridCellEditor","_wxGridCellTextEditor",SwigwxGridCellTextEditorTowxGridCellEditor
},
14647 { "_class_wxGridCellEditor","_class_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14648 { "_class_wxGridCellEditor","_wxPyGridCellEditor",SwigwxPyGridCellEditorTowxGridCellEditor
},
14649 { "_class_wxGridCellAttrProvider","_class_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14650 { "_class_wxGridCellAttrProvider","_wxPyGridCellAttrProvider",SwigwxPyGridCellAttrProviderTowxGridCellAttrProvider
},
14651 { "_wxCoord","_WXGRIDSELECTIONMODES",0},
14652 { "_wxCoord","_int",0},
14653 { "_wxCoord","_signed_int",0},
14654 { "_wxCoord","_unsigned_int",0},
14655 { "_wxCoord","_wxWindowID",0},
14656 { "_wxCoord","_uint",0},
14657 { "_wxCoord","_EBool",0},
14658 { "_wxCoord","_size_t",0},
14659 { "_wxCoord","_time_t",0},
14660 { "_wxCoord","_wxPrintQuality",0},
14661 { "_wxGridCellRenderer","_class_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14662 { "_wxGridCellRenderer","_wxGridCellAutoWrapStringRenderer",SwigwxGridCellAutoWrapStringRendererTowxGridCellRenderer
},
14663 { "_wxGridCellRenderer","_class_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14664 { "_wxGridCellRenderer","_wxGridCellEnumRenderer",SwigwxGridCellEnumRendererTowxGridCellRenderer
},
14665 { "_wxGridCellRenderer","_class_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14666 { "_wxGridCellRenderer","_wxGridCellDateTimeRenderer",SwigwxGridCellDateTimeRendererTowxGridCellRenderer
},
14667 { "_wxGridCellRenderer","_class_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14668 { "_wxGridCellRenderer","_wxGridCellBoolRenderer",SwigwxGridCellBoolRendererTowxGridCellRenderer
},
14669 { "_wxGridCellRenderer","_class_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14670 { "_wxGridCellRenderer","_wxGridCellFloatRenderer",SwigwxGridCellFloatRendererTowxGridCellRenderer
},
14671 { "_wxGridCellRenderer","_class_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14672 { "_wxGridCellRenderer","_wxGridCellNumberRenderer",SwigwxGridCellNumberRendererTowxGridCellRenderer
},
14673 { "_wxGridCellRenderer","_class_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14674 { "_wxGridCellRenderer","_wxGridCellStringRenderer",SwigwxGridCellStringRendererTowxGridCellRenderer
},
14675 { "_wxGridCellRenderer","_class_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14676 { "_wxGridCellRenderer","_wxPyGridCellRenderer",SwigwxPyGridCellRendererTowxGridCellRenderer
},
14677 { "_wxGridCellTextEditor","_class_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14678 { "_wxGridCellTextEditor","_wxGridCellAutoWrapStringEditor",SwigwxGridCellAutoWrapStringEditorTowxGridCellTextEditor
},
14679 { "_wxGridCellTextEditor","_class_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14680 { "_wxGridCellTextEditor","_wxGridCellFloatEditor",SwigwxGridCellFloatEditorTowxGridCellTextEditor
},
14681 { "_wxGridCellTextEditor","_class_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14682 { "_wxGridCellTextEditor","_wxGridCellNumberEditor",SwigwxGridCellNumberEditorTowxGridCellTextEditor
},
14683 { "_class_wxCommandEvent","_class_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14684 { "_class_wxCommandEvent","_wxGridEditorCreatedEvent",SwigwxGridEditorCreatedEventTowxCommandEvent
},
14685 { "_class_wxCommandEvent","_class_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14686 { "_class_wxCommandEvent","_wxGridRangeSelectEvent",SwigwxGridRangeSelectEventTowxCommandEvent
},
14687 { "_class_wxCommandEvent","_class_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14688 { "_class_wxCommandEvent","_wxGridSizeEvent",SwigwxGridSizeEventTowxCommandEvent
},
14689 { "_class_wxCommandEvent","_class_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14690 { "_class_wxCommandEvent","_wxGridEvent",SwigwxGridEventTowxCommandEvent
},
14691 { "_wxEvtHandler","_class_wxGrid",SwigwxGridTowxEvtHandler
},
14692 { "_wxEvtHandler","_wxGrid",SwigwxGridTowxEvtHandler
},
14693 { "_class_wxScrolledWindow","_class_wxGrid",SwigwxGridTowxScrolledWindow
},
14694 { "_class_wxScrolledWindow","_wxGrid",SwigwxGridTowxScrolledWindow
},
14695 { "_wxWindow","_class_wxGrid",SwigwxGridTowxWindow
},
14696 { "_wxWindow","_wxGrid",SwigwxGridTowxWindow
},
14699 static PyObject
*SWIG_globals
;
14703 SWIGEXPORT(void) initgridc() {
14705 SWIG_globals
= SWIG_newvarlink();
14706 m
= Py_InitModule("gridc", gridcMethods
);
14707 d
= PyModule_GetDict(m
);
14708 PyDict_SetItemString(d
,"wxGRID_VALUE_STRING", PyString_FromString("string"));
14709 PyDict_SetItemString(d
,"wxGRID_VALUE_BOOL", PyString_FromString("bool"));
14710 PyDict_SetItemString(d
,"wxGRID_VALUE_NUMBER", PyString_FromString("long"));
14711 PyDict_SetItemString(d
,"wxGRID_VALUE_FLOAT", PyString_FromString("double"));
14712 PyDict_SetItemString(d
,"wxGRID_VALUE_CHOICE", PyString_FromString("choice"));
14713 PyDict_SetItemString(d
,"wxGRID_VALUE_TEXT", PyString_FromString("string"));
14714 PyDict_SetItemString(d
,"wxGRID_VALUE_LONG", PyString_FromString("long"));
14715 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
14716 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellCoords",_wrap_wxGridNoCellCoords_get
, _wrap_wxGridNoCellCoords_set
);
14717 SWIG_addvarlink(SWIG_globals
,"wxGridNoCellRect",_wrap_wxGridNoCellRect_get
, _wrap_wxGridNoCellRect_set
);
14718 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_GET_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
));
14719 PyDict_SetItemString(d
,"wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES", PyInt_FromLong((long) wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
));
14720 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_INSERTED
));
14721 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_APPENDED
));
14722 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_ROWS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_ROWS_DELETED
));
14723 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_INSERTED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_INSERTED
));
14724 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_APPENDED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_APPENDED
));
14725 PyDict_SetItemString(d
,"wxGRIDTABLE_NOTIFY_COLS_DELETED", PyInt_FromLong((long) wxGRIDTABLE_NOTIFY_COLS_DELETED
));
14726 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_CLICK
));
14727 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_CLICK
));
14728 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LEFT_DCLICK
));
14729 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RIGHT_DCLICK
));
14730 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_CLICK
));
14731 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_CLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_CLICK
));
14732 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LEFT_DCLICK
));
14733 PyDict_SetItemString(d
,"wxEVT_GRID_LABEL_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RIGHT_DCLICK
));
14734 PyDict_SetItemString(d
,"wxEVT_GRID_ROW_SIZE", PyInt_FromLong((long) wxEVT_GRID_ROW_SIZE
));
14735 PyDict_SetItemString(d
,"wxEVT_GRID_COL_SIZE", PyInt_FromLong((long) wxEVT_GRID_COL_SIZE
));
14736 PyDict_SetItemString(d
,"wxEVT_GRID_RANGE_SELECT", PyInt_FromLong((long) wxEVT_GRID_RANGE_SELECT
));
14737 PyDict_SetItemString(d
,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE
));
14738 PyDict_SetItemString(d
,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL
));
14739 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_SHOWN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_SHOWN
));
14740 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_HIDDEN", PyInt_FromLong((long) wxEVT_GRID_EDITOR_HIDDEN
));
14741 PyDict_SetItemString(d
,"wxEVT_GRID_EDITOR_CREATED", PyInt_FromLong((long) wxEVT_GRID_EDITOR_CREATED
));
14743 wxClassInfo::CleanUpClasses();
14744 wxClassInfo::InitializeClasses();
14745 PyDict_SetItemString(d
,"wxGridCellAttr_Any", PyInt_FromLong((long) wxGridCellAttr::Any
));
14746 PyDict_SetItemString(d
,"wxGridCellAttr_Default", PyInt_FromLong((long) wxGridCellAttr::Default
));
14747 PyDict_SetItemString(d
,"wxGridCellAttr_Cell", PyInt_FromLong((long) wxGridCellAttr::Cell
));
14748 PyDict_SetItemString(d
,"wxGridCellAttr_Row", PyInt_FromLong((long) wxGridCellAttr::Row
));
14749 PyDict_SetItemString(d
,"wxGridCellAttr_Col", PyInt_FromLong((long) wxGridCellAttr::Col
));
14750 PyDict_SetItemString(d
,"wxGridCellAttr_Merged", PyInt_FromLong((long) wxGridCellAttr::Merged
));
14751 PyDict_SetItemString(d
,"wxGrid_wxGridSelectCells", PyInt_FromLong((long) wxGrid::wxGridSelectCells
));
14752 PyDict_SetItemString(d
,"wxGrid_wxGridSelectRows", PyInt_FromLong((long) wxGrid::wxGridSelectRows
));
14753 PyDict_SetItemString(d
,"wxGrid_wxGridSelectColumns", PyInt_FromLong((long) wxGrid::wxGridSelectColumns
));
14756 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
14757 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);